/* ==========================================================================
   Bistro Green — koncept webu v3
   Technický minimalismus na světlém papíře: málo ploch, linky jen někde
   a kreslené animací (často jen napůl). Hlavní CTA #40625C s černou,
   catering #574167, limetka z green.control jen jako drobný signál.
   Nadpisy Archia, text Figtree (jako green.control), popisky Basier Mono.
   ========================================================================== */

/* ---------- Fonty ---------- */
@font-face { font-family: "Archia"; src: url("../fonts/archia-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Archia"; src: url("../fonts/archia-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archia"; src: url("../fonts/archia-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archia"; src: url("../fonts/archia-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  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: "Figtree";
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  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;
}
@font-face { font-family: "Basier Mono"; src: url("../fonts/basier-mono-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Basier Mono"; src: url("../fonts/basier-mono-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokeny ---------- */
:root {
  /* primitiva z green.control v3 */
  --forest-975: #050a07;
  --forest-950: #08100c;
  --forest-900: #0c1611;
  --forest-500: #3f5e4b;
  --forest-300: #9db3a4;
  --forest-100: #e6eee7;
  --forest-50:  #f3f6f0;
  --lime-500: #c6f36b;

  /* značka Bistro Green */
  --cta: #40625c;                   /* hlavní výzva, bílý text 6.7 : 1 */
  --black: #0a0d0b;                 /* druhá barva výzev */
  --catering: #574167;              /* catering, bílý text 8.9 : 1 */

  /* dlaždice v bento mřížkách: světlé odstíny zelené, střídají se */
  --tile-sage: #dfe8df;
  --tile-mint: var(--forest-100);
  --tile-lime: #edf5dc;
  --tile-paper: #fbfcf9;

  --bg: var(--forest-50);
  --fg: var(--forest-900);
  --fg-2: var(--forest-500);
  --fg-3: #5a7062;
  --rule: rgba(12, 22, 17, 0.12);
  --rule-strong: rgba(12, 22, 17, 0.3);

  --font-head: "Archia", ui-sans-serif, system-ui, sans-serif;
  --font: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --mono: "Basier Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 3.6vw, 56px);
  --max: 1440px;
  --header-h: 72px;
  --header-pad: 18px;               /* vzduch nad hlavičkou nahoře na stránce, po začátku scrollu zmizí */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--cta); color: #fff; }
:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--cta); color: #fff;
  padding: 10px 16px; font-family: var(--mono); font-size: 13px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono, .label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cta-short { display: none; }

/* popisek sekce: 01 —— Název (linka se dokreslí) */
.label { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--fg-2); }
.nobr { white-space: nowrap; }
.label b { display: inline-flex; align-items: center; gap: 12px; color: var(--cta); font-weight: 500; }
.label b::after {
  content: ""; width: 36px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease) .15s;
}
.label.is-in b::after, .is-in .label b::after { transform: scaleX(1); }

/* Archia jen na nadpisy a velká čísla, ostatní text Figtree */
.h1, .h2, .h3, .cell h3, .menu-list a, .specs dd, .ig-tag, .reserve__title { font-family: var(--font-head); }
.h1, .h2, .h3 { font-weight: 500; margin: 0; }
/* velké nadpisy: maximum až od 1920 px, pod tím strměji dolů (1280 px ≈ dvě třetiny) */
.h1 { font-size: clamp(42px, 5vw - 4px, 92px); line-height: .98; letter-spacing: -0.035em; }
.h2 { font-size: clamp(34px, 3.4375vw + 6px, 72px); line-height: 1.02; letter-spacing: -0.03em; }
.h3 { font-size: clamp(24px, 1.09375vw + 13px, 34px); line-height: 1.12; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--fg-2); max-width: 620px; }

/* ---------- Kreslené linky ---------- */
/* Linka nad položkou se při objevení dokreslí zleva; v patičce a liště jen napůl. */
.specs > div::before,
.cell::before,
.footer-grid > *::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 100%; height: 1px;
  background: var(--rule-strong);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.3s var(--ease);
}
.specs.is-in > div::before,
.grid-spec.is-in .cell::before,
.footer-grid.is-in > *::before { transform: scaleX(1); }
.specs > div:nth-child(2)::before, .cell:nth-child(2)::before, .footer-grid > :nth-child(2)::before { transition-delay: .1s; }
.specs > div:nth-child(3)::before, .cell:nth-child(3)::before, .footer-grid > :nth-child(3)::before { transition-delay: .2s; }
.specs > div:nth-child(4)::before, .footer-grid > :nth-child(4)::before { transition-delay: .3s; }
.footer-grid > :nth-child(5)::before { transition-delay: .4s; }
.specs > div:nth-child(5)::before { transition-delay: .4s; }
.no-js .specs > div::before, .no-js .cell::before, .no-js .footer-grid > *::before { transform: none; }
@keyframes drawX { to { transform: scaleX(1); } }

/* ---------- Tlačítka: #40625C + černá (obrys), catering fialová ---------- */
.btn {
  --b-bg: var(--cta);
  --b-hover: #36544e;               /* o stupeň tmavší #40625C */
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 52px; padding: 0 22px;
  border: 1px solid var(--b-bg); border-radius: 2px;
  background: var(--b-bg); color: #fff;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--b-hover); border-color: var(--b-hover); }
/* při najetí se text a šipka od sebe oddálí, šířka tlačítka zůstává */
.btn:has(.arrow) { transition: background-color .25s, color .25s, border-color .25s, padding .35s var(--ease); }
.btn:has(.arrow):hover { padding: 0 26px 0 18px; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(8px); }
.btn:hover .arrow--up { transform: translate(7px, -3px); }
.btn--catering { --b-bg: var(--catering); --b-hover: #4b3859; }
.btn--line { background: transparent; border-color: currentColor; color: var(--black); }
.btn--line:hover { background: transparent; border-color: var(--cta); color: var(--cta); }
.hero .btn--line { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn--line:hover { color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 36px; }
.btn-row--center { justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cta);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color .2s;
}
.text-link:hover { color: var(--fg); }
.text-link > span { transition: transform .35s var(--ease); }
.text-link:hover > span:first-child { transform: translateX(-3px); }
.text-link:hover .tl-arr { transform: translateX(4px); }
.text-link:hover .tl-arr--up { transform: translate(4px, -2px); }
.text-link--catering { color: var(--catering); }

.icon-btn {
  flex-shrink: 0; width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--rule-strong); border-radius: 2px; background: transparent; cursor: pointer;
  transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--fg); }

/* ---------- Hlavička ---------- */
.site-header {
  --hdr-fg: #fff;
  --hdr-line: transparent;
  --hdr-bg: transparent;
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(var(--header-h) + var(--header-pad));
  padding-top: var(--header-pad);
  color: var(--hdr-fg);
  background: var(--hdr-bg);
  border-bottom: 1px solid var(--hdr-line);
  transition: background-color .35s, color .35s, border-color .35s, height .35s var(--ease), padding-top .35s var(--ease);
}
.site-header.is-compact { --header-pad: 0px; }
.site-header.is-solid, .is-menu-open .site-header {
  --hdr-fg: var(--forest-900);
  --hdr-line: var(--rule);
  --hdr-bg: rgba(243, 246, 240, .92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
/* při otevřeném menu hlavička splyne s menu i na podstránkách, kde je jinak plná */
html.is-menu-open body .site-header { --hdr-line: transparent; --hdr-bg: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); height: 100%; }
.header-side { display: flex; align-items: stretch; min-width: 0; }
.header-side--end { justify-content: flex-end; }
.hcell {
  display: flex; align-items: center; gap: 10px;
  height: 100%; padding: 0 18px;
  border: 0; background: none; cursor: pointer;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s, color .2s, opacity .2s;
}
.menu-btn { padding-left: var(--gutter); padding-right: 14px; }
/* Menu · Kontakty: oddělené tečkou jako v logu, zbytek je v menu */
.hsep { align-self: center; flex-shrink: 0; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .7; }
.quick-link { position: relative; padding: 0 14px; opacity: .78; }
.quick-link:hover, .quick-link[aria-current="page"] { opacity: 1; }
/* odkaz v hlavičce: při najetí se pod ním dokreslí linka */
.quick-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: calc(50% - 13px); height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.quick-link:hover::after, .quick-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* tlačítka v hlavičce: stejná výška, zarovnaná s okrajem jako Menu vlevo */
.header-side--end { align-items: center; gap: 16px; padding-right: var(--gutter); }
.hbtn {
  --b-bg: var(--cta);
  --b-hover: #36544e;
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border-radius: 2px;
  background: var(--b-bg); color: #fff;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .3s;
}
.hbtn--catering { --b-bg: var(--catering); --b-hover: #4b3859; }
/* rezervace: obrys jako tlačítko pod nadpisem (bílý nad fotkou, tmavý po odscrollování) */
.hbtn--line { --b-bg: transparent; --b-hover: rgba(255, 255, 255, .12); color: inherit; border: 1px solid rgba(255, 255, 255, .7); }
.is-solid .hbtn--line { --b-hover: rgba(12, 22, 17, .06); border-color: var(--forest-900); }
/* při najetí se text jemně posune a v odsazení se objeví šipka; šířka tlačítka zůstává stejná */
.hbtn { position: relative; padding: 0 18px; }
.hbtn > span { transition: transform .35s var(--ease); }
.hbtn-arrow {
  position: absolute; right: 12px; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s, transform .35s var(--ease);
}
.hbtn:hover { background: var(--b-hover); }
.hbtn:hover > span { transform: translateX(-8px); }
.hbtn:hover .hbtn-arrow { opacity: 1; transform: none; }

/* ikona menu: při najetí se spodní čárka zkrátí (jen u zavřeného menu, křížek zůstává celý) */
html:not(.is-menu-open) .menu-btn:hover .menu-icon span:last-child { right: 7px; }
/* rozestup čar celý v px: na displejích s hustotou 3 by půlpixel vykreslil jednu čáru tlustší */
.menu-icon { position: relative; width: 18px; height: 9.5px; }
.menu-icon span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease), right .35s var(--ease); }
.menu-icon span:first-child { top: 0; }
.menu-icon span:last-child { top: 8px; }
.is-menu-open .menu-icon span:first-child { top: 4px; transform: rotate(45deg); }
.is-menu-open .menu-icon span:last-child { top: 4px; transform: rotate(-45deg); }
.brand {
  position: relative; align-self: center; justify-self: center;
  width: 176px; height: 33px;
}
/* maska je na pseudoprvku, jinak by ořízla i rámeček fokusu */
.brand::before {
  content: ""; position: absolute; inset: 0;
  background: currentColor;
  -webkit-mask: url("../img/logo.svg") center / contain no-repeat;
  mask: url("../img/logo.svg") center / contain no-repeat;
}
.hsep, .quick-link, .header-side--end { transition: opacity .3s, visibility .3s; }
.is-menu-open .hsep, .is-menu-open .quick-link, .is-menu-open .header-side--end { opacity: 0; visibility: hidden; }
body.menu-lock { overflow: hidden; }

/* ---------- Menu přes celou obrazovku (světlé, rejstřík stránek) ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + var(--header-pad));
  overflow-y: auto;
  background: var(--bg);
  opacity: 0; transition: opacity .3s;
}
.menu-overlay[hidden] { display: none; }
.menu-overlay.is-open { opacity: 1; }
.menu-list { width: 100%; max-width: 1040px; margin: auto; padding: clamp(24px, 4vh, 56px) var(--gutter); }
.menu-list a {
  position: relative;
  display: grid; grid-template-columns: 80px minmax(0, 1fr) 32px; align-items: center;
  padding: clamp(14px, 2.4vh, 26px) 0;
  font-size: clamp(28px, min(4vw, 4.6vh), 48px); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em;
  opacity: 0; transform: translateY(12px);
  transition: color .2s, padding .35s var(--ease), opacity .5s var(--ease), transform .6s var(--ease);
}
/* oddělovací linky se při otevření dokreslí zleva, jedna po druhé */
.menu-list a::before, .menu-list a:last-child::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--rule-strong);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .1s;
}
.menu-list a:last-child::after { top: auto; bottom: 0; transition-delay: .4s; }
.menu-list a:first-child::before { display: none; } /* nad první položkou linka není, odděluje jen mezi položkami */
.menu-overlay.is-open .menu-list a::before, .menu-overlay.is-open .menu-list a:last-child::after { transform: scaleX(1); }
.menu-list a:nth-child(2)::before { transition-delay: .15s; }
.menu-list a:nth-child(3)::before { transition-delay: .2s; }
.menu-list a:nth-child(4)::before { transition-delay: .25s; }
.menu-list a:nth-child(5)::before { transition-delay: .3s; }
.menu-list a:nth-child(6)::before { transition-delay: .35s; }
.menu-list a:nth-child(7)::before { transition-delay: .4s; }
.menu-list a .mono { color: var(--fg-3); }
.menu-sub { display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.4; letter-spacing: .06em; color: var(--fg-2); }
.menu-list a .arr { justify-self: end; font-size: .55em; color: var(--cta); opacity: 0; transition: opacity .2s; }
.menu-list a:hover { color: var(--cta); padding-left: 12px; }
.menu-list a[aria-current="page"] { color: var(--cta); }
.menu-list a:hover::before { transform-origin: left; }
.menu-list a:hover .arr { opacity: 1; }
.menu-overlay.is-open .menu-list a { opacity: 1; transform: none; }
.menu-list a:nth-child(2) { transition-delay: 0s, 0s, .03s, .03s; }
.menu-list a:nth-child(3) { transition-delay: 0s, 0s, .06s, .06s; }
.menu-list a:nth-child(4) { transition-delay: 0s, 0s, .09s, .09s; }
.menu-list a:nth-child(5) { transition-delay: 0s, 0s, .12s, .12s; }
.menu-list a:nth-child(6) { transition-delay: 0s, 0s, .15s, .15s; }
.menu-list a:nth-child(7) { transition-delay: 0s, 0s, .18s, .18s; }
.menu-list a:nth-child(8) { transition-delay: 0s, 0s, .21s, .21s; }
.menu-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 24px; align-items: end; width: 100%; max-width: 1040px; margin: 0 auto; padding: 8px var(--gutter) 36px; }
.menu-foot .mono { display: block; color: var(--fg-3); margin-bottom: 4px; }
.menu-foot a:hover { color: var(--cta); }
.menu-foot .btn-row { margin: 0; }

