/* ==========================================================
   Batumi — gruzínská restaurace, Plzeň
   Rozvržení podle makety DineCraft (tmavé téma).
   Barvy a písma se mění zde, v :root.
   ========================================================== */

/* Cormorant Garamond má háček (č ď ě ň ř š ť ž ů) vysoko nad písmenem —
   jen tato písmena se proto berou z EB Garamond, zbytek textu zůstává v Cormorantu. */
@font-face {
  font-family: "Batumi CZ"; font-style: normal; font-weight: 600; font-display: swap; size-adjust: 88%;
  src: url("fonts/eb-garamond-cz-600-normal.woff2") format("woff2");
  unicode-range: U+010C-010F, U+011A-011B, U+0147-0148, U+0158-0159, U+0160-0161, U+0164-0165, U+016E-016F, U+017D-017E;
}
@font-face {
  font-family: "Batumi CZ"; font-style: normal; font-weight: 700; font-display: swap; size-adjust: 88%;
  src: url("fonts/eb-garamond-cz-700-normal.woff2") format("woff2");
  unicode-range: U+010C-010F, U+011A-011B, U+0147-0148, U+0158-0159, U+0160-0161, U+0164-0165, U+016E-016F, U+017D-017E;
}
@font-face {
  font-family: "Batumi CZ"; font-style: italic; font-weight: 600; font-display: swap; size-adjust: 88%;
  src: url("fonts/eb-garamond-cz-600-italic.woff2") format("woff2");
  unicode-range: U+010C-010F, U+011A-011B, U+0147-0148, U+0158-0159, U+0160-0161, U+0164-0165, U+016E-016F, U+017D-017E;
}

:root {
  /* Základní paleta */
  --color-wine: #5A1A26;
  --color-dark: #1F1A17;
  --color-bg: #F7F1E8;
  --color-bg-alt: #EFE4D3;
  --color-gold: #C49A4A;
  --color-olive: #6E7448;

  /* Odvozené plochy (v maketě: černá / tmavě zelená / karta) */
  --surface: var(--color-dark);
  --surface-accent: color-mix(in srgb, var(--color-wine) 60%, var(--color-dark));
  --surface-card: color-mix(in srgb, var(--color-wine) 20%, var(--color-dark));
  --surface-card-accent: color-mix(in srgb, var(--color-wine) 42%, var(--color-dark));
  --surface-input: color-mix(in srgb, var(--color-dark) 82%, #000);
  --line: color-mix(in srgb, var(--color-bg) 11%, transparent);
  --line-gold: color-mix(in srgb, var(--color-gold) 45%, transparent);

  /* Gruzínský ornament (bordžgali) — dekorace tam, kde není fotka */
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23C49A4A' fill-opacity='.2'%3E%3Cpath id='a' d='M100 100C100 58 126 32 164 38 136 48 119 70 100 100Z'/%3E%3Cuse href='%23a' transform='rotate(51.43 100 100)'/%3E%3Cuse href='%23a' transform='rotate(102.86 100 100)'/%3E%3Cuse href='%23a' transform='rotate(154.29 100 100)'/%3E%3Cuse href='%23a' transform='rotate(205.71 100 100)'/%3E%3Cuse href='%23a' transform='rotate(257.14 100 100)'/%3E%3Cuse href='%23a' transform='rotate(308.57 100 100)'/%3E%3C/g%3E%3Cg fill='none' stroke='%23C49A4A' stroke-opacity='.22'%3E%3Ccircle cx='100' cy='100' r='92' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='100' r='98' stroke-dasharray='2 6'/%3E%3C/g%3E%3C/svg%3E");

  /* Text */
  --text: var(--color-bg);
  --text-muted: color-mix(in srgb, var(--color-bg-alt) 72%, transparent);
  --text-dim: color-mix(in srgb, var(--color-bg-alt) 52%, transparent);

  /* Písma (pouze dvě) */
  --font-heading: "Batumi CZ", "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rozměry */
  --container: 1216px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(32px, 4.2vw, 56px);   /* polovina mezery mezi sekcemi */
  --radius: 8px;
  --radius-btn: 6px;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure, blockquote, dl, dd, address { margin: 0; font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 6.2vw, 5.25rem); color: var(--text); }
h2 { font-size: clamp(2.3rem, 4.3vw, 3.5rem); color: var(--color-gold); }
h3 { font-size: 1.75rem; color: var(--text); }

:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px;
  background: var(--color-gold); color: var(--color-dark);
  border-radius: var(--radius-btn); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 12px 36px;
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.01em;
  line-height: 1.2;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold {
  color: var(--color-dark);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-gold) 88%, #fff),
    color-mix(in srgb, var(--color-gold) 90%, #000));
}
.btn--gold:hover { filter: brightness(1.08); }
.btn--outline { color: var(--color-gold); border-color: var(--color-gold); background: transparent; }
.btn--outline:hover { background: color-mix(in srgb, var(--color-gold) 14%, transparent); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }


/* ---------- Hlavička ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px;
}
/* Přepínač jazyka CZ / RU */
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--font-body); }
.lang__btn {
  min-width: 36px; min-height: 36px; padding: 4px 6px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--text-dim); background: none; border: 0; border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active { color: var(--color-gold); cursor: default; }
