/* ============================================================
   Kraniosakrální biodynamika — Matěj Hájek
   Mobile-first, klidná přírodní paleta
   ============================================================ */

:root {
  /* paleta */
  --bg: #F7F3EC;            /* krémově teplá bílá */
  --bg-soft: #EFE9DD;       /* světlejší písková */
  --sage: #D7DECE;          /* jemná šalvěj */
  --sage-deep: #B8C2A8;     /* tmavší šalvěj na hover */
  --beige: #E8DCC8;         /* teplá béžová */
  --ink: #2E332B;           /* hluboká oliva — text */
  --ink-soft: #5B6356;      /* tlumenější text */
  --accent: #A86B4C;        /* tlumená terakota — CTA */
  --accent-deep: #8E5639;   /* tmavší terakota na hover */
  --line: #D9D2C2;          /* čára */
  --white: #FFFFFF;

  /* typografie */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* radius / shadow */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow-soft: 0 10px 30px -12px rgba(46, 51, 43, 0.18);
  --shadow-card: 0 1px 2px rgba(46, 51, 43, 0.05), 0 8px 24px -16px rgba(46, 51, 43, 0.15);
  /* layout */
  --topbar-h: 52px;
}

/* ---------- reset / základ ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 12px);
  max-width: 100%;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* fixní vodoznak loga (strom jin-jang) — viditelný všude kromě hero */
.bg-watermark {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-watermark img {
  width: min(88%, 760px);
  max-width: calc(100% - 40px);
  height: auto;
  opacity: 0.15;
}

main {
  background: transparent;
}

.skip-link,
.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}
.topbar { z-index: 50; }

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

a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease;
}
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

ul { margin: 0 0 1em; padding-left: 1.2em; }

::selection { background: var(--accent); color: #fff; }

/* skip link pro accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- container ---------- */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 760px; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 100%;
  z-index: 50;
  background: var(--sage);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  width: 100%;
  min-width: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
  min-height: var(--topbar-h);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand actions"
    "nav nav";
  align-items: center;
  gap: 8px 10px;
}
.topbar__brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  line-height: 1.15;
  min-width: 0;
  text-decoration: none;
}
.topbar__brand:hover { color: var(--accent-deep); }
.topbar__logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}
.topbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.topbar__brand-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}
.topbar__brand-sub {
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.topbar__actions {
  grid-area: actions;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.topbar__menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}
.topbar__menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.topbar.is-menu-open .topbar__menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.topbar.is-menu-open .topbar__menu-bar:nth-child(2) { opacity: 0; }
.topbar.is-menu-open .topbar__menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.topbar__nav {
  grid-area: nav;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 4px;
  border-top: 1px solid var(--line);
}
.topbar.is-menu-open .topbar__nav {
  display: flex;
}
.topbar__nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  padding: 12px 8px;
  border-radius: var(--r-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.topbar__nav a:hover,
.topbar__nav a:focus-visible {
  background: var(--beige);
  color: var(--ink);
}

.topbar__call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-deep);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}
.topbar__call:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.topbar__call-num { white-space: nowrap; }
.topbar__call .icon-phone { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .topbar__brand-sub { display: none; }
  .topbar__call-num { display: none; }
}

/* Mobile: top padding matches side padding (12px) */
@media (max-width: 759px) {
  :root { --topbar-h: 68px; }

  .topbar__inner {
    padding: 12px;
    min-height: 0;
  }
}

@media (min-width: 760px) {
  :root { --topbar-h: 60px; }

  .topbar__inner {
    padding: 0 16px;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav actions";
    gap: 24px;
  }
  .topbar__logo {
    width: 38px;
    height: 38px;
  }
  .topbar__brand-name { font-size: 19px; }
  .topbar__brand-sub { font-size: 11px; letter-spacing: 0.06em; }
  .topbar__menu-toggle { display: none; }
  .topbar__nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 0;
    border-top: none;
  }
  .topbar__nav a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 2px;
    min-height: auto;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
  }
  .topbar__nav a:hover,
  .topbar__nav a:focus-visible {
    background: transparent;
    color: var(--accent-deep);
    border-bottom-color: var(--accent);
  }
  .topbar__call {
    padding: 9px 14px;
    font-size: 15px;
    min-width: auto;
  }
  .topbar__call-num { display: inline; }
}

