/* ==========================================================================
   Monada klub – návrh šablony
   Struktura odpovídá budoucí WordPress šabloně (style.css tématu).
   Barvy a typografie jsou v proměnných -> později theme.json / Customizer.
   ========================================================================== */

/* ---------- 1. Design tokeny ---------- */
:root {
  /* plátno */
  --canvas: #F6F1E8;        /* hlavní pozadí – teplá bílá jako plátno */
  --surface: #FBF8F2;       /* karty, panely */
  --line: #E4DCCD;          /* jemné linky */

  /* šalvějová zelená */
  --sage-50: #EEF2EA;
  --sage-100: #E3E9DF;
  --sage-300: #B7C7B3;
  --sage-500: #7F9A80;      /* dekor, ikony */
  --sage-700: #4B6552;      /* odkazy (5,7:1 na plátně) */
  --sage-800: #3F5946;      /* tlačítka (bílý text 7,7:1) */
  --sage-900: #2E4234;

  /* decentní zlatá – jen akcenty */
  --gold: #B99A5B;          /* linky, ornamenty (ne pro text) */
  --gold-text: #7A5F2B;     /* zlatý text (5,3:1) */

  /* text */
  --ink: #2A322C;           /* 11,7:1 */
  --ink-muted: #56605A;     /* 5,8:1 */

  /* typografie */
  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-base: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  --fs-h1: clamp(2.5rem, 5.5vw + 1rem, 4.75rem);
  --fs-h2: clamp(2rem, 3vw + 1rem, 3.25rem);
  --fs-h3: clamp(1.35rem, 0.8vw + 1.1rem, 1.7rem);

  /* rozvržení */
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 8rem);
  --radius: 1.25rem;
  --radius-arch: 999px 999px var(--radius) var(--radius);
  --shadow: 0 1px 2px rgb(46 66 52 / .05), 0 12px 32px -12px rgb(46 66 52 / .18);
  --tap: 2.75rem;           /* min. 44 px pro dotyk */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: clip;          /* pojistka proti horizontálnímu posunu */
  text-rendering: optimizeLegibility;
}

/* jemná textura plátna (čisté CSS, bez obrázku) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 0%, rgb(127 154 128 / .10), transparent 55%),
    radial-gradient(ellipse at 100% 60%, rgb(185 154 91 / .07), transparent 50%),
    repeating-linear-gradient(0deg, rgb(120 100 60 / .018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgb(120 100 60 / .018) 0 1px, transparent 1px 3px);
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--sage-900);
  margin: 0 0 .5em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p  { margin: 0 0 1.1em; max-width: 65ch; text-wrap: pretty; }

a {
  color: var(--sage-700);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { color: var(--sage-900); text-decoration-color: var(--gold); }

/* viditelné zaměření pro klávesnici */
:focus-visible {
  outline: 3px solid var(--sage-700);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* odkaz „Přeskočit na obsah“ */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--sage-800);
  color: #fff;
  border-radius: .5rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* ---------- 3. Drobné komponenty ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before {
  content: "";
  width: 2rem; height: 1px;
  background: var(--gold);
}

.lead { font-size: 1.15em; color: var(--ink-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: var(--tap);
  padding: .8rem 1.6rem;
  border: 1px solid var(--sage-800);
  border-radius: 999px;
  background: var(--sage-800);
  color: #fff;
  font: 500 1rem/1.2 var(--font-sans);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--sage-900); border-color: var(--sage-900); color: #fff; }
.btn--ghost { background: transparent; color: var(--sage-800); }
.btn--ghost:hover { background: var(--sage-100); color: var(--sage-900); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold);
  margin: 0 auto 1.25rem;
}
.ornament::before, .ornament::after {
  content: ""; width: 3rem; height: 1px; background: currentColor;
}
.ornament svg { width: .9rem; height: .9rem; }

/* ---------- 4. Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(246 241 232 / .9);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: var(--tap);
  color: var(--sage-900);
  text-decoration: none;
}
.brand:hover { color: var(--sage-900); }
.brand__symbol { width: 3rem; height: 3rem; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: .14em;
}
.brand__name span { color: var(--sage-500); font-weight: 500; }
.brand__tag {
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: .2rem;
}

/* navigace – mobil */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--sage-900);
  font: 500 .9375rem var(--font-sans);
  cursor: pointer;
}
.nav-toggle__icon { position: relative; width: 1.1rem; height: .75rem; }
.nav-toggle__icon::before, .nav-toggle__icon::after,
.nav-toggle__icon span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon span { top: 50%; translate: 0 -50%; }
.nav-toggle__icon::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(5.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-5.25px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span { opacity: 0; }

.primary-nav {
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: .5rem var(--gutter) 1.5rem;
}
.primary-nav[hidden] { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav li + li { border-top: 1px solid var(--line); }
.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.0625rem;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--sage-700); }
.primary-nav .btn { margin-top: 1rem; width: 100%; }