/* tmavá varianta menu: tmavě zelená s rozmazaným webem pod ní, světlé linky (třída menu-overlay--dark) */
.menu-overlay--dark {
  --rule-strong: rgba(255, 255, 255, .26);
  color: #fff;
  background: rgba(8, 16, 12, .88);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}
.menu-overlay--dark .menu-list a .mono, .menu-overlay--dark .menu-foot .mono { color: rgba(255, 255, 255, .62); }
.menu-overlay--dark .menu-list a .menu-sub { color: rgba(255, 255, 255, .74); }
.menu-overlay--dark .menu-list a .arr,
.menu-overlay--dark .menu-list a:hover, .menu-overlay--dark .menu-list a[aria-current="page"],
.menu-overlay--dark .menu-foot a:hover { color: var(--lime-500); }
.menu-overlay--dark .btn--line { color: #fff; border-color: rgba(255, 255, 255, .7); }
.menu-overlay--dark .btn--line:hover { color: var(--lime-500); border-color: var(--lime-500); }
html.is-menu-open:has(.menu-overlay--dark) body .site-header { --hdr-fg: #fff; }
/* na telefonu se menu posouvá: hlavička dostane pozadí, aby pod ní nebyl vidět odjíždějící text */
@media (max-width: 760px) { html.is-menu-open:has(.menu-overlay--dark) body .site-header { --hdr-bg: rgb(8, 16, 12); } }
/* fokus z klávesnice: tmavě zelený rámeček by na tmavém menu nebyl vidět */
.menu-overlay--dark :focus-visible, html.is-menu-open:has(.menu-overlay--dark) body .site-header :focus-visible { outline-color: var(--lime-500); }

/* ---------- Hero přes celou šířku ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  color: #fff;
  background: var(--forest-950);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; margin: 0; }
/* fotka naskočí a jemně se usadí až po načtení, jinak by na mobilu přiskočila uprostřed animace */
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.hero-media.is-loaded img { opacity: 1; animation: settle 2.4s var(--ease) both; }
.no-js .hero-media img { opacity: 1; }
/* na výšku (telefon, tablet) výřez vpravo: světla a pult, bez sloupu uprostřed fotky */
.hero-media picture { display: block; height: 100%; }
@media (max-aspect-ratio: 1/1) { .hero-media img { object-position: 55% 50%; } } /* výřez interier-na-vysku.jpg: světla a pult */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 7, .66) 0%, rgba(5, 10, 7, .62) 34%, rgba(5, 10, 7, .66) 64%, rgba(5, 10, 7, .84) 100%);
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.hero-content {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + var(--header-pad) + 48px) var(--gutter) 56px;
}
/* nadpis se zmenšuje i podle výšky okna, aby se na nízkém notebooku vešla lišta dole */
.hero-content .h1 { max-width: 20ch; font-size: clamp(42px, min(5vw - 4px, 8.8svh), 92px); }
/* nadpis v úvodu: písmena u kurzoru se zvednou jako vlna a rozsvítí limetkově (jen myš, ne při omezení animací) */
.wave-word { display: inline-block; white-space: nowrap; }
.wave-ch {
  --f: 0;
  display: inline-block;
  transform: translateY(calc(var(--f) * -.14em));
  color: color-mix(in srgb, var(--lime-500) calc(var(--f) * 100%), #fff);
  text-shadow: 0 0 calc(var(--f) * .45em) rgba(198, 243, 107, calc(var(--f) * .5));
  transition: transform .45s var(--ease), color .45s, text-shadow .45s;
}
.hero-content .lead { color: rgba(255, 255, 255, .88); margin: 26px auto 0; }
.hero-content .btn-row { justify-content: center; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; color: rgba(255, 255, 255, .9); }
.dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-500); }
.dot.is-closed { background: var(--forest-300); }
.dot.is-open { box-shadow: 0 0 0 0 rgba(198, 243, 107, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(198, 243, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 243, 107, 0); } }

