/* ============================================================
   KROK DÁL — FYZIOTERAPIE · DESIGN SYSTÉM
   Minimal humanism · sage · klid, hojení, důvěra
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Pozadí */
  --bg:            #FBFCFA;   /* hlavní, téměř bílá, lehce teplá */
  --bg-secondary:  #F0F4EE;   /* jemně zelenkavá — alternující sekce */
  --bg-accent:     #EAF2EC;   /* světlá sage tint — accent boxy */

  /* Text */
  --text:          #1F2937;   /* tmavě modrošedá */
  --text-2:        #6B7280;   /* sekundární */
  --text-muted:    #9CA3AF;   /* tlumený */

  /* Akcenty */
  --sage:          #4A7C59;   /* hlavní */
  --sage-dark:     #2D5A3D;   /* deep forest — CTA hover */
  --sage-light:    #7FA38C;   /* soft sage — subtle highlights */
  --mustard:       #E8C547;   /* teplá hořčičná — velmi střídmě */
  --border:        #E5E7EB;

  /* Sage tinty pro pozadí ikon */
  --sage-wash:     #E9F1EB;

  /* Typografie */
  --font-display: "Fraunces", "Source Serif 4", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rádiusy — organické */
  --r-card:  16px;
  --r-cta:   24px;
  --r-pill:  999px;

  /* Stíny — pillowy, sage tint (Phase 2 systém) */
  --shadow-xs:  0 2px 8px rgba(74, 124, 89, 0.06);
  --shadow-sm:  0 4px 16px rgba(74, 124, 89, 0.08);
  --shadow-md:  0 8px 24px rgba(74, 124, 89, 0.10), 0 2px 6px rgba(74, 124, 89, 0.04);
  --shadow-lg:  0 16px 48px rgba(74, 124, 89, 0.12), 0 6px 16px rgba(74, 124, 89, 0.06);
  --shadow-cta: 0 8px 20px -6px rgba(74, 124, 89, 0.40);
  --glow:       0 0 32px rgba(74, 124, 89, 0.25);

  /* Rozestupy / kontejner */
  --container: 1200px;
  --container-narrow: 820px;
  --section-py: clamp(80px, 11vw, 140px);

  /* Easing */
  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

/* ---------- TYPOGRAFIE ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 0;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; line-height: 1.14; letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 3.9vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 600; }
p  { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.lead {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.6;
  color: var(--text-2);
}

.muted { color: var(--text-2); }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.narrow   { max-width: var(--container-narrow); margin-inline: auto; }
section   { padding-block: var(--section-py); }
.section-secondary { background: var(--bg-secondary); }
.center { text-align: center; }

.stack-sm  > * + * { margin-top: 16px; }
.stack-md  > * + * { margin-top: 24px; }
.stack-lg  > * + * { margin-top: 40px; }

.section-head { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: inline-block; margin-bottom: 18px; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin-top: 20px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 17px 34px; border-radius: var(--r-cta); min-height: 48px;
  transition: transform .25s var(--ease-expo), box-shadow .25s var(--ease-expo),
              background-color .25s var(--ease-soft), color .25s var(--ease-soft);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--sage); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(74,124,89,.55); }
.btn-ghost { background: transparent; color: var(--sage); border: 1.5px solid var(--sage); }
.btn-ghost:hover { background: var(--sage-wash); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--sage-dark); box-shadow: var(--shadow-md); }
.btn-white:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 20px 42px; font-size: 18px; min-height: 56px; }

/* Textový odkaz se sage podtržením */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--sage);
  background-image: linear-gradient(var(--sage), var(--sage));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s var(--ease-expo);
  padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease-expo); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- PILL BADGE ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--sage-light);
  background: rgba(127, 163, 140, 0.08);
  font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-dark);
}

/* ---------- CARDS ---------- */
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 34px);
  transition: transform .3s var(--ease-expo), box-shadow .3s var(--ease-expo), border-color .3s var(--ease-soft);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage-light); }

.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--sage-wash); color: var(--sage); margin-bottom: 22px;
}
.icon-circle svg { width: 28px; height: 28px; stroke-width: 2; }

