/* U Bicana – styly webu
   Tmavý a klidný. Žlutá z loga jen na hlavní tlačítka. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  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: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --uhel: #100d0a;
  --drevo-2: #2a1d14;
  --linka: #2e231b;
  --krem: #f6ecdc;
  --pena: #a99b87;
  --zluta: #fee101;
  --cerna: #0a0806;
  /* jen pro tácek v sekci Na čepu */
  --cervena: #cd0000;

  --font: "Archivo", Arial, sans-serif;
  --wrap: 70rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7rem);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--krem); background: var(--uhel); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 3.4vw, 2.5rem); font-weight: 750; letter-spacing: -0.015em; margin-bottom: 0.6em; }
h3 { font-size: 1.125rem; font-weight: 700; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--linka); }
.lead { font-size: 1.1875rem; max-width: 34em; }
.muted { color: var(--pena); }

:focus-visible { outline: 2px solid var(--zluta); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--zluta); color: var(--cerna); padding: 0.6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font: inherit; font-size: 1rem; font-weight: 650;
  text-decoration: none; border-radius: 6px; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-yellow { background: var(--zluta); color: var(--cerna); }
.btn-yellow:hover { background: #fff04d; }
.btn-ghost { border-color: rgba(246, 236, 220, 0.35); color: var(--krem); background: transparent; }
.btn-ghost:hover { border-color: var(--krem); }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn-sm { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.text-link { font-weight: 600; text-underline-offset: 0.2em; text-decoration-color: rgba(246, 236, 220, 0.4); }
.text-link:hover { text-decoration-color: var(--krem); }

/* Lišta s oznámením */
.notice { background: var(--zluta); color: var(--cerna); font-weight: 600; text-align: center; padding: 0.55rem var(--gutter); font-size: 0.9375rem; }

/* Hlavička */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--uhel); border-bottom: 1px solid var(--linka); transition: background-color 0.25s, border-color 0.25s; }
.home .site-header { position: fixed; inset: 0 0 auto 0; background: transparent; border-bottom-color: transparent; }
.home .site-header.scrolled, .home .site-header:has(.nav.open) { background: var(--uhel); border-bottom-color: var(--linka); }
.header-in { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img { width: 6.5rem; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.nav ul a { text-decoration: none; font-weight: 500; font-size: 0.9375rem; color: rgba(246, 236, 220, 0.85); }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--krem); text-decoration: underline; text-underline-offset: 0.35em; }
.header-call { min-height: 2.5rem; padding: 0.4rem 1rem; font-size: 0.9375rem; white-space: nowrap; }
.header-phone { display: none; }
.nav-extra { display: none; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(246, 236, 220, 0.35); color: var(--krem); border-radius: 6px; padding: 0.45rem 0.9rem; font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
@media (max-width: 62rem) { .header-call { display: none; } }
@media (max-width: 52rem) {
  .header-in { gap: 0.5rem; }
  .header-phone { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 2.75rem; height: 2.75rem; border-radius: 6px; background: var(--zluta); color: var(--cerna); }
  .header-phone svg { width: 1.2rem; height: 1.2rem; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 2.75rem; margin-left: 0; }
  .nav { position: fixed; inset: 0; z-index: -1; display: none; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; background: var(--uhel); padding: calc(var(--hdr, var(--header-h)) + 0.5rem) var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 0.85rem 0; font-size: 1.375rem; font-weight: 650; color: var(--krem); border-bottom: 1px solid var(--linka); }
  .nav ul a[aria-current="page"] { text-decoration: none; color: var(--zluta); }
  .nav-extra { display: grid; gap: 1rem; margin-top: auto; padding-top: 2rem; }
  .nav-extra .status { margin: 0; }
  .nav-extra .btn { width: 100%; min-height: 3.25rem; font-size: 1.0625rem; }
  .nav-extra .btn svg { width: 1.1em; height: 1.1em; }
  .nav-small { margin: 0; font-size: 0.9375rem; color: var(--pena); }
  .nav-small a { display: inline-block; padding-block: 0.6rem; color: var(--krem); font-size: inherit; font-weight: 600; border: 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .mobile-bar, body.nav-open .to-top { visibility: hidden; }
  .logo img { width: 5.75rem; }
}

/* Hero přes celý viewport */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; text-align: center; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16, 13, 10, 0.72); }
.hero-main { align-self: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem; display: grid; justify-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 1.25rem; max-width: 14ch; }
.hero .lead { margin: 0 auto 2rem; max-width: 30em; color: rgba(246, 236, 220, 0.85); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.9375rem; color: rgba(246, 236, 220, 0.8); }
.status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--pena); }
.status[data-open="true"]::before { background: #4cd17a; }

.hero-beers { border-top: 1px solid rgba(246, 236, 220, 0.14); padding: 1.25rem var(--gutter) 1.5rem; }
.hero-beers-in { width: min(100%, var(--wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 0.75rem 2.5rem; flex-wrap: wrap; }
.hero-beers p { margin: 0; font-size: 0.875rem; color: var(--pena); }
.beer-strip { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.75rem clamp(1.5rem, 4vw, 3rem); }
.beer-strip li { transition: opacity 0.3s ease; }
.beer-strip img { height: calc(var(--s, 1) * clamp(2.25rem, 3.6vw, 3rem)); width: auto; opacity: 0.75; transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.beer-strip:hover li:not(:hover) { opacity: 0.35; }
.beer-strip li:hover img { opacity: 1; transform: translateY(-5px) scale(1.1); }
@media (prefers-reduced-motion: reduce) { .beer-strip li:hover img { transform: none; } }
.beer-word { font-size: 1.0625rem; font-weight: 650; color: rgba(246, 236, 220, 0.8); white-space: nowrap; }
@media (max-width: 40rem) { .hero-beers p { width: 100%; } .beer-strip { display: grid; grid-template-columns: repeat(2, auto); gap: 1rem 2.75rem; } .beer-strip li { display: flex; justify-content: center; } }

/* Dvousloupcové sekce */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2.5rem clamp(2.5rem, 7vw, 6rem); align-items: start; }
@media (max-width: 52rem) { .split { grid-template-columns: minmax(0, 1fr); } }
.split > div:first-child p:not(.validity) { color: var(--pena); }

/* Položky s tečkovou linkou */
.items { list-style: none; margin: 0; padding: 0; }
.item { padding-block: 0.75rem; }
.item + .item { border-top: 1px solid var(--linka); }
.item-line { display: flex; align-items: baseline; gap: 0.6rem; }
.item-name { font-weight: 600; }
.item-dots { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted rgba(169, 155, 135, 0.45); transform: translateY(-0.3em); }
.item-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-desc { font-size: 0.9375rem; color: var(--pena); margin-top: 0.1rem; max-width: 40em; }
.item-meta { font-size: 0.8125rem; color: var(--pena); margin-top: 0.1rem; }
.item.soup .item-name { font-weight: 400; }

/* Denní menu */
.daily-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); grid-template-areas: "intro sheet" "delivery sheet"; grid-template-rows: auto 1fr; column-gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.daily-intro { grid-area: intro; }
.daily-intro p:not(.validity) { color: var(--pena); }
.daily-grid > .sheet { grid-area: sheet; }
.daily-grid > .delivery { grid-area: delivery; }
@media (max-width: 52rem) {
  .daily-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "sheet" "delivery"; grid-template-rows: none; }
  .daily-intro { margin-bottom: 1.5rem; }
  .daily-intro p { margin-bottom: 0; }
  .daily-grid > .delivery { margin-top: 2.5rem; }
  .day-panel { touch-action: pan-y; }
}
.validity { font-weight: 600; margin-bottom: 1rem; }
.delivery { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--linka); }
.delivery h3 { margin-bottom: 0.35rem; }
.delivery p { color: var(--pena); }
.phone-big { display: inline-block; margin-top: 0.75rem; font-size: 1.5rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.phone-big:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.sheet { padding: 0; }
.days { display: flex; gap: 0.25rem; margin: 0 0 1.5rem; overflow-x: auto; border-bottom: 1px solid var(--linka); }
.days button { flex: 1 0 auto; min-width: 3.5rem; font: inherit; cursor: pointer; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--pena); padding: 0.5rem 0.5rem 0.65rem; text-align: center; line-height: 1.2; }
.days button:hover { color: var(--krem); }
.days button strong { display: block; font-size: 1rem; font-weight: 650; }
.days button small { font-size: 0.8125rem; }
.days button[aria-selected="true"] { color: var(--krem); border-bottom-color: var(--zluta); }
.day-panel h3 { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.6rem; }
.tag-today { font-size: 0.8125rem; font-weight: 600; color: var(--cerna); background: var(--zluta); padding: 0.05rem 0.45rem; border-radius: 3px; }
.daily-note, .sample-note { font-size: 0.9375rem; color: var(--pena); margin-top: 1.25rem; }