/* dnes podáváme: tři řádky z denního menu, vypisují se jako na stroji */
.today { width: min(700px, 100%); margin: 30px auto 0; text-align: left; }
.today__head { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 10px; color: rgba(255, 255, 255, .85); }
.today__head span:first-child { color: #fff; font-weight: 500; }
.today__list { margin: 0; padding: 0; list-style: none; }
.today__row {
  position: relative;
  display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; gap: 4px 18px; align-items: baseline;
  padding: 12px 0;
}
.today__row::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px;
  background: rgba(255, 255, 255, .3);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease);
}
.today__row.is-on::before { transform: scaleX(1); }
.today__type { color: rgba(255, 255, 255, .85); }
.today__dish { display: grid; min-height: 1.5em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.45; color: #fff; }
/* celý text neviditelně pod psaným, ať řádek nemění výšku a úvod s fotkou neposkakuje */
.today__dish::before { content: attr(data-full); grid-area: 1 / 1; visibility: hidden; }
.today__typed { grid-area: 1 / 1; }
/* zástupné řádky, než přijdou data */
.today__row.is-skel .today__type, .today__row.is-skel .today__typed { display: block; height: .9em; margin-block: .3em; border-radius: 2px; background: rgba(255, 255, 255, .14); animation: skel 1.4s ease-in-out infinite; }
.today__row.is-skel .today__type { width: 84px; }
.today__row.is-skel .today__typed { width: 70%; }
@keyframes skel { 50% { opacity: .45; } }
.today__price { color: rgba(255, 255, 255, .8); white-space: nowrap; opacity: 0; transition: opacity .4s; }
.today__row.is-done .today__price { opacity: 1; }
.today__price.is-sold { color: var(--lime-500); }
/* kurzor: limetkový blok, bliká jen v řádku, který se právě píše */
.today__dish.is-typing .today__typed::after {
  content: ""; display: inline-block; width: .5em; height: 1.05em; margin-left: 2px; vertical-align: -.16em;
  background: var(--lime-500); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.today__fallback { display: none; }
.today.is-fallback .today__list { display: none; }
.today.is-fallback .today__fallback { display: block; margin: 0; }
.no-js .today__head, .no-js .today__list { display: none; }
.no-js .today__fallback { display: block; margin: 0 auto; text-align: center; }

/* lišta dole v hero: bez plochy, jen linky, které se při načtení dokreslí */
.hero-bar {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px);
  padding: 0 var(--gutter) 28px;
}
.hero-bar > * { position: relative; display: block; padding-top: 16px; }
.hero-bar > *::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px;
  background: rgba(255, 255, 255, .45);
  transform: scaleX(0); transform-origin: left;
  animation: drawX 1.4s var(--ease) .6s forwards;
}
.hero-bar > :nth-child(2)::before { animation-delay: .72s; width: 50%; }
.hero-bar > :nth-child(3)::before { animation-delay: .84s; }
.hero-bar .mono { display: block; color: rgba(255, 255, 255, .66); margin-bottom: 4px; }
.hero-bar p { margin: 0; font-size: 16px; }

/* nízké okno na počítači (notebook): menší mezery, aby se úvod i s lištou vešel na obrazovku */
@media (min-width: 761px) and (max-height: 900px) {
  .hero-content { padding-top: calc(var(--header-h) + var(--header-pad) + 8px); padding-bottom: 20px; }
  .hero-content .status { margin-bottom: 16px; }
  .hero-content .today { margin-top: 20px; }
  .hero-content .today__row { padding: 8px 0; }
  .hero-content .btn-row { margin-top: 20px; }
}
@media (min-width: 761px) and (max-height: 720px) {
  .hero-content { padding-top: calc(var(--header-h) + var(--header-pad)); padding-bottom: 12px; }
  .hero-content .h1 { font-size: clamp(42px, min(5vw - 4px, 7.8svh), 92px); }
  .hero-content .status { margin-bottom: 12px; }
  .hero-content .today { margin-top: 14px; }
  .hero-content .today__row { padding: 6px 0; }
  .hero-content .btn-row { margin-top: 16px; }
}

/* kulaté razítko s textem dokola */
.stamp {
  position: absolute; z-index: 2;
  right: var(--gutter); bottom: 128px;
  width: clamp(112px, 9.5vw, 148px); aspect-ratio: 1;
  color: #fff;
}
.stamp-ring { width: 100%; height: 100%; overflow: visible; animation: spin 40s linear infinite; }
.stamp-ring text { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; fill: currentColor; }
.stamp-g { position: absolute; left: 21%; top: 50%; width: 58%; height: auto; aspect-ratio: 98 / 48; transform: translateY(-50%); fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sekce ---------- */
.section { padding: clamp(96px, 11vw, 170px) 0; position: relative; }
.head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 980px; margin: 0 auto clamp(48px, 6vw, 80px); }
.head .lead { margin: 24px auto 0; }
.section > .wrap:last-child > .head:last-child { margin-bottom: 0; } /* poslední v sekci (výzva s tlačítky): mezeru dělá odsazení sekce */
.prose { max-width: 700px; color: var(--fg-2); font-size: clamp(17px, 1.2vw, 19px); }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

/* právní text (ochrana osobních údajů): uprostřed, nadpisy oddělují části */
.legal { margin-inline: auto; }
.legal .h3 { color: var(--fg); margin: clamp(40px, 4vw, 56px) 0 16px; }
.legal .h3:first-child { margin-top: 0; }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.legal a:hover { color: var(--cta); }
.legal__date { margin-top: clamp(40px, 4vw, 56px); font-size: 15px; }