/* ---------- PLACEHOLDER (foto boxy) ---------- */
.ph {
  position: relative; border-radius: var(--r-cta); overflow: hidden;
  background-color: var(--bg-accent);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 14px,
    rgba(74,124,89,0.05) 14px, rgba(74,124,89,0.05) 28px);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 28px; min-height: 280px;
}
.ph span {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--sage); font-weight: 600;
  max-width: 280px; line-height: 1.6;
}
.ph::before {
  content: ""; position: absolute; inset: 14px;
  border: 1.5px dashed rgba(74,124,89,0.28); border-radius: 16px;
}

/* ---------- WAVE DIVIDER ---------- */
.wave { display: block; width: 100%; height: auto; line-height: 0; }
.wave svg { width: 100%; height: clamp(40px, 6vw, 80px); display: block; }

/* ---------- NAVIGACE ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 252, 250, 0.7);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease-soft), border-color .3s var(--ease-soft), box-shadow .3s var(--ease-soft);
}
.nav.scrolled {
  background: rgba(251, 252, 250, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(31,41,55,0.02);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 23px;
  letter-spacing: -0.02em; color: var(--text);
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.logo b { color: var(--sage); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-weight: 500; font-size: 15px; color: var(--text-2);
  transition: color .2s var(--ease-soft); position: relative; padding: 6px 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--sage); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--text-2);
  transition: color .2s var(--ease-soft);
}
.nav-phone:hover { color: var(--sage); }
.nav-phone svg { width: 18px; height: 18px; color: var(--sage); }
.nav-phone .num { white-space: nowrap; }
.nav-cta { padding: 12px 22px; min-height: 44px; font-size: 15px; }

.hamburger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  align-items: center; justify-content: center; color: var(--text);
  border: 1px solid var(--border); background: rgba(255,255,255,.6);
}
.hamburger svg { width: 24px; height: 24px; }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  transform: translateX(100%); transition: transform .4s var(--ease-expo);
  display: flex; flex-direction: column; padding: 24px;
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.mobile-menu-close { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--text); }
.mobile-menu-close svg { width: 24px; height: 24px; }
.mobile-links { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.mobile-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 28px;
  color: var(--text); padding: 12px 0; border-bottom: 1px solid var(--border);
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.mobile-links a[aria-current="page"] { color: var(--sage); }
.mobile-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 24px; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot .nav-phone { font-size: 17px; justify-content: center; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(115deg, var(--bg) 38%, var(--bg-secondary) 100%);
  padding-block: clamp(56px, 8vw, 96px) clamp(72px, 10vw, 120px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-copy h1 { margin: 22px 0 26px; }
.hero-copy .lead { max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 32px;
  font-size: 14px; color: var(--text-2);
}
.trust-row span { display: inline-flex; align-items: center; gap: 9px; }
.trust-row svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; }
.hero-visual { transform: translateY(6%); }
.hero-visual .ph { min-height: 480px; box-shadow: var(--shadow-lg); }

/* ---------- GRID HELPERS ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Koho léčím — 3 nahoře + 2 centrované dole */
.care-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 56px; }
.care-grid .card { grid-column: span 2; }
.care-grid .card:nth-child(4) { grid-column: 2 / span 2; }
.care-grid .card:nth-child(5) { grid-column: 4 / span 2; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: 16px; margin-bottom: 20px; }

/* ---------- STEPPER (proces) ---------- */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; position: relative; }
.step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  box-shadow: var(--shadow-cta); position: relative; z-index: 2;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--text-2); max-width: 220px; margin-inline: auto; }
.step-wave { position: absolute; top: 32px; left: 50%; width: 100%; z-index: 1; color: var(--sage-light); opacity: .55; pointer-events: none; }
.step-wave svg { width: 100%; height: 24px; }
.step:last-child .step-wave { display: none; }