/* navigace – desktop */
@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .primary-nav,
  .primary-nav[hidden] {
    display: flex;
    position: static;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .primary-nav ul { display: flex; gap: 1.75rem; }
  .primary-nav li + li { border: 0; }
  .primary-nav a { min-height: var(--tap); font-size: .9688rem; position: relative; }
  .primary-nav ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .55rem;
    height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .primary-nav ul a:hover::after,
  .primary-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .btn { margin: 0; width: auto; padding-inline: 1.25rem; }
}

/* ---------- 5. Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) var(--section); }
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__title em { font-style: italic; color: var(--sage-700); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem;
  margin: 2.25rem 0 0; padding: 0; list-style: none;
  font-size: .9375rem; color: var(--ink-muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { width: 1.1rem; height: 1.1rem; color: var(--sage-500); flex: none; }

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 26rem);
}
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-arch);
  overflow: hidden;
  background: linear-gradient(170deg, var(--sage-100), var(--sage-50) 55%, var(--surface));
  display: grid;
  place-items: center;
  isolation: isolate;
}
.arch::after {                 /* zlatá vnitřní linka */
  content: "";
  position: absolute;
  inset: .75rem;
  border: 1px solid rgb(185 154 91 / .55);
  border-radius: var(--radius-arch);
  pointer-events: none;
}
.arch img.arch__photo { width: 100%; height: 100%; object-fit: cover; }
.arch__symbol { width: 62%; }
.hero__branch {
  position: absolute;
  width: 32%;
  right: -9%;
  bottom: -6%;
  color: var(--sage-500);
  opacity: .8;
  z-index: 1;
}
.hero__badge {
  position: absolute;
  left: -4%;
  bottom: 12%;
  z-index: 2;
  padding: .9rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  font-size: .875rem;
  line-height: 1.35;
}
.hero__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sage-900);
}

@media (min-width: 56rem) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__visual { justify-self: end; }
}

/* ---------- 6. Sekce ---------- */
.section { padding-block: var(--section); }
.section--tint {
  background: var(--sage-50);
  border-block: 1px solid var(--sage-100);
}
.section__head { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center p { margin-inline: auto; }
.section__head--center .eyebrow::after {
  content: ""; width: 2rem; height: 1px; background: var(--gold);
}

/* karty služeb */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  list-style: none; margin: 0; padding: 0;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover, .card:focus-within {
  border-color: var(--sage-300);
  box-shadow: var(--shadow);
}
@media (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); }
}
.card__icon {
  width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-700);
  box-shadow: inset 0 0 0 1px var(--sage-100);
}
.card__icon svg { width: 1.6rem; height: 1.6rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-muted); font-size: .97em; }
.card__link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: var(--tap);
  font-weight: 500;
  text-decoration: none;
}
.card__link::after { content: "→"; transition: translate .3s var(--ease); }
.card__link:hover::after { translate: 4px 0; }
/* celá karta klikatelná, ale odkaz zůstává jediným prvkem v pořadí tabulátoru */
.card__link span.stretch::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* dvousloupcová sekce: obraz + text */
.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.split__media { width: min(100%, 30rem); justify-self: center; }

.media-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage-100);
  display: grid; place-items: center;
}
.media-frame--arch { aspect-ratio: 4 / 5; border-radius: var(--radius-arch); }
.media-frame img.photo { width: 100%; height: 100%; object-fit: cover; }
.media-frame .placeholder {
  width: 46%;
  color: var(--sage-500);
}
.media-frame figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-muted); text-align: center;
}

