/* ==========================================================================
   Aneta Šindlářová – výživové poradenství Metabolic Balance®
   Jedno písmo: Plus Jakarta Sans (uložené v assets/fonts, licence OFL).
   Barvy upravíte v proměnných v :root.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #F3F4EF;          /* mlha – podklad stránky */
  --surface: #FFFFFF;
  --sage: #E3E9DE;        /* šalvěj – jemné plochy */
  --sage-deep: #CCD7C6;
  --ink: #14261E;         /* text */
  --muted: #4D5C53;       /* doprovodný text */
  --green: #1C3B2F;       /* tmavé plochy, tlačítka */
  --green-hover: #275240;
  --apricot: #F0A66A;     /* akcent na tmavém */
  --apricot-ink: #9E4E19; /* akcent na světlém */
  --on-dark: #F3F4EF;
  --on-dark-muted: #B9C7BD;
  --line: rgba(20, 38, 30, .12);
  --line-dark: rgba(243, 244, 239, .16);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1360px;
  --pad: clamp(18px, 3.4vw, 40px);
  --section: clamp(80px, 10vw, 152px);
  --r-s: 14px;
  --r-m: 22px;
  --r-l: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Základ ---------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px));
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" off;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--sage-deep); }
:focus-visible { outline: 2.5px solid var(--apricot-ink); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  padding: 12px 18px; border-radius: var(--r-s);
  background: var(--green); color: var(--on-dark); text-decoration: none; font-weight: 600;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.muted { color: var(--muted); }

/* ---------- Typografie ---------- */

.title {
  font-size: clamp(2.05rem, 4.3vw, 3.7rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.head {
  display: grid; gap: 20px 64px; align-items: end;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.head__text { color: var(--muted); max-width: 36em; font-size: 1.08rem; }
@media (min-width: 960px) {
  .head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* ---------- Tlačítka ---------- */

.btn {
  --b: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px; border-radius: 999px;
  border: 1.5px solid var(--b); background: var(--b); color: #fff;
  font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--dark:hover { --b: var(--green-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { --b: var(--on-dark); color: var(--green); }
.btn--light:hover { --b: #fff; }
.btn--wide { width: 100%; }
@media (min-width: 560px) { .btn--wide { width: auto; align-self: flex-start; } }

/* ---------- Hlavička ---------- */

.header {
  position: sticky; top: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
/* Rozostření je na pseudo-prvku, aby mobilní menu (position: fixed) mohlo zabrat celou obrazovku. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(243, 244, 239, .84);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
}
body.menu-open .header::before { background: var(--bg); }
body.menu-open .mobile-cta { transform: translate(-50%, 140%); }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__mark rect { fill: var(--green); }
.brand__mark path { fill: var(--apricot); }
.brand__mark .brand__vein { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 700; font-size: 1.06rem; letter-spacing: -0.02em; }
.brand__role { font-size: .82rem; color: var(--muted); }
.brand__mb { white-space: nowrap; }
@media (max-width: 559px) { .brand__mb { display: block; } }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; }
.nav__list a {
  position: relative; display: inline-block; padding: 8px 0;
  text-decoration: none; font-weight: 500; font-size: .98rem;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { min-height: 46px; padding: 10px 22px; font-size: .95rem; }

.burger {
  display: none; width: 48px; height: 48px; margin-right: -8px;
  border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -7px; }
.burger__lines::after { top: 7px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1099px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px;
    padding: 12px var(--pad) calc(28px + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    display: flex; padding: 16px 0; border-bottom: 1px solid var(--line);
    font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 600; letter-spacing: -0.025em;
  }
  .nav__list a::after { display: none; }
  .nav__cta { min-height: 56px; font-size: 1.05rem; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Úvod ---------- */

.hero { padding-block: clamp(24px, 4.5vw, 64px) clamp(56px, 7vw, 104px); }
.hero__top {
  display: grid; gap: 28px 64px; align-items: end;
  margin-bottom: clamp(28px, 4vw, 56px);
}
@media (min-width: 1000px) { .hero__top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

.hero__title {
  font-size: clamp(2.55rem, 6.9vw, 6.4rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -0.045em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: block; }
.hero__title .line:last-child > span { color: var(--muted); font-weight: 500; }

.hero__side { display: flex; flex-direction: column; gap: 24px; }
.hero__lead { font-size: clamp(1.05rem, 1.25vw, 1.15rem); color: var(--muted); max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .hero__actions .btn { flex: 1 1 100%; } }

.hero__media { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--sage); }
.hero__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 699px) { .hero__media img { aspect-ratio: 4 / 5; } }

.hero__badge {
  position: absolute; left: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px);
  display: flex; align-items: center; gap: 16px;
  padding: 14px 22px 14px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -24px rgba(20, 38, 30, .45);
  max-width: calc(100% - 24px);
}
.hero__badge picture { flex: none; display: block; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; line-height: 0; }
.hero__badge .hero__avatar { flex: none; width: 56px; height: 56px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.hero__badge > span { font-weight: 500; font-size: .95rem; line-height: 1.3; max-width: 15em; }
.hero__badge strong { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--green); }
.hero__chip {
  position: absolute; right: clamp(12px, 2vw, 28px); top: clamp(12px, 2vw, 28px);
  padding: 9px 16px; border-radius: 999px;
  background: rgba(20, 38, 30, .72); color: var(--on-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .88rem; font-weight: 600;
}

/* Úvodní animace – jediná sekvence při načtení */
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__side { opacity: 0; transform: translateY(14px); }
.js .hero__media { clip-path: inset(6% 3% 0 3% round var(--r-l)); }
.js .hero__media img { transform: scale(1.06); }
.is-loaded .hero__title .line > span { transform: none; transition: transform 1s var(--ease); }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__side { opacity: 1; transform: none; transition: opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s; }
.is-loaded .hero__media { clip-path: inset(0 0 0 0 round var(--r-l)); transition: clip-path 1.2s var(--ease) .2s; }
.is-loaded .hero__media img { transform: none; transition: transform 1.6s var(--ease) .2s; }

/* ---------- Poznáváte se ---------- */

.recognise { padding-top: clamp(24px, 4vw, 56px); }
.recognise__grid { display: grid; gap: 36px 64px; }
@media (min-width: 1000px) {
  .recognise__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .recognise__answer { grid-column: 2; }
}
.pains { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.pains li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; border-radius: var(--r-m); background: var(--surface);
  font-weight: 500; font-size: 1.04rem; line-height: 1.5;
}
.pains__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sage);
  display: grid; place-items: center;
}
.pains__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.recognise__answer {
  font-size: clamp(1.3rem, 2.1vw, 1.75rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.02em;
  max-width: 34em; padding-top: 12px;
}

/* ---------- Program (bento) ---------- */

.program { background: var(--surface); border-radius: var(--r-l) var(--r-l) 0 0; }
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento__photo { grid-column: 2; grid-row: 1 / span 2; }
}
.bento__step {
  display: flex; flex-direction: column; gap: 12px;
  min-height: 260px; padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-l); background: var(--bg);
}
.bento__step h3 { font-size: clamp(1.3rem, 1.7vw, 1.55rem); letter-spacing: -0.025em; line-height: 1.2; margin-top: auto; }
.bento__step p { color: var(--muted); }
.bento__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--ink); font-weight: 600; font-size: 1.05rem;
}
.bento__step--accent { background: var(--green); color: var(--on-dark); }
.bento__step--accent p { color: var(--on-dark-muted); }
.bento__step--accent .bento__num { border-color: var(--apricot); color: var(--apricot); }
.bento__photo { border-radius: var(--r-l); overflow: hidden; background: var(--sage); }
@media (min-width: 1000px) { .bento__photo { min-height: 320px; } }
.bento__photo picture, .bento__photo img { width: 100%; height: 100%; }
.bento__photo img { object-fit: cover; }
@media (max-width: 999px) { .bento__photo { aspect-ratio: 4 / 3; } }
@media (min-width: 700px) and (max-width: 999px) { .bento__photo { grid-column: 1 / -1; order: 5; aspect-ratio: 16 / 9; } }

.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px; border-radius: var(--r-l); background: var(--green); color: var(--on-dark);
  overflow: hidden;
}
@media (min-width: 860px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts div { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 6px; }
.facts div:nth-child(even) { border-left: 1px solid var(--line-dark); }
.facts div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
@media (min-width: 860px) {
  .facts div + div { border-left: 1px solid var(--line-dark); }
  .facts div:nth-child(n+3) { border-top: 0; }
}
.facts dt { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--apricot); }
.facts dd { color: var(--on-dark-muted); font-size: .98rem; }

/* ---------- Foto pás ---------- */

.band { position: relative; color: #fff; isolation: isolate; background: var(--green); }
.band__img { width: 100%; height: clamp(520px, 56vw, 820px); object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 26, 20, .72) 0%, rgba(14, 26, 20, .35) 45%, rgba(14, 26, 20, 0) 75%);
}
.band__inner { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; }
.band__quote { max-width: 34rem; }
.band__quote p {
  font-size: clamp(1.9rem, 3.8vw, 3.3rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em;
  text-wrap: balance;
}
.band__quote p::before { content: "„"; }
.band__quote p::after { content: "“"; }
.band__quote footer { margin-top: 20px; font-weight: 500; color: rgba(255, 255, 255, .82); }
@media (max-width: 699px) {
  .band__img { height: auto; aspect-ratio: 4 / 5; }
  .band::after { background: linear-gradient(0deg, rgba(14, 26, 20, .82) 0%, rgba(14, 26, 20, .3) 50%, rgba(14, 26, 20, 0) 75%); }
  .band__inner { align-items: flex-end; padding-bottom: 32px; }
}

/* ---------- Příběh ---------- */

.journey { padding: clamp(20px, 3vw, 40px); border-radius: var(--r-l); background: var(--surface); }
.journey__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.journey__chart { width: 100%; min-width: 680px; height: auto; overflow: visible; }
.journey__axis { stroke: var(--line); stroke-width: 1.5; }
.journey__split { stroke: var(--sage-deep); stroke-width: 1.5; stroke-dasharray: 4 7; }
.journey__note { font-size: 16px; fill: var(--muted); font-family: var(--font); }
.journey__area { fill: var(--sage); opacity: .7; }
.journey__line { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.journey__dots circle { fill: var(--surface); stroke: var(--green); stroke-width: 2.5; }
.journey__dots .journey__end { fill: var(--apricot); stroke: var(--green); }
.journey__kg text { font-family: var(--font); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; fill: var(--ink); text-anchor: middle; }
.journey__when text { font-family: var(--font); font-size: 16px; font-weight: 500; fill: var(--muted); text-anchor: middle; }
.journey figcaption { margin-top: 18px; font-size: .94rem; color: var(--muted); max-width: 48em; }

.js .journey__line { stroke-dashoffset: 1; }
.js .journey__area { opacity: 0; }
.js .journey__dots circle, .js .journey__kg text { opacity: 0; }
.journey.is-drawn .journey__line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.45, .05, .25, 1); }
.journey.is-drawn .journey__area { opacity: .7; transition: opacity 1s ease 1.6s; }
.journey.is-drawn .journey__dots circle,
.journey.is-drawn .journey__kg text { opacity: 1; transition: opacity .5s ease; }
.journey.is-drawn :is(.journey__dots circle, .journey__kg text):nth-child(2) { transition-delay: .45s; }
.journey.is-drawn :is(.journey__dots circle, .journey__kg text):nth-child(3) { transition-delay: .9s; }
.journey.is-drawn :is(.journey__dots circle, .journey__kg text):nth-child(4) { transition-delay: 1.3s; }
.journey.is-drawn :is(.journey__dots circle, .journey__kg text):nth-child(5) { transition-delay: 1.65s; }
.journey.is-drawn :is(.journey__dots circle, .journey__kg text):nth-child(6) { transition-delay: 2s; }

.story__cols {
  display: grid; gap: 28px 48px; margin-top: clamp(40px, 5vw, 72px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.story__cols article { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1.5px solid var(--ink); }
.story__cols h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.story__cols p { color: var(--muted); }

/* ---------- Proměna na fotkách ---------- */

.gallery { margin-top: 16px; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-l); background: var(--surface); }
.gallery__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.gallery__title { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.03em; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); }
.seg button {
  min-height: 44px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.seg button[aria-pressed="true"] { background: var(--green); color: var(--on-dark); }
.gallery__rows { display: grid; gap: 28px 16px; }
@media (min-width: 1000px) { .gallery__rows { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.gallery__label { font-weight: 600; font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
@media (max-width: 699px) {
  .gallery__track {
    grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * clamp(20px, 3vw, 40px)); padding-inline: clamp(20px, 3vw, 40px);
    scroll-padding-inline: clamp(20px, 3vw, 40px); scrollbar-width: none;
  }
  .gallery__track::-webkit-scrollbar { display: none; }
  .gallery__track li { scroll-snap-align: start; }
}
.shot { display: flex; flex-direction: column; gap: 10px; }
.shot picture { display: block; border-radius: var(--r-m); overflow: hidden; background: var(--sage); }
.shot img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; }
.shot__side { display: none !important; }
.gallery[data-view="side"] .shot__front { display: none !important; }
.gallery[data-view="side"] .shot__side { display: block !important; }
.shot figcaption { display: flex; flex-direction: column; line-height: 1.3; padding-left: 2px; }
.shot figcaption strong { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; }
.shot figcaption span { color: var(--muted); font-size: .92rem; }
.gallery__note { margin-top: 20px; font-size: .9rem; color: var(--muted); }

/* ---------- O mně a můj příběh ---------- */

/* Portrét je záměrně menší – zdrojová fotka nesnese velké zvětšení. */
.about__grid {
  display: grid; gap: clamp(28px, 4vw, 64px); align-items: center;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: clamp(56px, 7vw, 104px);
}
@media (min-width: 760px) { .about__grid { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); } }
@media (min-width: 1100px) { .about__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 80px; } }
.about__photo {
  width: 100%; max-width: 300px; border-radius: var(--r-l); overflow: hidden; background: var(--sage);
  box-shadow: 0 24px 48px -32px rgba(20, 38, 30, .5);
}
@media (min-width: 1100px) { .about__photo { max-width: 340px; } }
@media (max-width: 759px) { .about__photo { max-width: 260px; } }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__copy { display: flex; flex-direction: column; gap: 20px; max-width: 42em; }
.about__copy > p { color: var(--muted); }
.about__copy .about__lead { color: var(--ink); font-size: clamp(1.15rem, 1.5vw, 1.3rem); font-weight: 500; line-height: 1.5; }
.about__quote { margin-top: 8px; padding: 26px 30px; border-radius: var(--r-m); background: var(--surface); }
.about__quote p { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 500; font-style: italic; line-height: 1.4; letter-spacing: -0.015em; }
.about__quote footer { margin-top: 12px; font-weight: 600; color: var(--muted); font-size: .95rem; }
.story__head { margin-bottom: clamp(36px, 5vw, 64px); }

.mother {
  display: grid; gap: 32px 64px; align-items: center; margin-top: clamp(48px, 6vw, 88px);
  padding: clamp(28px, 4.5vw, 64px); border-radius: var(--r-l);
  background: var(--green); color: var(--on-dark);
}
@media (min-width: 860px) { .mother { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.mother__text { display: flex; flex-direction: column; gap: 14px; }
.mother__text h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: -0.03em; line-height: 1.15; }
.mother__text p { color: var(--on-dark-muted); }
.mother__text strong { color: var(--on-dark); font-weight: 600; }
.mother__facts { display: grid; gap: 22px; }
.mother__facts div { padding-top: 16px; border-top: 1px solid var(--line-dark); }
.mother__facts dt { font-size: clamp(2.4rem, 4.2vw, 3.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--apricot); }
.mother__facts dd { margin-top: 6px; color: var(--on-dark-muted); }

/* ---------- Průběh + akordeony ---------- */

.process { background: var(--surface); }
.process__grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (min-width: 960px) {
  .process__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .process__photo { position: sticky; top: calc(var(--header-h) + 24px); }
}
.process__photo { border-radius: var(--r-l); overflow: hidden; background: var(--sage); }
.process__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 959px) { .process__photo img { aspect-ratio: 16 / 11; } }
.process__copy { display: flex; flex-direction: column; gap: 14px; }
.process__copy .acc { margin-top: 18px; }

.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 18px;
  min-height: 80px; padding: 18px 0;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__num {
  flex: none; display: grid; place-items: center;
  min-width: 56px; height: 48px; padding: 0 10px; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 600;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
details[open] .acc__num { background: var(--green); border-color: var(--green); color: var(--apricot); }
.acc__head { flex: 1; display: flex; flex-direction: column; font-weight: 600; font-size: clamp(1.08rem, 1.4vw, 1.25rem); letter-spacing: -0.02em; line-height: 1.3; }
.acc__head small { font-weight: 500; font-size: .9rem; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.acc__icon { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--sage); }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease);
}
.acc__icon::after { transform: rotate(90deg); }
details[open] .acc__icon::after { transform: rotate(0deg); }
.acc__body { padding: 0 54px 26px 74px; color: var(--muted); max-width: 44em; }
.acc--plain .acc__body { padding-left: 0; }
@media (max-width: 559px) { .acc__body { padding-left: 0; padding-right: 0; } }
.acc summary:hover .acc__icon { background: var(--sage-deep); }

/* ---------- Ceník ---------- */

.pricing { padding-top: 0; background: var(--surface); }
.price {
  display: grid; gap: 40px clamp(40px, 6vw, 96px);
  padding: clamp(28px, 5vw, 72px); border-radius: var(--r-l);
  background: var(--green); color: var(--on-dark);
}
@media (min-width: 960px) { .price { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.price__intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.price__intro > p:not(.price__amount):not(.price__name) { color: var(--on-dark-muted); max-width: 26em; }
.price__amount { margin-top: 16px; font-size: clamp(3.2rem, 7vw, 5.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: .95; color: var(--apricot); }
.price__amount span { color: var(--on-dark); }
.price__name { font-weight: 600; margin-bottom: 12px; }
.price__list ul { border-top: 1px solid var(--line-dark); }
.price__list li {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 18px 0 18px 44px; border-bottom: 1px solid var(--line-dark);
}
.price__list li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--apricot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231C3B2F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.price__list strong { font-weight: 600; font-size: 1.06rem; }
.price__list span { color: var(--on-dark-muted); font-size: .96rem; }
.price__note { margin-top: 20px; color: var(--on-dark-muted); font-size: .94rem; }

/* ---------- Dotazy ---------- */

.faq__grid { display: grid; gap: 28px clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 24px); }
}
.faq__intro { display: flex; flex-direction: column; gap: 14px; }
.faq__intro a { color: var(--apricot-ink); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Reference ---------- */

.refs { overflow: hidden; }
.refs__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 4vw, 52px); }
.refs__nav { display: flex; gap: 10px; }
.round {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--line); background: transparent; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), opacity .25s;
}
.round:hover { border-color: var(--ink); background: var(--surface); }
.round:disabled { opacity: .35; cursor: default; }
.round svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.refs__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 440px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad) 16px;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.refs__track::-webkit-scrollbar { display: none; }
.ref {
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  min-height: 320px; padding: clamp(24px, 2.8vw, 36px);
  border-radius: var(--r-l); background: var(--surface);
}
.ref blockquote p { font-size: clamp(1.15rem, 1.5vw, 1.3rem); font-weight: 500; line-height: 1.45; letter-spacing: -0.015em; }
.ref blockquote p::before { content: "„"; }
.ref blockquote p::after { content: "“"; }
.ref figcaption { display: flex; align-items: center; gap: 14px; }
.ref figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.ref figcaption strong { font-weight: 600; }
.ref figcaption span span { color: var(--muted); font-size: .94rem; }
.ref__avatar {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--sage); color: var(--green); font-weight: 700;
}