.lang__sep { font-size: 0.8125rem; color: var(--line-gold); }
/* dokud se nenačte ruština, nebliká čeština */
.i18n-wait body { opacity: 0; }
.logo {
  justify-self: start;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.45rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-gold);
}
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 34px); }
.nav a:not(.btn) {
  position: relative;
  padding: 8px 0;
  font-size: 0.9375rem; font-weight: 500;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--color-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--color-gold); }
.nav a.is-active::after, .nav a:not(.btn):hover::after { transform: scaleX(1); }

.burger {
  display: none; justify-self: end;
  width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--line-gold); border-radius: var(--radius-btn);
  cursor: pointer;
}
.burger span {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: var(--color-gold);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero: fotografie Batumi + vínový přechod ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(48px, 7vh, 88px);
  background: var(--color-dark);
}
/* fotografie (images/hero-batumi.webp, záložní .jpg) — bez filtrů a animace, aby byla ostrá */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("images/hero-batumi.jpg?v=2") 50% 60% / cover no-repeat;
  background-image: image-set(url("images/hero-batumi.webp?v=2") type("image/webp"), url("images/hero-batumi.jpg?v=2") type("image/jpeg"));
}
/* vínový přechod pro čitelnost textu (tmavší jen uprostřed za textem) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 46% at 50% 50%, rgb(31 26 23 / 0.36), transparent 72%),
    linear-gradient(180deg, rgb(31 26 23 / 0.42) 0%, rgb(90 26 38 / 0.34) 100%);
}
.hero__eyebrow { text-shadow: 0 1px 10px rgb(0 0 0 / 0.6); }
.hero .btn--outline { background: rgb(31 26 23 / 0.35); }
.hero h1, .hero__lead { text-shadow: 0 2px 18px rgb(0 0 0 / 0.45); }
.hero__content { text-align: center; }
.hero__eyebrow {
  margin: 0 0 22px;
  font-size: clamp(0.75rem, 1.1vw, 0.875rem); font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-gold);
}
.hero__rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px 0 22px; }
.hero__rule::before, .hero__rule::after { content: ""; width: clamp(56px, 9vw, 120px); height: 1px; }
.hero__rule::before { background: linear-gradient(90deg, transparent, var(--color-gold)); }
.hero__rule::after { background: linear-gradient(270deg, transparent, var(--color-gold)); }
.hero__rule span { width: 8px; height: 8px; border: 1px solid var(--color-gold); transform: rotate(45deg); }
.hero__lead {
  max-width: 640px; margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--text);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }
.hero__down {
  display: inline-flex; margin-top: clamp(28px, 5vh, 52px); padding: 8px;
  color: var(--color-gold);
  animation: bob 2.2s var(--ease) infinite;
}
.hero__down .icon { width: 26px; height: 26px; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Sekce ---------- */
.section { padding-block: var(--section-y); }
.section--deep { background: var(--surface); }
.section--blend { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-accent) 100%); }