/* Na čepu – pivní tácky (beze změny) */
.beer-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.beer-intro p { max-width: 28em; color: var(--pena); margin: 0; }
.coasters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
@media (max-width: 56rem) { .coasters { grid-template-columns: repeat(2, 1fr); } }
.coaster {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; padding: 12%;
  background: var(--krem); color: var(--drevo-2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 14px 24px -12px rgba(0,0,0,0.7);
  outline: 2px solid var(--zluta); outline-offset: -10px;
  rotate: var(--r, 0deg);
}
.coaster:nth-child(1) { --r: -4deg; }
.coaster:nth-child(2) { --r: 3deg; background: var(--zluta); color: var(--cerna); outline-color: var(--cerna); }
.coaster:nth-child(3) { --r: -1.5deg; }
.coaster:nth-child(4) { --r: 5deg; background: var(--cervena); color: var(--krem); outline-color: var(--krem); }
.coaster-deg { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; font-stretch: 125%; line-height: 0.9; letter-spacing: -0.03em; }
.coaster-name { font-size: clamp(1rem, 1.9vw, 1.25rem); font-weight: 800; font-stretch: 105%; line-height: 1.1; margin-top: 0.35rem; }
.coaster-price { font-size: clamp(0.8125rem, 1.4vw, 0.9375rem); margin-top: 0.5rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.beer-foot { margin-top: clamp(2rem, 4vw, 3rem); color: var(--pena); font-size: 1rem; }

#na-cepu { --pena: #b9aa95; }
#na-cepu h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; font-stretch: 115%; line-height: 1; letter-spacing: -0.01em; margin-bottom: 0.4em; }

/* Stálý lístek */
.cat-links { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cat-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--linka); border-radius: 999px; font-size: 0.9375rem; font-weight: 550; color: var(--krem); text-decoration: none; white-space: nowrap; transition: border-color 0.15s, background-color 0.15s; }
.cat-links a:hover { border-color: rgba(246, 236, 220, 0.5); }
@media (max-width: 52rem) {
  .cat-links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .cat-links::-webkit-scrollbar { display: none; }
}

/* O nás */
.history { margin: 0; display: grid; }
.history div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--linka); }
.history div:last-child { border-bottom: 1px solid var(--linka); }
.history dt { font-weight: 700; }
.history dd { margin: 0; color: var(--pena); }
@media (max-width: 52rem) {
  .history { grid-auto-flow: column; grid-auto-columns: 78%; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .history::-webkit-scrollbar { display: none; }
  .history div, .history div:last-child { display: block; scroll-snap-align: start; padding: 1.25rem; border: 1px solid var(--linka); border-radius: 8px; background: rgba(246, 236, 220, 0.03); }
  .history dt { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.4rem; color: var(--zluta); }
}

/* Sport a zábava */
.fun-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.fun-list li { padding-block: 1rem; border-top: 1px solid var(--linka); }
.fun-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; align-items: start; }
.fun-list svg { grid-row: span 2; width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; color: var(--zluta); }
.fun-list strong { display: block; font-weight: 650; }
.fun-list span { color: var(--pena); font-size: 0.9375rem; }
@media (max-width: 52rem) {
  .fun-list { gap: 0.75rem; }
  .fun-list li { display: block; padding: 1rem; border: 1px solid var(--linka); border-radius: 8px; background: rgba(246, 236, 220, 0.03); }
  .fun-list li.fun-wide { grid-column: 1 / -1; }
  .fun-list svg { display: block; margin: 0 0 0.6rem; width: 1.6rem; height: 1.6rem; }
  .fun-list span { display: block; font-size: 0.875rem; line-height: 1.4; margin-top: 0.15rem; }
}