/* ---------- SPLIT (O mně / feature row) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.split-copy { max-width: 520px; }
.split-copy .eyebrow { display: inline-block; margin-bottom: 16px; }
.split-copy h2 { margin-bottom: 8px; }
.split .ph { min-height: 460px; box-shadow: var(--shadow-md); }
.trust-list { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.trust-list li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.trust-list svg { width: 20px; height: 20px; color: var(--sage); flex-shrink: 0; }

/* ---------- CTA BANNER ---------- */
.cta-banner { background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%); }
.cta-banner .container { text-align: center; }
.cta-banner h2 { color: #fff; }
.cta-banner .lead { color: rgba(255,255,255,0.9); margin: 18px auto 32px; max-width: 540px; }
.cta-banner .fine { color: rgba(255,255,255,0.72); font-size: 13px; margin-top: 20px; }

/* ---------- PAGE HERO (podstránky) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-secondary) 100%);
  display: flex; align-items: center;
  padding-block: clamp(80px, 12vw, 130px);
}
.page-hero.tall { min-height: 50vh; }
.page-hero .eyebrow { display: inline-block; margin-bottom: 18px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { max-width: 600px; }

/* ---------- CO ŘEŠÍM — alternující sekce ---------- */
.topic { padding-block: clamp(64px, 9vw, 110px); }
.topic.flip .split { direction: rtl; }
.topic.flip .split > * { direction: ltr; }
.topic .subhead { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 24px 0 10px; }

/* ---------- CENÍK ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 56px auto 0; }
.price-card { display: flex; flex-direction: column; }
.price-card .price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.price-card h3 { font-size: 22px; }
.price-card .amount { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--sage); white-space: nowrap; font-variation-settings: "opsz" 144, "SOFT" 40; }
.price-card .dur { color: var(--text-muted); font-size: 14px; margin-top: 8px; }

/* Reservio embed placeholder */
.reservio-embed {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 16px; padding: 40px; box-shadow: var(--shadow-sm); margin-top: 40px;
}
.reservio-embed .icon-circle { margin-bottom: 0; }
.reservio-embed p { color: var(--text-2); max-width: 420px; }
.reservio-embed code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: var(--sage-dark); background: var(--sage-wash); padding: 4px 10px; border-radius: 8px; }