/* ---------- ikony ---------- */
.icon-phone, .icon-mail { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 2;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: center;
  padding: 20px 0 48px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
@media (min-width: 760px) {
  .hero {
    min-height: min(90vh, 720px);
    padding: 80px 0 64px;
  }
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__media picture {
  width: 100%;
  height: 100%;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(
            to bottom,
            rgba(247, 243, 236, 0.55) 0%,
            rgba(247, 243, 236, 0.72) 45%,
            rgba(247, 243, 236, 0.92) 100%
    )
}

.hero__content {
  width: 100%;
  min-width: 0;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.hero__logo {
  width: clamp(96px, 18vw, 160px);
  height: auto;
  margin: 0 auto 18px;
  display: block;
  opacity: 1;
}
@media (min-width: 760px) {
  .hero__logo {
    width: clamp(120px, 14vw, 176px);
    margin-bottom: 22px;
  }
}
.hero__eyebrow {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4.2vw, 2.55rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 22px;
  line-height: 1.2;
}
.hero__title {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.hero__lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  line-height: 1.65;
  color: #14160F;
  max-width: 36em;
  margin: 0 auto 28px;
  font-style: italic;
  text-align: center;
}
.hero__lead span {
  display: block;
  margin-top: 0.65em;
}
.hero__lead span:first-child { margin-top: 0; }
.hero__lead--mobile { display: none; }
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__where {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

@media (min-width: 640px) {
  .hero__cta { flex-direction: row; justify-content: center; }
}

/* ---------- tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent-deep);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--large {
  padding: 16px 28px;
  min-height: 54px;
  font-size: 17px;
}

.btn--center { margin: 12px auto 0; display: flex; }

/* ---------- sekce ---------- */

.section {
  padding: 72px 0;
  position: relative;
  background: transparent;
}
.section--intro {
  padding-top: 40px;
  padding-bottom: 48px;
  text-align: center;
}
.section--intro .hero__cta { margin-bottom: 0; }
.section--intro .hero__where { margin: 0; }

/* Mobile: logo and title fill the image; supporting lines follow below it */
@media (max-width: 759px) {
  .hero {
    min-height: clamp(360px, 58svh, 520px);
    align-items: center;
    padding: 32px 0 40px;
  }

  .hero__logo {
    width: clamp(124px, 34vw, 168px);
    margin-bottom: 24px;
  }

  .hero__eyebrow {
    max-width: 13em;
    margin: 0 auto;
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    overflow-wrap: anywhere;
  }

  .hero__lead--desktop {
    display: none;
  }

  .hero__lead--mobile {
    display: block;
    margin-bottom: 24px;
  }

  .section--intro {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .topbar__inner {
    padding: 12px max(12px, env(safe-area-inset-right)) 12px max(12px, env(safe-area-inset-left));
  }
}

@media (max-width: 380px) {
  .hero__cta .btn,
  .cta-band__buttons .btn {
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
    white-space: normal;
    line-height: 1.3;
  }
}

/* oddělovač sekcí — čára s logem jin-jang uprostřed */
.section-divider {
  --divider-x: 61.803%;
  border: none;
  margin: 0;
  padding: 0;
  height: 72px;
  background: transparent;
  position: relative;
  overflow: visible;
}
.section-divider::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(
    to right,
    var(--line) 0%,
    var(--line) calc(var(--divider-x) - 40px),
    transparent calc(var(--divider-x) - 40px),
    transparent calc(var(--divider-x) + 40px),
    var(--line) calc(var(--divider-x) + 40px),
    var(--line) 100%
  );
}
.section-divider::after {
  content: '';
  position: absolute;
  left: var(--divider-x);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: var(--bg) url('obrazky/logo.png') center / contain no-repeat;
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--bg);
}
@media (min-width: 760px) {
  .section-divider {
    height: 88px;
  }
  .section-divider::after {
    width: 64px;
    height: 64px;
    box-shadow: 0 0 0 10px var(--bg);
  }
  .section-divider::before {
    background: linear-gradient(
      to right,
      var(--line) 0%,
      var(--line) calc(var(--divider-x) - 48px),
      transparent calc(var(--divider-x) - 48px),
      transparent calc(var(--divider-x) + 48px),
      var(--line) calc(var(--divider-x) + 48px),
      var(--line) 100%
    );
  }
}

.section__title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  text-align: center;
  margin: 0 0 36px;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.2em;
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
}

.prose {
  max-width: 70ch;
  margin: 0 auto;
  text-align: justify;
  hyphens: auto;
}
.prose h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  text-align: center;
}
.prose h3:first-child { margin-top: 0; }
.prose h4 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  text-align: left;
}
.prose .bullets,
.prose ul {
  text-align: left;
}

