/* ==========================================================================
   La Bohème – styly. Mobile-first, bez knihoven.
   Tokeny (barvy, písmo, mezery) jsou nahoře – to je místo pro pozdější ladění.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* barvy */
  --bg: #f8f4ec;
  --bg-alt: #f0e9dc;
  --surface: #fffdf9;
  --ink: #1f2a33;
  --ink-soft: #55636e;
  --line: #e2d9c9;
  --sea: #1f6f8b;
  --sea-deep: #164f63;
  --sea-soft: #dcebf0;
  --terracotta: #c4693f;
  --ochre: #dfae3a;
  --focus: #c4693f;
  /* písmo */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --h1: clamp(2.5rem, 1.6rem + 4.5vw, 5rem);
  --h2: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  --h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  /* mezery a rozměry */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --container: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 0;          /* fotky a karty mají ostré rohy (přání klientky 9/2026) */
  --header-h: 4rem;
  --shadow: 0 1px 2px rgba(31, 42, 51, 0.06), 0 12px 32px -16px rgba(31, 42, 51, 0.25);
  --header-bg: rgba(248, 244, 236, 0.92);
}

/* Volitelné bílé pozadí (Nastavení → Pozadí webu). Akcenty zůstávají teplé. */
body.bg-white {
  --bg: #ffffff;
  --bg-alt: #f6f3ec;
  --surface: #faf8f3;   /* karty musí zůstat odlišené od bílého podkladu */
  --line: #e6e1d6;
  --header-bg: rgba(255, 255, 255, 0.92);
}