/* ---------- Karty ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-gold); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { font-size: 0.9375rem; line-height: 1.75; }
.card--text { border-top: 2px solid var(--line-gold); }




/* ---------- O nás (bez fotografie: text na střed v ozdobném rámu) ---------- */
.space__panel {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 920px; margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) clamp(22px, 6vw, 88px);
  text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--color-wine) 34%, transparent), transparent 70%);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}
/* vnitřní tenký rám */
.space__panel::before {
  content: ""; position: absolute; inset: 12px; z-index: -1; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--color-gold) 18%, transparent); border-radius: 4px;
}
/* velký jemný ornament v pozadí */
.space__panel::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(560px, 120%); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--ornament) center / contain no-repeat;
  opacity: 0.35;
}
.space__medallion {
  display: block; width: 64px; height: 64px; margin: 0 auto 22px;
  background: var(--ornament) center / contain no-repeat;
  filter: saturate(1.2) brightness(1.6);
}
.space__panel h2 { max-width: 16ch; margin-inline: auto; }
.space__panel .hero__rule { margin: 24px 0 26px; }
.space__text { max-width: 640px; margin-inline: auto; }
.space__text p { font-size: 1rem; line-height: 1.85; color: var(--text-muted); }
.space__text em { color: var(--color-gold); font-style: italic; }
.space__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }

/* Lustr uvnitř zlatého rámu na úvodní stránce (.space__panel).
   Originál images/lustr.jpg 960×1280 bez přepočtu; rám je max. 920 px široký, takže se fotka nezvětšuje. */
.space__panel.space__panel--photo {
  background:
    linear-gradient(180deg, rgb(31 26 23 / 0.70) 0%, rgb(90 26 38 / 0.65) 100%),
    url("images/lustr.jpg?v=2") center / cover no-repeat;
}
.space__panel.space__panel--photo::after { opacity: 0.12; }
.space__panel--photo .space__text p { color: var(--text); }
.space__panel--photo h2, .space__panel--photo .space__text p { text-shadow: 0 1px 12px rgb(0 0 0 / 0.75); }
.space__panel--photo .btn--outline { background: rgb(31 26 23 / 0.45); }

/* ---------- Záhlaví podstránek ---------- */
.page-head {
  padding: clamp(72px, 9vw, 124px) 0 clamp(64px, 8vw, 110px);
  text-align: center;
  background: linear-gradient(180deg, var(--surface-accent) 0%, var(--surface) 100%);
}
.page-head h1 { color: var(--color-gold); font-size: clamp(2.9rem, 6.4vw, 5.25rem); }
.page-head p { max-width: 720px; margin: 18px auto 0; font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--text); }

/* ---------- Menu: papírové menu jako knížka na stole ---------- */
.menu-book { padding: clamp(48px, 6vw, 96px) 0 clamp(24px, 3vw, 40px); }
.menu-book__grid {
  display: grid; align-items: center; justify-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "text cover" "actions cover";
  column-gap: clamp(40px, 7vw, 120px); row-gap: 32px;
  max-width: 1040px;
}
.menu-book__text { grid-area: text; align-self: end; }
.menu-book__text .hero__rule { margin: 22px 0 0; }
.menu-book__text p { margin-top: 20px; }
.menu-book__actions { grid-area: actions; align-self: start; justify-self: stretch; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.menu-book__cover {
  grid-area: cover;
  position: relative; display: block;
  width: clamp(240px, 27vw, 360px);
  margin: 18px 18px 26px 0;
  transform: rotate(-4deg);
  transition: transform 0.45s var(--ease);
  border-radius: 4px;
}
.menu-book__cover img {
  position: relative; z-index: 1;
  width: 100%; height: auto; border-radius: 4px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.25), 0 18px 40px rgb(0 0 0 / 0.45), 0 40px 80px rgb(0 0 0 / 0.3);
}
/* hřbet: jemný stín u levého okraje */
.menu-book__cover::after {
  content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 18px; border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.28), rgb(0 0 0 / 0.06) 60%, transparent);
  pointer-events: none;
}
/* listy pod obálkou — knížka, ne jen obrázek */
.menu-book__sheets, .menu-book__sheets::before {
  position: absolute; inset: 0; border-radius: 4px;
  background: #E6D6BA;
  box-shadow: 0 10px 26px rgb(0 0 0 / 0.35);
}
.menu-book__sheets { transform: translate(9px, 7px) rotate(2deg); }
.menu-book__sheets::before { content: ""; transform: translate(7px, 5px) rotate(1.5deg); background: #DCC9A8; }
.menu-book__cover:hover, .menu-book__cover:focus-visible { transform: rotate(-1.5deg) translateY(-6px); }

.wines__card { max-width: 640px; margin-inline: auto; }

/* Nápoje: karta = skupina, řádky název … cena */
.drinks h3 { margin-bottom: 14px; color: var(--color-gold); }
.drinks__list { display: grid; }
.drinks__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap;
  padding: 11px 0;
  border-bottom: 1px dotted color-mix(in srgb, var(--color-gold) 30%, transparent);
}
.drinks__list li:last-child { border-bottom: 0; }
.drinks__name { display: grid; color: var(--text); font-weight: 500; line-height: 1.4; }
.drinks__name small { font-size: 0.8125rem; font-weight: 400; color: var(--text-dim); }
.drinks__price { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; margin-left: auto; }
.drinks__price span { font-weight: 700; color: var(--color-gold); white-space: nowrap; }
.drinks__price small { font-weight: 500; font-size: 0.8125rem; color: var(--text-dim); margin-right: 2px; }
.drinks__note { margin: 14px 0 0; font-size: 0.8125rem; color: var(--text-dim); }