/* Ordinační hodiny tabulka */
.hours { width: 100%; max-width: 420px; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.hours th { font-weight: 600; color: var(--text); }
.hours td { color: var(--text-2); text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }

/* Info / kontakt řádky */
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-list li { display: flex; align-items: flex-start; gap: 14px; }
.info-list svg { width: 22px; height: 22px; color: var(--sage); flex-shrink: 0; margin-top: 2px; }
.info-list .label { font-size: 13px; color: var(--text-muted); }
.info-list .value { font-weight: 600; color: var(--text); }
.info-list a.value:hover { color: var(--sage); }

.disclaimer { background: var(--bg-accent); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px 32px; }
.disclaimer h3 { font-size: 20px; margin-bottom: 10px; }
.disclaimer p { color: var(--text-2); font-size: 15px; }

/* ---------- O MNĚ ---------- */
.timeline { display: flex; flex-direction: column; gap: 4px; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.timeline .year { font-family: var(--font-display); font-weight: 700; color: var(--sage); font-size: 18px; font-variation-settings: "opsz" 144, "SOFT" 40; }
.timeline .what .t { font-weight: 600; display: block; }
.timeline .what .d { color: var(--text-2); font-size: 15px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.gallery .ph { min-height: 220px; }
.gallery .ph:first-child { grid-column: span 2; grid-row: span 2; min-height: 458px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--text); color: rgba(255,255,255,0.75); padding-block: clamp(56px, 7vw, 80px) 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 48px; }
.footer .logo { color: #fff; display: inline-block; margin-bottom: 16px; }
.footer .logo b { color: var(--sage-light); }
.footer p { font-size: 15px; line-height: 1.7; }
.footer h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 700; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer .info-list a { color: rgba(255,255,255,0.78); font-size: 15px; transition: color .2s; }
.footer-links a:hover, .footer .info-list a:hover { color: #fff; }
.footer .info-list svg { color: var(--sage-light); }
.footer .info-list .value { color: #fff; font-weight: 500; }
.footer .info-list .label { color: rgba(255,255,255,0.5); }
.footer-bottom {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .made a { color: var(--sage-light); }
.footer-bottom .made a:hover { color: #fff; }
.footer .ico-hours { font-size: 14px; }

/* ---------- GDPR COOKIE BANNER ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 520px; margin-inline: auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--shadow-lg); padding: 24px;
  transform: translateY(140%); opacity: 0;
  transition: transform .5s var(--ease-expo), opacity .4s var(--ease-soft);
}
.cookie.show { transform: translateY(0); opacity: 1; }
.cookie h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); font-variation-settings: "opsz" 144, "SOFT" 40; }
.cookie p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.cookie p a { color: var(--sage); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 22px; min-height: 44px; font-size: 14px; flex: 1; }
.cookie-actions .btn-ghost { border-color: var(--border); color: var(--text-2); }

/* ---------- FADE-IN ON SCROLL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-expo), transform .8s var(--ease-expo); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- A11Y ---------- */
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 400;
  background: var(--sage); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 14px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-phone .num { display: none; }
  .hamburger { display: flex; }
  .nav-actions { gap: 10px; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { transform: none; order: -1; }
  .hero-visual .ph { min-height: 320px; }
  .hero-copy { max-width: 100%; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .topic.flip .split { direction: ltr; }
  .split .ph { order: -1; min-height: 300px; }

  .care-grid { grid-template-columns: 1fr 1fr; }
  .care-grid .card, .care-grid .card:nth-child(4), .care-grid .card:nth-child(5) { grid-column: auto; }

  .stepper { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .step-wave { display: none; }

  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .care-grid, .grid-3, .grid-2, .price-grid, .stepper { grid-template-columns: 1fr; }
  .hero-actions .btn, .page-hero .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .ph:first-child { grid-column: span 2; grid-row: auto; min-height: 220px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn { width: 100%; }
}

/* ============================================================
   PHASE 2 — PREMIUM UPLIFT
   ============================================================ */

/* ---- CTA glow on hover ---- */
.btn-primary:hover { box-shadow: var(--shadow-cta), var(--glow); transform: translateY(-2px) scale(1.02); }
.btn-white:hover   { box-shadow: var(--shadow-lg), 0 0 32px rgba(255,255,255,0.35); transform: translateY(-2px) scale(1.02); }

/* ---- Foto box treatment ---- */
.ph { box-shadow: var(--shadow-md); transition: transform .4s var(--ease-expo), box-shadow .4s var(--ease-expo), filter .4s var(--ease-soft); }
.split .ph:hover, .hero-visual .ph:hover, .gallery .ph:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); filter: saturate(1.05); }

/* ---- Card shadow refinement ---- */
.card { box-shadow: var(--shadow-xs); }
.card:hover { box-shadow: var(--shadow-md); }

/* ---- Big italic numbers (Fraunces) ---- */
.big-num {
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(64px, 9vw, 96px); line-height: 0.9; color: var(--sage);
  opacity: 0.85; display: block; margin-bottom: 8px;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}

/* ---- Sub-labels (PRO KOHO / DÉLKA LÉČBY) ---- */
.sub-label {
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage);
  margin: 28px 0 14px;
}
.check-list { display: flex; flex-direction: column; gap: 11px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 16px; line-height: 1.5; }
.check-list svg { width: 19px; height: 19px; color: var(--sage); flex-shrink: 0; margin-top: 3px; stroke-width: 2.4; }
.meta-line { font-size: 16px; color: var(--text); font-weight: 500; }

/* Longer body copy — vzdušné */
.prose p { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; color: var(--text-2); }
.prose p + p { margin-top: 18px; }

/* ---- Topic sections (Co řeším) — refinement ---- */
.topic .split-copy h2 { margin: 6px 0 20px; }
.topic .eyebrow { display: inline-block; }

/* ---- DROP CAP ---- */
.dropcap::first-letter {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 4.1em; line-height: 0.72; float: left;
  padding: 8px 14px 0 0; color: var(--sage);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}

/* ---- PULL QUOTE ---- */
.pullquote-sec { background: var(--bg-secondary); position: relative; overflow: hidden; }
.pullquote { max-width: 820px; margin-inline: auto; text-align: center; position: relative; padding-top: 40px; }
.pullquote .qmark {
  position: absolute; top: -36px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(120px, 18vw, 200px);
  line-height: 1; color: var(--sage); opacity: 0.16; pointer-events: none; user-select: none;
}
.pullquote blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(26px, 4vw, 36px); line-height: 1.3; color: var(--text);
  letter-spacing: -0.01em;
}
.pullquote .leaf-orn { margin: 28px auto 0; color: var(--sage-light); opacity: 0.7; }
.pullquote .leaf-orn svg { width: 64px; height: auto; }

/* ---- Decorative leaf accent ---- */
.leaf-accent { position: absolute; color: var(--sage); opacity: 0.05; pointer-events: none; z-index: 0; }
.leaf-accent svg { width: 100%; height: auto; }
.page-hero, section { position: relative; }
.page-hero > .container, section > .container { position: relative; z-index: 1; }

/* ---- Process timeline (Jak to probíhá) ---- */
.process { max-width: 860px; margin: 64px auto 0; display: flex; flex-direction: column; gap: 20px; }
.process-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 40px); align-items: start;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-expo), box-shadow .3s var(--ease-expo);
}
.process-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.process-card .pc-num { padding-top: 4px; }
.process-card .time { font-size: 13px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; }
.process-card h3 { margin: 6px 0 12px; font-size: clamp(20px, 2.2vw, 26px); }
.process-card .prose p { font-size: 17px; }

/* ---- FAQ ACCORDION ---- */
.faq { max-width: 820px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; text-align: left; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(18px, 2vw, 21px); color: var(--text); transition: color .2s var(--ease-soft);
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.faq-q:hover { color: var(--sage); }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--sage); transition: transform .4s var(--ease-expo); }
.faq-icon svg { width: 24px; height: 24px; stroke-width: 2.2; }
.faq-item[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; height: 0; opacity: 0; transition: height .4s var(--ease-soft), opacity .3s var(--ease-soft); }
.faq-item[aria-expanded="true"] .faq-a { opacity: 1; }
.faq-a-inner { padding: 0 4px 28px; max-width: 680px; }
.faq-a-inner p { color: var(--text-2); font-size: 17px; line-height: 1.7; }

/* ---- 3-principles grid (O mně) ---- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px); margin-top: 56px; }
.principle .line { width: 40px; height: 3px; background: var(--sage); border-radius: 2px; margin: 14px 0 16px; }
.principle h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.principle p { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.principle .sub-label { margin: 0; }

/* ---- "Najdete mě" mini box (O mně příběh) ---- */
.fact-box { background: var(--bg-accent); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-xs); }
.fact-box dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.fact-box dd { font-weight: 600; color: var(--text); margin: 4px 0 18px; }
.fact-box dd:last-child { margin-bottom: 0; }

/* ---- Price card premium ---- */
.price-card .amount { font-size: clamp(34px, 4vw, 48px); }
.price-card .badge-pop { position: absolute; top: -12px; right: 24px; background: var(--mustard); color: var(--sage-dark); padding: 6px 14px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.price-card { position: relative; }
.price-card p.desc { color: var(--text-2); font-size: 15px; margin: 14px 0 22px; flex: 1; }
.price-card .btn { align-self: flex-start; }
.price-note { text-align: center; max-width: 720px; margin: 32px auto 0; font-size: 14px; color: var(--text-2); }

/* ---- Footer wave ---- */
.footer { position: relative; }
.footer-wave { position: absolute; top: 0; left: 0; right: 0; transform: translateY(-99%); line-height: 0; color: var(--text); }
.footer-wave svg { width: 100%; height: clamp(40px, 6vw, 72px); display: block; }

/* ---- Sticky CTA pulse (mobile) ---- */
@keyframes ctaPulse {
  0%, 100% { box-shadow: var(--shadow-cta); }
  50% { box-shadow: var(--shadow-cta), 0 0 0 8px rgba(74,124,89,0.12), var(--glow); }
}
.nav-cta.pulse { animation: ctaPulse 2.4s var(--ease-soft) 2; }

/* ---- Number bounce-in ---- */
@keyframes numPop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.step-num.pop { animation: numPop .6s var(--ease-expo) both; }

/* ---- Hero subtle dim on scroll ---- */
.hero { transform-origin: top center; will-change: transform; }

@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr; gap: 36px; }
  .process-card { grid-template-columns: 1fr; gap: 8px; }
  .process-card .big-num { font-size: 56px; }
}