/* ---- základ ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* Patkové písmo (Fraunces) je jen „logo“ – název La Bohème v liště, v heru a v patičce.
   Všechny ostatní nadpisy jsou v moderním bezpatkovém písmu (přání klientky 24. 9. 2026). */
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 500; line-height: 1.15; margin: 0 0 var(--space-2); letter-spacing: -0.01em; }
h1 { font-size: var(--h1); font-weight: 400; }
.hero h1 { font-family: var(--font-display); }
h2 { font-size: var(--h2); }
h3, .h3 { font-size: var(--h3); color: var(--terracotta); }   /* vínové jako štítky sekcí, ale ne tučné a ne verzálky */
.page-items h2 { color: var(--terracotta); font-weight: 500; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.25rem; }
p { margin: 0 0 var(--space-2); }
a { color: var(--sea-deep); text-underline-offset: 0.15em; }
a:hover { color: var(--terracotta); }
ul { padding-left: 1.25rem; }
abbr[title] { text-decoration: none; color: var(--terracotta); }
mark { background: #fff1b8; padding: 0 0.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
:target, [id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0.4rem; z-index: 100; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.75rem; height: 1.75rem; color: var(--sea); flex: none; }

/* ---- tlačítka ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--sea); color: #fff; }
.btn--primary:hover { background: var(--sea-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--ghost:hover { color: var(--terracotta); }
.btn--small { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--booking { background: #003580; color: #fff; }
.btn--booking:hover { background: #002a66; color: #fff; }
.btn--airbnb { background: #ff385c; color: #fff; }
.btn--airbnb:hover { background: #e0304f; color: #fff; }
.btn[data-missing] { cursor: help; }

/* ---- hlavička ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: var(--header-h); flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: 0.01em; }
.brand:hover { color: var(--sea-deep); }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem; background: none; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 0.45rem 0.9rem; font: 600 0.9rem var(--font-body); color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 1.1rem; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { flex-basis: 100%; display: none; padding-bottom: var(--space-2); }
.no-js .site-nav, .site-header.is-open .site-nav { display: block; }
.no-js .nav-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.site-nav a { display: block; padding: 0.7rem 0.5rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 0.4rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-nav a:hover { background: var(--bg-alt); color: var(--sea-deep); }
@media (min-width: 52em) {
  .nav-toggle { display: none; }
  .site-nav { display: block; flex-basis: auto; padding: 0; }
  .site-nav ul { flex-direction: row; gap: 0.25rem; }
  .site-nav a { padding: 0.5rem 0.7rem; font-size: 0.82rem; }
}

/* ---- přepínač jazyka ---- */
.site-nav .lang-switch a { color: var(--sea-deep); font-weight: 600; }
@media (min-width: 52em) {
  .site-nav .lang-switch { margin-left: 0.5rem; padding-left: 0.75rem; border-left: 1px solid var(--line); }
}
.site-footer__nav .lang-switch a { color: rgba(255,255,255,.65); }

/* ---- hero ---- */
.hero { position: relative; min-height: min(88svh, 52rem); display: grid; align-items: end; isolation: isolate; color: #fff; }
.hero picture, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__img { object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18, 30, 40, 0.78) 0%, rgba(18, 30, 40, 0.25) 45%, rgba(18, 30, 40, 0.05) 100%); }
.hero__content { padding-block: var(--space-5) var(--space-4); }
.hero h1 { margin-bottom: var(--space-1); text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero__text { font-size: clamp(1.1rem, 1rem + 0.8vw, 1.5rem); max-width: min(100%, 62ch); margin-bottom: var(--space-3); text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.8); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---- sekce ---- */
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }
/* Navazující blok (bez mezery nad sebou) – sekce rozdělené do bloků drží pohromadě. */
.section--flush { padding-top: 0; }
.section:has(+ .section--flush) { padding-bottom: var(--space-4); }
.section__head { max-width: 60ch; margin-bottom: var(--space-4); }
/* Vínový nadpis sekce – jednotný pro Kontakt, Dopravu, Galerii, Rezervace, Okolí… */
.eyebrow { font-family: var(--font-body); font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem); font-weight: 700; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 var(--space-1); }
h2.eyebrow { margin-bottom: 0; }
.section__intro { color: var(--ink-soft); font-size: 1.05em; margin: 0; }
.prose { max-width: 66ch; }
.prose--lead { font-size: 1.08em; margin-bottom: var(--space-4); }
.prose--narrow { max-width: 62ch; }
.prose ul { margin: 0 0 var(--space-2); }
.prose li { margin-bottom: 0.4rem; }
.notice { background: #fff6db; border-left: 4px solid var(--ochre); padding: var(--space-2); border-radius: 0.4rem; }

/* ---- fotky a placeholdery ---- */
.photo { margin: 0; position: relative; }
.photo img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.ph-badge {
  position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2; pointer-events: none;
  background: rgba(31, 42, 51, 0.72); color: #fff; font: 600 0.68rem/1 var(--font-body);
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35rem 0.55rem; border-radius: 999px;
}
.ph-badge--hero { top: calc(var(--header-h) + 0.6rem); left: var(--gutter); }

/* ---- bydlení ---- */
.features { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-4) var(--space-3); }
.features:last-child { margin-bottom: 0; }
.section--flush .features:first-child { margin-top: var(--space-4); }
.feature { display: flex; gap: var(--space-2); align-items: flex-start; }
.feature p { margin: 0; color: var(--ink-soft); }
@media (min-width: 40em) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .features { grid-template-columns: repeat(3, 1fr); } }
.studio { display: grid; gap: var(--space-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow); }
.studio__photo img { aspect-ratio: 4 / 3; }
.studio__body p:last-child { margin: 0; }
@media (min-width: 60em) { .studio { grid-template-columns: 2fr 3fr; align-items: center; padding: var(--space-4); } }

/* ---- kde ---- */
.location { display: grid; gap: var(--space-4); }
.address { font-style: normal; font-size: 1.3em; font-weight: 600; line-height: 1.5; margin-bottom: var(--space-3); }
.location__note { margin: var(--space-3) 0 0; font-size: 1.1em; }
.location__links { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sea-soft); border: 1px solid var(--line); }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: var(--space-3); gap: var(--space-2); background:
  radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 40%),
  repeating-linear-gradient(45deg, transparent 0 22px, rgba(31,111,139,.06) 22px 23px),
  repeating-linear-gradient(-45deg, transparent 0 22px, rgba(31,111,139,.06) 22px 23px); }