/* Galerie */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; }
.gallery li { grid-column: span 2; }
.gallery li:nth-child(1), .gallery li:nth-child(2) { grid-column: span 3; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity 0.2s; }
.gallery button:hover img { opacity: 0.85; }
@media (max-width: 52rem) {
  .gallery { display: flex; gap: 0.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery li { flex: 0 0 84%; scroll-snap-align: start; }
  .gallery button { border-radius: 8px; }
  .gallery-count { display: block; margin-top: 0.75rem; font-size: 0.875rem; color: var(--pena); }
}
.gallery-count { display: none; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 80rem); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 8, 6, 0.94); }
.lightbox img { max-height: 84vh; width: auto; margin-inline: auto; border-radius: 4px; }
.lightbox figcaption { color: var(--krem); text-align: center; margin-top: 0.75rem; font-size: 0.9375rem; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; }

/* Obsah třetích stran až po kliknutí */
.consent-box { display: grid; gap: 0.75rem; justify-items: start; }
.consent-box p { margin: 0; max-width: 34em; color: var(--pena); font-size: 0.9375rem; }
.fb-frame { width: 100%; max-width: 500px; height: 640px; border: 0; border-radius: 4px; }
.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 4px; }
.map-static { max-width: 40rem; }
.map-preview { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--linka); border-radius: 8px; overflow: hidden; background: var(--drevo-2); cursor: pointer; }
.map-preview img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.map-cta { position: absolute; left: 50%; bottom: 1rem; translate: -50% 0; white-space: nowrap; background: var(--uhel); color: var(--krem); border: 1px solid rgba(246, 236, 220, 0.35); border-radius: 6px; padding: 0.6rem 1rem; font-size: 0.9375rem; font-weight: 650; }
.map-preview:hover .map-cta { border-color: var(--krem); }
.map-note { font-size: 0.8125rem !important; }
.map-note a { color: var(--krem); }