/* Vína: fotografie lahve vlevo (krémová podložka = pozadí fotek) */
.wines .drinks__list li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center; gap: 6px 18px; padding: 12px 0;
}
.drinks__thumb {
  display: block; width: 64px; height: 120px; padding: 4px;
  background: #EBDDC3; border-radius: 6px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-gold) 35%, transparent);
}
.drinks__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 480px) {
  .wines .drinks__list li { grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; }
  .drinks__thumb { width: 56px; height: 104px; grid-row: span 2; }
  .wines .drinks__price { justify-content: flex-start; margin-left: 0; }
}

/* Tlačítko „Zobrazit celé menu“ */
.btn--book { gap: 10px; }
.btn--book .icon { width: 20px; height: 20px; }

/* ==========================================================
   Prohlížeč celého menu (menu-viewer.js)
   ========================================================== */
.mv-lock { overflow: hidden; }
.mv {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-rows: auto 1fr auto;
  color: var(--text);
  background: rgb(14 10 9 / 0.88);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
}
.mv.is-open { opacity: 1; visibility: visible; }
.mv__bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) clamp(12px, 2vw, 24px) 10px;
}
.mv__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.04em; color: var(--color-gold); }
.mv__count { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.08em; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.mv__tools { display: flex; align-items: center; gap: 8px; }
.mv__btn {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  color: var(--text); background: rgb(255 255 255 / 0.06);
  border: 1px solid color-mix(in srgb, var(--color-gold) 35%, transparent); border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s;
}
.mv__btn:hover { color: var(--color-dark); background: var(--color-gold); }
.mv__btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.mv__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mv__stage { position: relative; overflow: hidden; display: grid; place-items: center; cursor: zoom-in; }
.mv.is-zoomed .mv__stage { cursor: grab; }
.mv.is-dragging .mv__stage { cursor: grabbing; }
/* „rozevřená kniha“: jedna nebo dvě strany vedle sebe */
.mv__spread {
  display: flex; justify-content: center; align-items: center;
  height: 100%; width: 100%;
  padding: clamp(8px, 2vh, 20px) clamp(8px, 7vw, 96px);
  transform-origin: 0 0;
  will-change: transform;
}
.mv__spread.is-anim { transition: transform 0.3s var(--ease); }
.mv__book {
  position: relative; display: flex; max-height: 100%; max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.55), 0 8px 24px rgb(0 0 0 / 0.35);
  animation: mv-in 0.38s var(--ease);
}
.mv__book.is-next { animation-name: mv-next; }
.mv__book.is-prev { animation-name: mv-prev; }
@keyframes mv-in { from { opacity: 0; transform: scale(0.96); } }
@keyframes mv-next { from { opacity: 0; transform: translateX(40px); } }
@keyframes mv-prev { from { opacity: 0; transform: translateX(-40px); } }
.mv__page {
  position: relative; display: block;
  aspect-ratio: 1785 / 2525;
  height: min(calc(100svh - 150px), calc((100vw - 2 * clamp(8px, 7vw, 96px)) * 1.4146));
  background: #EADCC2;
}
.mv__book--two .mv__page { height: min(calc(100svh - 150px), calc((100vw - 2 * clamp(8px, 7vw, 96px)) / 2 * 1.4146)); }
.mv__page img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.3s var(--ease); }
.mv__page img.is-loaded { opacity: 1; }
.mv__page:first-child { border-radius: 4px 0 0 4px; }
.mv__page:last-child { border-radius: 0 4px 4px 0; }
.mv__page:only-child { border-radius: 4px; }
.mv__page img { border-radius: inherit; }
/* hřbet knihy mezi dvěma stranami */
.mv__book--two::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 48px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgb(0 0 0 / 0.16) 45%, rgb(0 0 0 / 0.24) 50%, rgb(0 0 0 / 0.16) 55%, transparent);
  pointer-events: none;
}
.mv__spin {
  position: absolute; inset: 0; margin: auto; width: 34px; height: 34px;
  border: 2px solid color-mix(in srgb, var(--color-wine) 40%, transparent); border-top-color: var(--color-wine);
  border-radius: 50%; animation: mv-spin 0.8s linear infinite;
}
.mv__page img.is-loaded + .mv__spin { display: none; }
@keyframes mv-spin { to { transform: rotate(360deg); } }
.mv__nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 54px; height: 54px;
  background: rgb(20 15 13 / 0.6);
}
.mv__nav--prev { left: clamp(8px, 2vw, 28px); }
.mv__nav--next { right: clamp(8px, 2vw, 28px); }
.mv.is-zoomed .mv__nav { opacity: 0; pointer-events: none; }
.mv__foot {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 20px;
  padding: 10px 16px max(14px, env(safe-area-inset-bottom));
}
.mv__hint { margin: 0; font-size: 0.8125rem; color: var(--text-dim); }
.mv__download { min-height: 44px; padding: 10px 22px; gap: 8px; font-size: 0.875rem; }
.mv__download svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 640px) {
  .mv__title { display: none; }
  .mv__btn { width: 42px; height: 42px; }
  .mv__spread { padding: 6px; }
  .mv__page { height: min(calc(100svh - 140px), calc((100vw - 12px) * 1.4146)); }
  .mv__nav { width: 42px; height: 42px; }
  .mv__hint { display: none; }
}
@media (hover: none) {
  /* na dotykových zařízeních se listuje přejetím; šipky jen menší a průhlednější */
  .mv__nav { opacity: 0.75; }
}
.mv .mv__nav:disabled { opacity: 0.2; }