.map__note { margin: 0; font-size: 0.85rem; color: var(--ink-soft); max-width: 32ch; margin-inline: auto; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 60em) { .location { grid-template-columns: 5fr 6fr; align-items: start; } }

/* ---- doprava ---- */
.modes { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.mode { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.mode h3 { margin: var(--space-2) 0 0.15rem; }
.mode__meta { color: var(--terracotta); font-weight: 600; font-size: 0.9rem; margin-bottom: var(--space-1); }
.mode p:last-child { margin: 0; }
.extras { margin: var(--space-1) 0 0; color: var(--ink-soft); font-size: 0.95em; }
@media (min-width: 52em) { .modes { grid-template-columns: repeat(3, 1fr); } }

/* ---- galerie ---- */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.gallery__item { position: relative; }
.gallery__link { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery__link:hover img { transform: scale(1.03); }
.gallery__link:focus-visible { outline-offset: 2px; }
@media (min-width: 60em) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(10, 16, 22, 0.92); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; grid-template-rows: 1fr auto; padding: 3.5rem 1rem 1.5rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 6rem); object-fit: contain; border-radius: 0.4rem; }
.lightbox figcaption { padding-top: 0.75rem; font-size: 0.95rem; color: rgba(255,255,255,.85); min-height: 1.5rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 999px; width: 2.75rem; height: 2.75rem; font-size: 1.75rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 0.75rem; right: 0.75rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 0.5rem; }
.lightbox__nav--next { right: 0.5rem; }

/* ---- ceník ---- */
.seasons { display: grid; gap: var(--space-3); }
.season { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.season h3 { margin-bottom: 0.2rem; }
.season__period { color: var(--ink-soft); font-size: 0.95em; }
.season__note { margin: var(--space-2) 0 0; font-size: 0.9em; color: var(--ink-soft); }
.rates { width: 100%; border-collapse: collapse; }
.rates th, .rates td { padding: 0.75rem 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.rates th { font-weight: 600; }
.rates td { text-align: right; white-space: nowrap; }
.rate__note { display: block; font-weight: 400; font-size: 0.85em; color: var(--ink-soft); }
.price { font-size: 1.35em; font-weight: 600; }
.price__unit { font-size: 0.85em; color: var(--ink-soft); }
.tbd { display: inline-block; font-family: var(--font-body); font-size: 0.85em; font-weight: 600; color: var(--ink-soft); background: var(--bg-alt); border: 1px dashed var(--line); padding: 0.05rem 0.45rem; border-radius: 999px; }
.price--tbd { display: inline-block; font-family: var(--font-body); font-size: 0.8em; font-weight: 600; color: var(--ink-soft); background: var(--bg-alt); padding: 0.3rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.pricing__footnote { margin: var(--space-3) 0 0; font-size: 0.9em; color: var(--ink-soft); max-width: 70ch; }
@media (min-width: 52em) { .seasons { grid-template-columns: 1fr 1fr; } }

/* ---- rezervace ---- */
.cta-group { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); }
.cta-note { font-size: 0.9em; color: var(--ink-soft); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow); }
.form h3 { margin-bottom: 0.25rem; }
.form__hint { font-size: 0.85em; color: var(--ink-soft); }
.form__grid { display: grid; gap: var(--space-2); }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: 0.5rem; padding: 0.7rem 0.85rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sea); outline: 3px solid rgba(31,111,139,.2); outline-offset: 0; }
.field textarea { resize: vertical; min-height: 7rem; }
.field--check { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: flex-start; }
.field--check .field__error { flex-basis: 100%; }
.field--check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; flex: none; accent-color: var(--sea); }
.field--check label { font-weight: 400; margin: 0; flex: 1 1 0; min-width: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: 0.85rem; margin: 0.3rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: var(--space-2) 0 0; min-height: 65px; }
.form__status { min-height: 1.5rem; margin: var(--space-2) 0; font-weight: 600; }
.form__status.is-error { color: #b3261e; }
.form__status.is-success { color: #1f6b3a; }
.form__submit { width: 100%; }
.form--done > :not(.form__done) { display: none; }
.form__done { text-align: center; padding: var(--space-3) 0; }
.form__done h3 { color: #1f6b3a; font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); margin: 0 0 var(--space-2); outline: none; }
.form__done p { font-size: 1.1em; max-width: 40ch; margin: 0 auto var(--space-3); }
@media (min-width: 40em) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .form__submit { width: auto; }
}
@media (min-width: 60em) { .form { padding: var(--space-4); } }

/* ---- plovoucí CTA Rezervace ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 244, 236, 0.94); border-top: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  visibility: hidden; transform: translateY(110%);
  transition: transform .25s ease, visibility 0s linear .25s;
}
.sticky-cta.is-visible { visibility: visible; transform: none; transition-delay: 0s; }
.sticky-cta .btn { width: 100%; box-shadow: var(--shadow); }
@media (min-width: 52em) {
  .sticky-cta { left: auto; right: 1.5rem; bottom: 1.5rem; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sticky-cta .btn { width: auto; padding: 0.95rem 1.6rem; }
}

/* ---- tlačítko „Správa webu“ (jen přihlášený správce, vkládá main.js) ---- */
.admin-return {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 45;
  background: var(--ink); color: #fff; text-decoration: none; font: 600 0.85rem var(--font-body);
  padding: 0.55rem 0.9rem; border-radius: 999px; box-shadow: var(--shadow); opacity: 0.92;
}
.admin-return:hover, .admin-return:focus-visible { opacity: 1; color: #fff; background: var(--sea-deep); }
@media (max-width: 51.99em) { .admin-return { bottom: 4.8rem; } }   /* nad lištou s plovoucím CTA */

/* ---- inspirace ---- */
.highlights { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-3); }
.highlights h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.highlights p { margin: 0; color: var(--ink-soft); }
@media (min-width: 52em) { .highlights { grid-template-columns: repeat(3, 1fr); } }
.blocks { display: grid; gap: var(--space-5); }
.block { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.block__photo img { aspect-ratio: 4 / 3; }
.block__body { overflow-wrap: anywhere; }   /* dlouhá URL v textu nesmí rozhodit sloupce */
.block__body p:last-child, .block__body ul:last-child { margin-bottom: 0; }
.block__link { font-size: 0.95em; }
.prose a, .block__link a, .autolink { color: var(--sea-deep); font-weight: 600; overflow-wrap: anywhere; }
.prose a:hover, .block__link a:hover, .autolink:hover { color: var(--terracotta); }
.page-teaser__more { margin: var(--space-3) 0 0; }
.page-head { padding-top: var(--space-4); padding-bottom: var(--space-3); }
.page-head h1 { margin: 0 0 var(--space-2); }
.page-head h1.eyebrow { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); }
.page-items { display: grid; gap: var(--space-5); }
.page-items h2 { margin-top: 0; font-size: clamp(1.5rem, 1.3rem + 1vw, 2.1rem); }
.page-back { margin: var(--space-5) 0 0; font-weight: 600; }
@media (min-width: 60em) {
  .block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); }
  .block--flip .block__photo { order: 2; }
}