/* ---------- Kontakt ---------- */

.contact { padding-top: 0; }
.contact__card {
  display: grid; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(14px, 2vw, 24px); border-radius: calc(var(--r-l) + 8px); background: var(--surface);
}
@media (min-width: 960px) { .contact__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.contact__side { display: flex; flex-direction: column; gap: 18px; padding: 0 clamp(6px, 2vw, 32px) clamp(10px, 1.6vw, 20px); }
@media (min-width: 960px) { .contact__side { padding-block: 24px; } }
.contact__side > p { color: var(--muted); max-width: 32em; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
@media (max-width: 479px) { .contact__actions .btn { flex: 1 1 100%; } }
.contact__photo { border-radius: var(--r-l); overflow: hidden; background: var(--sage); height: 100%; }
.contact__photo img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 960px) { .contact__photo img { aspect-ratio: auto; min-height: 420px; } }
.contact__list { margin-top: 10px; border-top: 1px solid var(--line); }
.contact__list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.contact__list li > span:first-child { color: var(--muted); }
.contact__list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Patička ---------- */

.footer { background: var(--green); color: var(--on-dark-muted); font-size: .95rem; }
.footer__grid {
  display: grid; gap: 32px 64px;
  padding-block: clamp(48px, 6vw, 80px) calc(clamp(40px, 5vw, 64px) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { .footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); } }
.footer__name { color: var(--on-dark); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.footer__contact { margin-top: 16px; font-style: normal; line-height: 1.8; }
.footer__contact a { color: var(--on-dark); text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__nav { display: flex; flex-direction: column; gap: 2px; }
.footer__nav a { color: var(--on-dark); text-decoration: none; padding: 6px 0; width: fit-content; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { display: flex; flex-direction: column; gap: 8px; }
.footer__legal a { color: var(--on-dark); }

/* ---------- Plovoucí tlačítko na mobilu ---------- */

.mobile-cta {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: none; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 28px; border-radius: 999px;
  background: var(--green); color: var(--on-dark); font-weight: 600; text-decoration: none;
  box-shadow: 0 16px 36px -14px rgba(14, 26, 20, .55);
  transform: translate(-50%, 140%); transition: transform .4s var(--ease);
  white-space: nowrap;
}
.mobile-cta.is-visible { transform: translate(-50%, 0); }
@media (max-width: 699px) { .mobile-cta { display: inline-flex; } }

/* ---------- Omezený pohyb ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js .hero__title .line > span, .js .hero__side, .js .hero__media img { transform: none; opacity: 1; }
  .js .hero__media { clip-path: none; }
  .js .journey__line { stroke-dashoffset: 0; }
  .js .journey__area { opacity: .7; }
  .js .journey__dots circle, .js .journey__kg text { opacity: 1; }
}

/* ---------- Tisk ---------- */

@media print {
  .header, .mobile-cta, .refs__nav, .band, .contact__actions { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 24px; }
}
html:not(.js) .seg { display: none; }