/* ---------- quote ---------- */

.quote {
  margin: 32px auto;
  max-width: 38em;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: rgba(232, 220, 200, 0.45);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  text-align: left;
}
.quote p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-style: italic;
  line-height: 1.55;
  margin: 0;
  color: var(--ink);
}
.quote__author {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.quote--intro {
  margin: 32px auto 0;
  text-align: left;
}
.quote--intro p + p { margin-top: 0.9em; }
.quote--small { padding: 18px 22px; margin: 0 0 28px; }
.quote--small p { font-size: 1.1rem; }
.quote--poem {
  text-align: center;
  border-left: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  margin-top: 56px;
}
.quote--poem p { font-style: italic; line-height: 1.7; }

.media-in {
  margin: 48px auto 0;
  max-width: 70ch;
}
.media-in__title {
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  text-align: center;
  margin: 0 0 28px;
}
.media-item {
  margin: 0 0 32px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}
.media-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.media-item__meta {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}
.media-item__heading {
  font-size: clamp(1.18rem, 2.28vw, 1.47rem);
  margin: 0 0 12px;
  text-align: center;
  line-height: 1.35;
}
.media-item__heading a {
  color: var(--ink);
  text-decoration: none;
}
.media-item__heading a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.media-item__desc {
  margin: 0 0 12px;
  text-align: justify;
  hyphens: auto;
  color: var(--ink);
  line-height: 1.65;
}
.media-item__more {
  margin: 0;
  text-align: center;
}
.media-item__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--ink);
  margin-top: 8px;
}
.media-item__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- bullets ---------- */

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}
.bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.55;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.bullets--tight li { margin-bottom: 4px; }
.bullets--center {
  text-align: center;
  margin: 16px 0 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
}
.bullets--center span { display: inline; }
.bullets__dot { margin: 0 12px; color: var(--accent); }

/* ---------- topics (IV. Pro koho je) — tematické pododdíly ---------- */

.topics-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}
.topic-group {
  background: var(--sage);
  border-radius: var(--r-md);
  padding: 22px 22px 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
}
.topic-group__title {
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  margin: 0 0 12px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.topic-group__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.topic-group__list li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px dashed var(--line);
  line-height: 1.45;
}
.topic-group__list li:last-child { border-bottom: none; }
.topic-group__list li::before {
  content: "•";
  position: absolute;
  left: 2px; top: 7px;
  color: var(--accent);
  font-size: 18px;
}

@media (min-width: 640px) {
  .topics-groups { grid-template-columns: 1fr 1fr; }
  .topic-group--wide { grid-column: span 2; }
  .topic-group--wide .topic-group__list {
    columns: 2;
    column-gap: 32px;
  }
  .topic-group--wide .topic-group__list li {
    break-inside: avoid;
  }
}

/* ---------- split layout (III. O metodě) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 40px;
  align-items: center;
}
.split__media img {
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__text h3 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); margin-top: 0; }

@media (min-width: 760px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* ---------- steps (IV. Jak setkání probíhá) ---------- */

.steps__intro {
  max-width: 800px;
  margin: 0 auto 36px;
  text-align: center;
}
.steps__intro p {
  margin: 0;
}
.steps__intro p + p {
  margin-top: 1.2em;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 800px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
}
.step__num {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.step__num span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--sage);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.step__body {
  text-align: justify;
  hyphens: auto;
}
.step__body h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  margin-top: 0;
  text-align: left;
  min-height: 48px;
  display: flex;
  align-items: center;
  line-height: 1.2;
}
.step__body h4 {
  font-size: clamp(1.18rem, 2.28vw, 1.47rem);
  margin-top: 1.2em;
  text-align: left;
}
.step__body .bullets { text-align: left; }
.muted { color: var(--ink-soft); font-weight: 400; font-style: italic; font-size: 0.92em; }