/* ---------- Rezervace (jen telefon): jeden blok na střed ---------- */
.booking {
  display: grid; align-items: center;
  min-height: 70vh; min-height: 70svh;
  padding-block: clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, var(--surface-accent) 0%, var(--surface) 100%);
}
.call {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; justify-items: center; gap: 20px;
  max-width: 760px; margin-inline: auto;
  padding: clamp(44px, 6vw, 72px) clamp(22px, 5vw, 72px);
  text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--color-wine) 34%, transparent), transparent 70%);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}
/* vnitřní tenký zlatý rám */
.call::before {
  content: ""; position: absolute; inset: 12px; z-index: -1; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--color-gold) 18%, transparent); border-radius: 4px;
}
.call h1 { color: var(--color-gold); font-size: clamp(2.6rem, 6vw, 4.5rem); }
.call .hero__rule { margin: -4px 0 0; }
.call__lead { max-width: 560px; margin: 0 0 6px; font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--text); }
.call__number {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2.1rem, 9vw, 3.4rem); line-height: 1.1; letter-spacing: 0.01em;
  color: var(--color-gold); white-space: nowrap;
  transition: filter 0.2s var(--ease);
}
.call__number:hover { filter: brightness(1.12); }
.call__btn { gap: 12px; min-height: 60px; font-size: 1.0625rem; }
.call__btn .icon { width: 20px; height: 20px; }
.call__info { display: grid; gap: 10px; width: min(100%, 460px); margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line-gold); }
.call__hours { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin: 0; color: var(--text); }
.call__hours .icon { color: var(--color-gold); }
.call__note { margin: 0; font-size: 0.9375rem; color: var(--text-muted); }
@media (max-width: 640px) {
  .call { gap: 18px; }
  .call__btn { width: 100%; gap: 8px; padding-inline: 10px; min-height: 58px; font-size: 0.9375rem; letter-spacing: 0; text-align: center; }
  .call__btn .icon { width: 18px; height: 18px; flex: none; }
  .call__lead, .call__hours { font-size: 1.0625rem; }
}