/* Kontakt */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4rem); }
@media (max-width: 62rem) { .contact { grid-template-columns: 1fr 1fr; } .contact .wide { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .contact { grid-template-columns: 1fr; } }
.contact h3 { margin-bottom: 0.75rem; font-size: 0.9375rem; font-weight: 600; color: var(--pena); }
.contact address { font-style: normal; margin-bottom: 0.75rem; }
.contact-phone { font-size: 1.25rem; font-weight: 700; text-decoration: none; display: inline-block; margin-bottom: 1rem; }
.contact-phone:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0; border-bottom: 1px solid var(--linka); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.facts { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.25rem; font-size: 0.9375rem; color: var(--pena); }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 52rem) {
  .contact-phone { padding-block: 0.4rem; }
  .footer-legal a { display: inline-block; padding-block: 0.7rem; }
  .footer-legal { gap: 0 2rem; }
  .site-footer .footer-grid a { display: inline-block; padding-block: 0.35rem; }
}
.news { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--linka); }

/* Patička */
.site-footer { padding-block: 3rem 2.5rem; font-size: 0.9375rem; color: var(--pena); border-top: 1px solid var(--linka); }
.footer-grid { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 2rem 3rem; align-items: start; }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { width: 6.5rem; }
.site-footer strong { color: var(--krem); display: block; margin-bottom: 0.35rem; font-weight: 600; }
.site-footer a { color: var(--krem); }
.footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--linka); font-size: 0.8125rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }

/* Mobilní lišta */
.mobile-bar { display: none; }
@media (max-width: 52rem) {
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; position: fixed; inset: auto 0 0 0; z-index: 60; padding: 0.55rem var(--gutter) calc(0.55rem + env(safe-area-inset-bottom)); background: rgba(16, 13, 10, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--linka); transform: translateY(110%); transition: transform 0.25s; }
  .bar-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; min-height: 3.25rem; border-radius: 8px; border: 1px solid var(--linka); color: var(--krem); text-decoration: none; font-size: 0.8125rem; font-weight: 650; line-height: 1.1; }
  .bar-btn svg { width: 1.25rem; height: 1.25rem; }
  .bar-btn:active { background: rgba(246, 236, 220, 0.06); }
  .bar-call { background: var(--zluta); border-color: var(--zluta); color: var(--cerna); }
  .bar-call:active { background: #fff04d; }
  .mobile-bar.show, body:not(.home) .mobile-bar { transform: none; }
  .site-footer, .home .site-footer { padding-bottom: 6rem; }
}

/* Stránka jídelního lístku */
.page-head { padding-block: clamp(3rem, 7vw, 4.5rem) 2rem; }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.page-head .lead { color: var(--pena); }
.crumbs { font-size: 0.875rem; color: var(--pena); margin-bottom: 1.25rem; }
.crumbs a { color: var(--krem); }
.cat-nav { position: sticky; top: var(--header-h); z-index: 40; background: var(--uhel); border-block: 1px solid var(--linka); }
.cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.cat-nav a { display: block; white-space: nowrap; text-decoration: none; padding: 0.8rem 0.75rem; font-size: 0.9375rem; color: var(--pena); border-bottom: 2px solid transparent; }
.cat-nav a:hover, .cat-nav a.active { color: var(--krem); border-bottom-color: var(--zluta); }
@media (max-width: 52rem) {
  .cat-nav ul { gap: 0.4rem; padding-block: 0.55rem; padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); }
  .cat-nav ul::-webkit-scrollbar { display: none; }
  .cat-nav a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 0.95rem; border: 1px solid var(--linka); border-radius: 999px; color: var(--krem); }
  .cat-nav a:hover { border-bottom-color: var(--linka); }
  .cat-nav a.active { background: var(--krem); border-color: var(--krem); color: var(--cerna); }
}
.menu-search { margin-top: 1.5rem; max-width: 30rem; }
.menu-search input { width: 100%; min-height: 3rem; padding: 0.6rem 1rem 0.6rem 2.75rem; font: inherit; font-size: 1rem; color: var(--krem); background: rgba(246, 236, 220, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a99b87' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 0.9rem 50% / 1.15rem; border: 1px solid var(--linka); border-radius: 8px; }
.menu-search input::placeholder { color: var(--pena); }
.menu-search input:focus { outline: none; border-color: var(--zluta); }
.search-empty { margin-top: 2.5rem; color: var(--pena); }
.searching .drinks-title, .searching .allergens { display: none; }
.menu-page { padding-bottom: var(--section); }
.menu-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(2rem, 6vw, 5rem); }
@media (max-width: 52rem) { .menu-body { grid-template-columns: 1fr; } }
.menu-cat { padding-top: 2.5rem; scroll-margin-top: 3.25rem; }
.menu-cat h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.menu-cat > p { color: var(--pena); font-size: 0.9375rem; margin: 0 0 0.5rem; }
.drinks-title { grid-column: 1 / -1; margin: 4rem 0 0; padding-top: 3rem; border-top: 1px solid var(--linka); }
.allergens { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--linka); font-size: 0.9375rem; }
.allergens ol { columns: 2 16rem; padding-left: 1.4rem; margin: 1rem 0 0; color: var(--pena); }
.allergens h2 { font-size: 1.25rem; }

/* Textové stránky */
.text-page { max-width: 42rem; }
.text-page h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.text-page h2 { font-size: 1.25rem; margin-top: 2rem; }
.text-page ul { padding-left: 1.2rem; }
.text-page .lead { color: var(--pena); }

/* Denní menu – náhled na úvodu a vlastní stránka */
.item-more { font-size: 0.9375rem; }
.daily-cta { margin-top: 1.5rem; }
.page-head .validity { margin-bottom: 0.75rem; }
.page-head .sample-note { margin-top: 1rem; }
.menu-day h2 { display: flex; align-items: center; gap: 0.6rem; }
.day-nav a.today { color: var(--krem); }
.delivery-band { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--linka); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 3rem; }
.delivery-band h2 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.delivery-band p { color: var(--pena); margin: 0; }
.delivery-band .phone-big { margin-top: 0; font-size: 1.75rem; }
.page-foot { margin-top: 2.5rem; color: var(--pena); font-size: 0.9375rem; }