/* ---- patička ---- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding-block: var(--space-4); font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__inner { display: grid; gap: var(--space-3); }
.site-footer__brand { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 0.2rem; }
.site-footer__place, .footer__operator { margin: 0; }
.footer__operator--tbd { color: rgba(255,255,255,.5); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.site-footer__legal { font-size: 0.9em; }
.footer__dev { margin: var(--space-3) 0 0; padding-top: var(--space-2); border-top: 1px solid rgba(255,255,255,.15); font-size: 0.85em; color: rgba(255,255,255,.55); }
@media (min-width: 52em) { .site-footer__inner { grid-template-columns: 1.5fr 2fr 1fr; align-items: start; } }

/* ---- právní stránka ---- */
.page-legal main { padding-top: var(--space-2); }
.page-legal h1 { font-size: var(--h2); }
.page-legal h2 { font-size: var(--h3); margin-top: var(--space-3); }

/* ---- obsazenost / kalendář ---- */
.booking-top { display: grid; gap: var(--space-3); margin-bottom: var(--space-4); }
.booking-top .section__head { margin-bottom: var(--space-2); }
.booking-top__text p:last-child { margin-bottom: 0; }
.booking-top__cta .cta-group { margin-bottom: 0.5rem; }
.booking-top__cta .cta-note { margin: 0; }
@media (min-width: 60em) {
  .booking-top { grid-template-columns: 7fr 5fr; align-items: end; }
  .booking-top__cta { justify-self: end; text-align: right; padding-bottom: 0.25rem; }
  .booking-top__cta .cta-group { justify-content: flex-end; }
}
.booking { display: grid; gap: var(--space-4); }
@media (min-width: 60em) {
  .booking { grid-template-columns: 1fr 1fr; align-items: start; }
  .availability { position: sticky; top: calc(var(--header-h) + 1rem); }
}
.form { max-width: none; }
.availability { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow); }
.availability h3 { margin-bottom: 0.25rem; }
.cal-hint { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: var(--space-2); }
.cal-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: var(--space-2); }
.cal-tabs button { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 0.45rem 0.9rem; font: 600 0.9rem var(--font-body); cursor: pointer; }
.cal-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-tabs button small { display: block; font-weight: 400; font-size: 0.78em; opacity: 0.8; letter-spacing: 0.01em; }
.cal-book { margin: var(--space-2) 0 0; }
.cal-nav { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.cal-nav button { width: 2.4rem; height: 2.4rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.cal-nav button:disabled { opacity: 0.35; cursor: default; }
.cal-nav__range { font-weight: 600; font-size: 0.95rem; text-align: center; }
.cal-months { display: grid; gap: var(--space-3); grid-template-columns: repeat(var(--cal-cols, 1), minmax(0, 1fr)); }
.cal__title { text-align: center; font-weight: 600; margin: 0 0 0.5rem; }
.cal__title::first-letter { text-transform: uppercase; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal__wd { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); text-align: center; padding: 0.3rem 0; }
.cal__day { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 0.4rem; background: #fff; color: var(--ink); font: 500 0.9rem var(--font-body); padding: 0; min-width: 0; cursor: pointer; }
.cal__day:hover { border-color: var(--sea); }
.cal__day.is-empty { visibility: hidden; }
.cal__day.is-past { color: #b8b2a7; background: transparent; border-color: transparent; cursor: default; }
.cal__day.is-busy { background: #f4dcd3; color: #8d4a33; border-color: #f4dcd3; cursor: not-allowed; }
.cal__day.is-busy.can-checkout { cursor: pointer; background: linear-gradient(135deg, #fff 50%, #f4dcd3 50%); color: var(--ink); border-color: var(--line); }
.cal__day.in-range { background: var(--sea-soft); border-color: var(--sea-soft); }
.cal__day.is-selected { background: var(--sea); color: #fff; border-color: var(--sea); }
.cal__day.is-today { box-shadow: inset 0 0 0 2px var(--ochre); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: var(--space-2); font-size: 0.82rem; color: var(--ink-soft); }
.cal-legend i { display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 0.2rem; border: 1px solid var(--line); background: #fff; vertical-align: -2px; margin-right: 0.35rem; }
.cal-legend .l-busy { background: #f4dcd3; border-color: #f4dcd3; }
.cal-legend .l-sel { background: var(--sea); border-color: var(--sea); }
.cal-selection { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: var(--space-2); padding: 0.75rem 1rem; background: var(--sea-soft); border-radius: 0.5rem; font-size: 0.95rem; }
.cal-selection strong { font-weight: 600; }
.cal-selection .btn--small { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.cal-selection__clear { background: none; border: 0; color: var(--sea-deep); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.cal-meta { margin: var(--space-2) 0 0; font-size: 0.8rem; color: var(--ink-soft); }
.cal-meta--demo { color: #8d4a33; }
.cal-error { color: #b3261e; font-weight: 600; }