/* ---------- Patička ---------- */
main > .section:last-child { padding-bottom: calc(2 * var(--section-y)); }
.footer { background: var(--surface-accent); padding-top: clamp(56px, 6vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1.15fr 1fr 1.1fr 1.1fr; gap: clamp(28px, 4vw, 56px); }
.footer__brand .logo { font-size: 1.9rem; letter-spacing: 0.24em; }
.footer__brand p { max-width: 280px; margin: 10px 0 18px; font-size: 0.9375rem; }
.socials { display: flex; gap: 16px; color: var(--color-gold); }
.socials a { display: block; transition: transform 0.2s var(--ease); }
.socials a:hover { transform: translateY(-2px); }
.socials .icon { width: 22px; height: 22px; }
.footer h3 { font-size: 1.6rem; margin-bottom: 16px; }
.footer__links { display: grid; gap: 12px; font-size: 0.9375rem; }
.footer__links a:hover, .footer__contact a:hover, .footer__bottom a:hover { color: var(--color-gold); }
.hours { display: grid; gap: 10px; font-size: 0.9375rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dd { color: var(--text); white-space: nowrap; }
.footer__contact { display: grid; gap: 16px; font-size: 0.9375rem; }
.footer__contact li { display: flex; gap: 14px; align-items: flex-start; }
.footer__contact .icon { margin-top: 3px; color: var(--color-gold); }
.footer address strong { color: var(--text); font-weight: 600; }

/* ---------- Mapa ---------- */
/* karta vlevo (1/3), mapa vpravo (2/3), stejná výška; nic neleží přes mapu */
.map {
  display: grid; grid-template-columns: 1fr 2fr; align-items: stretch;
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(36px, 4vw, 56px);
}
.map__frame {
  position: relative; grid-column: 2; grid-row: 1;
  /* paspartu: zlatý rámeček, krémový okraj, jemný stín */
  padding: 6px;
  border: 1px solid var(--color-gold); border-radius: var(--radius);
  background: var(--color-bg-alt);
  box-shadow: 0 14px 36px rgb(0 0 0 / 0.35);
}
.map__frame iframe {
  display: block; width: 100%; height: clamp(300px, 32vw, 420px); border: 0;
  border-radius: 4px;
  /* téměř původní barvy Google, jen lehce ztlumené */
  filter: saturate(0.7) contrast(0.95);
}
.map__corner {
  position: absolute; width: 44px; height: 44px; pointer-events: none;
  fill: none; stroke: var(--color-gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.map__corner circle { fill: var(--color-gold); stroke: none; }
.map__corner--tl { top: -6px; left: -6px; }
.map__corner--tr { top: -6px; right: -6px; transform: scaleX(-1); }
.map__corner--bl { bottom: -6px; left: -6px; transform: scaleY(-1); }
.map__corner--br { bottom: -6px; right: -6px; transform: scale(-1); }
.map__card {
  grid-column: 1; grid-row: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--surface-card);
  border: 1px solid var(--line-gold); border-radius: var(--radius);
}
.map__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-gold);
}
.map__card h3 { margin-bottom: 16px; }
.map__line { display: flex; gap: 12px; margin: 0 0 12px; font-size: 0.9375rem; color: var(--text); }
.map__line .icon { margin-top: 3px; color: var(--color-gold); }
.map__card .btn { width: 100%; margin-top: 10px; }

/* ---------- Plovoucí tlačítko rezervace ---------- */
.fab {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 14px 28px;
  font-weight: 700; font-size: 0.9375rem; line-height: 1.2;
  color: var(--color-dark);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-gold) 88%, #fff),
    color-mix(in srgb, var(--color-gold) 90%, #000));
  border-radius: 999px;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.45);
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(0.92);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s, filter 0.2s var(--ease);
}
.fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab.is-visible:hover { transform: scale(1.07); filter: brightness(1.08); }
.fab .icon { width: 20px; height: 20px; }
.fab__short { display: none; }
/* zlatá pulzující záře jednou za pár sekund */
.fab::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-gold) 70%, transparent);
}
.fab.is-visible::before { animation: fab-pulse 4s var(--ease) 1s infinite; }
@keyframes fab-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-gold) 65%, transparent); }
  30%  { box-shadow: 0 0 0 16px color-mix(in srgb, var(--color-gold) 0%, transparent); }
  100% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--color-gold) 0%, transparent); }
}
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  margin-top: clamp(28px, 3vw, 40px); padding-block: 28px 104px;
  background: linear-gradient(var(--line), var(--line)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px;
  font-size: 0.875rem; color: var(--text-dim);
}
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* ---------- Objevování při scrollu ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsivita
   ========================================================== */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .map { grid-template-columns: 1fr; gap: 16px; }
  .map__frame, .map__card { grid-column: 1; grid-row: auto; }

  .menu-book__grid { grid-template-columns: 1fr; grid-template-areas: "text" "cover" "actions"; row-gap: 28px; }
  .menu-book__text { align-self: auto; }
  .menu-book__cover { width: min(64vw, 300px); margin: 8px 16px 16px 0; }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .space__actions .btn { flex: 1 1 100%; }
  .hero__actions .btn--book { flex: 1 1 100%; }
  .menu-book__actions .btn { flex: 1 1 100%; }
  .footer__bottom { flex-direction: column; padding-bottom: 96px; }
  .fab { min-height: 48px; padding: 12px 18px; gap: 8px; font-size: 0.875rem; }
  .fab .icon { width: 18px; height: 18px; }
  .fab__full { display: none; }
  .fab__short { display: inline; }
  .map__frame iframe { height: 300px; }
}