/* Kostka: sekce přes celou obrazovku, otáčení mezi nimi (jen počítač, zapíná js/main.js) */
.cube-mode { overflow: hidden; height: 100vh; }
.cube-mode main { position: fixed; inset: 0; overflow: hidden; background: #050403; }
.cube-mode main > section {
  position: absolute; inset: 0; margin: 0; overflow-y: auto; overscroll-behavior: contain;
  background: var(--uhel); border: 0; visibility: hidden; outline: none;
  backface-visibility: hidden; transform-origin: 50% 50%; will-change: transform;
  scrollbar-width: thin; scrollbar-color: var(--linka) transparent;
}
.cube-mode main > section.is-active, .cube-mode main > section.is-moving { visibility: visible; }
.cube-mode main > section.section { display: flex; flex-direction: column; padding-block: calc(var(--header-h) + 2.5rem) 2.5rem; }
.cube-mode main > section.section > .wrap { margin-block: auto; }
.cube-mode .hero { min-height: 100%; }
/* Na úvodu kontakt rovnou končí stránku: z patičky zbývá jen řádek s provozovatelem */
.home .footer-grid { display: none; }
.home .site-footer { border-top: 0; padding-block: 0 2rem; background: transparent; }
.home .footer-legal { margin-top: 0; }
@media (max-width: 52rem) { .home .site-footer { padding-bottom: 6rem; } }
.cube-mode .site-footer { margin-top: 2.5rem; width: 100%; padding-bottom: 1.5rem; }
.cube-mode #kontakt { padding-bottom: 0; }
.home #kontakt .contact { margin-top: 1rem; }
.cube-mode .gallery img { aspect-ratio: 16 / 10; }
.cube-mode .mobile-bar { display: none; }

.cube-dots { position: fixed; right: clamp(0.75rem, 2vw, 1.5rem); top: 50%; translate: 0 -50%; z-index: 55; display: grid; gap: 0.25rem; }
.cube-dots button { position: relative; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: none; cursor: pointer; }
.cube-dots button::before { content: ""; position: absolute; inset: 50% auto auto 50%; width: 0.4rem; height: 0.4rem; translate: -50% -50%; border-radius: 50%; background: rgba(246, 236, 220, 0.35); transition: background-color 0.2s, scale 0.2s; }
.cube-dots button:hover::before { background: var(--krem); }
.cube-dots button[aria-current]::before { background: var(--zluta); scale: 1.5; }
.cube-dots button::after { content: attr(data-label); position: absolute; right: 2rem; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: 0.8125rem; color: var(--krem); background: var(--uhel); border: 1px solid var(--linka); padding: 0.2rem 0.55rem; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity 0.15s; }
.cube-dots button:hover::after, .cube-dots button:focus-visible::after { opacity: 1; }

/* Mobil: menší mezery mezi sekcemi */
@media (max-width: 52rem) {
  :root { --section: 3.25rem; }
  .page-head { padding-block: 2rem 1.5rem; }
  .beer-intro { margin-bottom: 2rem; }
}

/* Zpět nahoru */
.to-top { position: fixed; right: var(--gutter); bottom: 1.5rem; z-index: 58; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--linka); background: rgba(16, 13, 10, 0.92); color: var(--krem); cursor: pointer; opacity: 0; translate: 0 0.5rem; pointer-events: none; transition: opacity 0.2s, translate 0.2s; }
.to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top svg { width: 1.2rem; height: 1.2rem; }
@media (max-width: 52rem) { .to-top { bottom: calc(5.25rem + env(safe-area-inset-bottom)); } }
.cube-mode .to-top { display: none; }

/* Jemné objevení obsahu při scrollu (zapíná js/main.js, ne při omezení animací) */
.reveal { opacity: 0; translate: 0 1rem; transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; translate: 0 0; }

@media print {
  .site-header, .mobile-bar, .cat-nav, .site-footer, .notice { display: none !important; }
  body { background: #fff; color: #000; }
}