/* ---- PHASE 3 — IMAGE TREATMENT ---- */
.photo {
  position: relative; border-radius: var(--r-cta); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--bg-accent);
  transition: transform .4s var(--ease-expo), box-shadow .4s var(--ease-expo);
}
.photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.92) contrast(1.03) brightness(1.02) hue-rotate(2deg);
  transition: filter .4s var(--ease-soft), transform .4s var(--ease-expo);
}
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(251,252,250,0) 50%, rgba(74,124,89,0.10) 100%);
  mix-blend-mode: multiply;
}
.photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.photo:hover img { filter: saturate(0.95) contrast(1.04) brightness(1.05) hue-rotate(2deg); }
.ratio-45  { aspect-ratio: 4 / 5; }
.ratio-34  { aspect-ratio: 3 / 4; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-219 { aspect-ratio: 21 / 9; }
.photo .ph-note {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(31,41,55,0.78); color: #fff; font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; padding: 6px 12px; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}
@media (max-width: 600px) {
  .photo.ratio-45, .photo.ratio-34 { aspect-ratio: 4 / 3; }
}

/* ============================================================
   PHASE 5 — FINÁLNÍ: formulář, mapa, mobilní zpevnění
   ============================================================ */

/* ---- Globální ochrana proti vodorovnému posuvu ---- */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }
.leaf-accent { max-width: 60vw; overflow: hidden; }
img, iframe { max-width: 100%; }
h1, h2, h3, p, a, li { overflow-wrap: break-word; }

/* ---- Mapa embed ---- */
.map-embed { border-radius: var(--r-cta); overflow: hidden; box-shadow: var(--shadow-md); line-height: 0; background: var(--bg-accent); }
.map-embed iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* ---- Rezervační formulář ---- */
.booking {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--shadow-md); padding: clamp(28px, 4vw, 48px); margin-top: 40px;
  max-width: 760px; margin-inline: auto;
}
.booking .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field label .req { color: var(--sage); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 14px 16px; min-height: 50px; width: 100%;
  transition: border-color .2s var(--ease-soft), box-shadow .2s var(--ease-soft);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(74,124,89,0.15);
}
.field input:invalid:not(:placeholder-shown) { border-color: #C2603F; }
.booking .form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.booking .form-foot .btn { flex: 1; min-width: 220px; }
.booking .form-note { font-size: 13px; color: var(--text-2); flex: 1; min-width: 220px; }
.booking .form-note a { color: var(--sage); font-weight: 600; }
.booking-success {
  display: none; flex-direction: column; align-items: center; text-align: center;
  gap: 16px; padding: 24px 8px;
}
.booking-success.show { display: flex; }
.booking-success .icon-circle { margin-bottom: 0; width: 64px; height: 64px; }
.booking-success .icon-circle svg { width: 34px; height: 34px; }
.booking-success h3 { font-size: clamp(22px, 3vw, 28px); }
.booking-success p { color: var(--text-2); max-width: 460px; }
.booking.sent .form-body { display: none; }

/* ---- Mobilní zpevnění ---- */
@media (max-width: 900px) {
  .nav-phone { display: none; }
  .nav-inner { gap: 14px; height: 68px; }
  .nav-cta { padding: 11px 18px; font-size: 14px; }
  .map-embed iframe { min-height: 320px; }
}

@media (max-width: 600px) {
  :root { --section-py: clamp(56px, 12vw, 80px); }
  .booking .form-grid { grid-template-columns: 1fr; }
  .booking .form-foot .btn { width: 100%; flex: none; }
  .container { padding-inline: 20px; }
  .big-num { font-size: clamp(52px, 16vw, 72px); }
  .pullquote .qmark { font-size: clamp(96px, 30vw, 140px); }
  .process-card { padding: 22px; }
  .reservio-embed { padding: 28px 20px; }
  main { padding-bottom: 8px; }
}

/* ---- REDUCED MOTION (must stay last) ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero { transform: none !important; }
  .nav-cta.pulse { animation: none !important; }
}