/* ---------- Cookies: banner, mapa před souhlasem, stránka cookies.html ---------- */
.footer__linkbtn {
  padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
}
.footer__linkbtn:hover { color: var(--color-gold); }

.cookie-bar {
  position: fixed; left: 24px; bottom: 24px; z-index: 250;
  width: min(440px, calc(100% - 48px));
  padding: 22px 24px 18px;
  border: 1px solid var(--line-gold); border-radius: var(--radius);
  background: var(--surface-card);
  box-shadow: 0 18px 48px rgb(0 0 0 / 0.5);
  color: var(--text);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__title { margin: 0 0 8px; font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-gold); }
.cookie-bar__text { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-muted); }
.cookie-bar__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cookie-bar__actions .btn { width: 100%; min-height: 46px; padding-inline: 12px; }
.cookie-bar__more { display: inline-block; margin-top: 12px; font-size: 0.875rem; color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar__more:hover { color: var(--color-gold); }
/* plovoucí tlačítko by banner překrývalo */
.cookie-open .fab.is-visible { opacity: 0; visibility: hidden; }

.map__consent {
  position: absolute; inset: 6px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; border-radius: 4px; text-align: center;
  background: var(--ornament) center / 260px no-repeat, var(--surface-card);
  color: var(--text);
}
.map__consent[hidden] { display: none; }
.map__consent p { max-width: 380px; margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-muted); }
.map__consent a { font-size: 0.875rem; color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.map__consent a:hover { color: var(--color-gold); }

.legal { max-width: 780px; margin-inline: auto; }
.legal h2 { margin: 40px 0 12px; font-family: var(--font-heading); font-size: clamp(1.6rem, 2.6vw, 2rem); color: var(--color-gold); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { line-height: 1.65; color: var(--text-muted); }
.legal strong { color: var(--text); }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 10px; }
.legal a { color: var(--color-gold); }
.legal__status { margin-top: 18px; }
.legal__status strong { margin-right: 6px; }
.legal__actions { margin-top: 18px; }
.legal__updated { margin-top: 40px; font-size: 0.875rem; color: var(--text-dim); }

@media (max-width: 600px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px 18px 14px; }
  .cookie-bar__actions { grid-template-columns: 1fr; }
}