@media (min-width: 640px) {
  .step { grid-template-columns: 72px 1fr; gap: 22px; }
  .step__num span { width: 56px; height: 56px; font-size: 1.6rem; }
  .step__body h3 { min-height: 56px; }
}

/* ---------- info grid (V. Praktické informace) ---------- */

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.info-card {
  background: var(--sage);
  border-radius: var(--r-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
}
.info-card h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  margin: 0 0 12px;
  color: var(--accent-deep);
}
.info-card p:last-child { margin-bottom: 0; }
.info-card--contact { background: var(--beige); }
.info-card--contact .link--big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
  padding: 6px 0;
}
.info-card--contact .link--big:hover { color: var(--ink); }

@media (min-width: 640px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-card--contact { grid-column: span 2; text-align: center; }
  .info-card--contact .link--big { justify-content: center; }
}
@media (min-width: 980px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .info-card--contact { grid-column: span 3; }
}

.link { color: var(--accent-deep); }

/* ---------- fotogalerie mezi sekcemi ---------- */

.photo-strip {
  padding: 36px 0;
  background: transparent;
}

.gallery--strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.gallery--strip-2 {
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .gallery--strip { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery--strip-2 { grid-template-columns: repeat(2, 1fr); }
}

.gallery__item { margin: 0; }

.gallery__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery__trigger:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.gallery__trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.gallery__trigger img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- foto-předěl mezi sekcemi (fotka na šířku + tenká čára) ---------- */

.foto-predel {
  padding: 24px 0;
  width: 100%;
}
.foto-predel__inner {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.foto-predel__inner::before,
.foto-predel__inner::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  min-width: 12px;
  background: var(--line);
}
.foto-predel__inner picture {
  flex: 0 1 auto;
  width: min(58%, 480px);
  line-height: 0;
}
.foto-predel__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  filter: brightness(1.08) contrast(1.04) saturate(1.05);
}
@media (min-width: 760px) {
  .foto-predel { padding: 32px 0; }
  .foto-predel__inner { gap: 28px; }
}

/* ---------- about (VI. O mně) ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}
.about__portrait img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.about__name {
  text-align: center;
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
}
.about__text p {
  margin-bottom: 1.1em;
  text-align: justify;
  hyphens: auto;
}

@media (min-width: 760px) {
  .about {
    grid-template-columns: 340px 1fr;
    gap: 48px;
  }
  .about__portrait { position: sticky; top: calc(var(--topbar-h) + 20px); }
  .about__name { text-align: left; }
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0 0;
}
.gallery figure,
.gallery .gallery__item { margin: 0; }
.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(46, 51, 43, 0.88);
  cursor: zoom-out;
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: var(--r-sm);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover { background: var(--beige); }

body.menu-open { overflow: hidden; }
body.lightbox-open { overflow: hidden; }

/* ---------- CTA band ---------- */

.cta-band {
  background: transparent;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 8px;
}
.cta-band p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  margin: 0 0 28px;
  color: var(--ink);
}
.cta-band__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 560px) {
  .cta-band__buttons { flex-direction: row; flex-wrap: wrap; }
}
.cta-band__place {
  margin: 28px auto 0;
  max-width: 640px;
  text-align: center;
  line-height: 1.6;
}
.cta-band__place p { margin: 0 0 10px; }
.cta-band__place p:last-child { margin-bottom: 0; }
.cta-band__place strong { color: var(--accent-deep); }
.cta-band__map {
  margin: 36px auto 0;
  max-width: 720px;
}
.cta-band__map iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 380px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.cta-band__map figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.orientation {
  margin: 36px auto 0;
  max-width: 720px;
}
.orientation h3 {
  margin-bottom: 18px;
}
.orientation__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.orientation__item {
  margin: 0;
}
.orientation__item .gallery__trigger img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.orientation__item figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
@media (min-width: 640px) {
  .orientation__gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: var(--bg);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding: 48px 0 80px;
  text-align: center;
}
.footer a { color: var(--bg); text-decoration: underline; text-underline-offset: 4px; }
.footer a:hover { color: var(--beige); }
.footer p { margin: 0 0 8px; }
.footer__logo {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto 16px;
  opacity: 0.92;
}
.footer__name {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer__legal {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(247, 243, 236, 0.55);
}

/* ---------- redukovaný pohyb ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery__trigger { transition: none; }
  .bg-watermark { position: absolute; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- focus visible ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