/* seznamy s jemnou odrážkou */
.list-leaf { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .6rem; }
.list-leaf li { position: relative; padding-left: 1.75rem; }
.list-leaf li::before {
  content: "";
  position: absolute; left: 0; top: .6em;
  width: .7rem; height: .7rem;
  border-radius: 0 70% 0 70%;
  background: var(--sage-300);
  box-shadow: inset 0 0 0 1px var(--sage-500);
}
@media (min-width: 40rem) {
  .list-leaf--cols { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

.brands {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; margin: 1rem 0 0; padding: 0;
}
.brands li {
  padding: .35rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .875rem;
  color: var(--ink-muted);
}
.note { font-size: .9rem; color: var(--ink-muted); }

/* terapie – tři bloky */
.therapies {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.therapy {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border-top: 2px solid var(--gold);
  box-shadow: 0 0 0 1px var(--line);
}
.therapy h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.therapy .from { font-family: var(--font-sans); font-size: .875rem; font-weight: 500; color: var(--gold-text); white-space: nowrap; }

/* ---------- 7. Ceník ---------- */
.pricing {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  align-items: start;
}
.price-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price-card h3 {
  display: flex; align-items: center; gap: .75rem;
  padding-bottom: 1rem; margin-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
.price-card h3 svg { width: 1.5rem; height: 1.5rem; color: var(--sage-500); }
.price-list { margin: 0; padding: 0; list-style: none; }
.price-list li {
  display: flex; align-items: baseline; gap: .75rem;
  padding: .7rem 0;
}
.price-list li + li { border-top: 1px dashed var(--line); }
.price-list .name { flex: 1 1 auto; min-width: 0; }
.price-list .name small { display: block; color: var(--ink-muted); font-size: .85em; }
.price-list .price {
  flex: none;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 500;
  color: var(--sage-900);
  white-space: nowrap;
}
.price-list .sub .name { padding-left: 1rem; color: var(--ink-muted); font-size: .95em; }
.price-group {
  margin: 1.25rem 0 .25rem;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 500;
}

/* ---------- 8. O mně / citát ---------- */
.about__quote {
  margin: 2rem 0 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.5vw + 1rem, 1.9rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--sage-900);
}
.about__sign {
  margin-top: 1rem;
  font-size: .9rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text);
}

/* ---------- 9. CTA pás ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--sage-800);
  color: #F3F0E8;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-inline: auto; color: #E2E6DD; }
.cta-band::before {
  content: ""; position: absolute; inset: .75rem;
  border: 1px solid rgb(185 154 91 / .5);
  border-radius: calc(var(--radius) * 1.5 - .5rem);
  pointer-events: none;
}
.cta-band .btn-row { justify-content: center; }
.cta-band .btn { background: var(--canvas); border-color: var(--canvas); color: var(--sage-900); }
.cta-band .btn:hover { background: #fff; }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }
.cta-band .btn--ghost:hover { background: rgb(255 255 255 / .1); }
.cta-band :focus-visible { outline-color: #fff; }

/* ---------- 10. Kontakt ---------- */
.contact {
  display: grid; gap: 1.5rem;
}
@media (min-width: 56rem) { .contact { grid-template-columns: 1fr 1.1fr; } }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.contact__item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact__item svg {
  width: 2.5rem; height: 2.5rem; flex: none;
  padding: .6rem; border-radius: 50%;
  background: var(--sage-50); color: var(--sage-700);
}
.contact__label {
  display: block;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-muted);
}
.contact__value { font-size: 1.125rem; color: var(--ink); }
.contact__value a { display: inline-block; padding-block: .3rem; }

.map-card {
  position: relative;
  min-height: 20rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--sage-50), var(--sage-50)) padding-box;
  display: grid; place-items: center;
  text-align: center;
  padding: 2rem;
}
.map-card__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: var(--sage-300);
}
.map-card__content { position: relative; }
.map-card__pin { width: 3rem; height: 3rem; margin: 0 auto 1rem; color: var(--sage-800); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 11. Patička ---------- */
.site-footer {
  margin-top: var(--section);
  padding-block: 3.5rem 2rem;
  background: var(--sage-900);
  color: #D9DED5;
  font-size: .9375rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; text-decoration-color: var(--gold); }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: #E3CF9F;              /* světlá zlatá na tmavé zelené */
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 2.5rem; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer .brand { color: #fff; }
.site-footer .brand__tag { color: #C9D0C4; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / .12);
  font-size: .8125rem; color: #B9C2B5;
}

/* ---------- 12. Vnitřní stránka (page.php) ---------- */
.page-hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.page-hero p { margin-inline: auto; }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  font-size: .875rem; color: var(--ink-muted);
}
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--gold); }
.breadcrumbs a { display: inline-block; padding-block: .6rem; }

.entry {
  width: min(100% - 2 * var(--gutter), 44rem);
  margin-inline: auto;
}
.entry > * + h2 { margin-top: 2.5rem; }
.entry h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.4rem); }
.entry figure { margin: 2.5rem 0; }
.entry blockquote {
  margin: 2rem 0; padding: 1.5rem 1.75rem;
  background: var(--sage-50);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.entry blockquote p:last-child { margin: 0; }
.entry__aside {
  margin-top: 3rem; padding: 1.75rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.entry__aside p { margin: 0; }

/* ---------- 13. Animace (jen pokud je uživatel neomezil) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 14. Vysoký kontrast / tisk ---------- */
@media (forced-colors: active) {
  .btn, .card, .price-card { border: 1px solid CanvasText; }
}
@media print {
  .site-header, .nav-toggle, .cta-band, .map-card, body::before { display: none !important; }
  body { background: #fff; }
}

/* ---------- 15. Fallback bez JavaScriptu ---------- */
html:not(.js) .nav-toggle { display: none; }
@media (max-width: 59.99rem) {
  html:not(.js) .site-header { position: static; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .primary-nav { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 1rem; }
}
/* zabrání probliknutí otevřeného menu, než se načte main.js (třída .js se nastaví inline v <head>) */
@media (max-width: 59.99rem) {
  .js .nav-toggle[aria-expanded="false"] + .primary-nav { display: none; }
}

/* ---------- 16. Doplňky ---------- */
.therapies { margin-top: clamp(3rem, 7vw, 5rem); }
.price-card__cta { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.price-card__cta .note { margin-bottom: 1rem; }
.contact__address { font-style: normal; }
.map-card__content p { margin-inline: auto; }
.cta-band { margin-top: var(--section); }
/* na úzkých displejích dekorace nepřesahují okraj (žádný horizontální posun) */
@media (max-width: 40rem) {
  .hero__branch { right: 0; bottom: -4%; width: 26%; }
  .hero__badge { left: 0; }
}