/* ---------- Technická tabulka parametrů: bez rámečku, linky se dokreslí ---------- */
.specs { width: 100%; max-width: 540px; margin: 32px 0 0; }
.specs > div { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 0; }
.specs dt { color: var(--fg-2); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.specs dd { margin: 0; font-size: clamp(20px, 1.8vw, 28px); font-weight: 500; letter-spacing: -0.02em; text-align: right; white-space: nowrap; }
/* úzký desktop: delší hodnoty (Online konfigurátor) by vyčnívaly ze sloupce */
@media (min-width: 901px) and (max-width: 1100px) { .pillars .specs dd { white-space: normal; text-wrap: balance; } }
.specs dd small { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin-left: 6px; }

/* ---------- Velké fotky mimo mřížku: jedna strana přetéká až ke kraji okna, hýbou se s myší ---------- */
.float-layer { will-change: translate; }
.float { position: relative; margin: 0; overflow: hidden; background: var(--forest-100); clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
/* sleduje se obal (fotka s oříznutím by se observeru nikdy „neukázala“) */
.float-layer.is-in .float, .no-js .float { clip-path: inset(0); }
.float img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.8s var(--ease); }
.float-layer.is-in .float img { transform: none; }

/* O Greenu a akce: text ve sloupci, dvě větší fotky volně přes sebe v rámci obsahu */
.about { padding: clamp(120px, 13vw, 210px) 0; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5.8fr) minmax(0, 6.2fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
/* širší sloupec textu, aby se nadpis vešel do tří řádků */
.about-text { max-width: 700px; }
.about-text .prose, .about-text .lead { margin-top: 24px; }
.about .about-text .h2 { font-size: clamp(34px, 2.8125vw + 8px, 62px); }
.about-media { position: relative; aspect-ratio: 1 / 1.06; }
.about-media .float-layer { position: absolute; }
.float-layer--a { top: 0; right: 0; width: 70%; }
.float-layer--b { left: 0; bottom: 0; width: 44%; z-index: 2; }
.float--a, .float--b { aspect-ratio: 4 / 5; }
.about--reverse .about-grid { grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr); }
.about--reverse .about-text { order: 2; justify-self: end; }
.about--reverse .about-media { aspect-ratio: 1 / .9; }
.about--reverse .float-layer--a { right: auto; left: 0; width: 86%; }
.about--reverse .float--a { aspect-ratio: 5 / 4; }
.about--reverse .float-layer--b { left: auto; right: 0; width: 36%; }
/* majitelé: dvě stejně velké fotky v cik-caku (vlevo nahoře, vpravo níž), lehce se překrývají */
.about--reverse .about-media.team-duo { aspect-ratio: 1 / 1.08; }
.team-layer { width: 52%; }
.team-layer--a { top: 0; left: 0; }
.team-layer--b { right: 0; bottom: 0; z-index: 2; }
.team-layer .float { aspect-ratio: 4 / 5; }
.team-name { margin: 12px 0 0; color: var(--fg-3); }

/* Menu: text na střed, pod ním řada čtyř jídel na výšku, posunutých proti sobě */
.feature { padding: clamp(110px, 12vw, 190px) 0 clamp(120px, 13vw, 210px); overflow: hidden; }
.dishes { display: grid; grid-template-columns: 1.1fr .9fr 1.15fr .9fr; gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.dish .float { aspect-ratio: 3 / 4; }
.dish--2 { margin-top: 14%; }
.dish--3 { margin-top: 5%; }
.dish--4 { margin-top: 20%; }

/* ---------- Tři parametry vedle sebe (bez karet) ---------- */
.grid-spec {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.cell { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(40px, 4vw, 60px); }
.cell-num { position: absolute; left: 0; top: 12px; color: var(--fg-3); }
.cell-icon { width: 34px; height: 34px; color: var(--cta); margin: 4px 0 24px; }
.cell-icon svg { width: 100%; height: 100%; }
.cell h3 { margin: 0 0 10px; font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; }
.cell p { margin: 0; color: var(--fg-2); max-width: 360px; }
.cell .text-link { margin-top: 24px; }

/* ---------- Zastavená sekce s počítadlem (Co u nás najdete) ---------- */
.pillars { --n: 5; position: relative; height: calc(var(--n) * 60svh + 40svh); }
/* po projetí složená na jednu obrazovku, cestou nahoru se nezasekává */
.pillars.is-collapsed { height: auto; }
.pillars.is-collapsed .pillars-pin { position: relative; }
.pillars-pin {
  position: sticky; top: 0;
  height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 72px); align-items: center;
  padding: calc(var(--header-h) + 28px) var(--gutter) 36px;
}
.pillars-head { grid-column: 1; grid-row: 1; }
.pillars-count { margin: 34px 0 16px; font-size: clamp(34px, 2.5vw + 8px, 56px); letter-spacing: -0.02em; color: var(--fg-3); }
.pillars-count span { color: var(--fg); }
.pillars-nav { list-style: none; margin: 0; padding: 0; }
.pillars-nav button {
  display: flex; align-items: center; gap: 0;
  padding: 7px 0; border: 0; background: none; cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left;
  color: var(--fg-3); transition: color .2s, gap .4s var(--ease);
}
.pillars-nav button::before { content: ""; width: 0; height: 1px; background: var(--cta); transition: width .5s var(--ease); }
.pillars-nav button:hover { color: var(--fg); }
.pillars-nav button[aria-current="true"] { color: var(--fg); gap: 12px; }
.pillars-nav button[aria-current="true"]::before { width: 28px; }
.pillar { display: contents; }
.pillar-photo {
  grid-column: 2; grid-row: 1;
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 64px);
  margin: 0; overflow: hidden; justify-self: center;
  opacity: 0; clip-path: inset(100% 0 0 0);
  transition: clip-path 0s .9s, opacity .3s .6s;
}
.pillar-photo img { width: 100%; height: 100%; object-fit: cover; }
.pillar.is-active .pillar-photo { z-index: 2; opacity: 1; clip-path: inset(0); transition: clip-path .9s var(--ease), opacity 0s; }
.pillar-text {
  grid-column: 3; grid-row: 1;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.pillar.is-active .pillar-text { opacity: 1; transform: none; pointer-events: auto; transition-delay: .2s; }
.pillar:not(.is-active) .specs > div::before { transform: scaleX(0); transition: none; }
.pillar-kicker { margin: 0 0 16px; color: var(--cta); }
.pillar-text > p:not(.pillar-kicker) { margin: 16px 0 0; color: var(--fg-2); max-width: 420px; }
.pillar-text .specs { margin-top: 24px; max-width: 420px; }
.pillar-text .text-link { margin-top: 26px; }
.pillar-text .btn-row { margin-top: 26px; }

/* ---------- #jsemnagreenu: fotky volně kolem hashtagu ---------- */
/* výška podle šířky (fotky kolem textu se škálují šířkou), ne podle výšky okna, aby na notebooku nevznikalo prázdné místo */
.ig { position: relative; min-height: clamp(520px, 43vw, 760px); display: grid; place-items: center; padding: clamp(64px, 6vw, 120px) 0; text-align: center; overflow: hidden; }
.ig-copy { position: relative; z-index: 2; }
.ig-photos .float-layer { position: absolute; }
.ig-p--1 { left: -2%; top: 4%; width: clamp(170px, 19vw, 320px); }
.ig-p--1 .float { aspect-ratio: 4 / 5; }
.ig-p--2 { right: -2%; top: 2%; width: clamp(160px, 18vw, 300px); }
.ig-p--2 .float { aspect-ratio: 4 / 5; }
.ig-p--3 { left: 4%; bottom: 0; width: clamp(150px, 16vw, 260px); }
.ig-p--3 .float { aspect-ratio: 1; }
.ig-p--4 { right: 2%; bottom: 4%; width: clamp(200px, 22vw, 420px); }
.ig-p--4 .float { aspect-ratio: 4 / 3; }
.ig p { margin: 0; color: var(--fg-2); }
.ig-tag {
  display: inline-block; margin: 14px 0 34px;
  font-size: clamp(60px, 10.5vw - 52px, 150px); font-weight: 500; line-height: 1.05; letter-spacing: -0.045em;
  background: linear-gradient(transparent 66%, var(--lime-500) 66%, var(--lime-500) 90%, transparent 90%) no-repeat 0 0 / 0 100%;
  transition: background-size 1.6s var(--ease);
}
/* podtržení se dokreslí, až je nápis ve spodních třech čtvrtinách okna (vlastní spouštěč v main.js) */
.ig-tag.is-drawn { background-size: 100% 100%; }
.no-js .ig-tag { background-size: 100% 100%; }
.ig .btn-row { justify-content: center; margin-top: 0; }

/* ---------- Patička: přes celou šířku jako hlavička, pět sloupců, linka přes celý sloupec ---------- */
.site-footer { padding-top: clamp(64px, 7vw, 104px); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 48px);
  padding: 0 var(--gutter);
}
.footer-grid > * { position: relative; padding-top: 22px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer-emblem { width: 64px; height: 31px; fill: var(--black); }
.footer-brand .btn { margin-top: 6px; }
.footer-brand p { margin: 0; color: var(--fg-2); max-width: 280px; }
.footer-col h2 { margin: 0 0 12px; color: var(--fg-3); font-weight: 400; }
.footer-col p { margin: 0; }
.footer-col a:hover { color: var(--cta); }
.footer-col .text-link { margin-top: 14px; }
.open-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px !important; color: var(--fg-2); font-size: 15px; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule-strong); border-radius: 50%; transition: background-color .2s, border-color .2s, color .2s; }
.social a:hover { background: var(--cta); border-color: var(--cta); color: #fff !important; }
.footer-register { margin-top: 12px !important; color: var(--fg-3); font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; margin-top: clamp(48px, 6vw, 80px); padding: 0 var(--gutter); }
.footer-nav a { padding: 10px 14px; color: var(--fg-2); transition: color .2s; }
.footer-nav a:hover { color: var(--cta); }

/* povinné informace v jednom řádku: osobní údaje, cookies, dozor, alergeny (rozbalí se pod řádek) */
.footer-legal { margin-top: clamp(28px, 3vw, 40px); padding: 0 var(--gutter); }
.footer-legal__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 32px; }
.footer-legal__links a, .footer-legal__links button, .allergens a {
  text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.footer-legal__links button { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.footer-legal__links a:hover, .footer-legal__links button:hover, .allergens a:hover { color: var(--cta); text-decoration-color: currentColor; }
.allergens-toggle { display: inline-flex; align-items: center; gap: 8px; }
.allergens-toggle::after { content: "+" / ""; font-size: 15px; line-height: 1; color: var(--cta); transition: transform .3s var(--ease); }
.allergens-toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
.allergens { max-width: 880px; margin: 0 auto; }
.allergens[hidden] { display: none; }
.allergens ol { columns: 3; column-gap: 32px; margin: 28px 0 0; padding-left: 26px; color: var(--fg-2); font-size: 14.5px; line-height: 1.75; }
.allergens ol li::marker { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.allergens p { margin: 14px auto 0; color: var(--fg-3); font-size: 14px; max-width: 560px; text-align: center; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px;
  margin-top: clamp(32px, 4vw, 48px); padding: 18px var(--gutter) 26px;
  color: var(--fg-3);
}

/* ---------- Rezervace (dialog) ---------- */
.reserve {
  width: min(500px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--rule-strong); border-radius: 2px;
  background: var(--bg); color: var(--fg);
  overflow: auto;
}
.reserve::backdrop { background: rgba(5, 10, 7, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reserve[open] { animation: popIn .4s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(14px); } }
.reserve__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.reserve__title { margin: 4px 0 0; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.reserve__kicker { margin: 0; color: var(--fg-3); }
.reserve__frame { background: #fff; }
.reserve__frame iframe { display: block; width: 100%; height: min(620px, 70dvh); border: 0; }
.reserve__note { margin: 0; padding: 14px 20px 16px; color: var(--fg-2); font-size: 15px; text-align: center; }
.reserve__note a { color: var(--cta); }

.reserve__gate { padding: 36px 24px 32px; background: var(--forest-100); text-align: center; }
.reserve__gate[hidden] { display: none; }
.reserve__gate p { margin: 0 auto 22px; max-width: 360px; color: var(--fg-2); }

/* ---------- Souhlas s cookies: malá karta vlevo dole, obě volby stejně snadné ---------- */
.consent {
  position: fixed; left: var(--gutter); bottom: 20px; z-index: 60;
  width: min(520px, calc(100vw - 2 * var(--gutter)));
  padding: 22px 22px 20px;
  background: var(--bg); border: 1px solid var(--rule-strong); border-radius: 2px;
  box-shadow: 0 18px 48px -24px rgba(12, 22, 17, .35);
  animation: popIn .5s var(--ease);
}
.consent[hidden], .consent [hidden] { display: none; }
/* dokud je lišta otevřená, prvek s fokusem z klávesnice se posune nad ni */
html:has(.consent:not([hidden])) { scroll-padding-bottom: min(340px, 50vh); }
.consent__title { margin: 0 0 8px; color: var(--cta); font-weight: 500; }
.consent__body p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.consent__body a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.consent__body a:hover { color: var(--cta); }
.consent__opts { display: grid; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.consent__opts[hidden] { display: none; }
.consent-opt { position: relative; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.consent-opt input { position: absolute; opacity: 0; }
.consent-opt .check-box { margin-top: 1px; }
.consent-opt b { display: block; font-weight: 600; font-size: 15px; }
.consent-opt small { display: block; color: var(--fg-3); font-size: 13.5px; line-height: 1.45; }
.consent-opt input:checked + .check-box { background: var(--cta); border-color: var(--cta); }
.consent-opt input:checked + .check-box svg { opacity: 1; }
.consent-opt input:disabled + .check-box { opacity: .55; }
.consent-opt input:focus-visible + .check-box { outline: 2px solid var(--cta); outline-offset: 3px; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }
.consent__actions .btn { height: 44px; padding: 0 18px; font-size: 12px; }
.consent__more { margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; color: var(--fg-2); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.consent__more:hover { color: var(--cta); }

/* ---------- Aktualita v liště hero ---------- */
.hero-bar { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.hero-news { --news-pad: clamp(12px, 3vw, 48px); position: relative; display: block; padding-top: 16px; padding-right: var(--news-pad); }
.hero-news[hidden] { display: none; } /* bez aktuální novinky lištu skryje initNews */
.hero-news__link { display: block; color: inherit; transition: opacity .25s; }
.hero-news__link.is-changing { opacity: 0; }
/* víc aktualit: střídají se, počítadlo a šipky vpravo na konci bloku, zarovnané s koncem linky nad ním */
.hero-news__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; margin: 0 calc(-1 * var(--news-pad)) 4px 0; }
.hero-bar .hero-news__head .mono { margin-bottom: 0; }
.hero-news__pager { display: flex; align-items: center; gap: 4px; margin: -2px 0; }
.hero-news__pager[hidden] { display: none; }
.hero-bar .hero-news__count { display: inline; margin: 0 2px; color: rgba(255, 255, 255, .66); }
.hero-news__nav { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; background: none; color: #fff; cursor: pointer; transition: color .2s, border-color .2s; }
.hero-news__nav:hover { color: var(--lime-500); border-color: var(--lime-500); }
/* dnešní otevírací doba v úvodu; ve výjimečný den se štítkem */
.hero-hours .mono { display: flex; align-items: center; gap: 10px; }
.tag--alert { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; background: var(--lime-500); color: var(--forest-900); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.hero-hours small { display: block; margin-top: 2px; font-size: 14px; opacity: .85; }
.hero-hours .hours-next { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 6px; opacity: 1; }
.hours-upcoming { display: block; margin-top: 8px; font-weight: 500; }
.hours-upcoming span { display: block; }
.hero-news .mono { display: flex; align-items: center; gap: 10px; }
.hero-news .hero-news__count { display: inline; }
.hero-news .tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; background: var(--cta); color: #fff; font-weight: 500; }
.hero-news strong { font-weight: 600; }
.hero-news__more { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid currentColor; white-space: nowrap; margin-left: 4px; }
.hero-news__link:hover .hero-news__more { color: var(--lime-500); }
.hero-addr p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.hero-go {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; white-space: nowrap;
}
.hero-go svg { transition: transform .35s var(--ease); }
.hero-addr:hover .hero-go { color: var(--lime-500); }
.hero-addr:hover .hero-go svg { transform: translate(2px, -2px); }

/* ==========================================================================
   Podstránky
   ========================================================================== */

/* stránky bez fotky přes celou šířku mají hlavičku plnou hned od začátku */
body:not(:has(.hero)) .site-header {
  --hdr-fg: var(--forest-900);
  --hdr-line: var(--rule);
  --hdr-bg: rgba(243, 246, 240, .92);
}

/* úvod podstránky: text vlevo, fotky volně vpravo */
.page-head { padding: calc(var(--header-h) + var(--header-pad) + clamp(56px, 7.1875vw - 28px, 110px)) 0 clamp(80px, 7.8125vw - 10px, 140px); overflow: hidden; }
.page-head .h1 { font-size: clamp(46px, 5.625vw - 8px, 92px); }
.page-head .lead { margin-top: 26px; }
.page-head--plain .head { margin-bottom: 0; }

/* fotka na šířku v úvodu podstránky */
.float--land, .about--reverse .float--land { aspect-ratio: 5 / 4; }
.page-head .float-layer--a:has(.float--land) { width: 84%; }
.section-head--gap { margin-top: clamp(48px, 6vw, 88px); }
.form-note a { color: var(--cta); text-decoration: underline; text-underline-offset: 3px; }

/* textový blok uprostřed */
.prose--center { margin: 0 auto; text-align: center; }
.prose--center.section-head--gap { margin-top: clamp(48px, 6vw, 88px); }
.section--tight { padding-top: 0; }
/* po sekci s vlastním velkým odsazením stačí menší horní mezera, jinak se sčítají */
.about + .section, .feature + .section, .spots-wide + .section { padding-top: clamp(48px, 5vw, 96px); }
/* hlavička sekce jen pro čtečky: pod popiskem nezůstane prázdné místo */
.head:has(> .sr-only:last-child) { margin-bottom: 28px; }
/* před předpatičkou s fotkami stačí menší mezera, fotky ji vyplní */
.section:has(+ .ig) { padding-bottom: clamp(40px, 4vw, 72px); }
.section-cta { text-align: center; }
.section-cta .btn-row { justify-content: center; }

/* čtyři parametry vedle sebe */
.grid-spec--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-spec--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1180px; }
.grid-spec--2 .cell { align-items: flex-start; text-align: left; }
.cell .specs { margin-top: 24px; max-width: none; }
.cell .btn { margin-top: 28px; }
.price { margin: 18px 0 0; font-family: var(--font-head); font-size: clamp(44px, 3.75vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -0.035em; }
.price small { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--fg-3); margin-left: 6px; }
.note { max-width: 680px; margin: 40px auto 0; text-align: center; color: var(--fg-2); }
.note a { color: var(--cta); text-decoration: underline; text-underline-offset: 3px; }

/* bento: dlaždice s čísly, jen informace (žádný hover, žádná šipka) */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: clamp(10px, 1.2vw, 16px); margin: 0; }
.bento.section-head--gap { margin-top: clamp(48px, 6vw, 88px); }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-width: 0; margin: 0; padding: clamp(20px, 2vw, 30px);
  background: var(--tile-mint); border-radius: 2px;
}
.tile dt, .tile dd, .tile p { margin: 0; }
.tile-label { color: var(--fg-2); }
.tile-num { margin-top: auto !important; font-family: var(--font-head); font-size: clamp(54px, 5vw, 96px); font-weight: 500; line-height: .9; letter-spacing: -0.045em; }
.tile-num small { margin-left: 10px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.tile-text { max-width: 380px; color: var(--fg-2); font-size: 15.5px; line-height: 1.5; }
.tile--sage { background: var(--tile-sage); }
.tile--sage .tile-num small { color: var(--fg-2); }
.tile--lime { background: var(--tile-lime); }
.tile--paper { background: var(--tile-paper); box-shadow: inset 0 0 0 1px var(--rule); }
.tile--mint { background: var(--tile-mint); }
/* nejdůležitější číslo v hlavní barvě, ale bez tlačítkového chování */
.tile--fill { background: var(--cta); color: #fff; cursor: default; }
.tile--fill .tile-label, .tile--fill .tile-text, .tile--fill .tile-num small { color: rgba(255, 255, 255, .78); }
.cell .price + p { margin-top: 12px; }
.tile--main .tile-num { font-size: clamp(88px, 9.0625vw + 2px, 176px); }
/* počítadlo čísel: pevná šířka po dobu animace, číslice dobíhají zprava */
.count { display: inline-block; text-align: right; white-space: nowrap; }
.bento--akce .tile--main { grid-column: span 5; grid-row: span 2; }
.bento--akce .tile:nth-child(2) { grid-column: span 3; }
.bento--akce .tile:nth-child(3) { grid-column: span 4; }
.bento--akce .tile:nth-child(4) { grid-column: span 4; }
.bento--akce .tile:nth-child(5) { grid-column: span 3; }
.bento--salon { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); }
.bento--salon .tile--photo { grid-column: span 2; grid-row: span 2; min-height: 480px; }
/* fotka v dlaždici */
.tile--photo { padding: 0; overflow: hidden; color: #fff; background: var(--forest-900); }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 7, .1) 0%, rgba(5, 10, 7, .8) 100%); }
.tile--photo .tile-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding: clamp(20px, 2vw, 30px); }
.tile--photo .tile-label, .tile--photo .tile-text, .tile--photo .tile-num small { color: rgba(255, 255, 255, .82); }

/* fotka s terčíky a popisky (prostory akcí, salónek)
   Terčíky mají souřadnice v obrázku (--x, --y od 0 do 1), ořez fotky se dopočítá:
   --img-r je poměr stran obrázku, --box-r poměr stran výřezu, --fy svislá pozice ořezu. */
.spots-wide { padding-bottom: clamp(96px, 11vw, 170px); }
.spots { --box-r: 2.222; --fy: .4; --k: calc(var(--box-r) / var(--img-r)); position: relative; }
.spots-media { position: relative; margin: 0; }
.spots-media .float { aspect-ratio: var(--box-r); }
.spots-media img { object-position: 50% calc(var(--fy) * 100%); }
.spots-pins { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: var(--box-r); margin: 0; padding: 0; list-style: none; counter-reset: spot; }
.spot {
  position: absolute; left: calc(var(--x) * 100%); top: calc((var(--y) * var(--k) - (var(--k) - 1) * var(--fy)) * 100%);
  display: flex; align-items: center; gap: 12px;
  transform: translate(-14px, -50%);
  opacity: 0; transition: opacity .6s var(--ease);
  counter-increment: spot;
}
.spots-media.is-in + .spots-pins .spot, .no-js .spot { opacity: 1; }
.spots-media.is-in + .spots-pins .spot:nth-child(2) { transition-delay: .25s; }
.spots-media.is-in + .spots-pins .spot:nth-child(3) { transition-delay: .5s; }
.spots-media.is-in + .spots-pins .spot:nth-child(4) { transition-delay: .75s; }
/* terčík: bílý kruh s číslem, kolem jemně pulzuje kroužek */
.spot-dot {
  position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--cta);
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .28);
  transition: background-color .25s, color .25s;
}
.spot-dot::before { content: counter(spot); }
.spot-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #fff; animation: ripple 2.8s var(--ease) infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.spot-label { display: flex; flex-direction: column; padding: 8px 12px; background: var(--bg); color: var(--fg); border-radius: 2px; white-space: nowrap; }
.spot-label b { font-family: var(--font-head); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.spot-label small { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.spot--left { flex-direction: row-reverse; transform: translate(calc(-100% + 14px), -50%); }
.spot.is-hot .spot-dot { background: var(--cta); color: #fff; }

/* legenda: u salónku vedle fotky, na mobilu pod fotkou (vytvoří ji skript z popisků) */
.spots-legend { display: none; margin: 0; padding: 0; list-style: none; }
.spots-legend li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; cursor: default; }
.spots-legend li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-strong); }
.spots-legend .spot-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--cta); color: var(--cta); font-family: var(--mono); font-size: 12px; transition: background-color .2s, color .2s; }
.spots-legend li.is-hot .spot-num { background: var(--cta); color: #fff; }
.spots-legend b { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.spots-legend small { display: block; margin-top: 4px; color: var(--fg-2); font-size: 15px; line-height: 1.45; }

/* salónek: fotka bez ořezu a legenda vedle ní */
.spots--split { --box-r: var(--img-r); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.spots--split .spots-media { grid-column: 1; grid-row: 1; }
.spots--split .spots-pins { grid-column: 1; grid-row: 1; position: relative; pointer-events: none; }
.spots--split .spot { pointer-events: auto; }
.spots--split .spot-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spots--split .spots-legend { display: block; grid-column: 2; grid-row: 1; }

/* drobné výhody v řádku: ikona a dva řádky textu */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); max-width: 1100px; margin-inline: auto; padding: 0 var(--gutter); }
.perk { display: flex; align-items: flex-start; gap: 16px; }
.perk .cell-icon { flex-shrink: 0; margin: 0; width: 30px; height: 30px; }
.perk p { margin: 0; color: var(--fg-2); font-size: 15.5px; line-height: 1.5; }
.perk b { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 500; letter-spacing: -0.015em; color: var(--fg); }

/* výběr Pití / Jídlo / Catering: velké dlaždice s fotkou, zaškrtnutí se propíše do rezervace */
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.pick {
  position: relative; display: flex; flex-direction: column; padding: 0; text-align: left;
  border: 1px solid var(--rule-strong); border-radius: 2px; background: var(--tile-paper); cursor: pointer;
  font: inherit; color: inherit;
  transition: border-color .25s, background-color .25s;
}
.pick-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--forest-100); }
.pick-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .4s; }
.pick-body { position: relative; display: block; padding: 22px 64px 24px 22px; }
.pick-title { display: block; font-family: var(--font-head); font-size: clamp(26px, 1.25vw + 12px, 36px); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
.pick-text { display: block; margin-top: 8px; color: var(--fg-2); font-size: 15.5px; line-height: 1.5; }
.pick-check {
  position: absolute; right: 22px; top: 24px;
  width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--rule-strong); border-radius: 2px; transition: background-color .25s, border-color .25s;
}
.pick-check svg { width: 16px; height: 16px; stroke: #fff; opacity: 0; transition: opacity .2s; }
.pick:hover { border-color: var(--fg); }
.pick:hover .pick-media img { transform: scale(1.03); }
.pick[aria-pressed="true"] { border-color: var(--cta); background: var(--tile-mint); }
.pick[aria-pressed="true"] .pick-check { background: var(--cta); border-color: var(--cta); }
.pick[aria-pressed="true"] .pick-check svg { opacity: 1; }
.picks-status { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin: 32px 0 0; color: var(--fg-2); }
.text-link:hover .tl-arr--down { transform: translateY(3px); }
.segment input[type="checkbox"] + span::before { border-radius: 1px; }

/* typy akcí: plynulý text oddělený tečkami jako v logu */
.occasions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 0;
  max-width: 1120px; margin: 0 auto; padding: 0; list-style: none;
  font-family: var(--font-head); font-size: clamp(30px, 2.8125vw + 6px, 60px); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em;
}
.occasions li { display: inline-flex; align-items: center; }
.occasions li:not(:last-child)::after { content: ""; width: .14em; height: .14em; margin: 0 .42em; border-radius: 50%; background: var(--cta); }
.occasions li.is-line-end::after { display: none; } /* tečka by visela na konci řádku (třídu dává initOccasions) */
/* golf jako tip navíc: podbarvený box, ne další nadpis */
.occasion-tip {
  max-width: 640px; margin: clamp(40px, 4vw, 56px) auto 0; padding: clamp(22px, 2.2vw, 32px) clamp(20px, 3vw, 40px);
  background: var(--tile-lime); border-radius: 2px; text-align: center;
}
.occasion-tip__label { margin: 0; color: var(--cta); }
.occasion-tip__title { margin: 10px 0 6px; font-family: var(--font-head); font-size: clamp(24px, .9375vw + 15px, 32px); font-weight: 500; line-height: 1.15; letter-spacing: -0.025em; }
.occasion-tip__text { margin: 0; color: var(--fg-2); text-wrap: balance; }

/* štítky */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 9px 14px; border: 1px solid var(--rule-strong); font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }
.tags li.is-hl { border-color: var(--cta); color: var(--cta); }

/* recenze hostů */
.quotes { max-width: 1040px; margin: 0 auto; text-align: center; }
.quote-list { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.quote.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease) .1s; }
.quote p { margin: 0; font-family: var(--font-head); font-size: clamp(26px, 1.875vw + 8px, 44px); font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.quote p::before { content: "„"; }
.quote p::after { content: "“"; }
.quote-by { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--fg-3); }
.quote-by b { font-weight: 500; color: var(--fg); }
.quote-by b::after { content: ""; display: inline-block; width: 24px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--rule-strong); }
.quote-pager { display: inline-flex; gap: 4px; margin-top: 44px; }
.quotes .btn-row { margin-top: 40px; }
.quote-pager button {
  position: relative; width: 72px; height: 34px; padding: 0;
  border: 0; border-top: 1px solid var(--rule-strong); background: none; cursor: pointer;
  font-family: var(--mono); font-size: 12px; color: var(--fg-3);
}
.quote-pager button::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--fg); }
.quote-pager button[aria-pressed="true"] { color: var(--fg); }
.quote-pager button[aria-pressed="true"]::before { width: 100%; transition: width var(--q-dur, 7s) linear; }
.quotes.is-paused .quote-pager button[aria-pressed="true"]::before, .quotes.is-hold .quote-pager button[aria-pressed="true"]::before { transition: none; }
main:focus { outline: none; } /* cíl fokusu po zavření cookie lišty, rámeček kolem celé stránky by mátl */

/* galerie: sloupce s fotkami a vloženými texty */
.gallery { columns: 3; column-gap: clamp(12px, 1.6vw, 24px); }
.gallery > * { break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 24px); }
.g-item { position: relative; display: block; overflow: hidden; background: var(--forest-100); cursor: zoom-in; }
.g-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.03); }
.g-note { padding: clamp(28px, 3vw, 44px) 0; }
.g-note p { margin: 0; font-family: var(--font-head); font-size: clamp(22px, 1.9vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.g-note p + p { margin-top: 12px; font-family: var(--font); font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--fg-2); }

/* prohlížeč fotek */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(243, 246, 240, .97); color: var(--fg); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: popIn .3s var(--ease); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); color: var(--fg-3); }
.lightbox__stage { position: relative; min-height: 0; }
/* fotka vždy celá ve volném poli, šipky pod ní nikdy neleží přes fotku */
.lightbox__stage img { position: absolute; top: 0; left: var(--gutter); width: calc(100% - 2 * var(--gutter)); height: 100%; object-fit: contain; }
.lightbox__nav { display: flex; justify-content: center; gap: 8px; padding: 14px 0 22px; }

/* formuláře: otázky pod sebou, jen podtržená pole */
.form { position: relative; max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); }
.form > * { grid-column: span 6; }
.form .span-2 { grid-column: span 2; }
.form .span-3 { grid-column: span 3; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; padding: 24px 0 0; text-align: left; }
.field label, .field .field-label { display: block; margin-bottom: 4px; color: var(--fg-2); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
/* volby (Oslava / Degustace, Pití / Jídlo …) normálním písmem, ne jako popisek pole */
.field label.segment { display: inline-flex; margin: 0; font-family: var(--font); font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
/* prázdné datum a čas šedě, ať nevypadají vyplněně */
.input {
  width: 100%; padding: 10px 0 14px;
  border: 0; border-bottom: 1px solid rgba(12, 22, 17, .5); border-radius: 0; /* 3,4 : 1 vůči pozadí */
  background: transparent; color: var(--fg);
  font-family: var(--font-head); font-size: clamp(21px, 1.8vw, 28px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.2;
  -webkit-appearance: none; appearance: none;
  transition: border-color .25s;
}
.input::placeholder { color: var(--fg-3); opacity: 1; }
.input:focus { outline: none; border-bottom-color: var(--cta); }
.input:focus-visible { box-shadow: inset 0 -1px 0 var(--cta); }
select.input { cursor: pointer; padding-right: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1611' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 2px center / 20px no-repeat; }
.textarea { display: block; resize: none; overflow: hidden; min-height: 2.4em; font-family: var(--font); font-size: clamp(18px, 1.3vw, 20px); letter-spacing: 0; line-height: 1.5; }
.field.is-invalid .input { border-bottom-color: #a3381d; }
.field.is-invalid label { color: #a3381d; }
.field-err { color: #a3381d; }
/* vlastní výběr data a času: tlačítko vypadá jako pole, pod ním vyskakovací panel */
.picker { position: relative; }
.picker__native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.picker__trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; }
.picker__trigger.is-empty .picker__value { color: var(--fg-3); }
.picker__icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--fg-2); }
.picker__trigger[aria-expanded="true"] { border-bottom-color: var(--cta); }
.picker__trigger[aria-expanded="true"] .picker__icon { color: var(--cta); }
.picker__pop {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0;
  width: min(max(100%, 320px), 380px); max-width: calc(100vw - 2 * var(--gutter));
  padding: 16px; background: var(--bg); border: 1px solid var(--rule-strong); border-radius: 2px;
  box-shadow: 0 22px 44px -20px rgba(12, 22, 17, .35);
}
.picker__pop[hidden] { display: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cal__title { margin: 0; font-family: var(--font-head); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.cal__title::first-letter { text-transform: uppercase; }
.cal__nav { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--rule-strong); border-radius: 2px; background: none; color: var(--fg); cursor: pointer; transition: border-color .2s, color .2s; }
.cal__nav:hover:not(:disabled) { border-color: var(--cta); color: var(--cta); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal__grid th { padding: 6px 0; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.cal__grid td { padding: 2px; text-align: center; }
.cal__day { width: 100%; height: 40px; border: 1px solid transparent; border-radius: 2px; background: none; color: var(--fg); font-family: var(--font); font-size: 16px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.cal__day:hover:not([aria-disabled]) { border-color: var(--cta); }
.cal__day[aria-current="date"] { border-color: var(--rule-strong); font-weight: 600; }
.cal__day[aria-pressed="true"] { background: var(--cta); border-color: var(--cta); color: #fff; }
.cal__day[aria-disabled="true"] { color: var(--fg-3); opacity: .5; cursor: default; }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.times__opt { height: 44px; border: 1px solid var(--rule-strong); border-radius: 2px; background: none; color: var(--fg); font-family: var(--font); font-size: 16px; font-variant-numeric: tabular-nums; letter-spacing: 0; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
.times__opt:hover { border-color: var(--cta); color: var(--cta); }
.times__opt[aria-pressed="true"] { background: var(--cta); border-color: var(--cta); color: #fff; }
.cal__day:focus-visible, .times__opt:focus-visible, .cal__nav:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.picker__trigger:focus-visible { outline: 2px solid var(--cta); outline-offset: 4px; }
.field.is-invalid .input:focus-visible { box-shadow: inset 0 -1px 0 #a3381d; }
/* lišta se zavíracím tlačítkem jen na mobilu */
.picker__bar { display: none; align-items: center; justify-content: space-between; margin: -4px 0 10px; color: var(--fg-2); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.picker__close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--rule-strong); border-radius: 2px; background: none; color: var(--fg); cursor: pointer; }
.picker__close:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
@media (max-width: 760px) { .picker__bar { display: flex; } }
@media (max-width: 420px) { .picker__pop { padding: 12px; } .cal__grid td { padding: 1px; } }
@media (hover: none) { .cal__day { height: 44px; } }
@media (forced-colors: active) { .cal__day[aria-pressed="true"], .times__opt[aria-pressed="true"] { border: 2px solid Highlight; } }
.field-opt { text-transform: none; letter-spacing: 0; }
.segments { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment span { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border: 1px solid var(--rule-strong); cursor: pointer; font-size: 16px; color: var(--fg-2); transition: border-color .2s, color .2s; }
.segment span::before { content: ""; width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; transition: background-color .2s; }
.segment:hover span { border-color: var(--fg); color: var(--fg); }
.segment input:checked + span { border-color: var(--cta); color: var(--cta); }
.segment input:checked + span::before { background: var(--cta); }
.segment input:focus-visible + span { outline: 2px solid var(--cta); outline-offset: 3px; }
.check { position: relative; display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; cursor: pointer; font-size: 17px; }
.check input { position: absolute; opacity: 0; }
.check-box { flex-shrink: 0; width: 24px; height: 24px; border: 1px solid rgba(12, 22, 17, .5); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.check-box svg { width: 15px; height: 15px; stroke: #fff; opacity: 0; }
.check input:checked + .check-box { background: var(--cta); border-color: var(--cta); }
.check input:checked + .check-box svg { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--cta); outline-offset: 3px; }
.form-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; text-align: center; }
.form-status { font-size: 15px; color: var(--fg-3); }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #a3381d; }
.form[data-busy] button[type="submit"] { cursor: progress; opacity: .6; }
.form-note { margin: 0; max-width: 520px; font-size: 14.5px; color: var(--fg-3); }
.form-privacy { margin: 0; max-width: 520px; font-size: 13.5px; line-height: 1.5; color: var(--fg-3); }
.form-privacy a { color: var(--fg-2); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.form-privacy a:hover { color: var(--cta); }
.form > :not(.form-success) { transition: opacity .5s var(--ease); }
.form.is-sent > :not(.form-success) { opacity: .08; pointer-events: none; }
.form-success { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.form.is-sent .form-success { opacity: 1; visibility: visible; transition: opacity .4s; }
.form-success:focus { outline: none; }
.success-title { margin: 0; font-family: var(--font-head); font-size: clamp(30px, 1.875vw + 8px, 44px); font-weight: 500; letter-spacing: -0.03em; }
.success-text { margin: 10px 0 0; max-width: 440px; color: var(--fg-2); }
.form-success .btn { margin-top: 24px; }

/* živá mapa přes celou šířku, údaje v kartě nad ní */
.map-live { position: relative; min-height: clamp(560px, 78svh, 780px); display: flex; align-items: center; overflow: hidden; background: #f1f1f1; }
/* .map-live na začátku: knihovna mapy si jinak kontejner přepne na position: relative */
.map-live .map-live__map { position: absolute; inset: 0; z-index: 0; background: #f1f1f1; }
.map-live__fallback { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .7; }
.map-live__map.is-live .map-live__fallback { display: none; }
.map-live__inner { position: relative; z-index: 1; pointer-events: none; padding-block: clamp(40px, 5vw, 72px); }
.map-card { pointer-events: auto; width: min(440px, 100%); padding: clamp(24px, 2.4vw, 36px); background: var(--bg); border-radius: 2px; box-shadow: 0 24px 60px -32px rgba(12, 22, 17, .45); }
.map-card__title { margin: 0; font-family: var(--font-head); font-size: clamp(30px, 1.25vw + 16px, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.map-card__sub { margin: 8px 0 0; color: var(--fg-3); }
.map-card__list { margin: 24px 0 0; }
.map-card__list > div { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.map-card__list dt { color: var(--fg-3); padding-top: 3px; }
.map-card__list dd { margin: 0; font-size: 16px; line-height: 1.5; }
.map-card__list a:hover { color: var(--cta); }
.map-card .open-line { display: flex; margin-top: 4px !important; font-size: 14px; }
.map-card .btn-row { margin-top: 24px; gap: 10px 12px; }
.map-card .btn { height: 48px; padding: 0 18px; }
.map-card .btn:has(.arrow):hover { padding: 0 22px 0 14px; }
/* podklad mapy v barvách webu */
.map-live .maplibregl-map { font-family: var(--font); }
.map-live__map.is-live { background: #f1f1f1; }
.map-live .maplibregl-canvas { filter: grayscale(1); }
.map-live .maplibregl-canvas:focus-visible { outline-offset: -3px; } /* rodič ořezává, rámeček musí být uvnitř */
.map-live .maplibregl-ctrl-group { border: 1px solid var(--rule-strong); border-radius: 2px; box-shadow: none; background: var(--bg); }
.map-live .maplibregl-ctrl-group button { width: 40px; height: 40px; }
.map-live .maplibregl-ctrl-attrib { font-size: 11px; color: var(--fg-3); }
.map-live .maplibregl-ctrl-bottom-right { margin: 0 var(--gutter) 16px 0; }
/* pin: logo g v zeleném kruhu se stopkou, kolem pulzuje kroužek, popisek vpravo */
.map-pin { position: relative; width: 64px; height: 74px; }
.map-marker { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cta); color: #fff; box-shadow: 0 10px 24px -8px rgba(12, 22, 17, .5); }
.map-marker svg { width: 44px; height: 22px; fill: currentColor; }
.map-marker::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--cta); animation: ripple 2.8s var(--ease) infinite; }
.map-marker::before { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 10px; margin-left: -1px; background: var(--cta); }
.map-marker__label { position: absolute; left: calc(100% + 12px); top: 32px; transform: translateY(-50%); padding: 6px 10px; background: var(--bg); color: var(--fg); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; border-radius: 2px; box-shadow: 0 6px 18px -10px rgba(12, 22, 17, .4); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responzivita ---------- */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
  .footer-brand .btn { margin: 0 0 0 auto; }
}
@media (max-width: 900px) {
  .hero-bar { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .hero-news { --news-pad: 0px; grid-column: 1 / -1; }
  .about-grid, .about--reverse .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .about--reverse .about-text { order: 0; }
  .about--reverse .about-text { justify-self: start; }
  .about-media, .about--reverse .about-media { width: 100%; max-width: 560px; justify-self: center; }
  .float-layer--a { width: 74%; }
  .float-layer--b { width: 46%; }
  .dishes { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dish--2 { margin-top: 18%; }
  .dish--3 { margin-top: -18%; }
  .dish--4 { margin-top: 0; }
  .feature { padding-bottom: 40px; }
  .about { padding: 96px 0; }
  .ig { min-height: 0; }
  .ig-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 var(--gutter); margin-bottom: 48px; }
  .ig-photos .float-layer { position: static; width: auto; }
  .ig-photos .float { aspect-ratio: 1 !important; }
  .ig { display: block; }
  .grid-spec { grid-template-columns: 1fr; max-width: 560px; }
  .grid-spec--4 { grid-template-columns: 1fr 1fr; max-width: none; }
  .grid-spec--2 { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .pillars { height: auto; }
  .pillars-pin { position: static; height: auto; overflow: visible; display: block; padding: 96px var(--gutter) 40px; }
  .pillars-count, .pillars-nav { display: none; }
  .pillar { display: grid; gap: 22px; margin-top: 56px; }
  .pillar-photo, .pillar-text { grid-column: auto; grid-row: auto; }
  .pillar-photo, .pillar.is-active .pillar-photo { opacity: 1; clip-path: none; aspect-ratio: 4 / 3; max-height: none; transition: none; }
  .pillar-text, .pillar.is-active .pillar-text { opacity: 1; transform: none; pointer-events: auto; transition: none; }
  .pillar:not(.is-active) .specs > div::before { transform: scaleX(1); }
  .menu-foot { grid-template-columns: 1fr 1fr; }
  .menu-foot .btn-row { grid-column: 1 / -1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(160px, auto); }
  .bento .tile, .bento--akce .tile:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .bento .tile--main, .bento--salon .tile--photo { grid-column: 1 / -1; }
  .bento--salon .tile--photo { min-height: 380px; }
  .perks { grid-template-columns: 1fr; max-width: 560px; }
  .picks { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pick { flex-direction: row; }
  .pick-media { flex: 0 0 34%; aspect-ratio: auto; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; --header-pad: 8px; }
  body { font-size: 16px; }
  .hcell { padding: 0 14px; }
  .menu-label, .stamp, .cta-long, .hsep, .quick-link { display: none; }
  .cta-short { display: inline; }
  /* na telefonu je v hlavičce Catering; rezervace stolu je v úvodu i v menu */
  .header-side--end .hbtn--line { display: none; }
  .brand { width: 128px; height: 24px; }
  .hbtn { height: 36px; padding: 0 12px; font-size: 11px; }
  .hbtn-arrow { display: none; }
  .hbtn:hover > span { transform: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-bar p { font-size: 14.5px; }
  .today { margin-top: 24px; }
  .today__row { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 0; }
  .today__dish { grid-column: 1 / -1; grid-row: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand .btn { margin: 0; }
  .footer-legal__links { justify-content: flex-start; gap: 12px 24px; }
  .allergens ol { columns: 2; }
  .allergens p { text-align: left; }
  .grid-spec--4 { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .form .span-2, .form .span-3 { grid-column: span 6; }
  .bento .tile:nth-child(n) { grid-column: 1 / -1; }
  .map-live { display: block; min-height: 0; }
  .map-live .map-live__map { position: relative; height: 62svh; min-height: 380px; }
  .map-live__inner { padding-block: 0 8px; margin-top: -48px; }
  .map-card { width: 100%; }
  .map-card__list > div { grid-template-columns: 1fr; gap: 2px; }
  .tile-num { font-size: 60px; }
  .tile--main .tile-num { font-size: 96px; }
  /* terčíky jen s číslem, popisky jako legenda pod fotkou */
  .spots { --box-r: var(--img-r); }
  .spots--split { display: block; }
  .spots--split .spots-pins { position: absolute; }
  .spot-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .spot, .spot--left { transform: translate(-50%, -50%); }
  .spots-legend { display: block; padding: 20px var(--gutter) 0; }
  .spots--split .spots-legend { padding: 20px 0 0; }
  .menu-list a { grid-template-columns: 48px minmax(0, 1fr) 24px; }
  .menu-foot { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .consent { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 18px 16px 16px; }
  .consent__actions .btn { flex: 1 1 auto; }
}

/* ---------- Omezení pohybu ---------- */
/* terčíky na široké fotce: legenda pod fotkou už do 960 px, popisky by se jinak překrývaly */
@media (max-width: 960px) {
  .spots { --box-r: var(--img-r); }
  .spot-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .spot, .spot--left { transform: translate(-50%, -50%); }
  .spots-legend { display: block; padding: 20px var(--gutter) 0; }
}
/* úzký tablet: Catering je v menu, razítko by leželo přes aktualitu, poslední dlaždice přes celou šířku */
@media (min-width: 761px) and (max-width: 900px) {
  .header-catering, .stamp { display: none; }
  .bento--akce .tile:last-child { grid-column: 1 / -1; }
}
/* nízký notebook: menu i s kontakty dole se vejde bez scrollu */
@media (min-width: 761px) and (max-height: 820px) {
  .menu-list { padding-block: 12px; }
  .menu-list a { padding: clamp(8px, 1.6vh, 18px) 0; font-size: clamp(26px, 4.2vh, 40px); }
}
/* velké monitory: fotky v předpatičce dál od #jsemnagreenu */
@media (min-width: 1600px) {
  .ig-p--4 { width: 17vw; bottom: 0; }
}
@media (max-width: 760px) {
  .hero-content .h1 { font-size: clamp(34px, 10vw, 42px); }
  .hero-content { padding-top: calc(var(--header-h) + var(--header-pad) + 24px); }
  .section:not(.section--tight), .about, .feature { padding-block: 72px; }
  .section--tight { padding-bottom: 72px; }
  .page-head--contact .about-media { display: none; } /* na mobilu adresa a telefon hned pod úvodem */
}
@media (max-width: 520px) {
  .pick { flex-direction: column; }
  .pick-media { flex: none; aspect-ratio: 16 / 9; }
  .pick-body { padding: 18px 56px 20px 18px; }
}
@media (max-width: 380px) {
  .brand { width: 100px; height: 19px; }
  .hbtn { padding: 0 9px; letter-spacing: .03em; }
  .menu-btn { padding-right: 8px; }
}

/* přístupnost: okraj nezaškrtnuté volby salónku 3 : 1, bílý fokus nad úvodní fotkou a v průhledné hlavičce */
.pick-check { border-color: rgba(12, 22, 17, .5); }
.hero :focus-visible, html:not(.is-menu-open) .site-header:not(.is-solid) :focus-visible { outline-color: #fff; }
body:not(:has(.hero)) .site-header :focus-visible { outline-color: var(--cta); }
/* větší plocha pro klepnutí u drobných odkazů v patičce */
.footer-legal__links a, .footer-legal__links button, .text-link { padding-block: 10px; }
@media (max-width: 760px) {
  .menu-label { display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* název tlačítka pro čtečky */
  .ig-tag { font-size: min(44px, 9vw); }
}

/* dotyková zařízení: fotky se odkrývají průhledností a posunem (počítá grafika), ne ořezem, který se na telefonu seká */
@media (hover: none), (max-width: 760px) {
  .float { clip-path: none; opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
  .float-layer.is-in .float, .no-js .float { opacity: 1; transform: none; }
  .float img, .float-layer.is-in .float img { transform: none; transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 70vh; display: flex; align-items: center; }
.not-found .lead { margin-inline: auto; text-align: center; }
.not-found .btn-row { margin-top: 36px; }
.not-found__tip { margin: 36px 0 0; color: var(--fg-3); }
