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

:root {
  --teal:      #096a5f;
  --teal-deep: #064e46;
  --teal-ink:  #053f39;
  --mint:      #bfe6d8;
  --terra:     #bb5532;
  --terra-ink: #a84d28;
  --cream:     #f6efe4;
  --cream-2:   #ece2d2;
  --ink:       #1c1a17;
  --muted:     #5b554d;
  --display:   'Anton', 'Impact', sans-serif;
  --gutter:    clamp(16px, 4.5vw, 64px);
  --ease-out:  cubic-bezier(.2, .9, .3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { font-family: 'Archivo', system-ui, sans-serif; font-size: 16px; line-height: 1.55; background: var(--teal); color: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.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; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 999; background: #fff; color: var(--teal-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.on-light :focus-visible { outline-color: var(--teal); }
[tabindex="-1"]:focus { outline: none; }

/* ── TAH ŠTĚTCEM (vektory z Figmy), vrstva pod textem celého nadpisu ── */
h1, .h2 { position: relative; isolation: isolate; }
.paint { position: relative; display: inline-block; color: #fff; padding: 0 .14em; }
.paint::before, .paint::after { content: ''; position: absolute; z-index: -1; pointer-events: none; }
/* ::before = tah štětce se suchou texturou, ::after = jeho slité jádro (stejný tvar, bez mezer),
   obě vrstvy leží přesně na sobě a hýbou se spolu — žádný obdélník nevykukuje */
.paint::before, .paint::after {
  inset: -.24em -.26em -.16em -.22em;
  background: var(--paint, var(--terra));
  transform: translate(calc(var(--mx, 0) * 6px), calc(var(--my, 0) * 4px)) rotate(calc(var(--tilt, -2deg) + var(--mx, 0) * .6deg));
}
.paint::before {
  -webkit-mask: var(--brush, url(brush/brush-1.svg)) center / 100% 100% no-repeat;
          mask: var(--brush, url(brush/brush-1.svg)) center / 100% 100% no-repeat;
}
.paint::after {
  opacity: .84;
  -webkit-mask: var(--core, url(brush/brush-1-fill.svg)) center / 100% 100% no-repeat;
          mask: var(--core, url(brush/brush-1-fill.svg)) center / 100% 100% no-repeat;
}
.paint.b2 { --brush: url(brush/brush-2.svg); --core: url(brush/brush-2-fill.svg); --tilt: 1.5deg; }
.paint.b3 { --brush: url(brush/brush-3.svg); --core: url(brush/brush-3-fill.svg); --tilt: -1deg; }
.paint.teal { --paint: var(--teal); }
.js .paint::before, .js .paint::after { clip-path: inset(0 100% 0 0); }
.js .paint.in::before, .js .paint.in::after { animation: paint .6s var(--ease-out) forwards; animation-delay: var(--paint-delay, 0s); }
@keyframes paint { to { clip-path: inset(0 0 0 0); } }

/* ── HORNÍ LIŠTA ── */
.topbar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--gutter); }
.topbar-logo img { width: 56px; height: 56px; }
.topnav { display: flex; gap: 6px; }
.topnav a { padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); transition: background .15s; }
.topnav a:hover { background: rgba(0,0,0,.25); }

/* ── ÚVOD ── */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 96px);
  padding: 110px var(--gutter) clamp(56px, 9vh, 110px);
}
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(56px, min(8.6vw, 14.5vh), 156px); line-height: .95; letter-spacing: .005em; }
h1 .line { display: block; }
.js h1 .line { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s var(--ease-out); }
.js h1.in .line { opacity: 1; transform: none; }
.js h1.in .line:nth-child(2) { transition-delay: .1s; }
.js h1.in .line:nth-child(3) { transition-delay: .2s; }
h1 .paint { --paint-delay: .45s; }
.hero-sub { margin-top: 26px; max-width: 30em; font-size: clamp(16px, 1.3vw, 19px); color: var(--mint); }
.open-now { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.open-now:empty { display: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 0 4px rgba(110,231,168,.2); flex-shrink: 0; }
.dot.closed { background: #f3b391; box-shadow: 0 0 0 4px rgba(243,179,145,.2); }
.js .fade { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s var(--ease-out); transition-delay: var(--d, 0s); }
.js .fade.in { opacity: 1; transform: none; }

.hero-photo { display: block; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; left: 58%; overflow: hidden; background: #1d1917; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.06) translate(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -8px)); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,63,57,.5), rgba(5,63,57,0) 22%), linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0) 18%); }

/* Panel s akcemi přes rozhraní zelené a fotky */
.actions {
  position: relative; z-index: 2; justify-self: start;
  width: min(100%, 440px); margin-left: clamp(-110px, -7vw, -30px);
  display: grid; gap: 4px;
  padding: 10px; border-radius: 24px;
  background: var(--teal-ink);
  box-shadow: 0 34px 70px -30px rgba(0,0,0,.7);
}
.js .actions { opacity: 0; transform: translateY(16px); transition: opacity .7s ease .25s, transform .7s var(--ease-out) .25s; }
.js .actions.in { opacity: 1; transform: none; }
.action { padding: 16px 16px 18px; border-radius: 16px; }
.action + .action { border-top: 1px solid rgba(191,230,216,.18); border-radius: 0 0 16px 16px; }
.action-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.action h2 { font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; line-height: 1; letter-spacing: .01em; }
.action-more { font-size: 13px; font-weight: 600; color: var(--mint); text-underline-offset: 3px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--mint); border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.pill:hover { background: #fff; color: var(--teal-ink); border-color: #fff; }
.action-voucher {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px;
  margin-top: 6px; padding: 14px 12px 14px 18px; border-radius: 16px !important; border-top: 0 !important;
  background: #fff; color: var(--teal-ink); text-decoration: none;
  transition: background .15s;
}
.action-voucher:hover { background: var(--mint); }
.action-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-ink); }
.action-voucher strong { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.mini-ticket {
  padding: 6px 12px; background: var(--cream); border: 1.5px dashed rgba(5,63,57,.35); border-radius: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; text-align: center; transform: rotate(-4deg);
}
.mini-ticket b { display: block; font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--teal); }
.cta-arrow { width: 44px; height: 44px; border-radius: 999px; background: var(--terra); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: transform .2s var(--ease-out); }
.cta-arrow svg { width: 18px; height: 18px; }
a:hover > .cta-arrow { transform: translateX(3px); }

/* ── PÁS S NÁPISY ── */
.tapes { position: relative; z-index: 3; margin: -26px 0 -26px; }
.marquee { overflow: hidden; padding: 14px 0; margin: 0 -2vw; background: var(--terra); color: #fff; transform: rotate(-1.2deg); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: slide 44s linear infinite; font-size: clamp(24px, 2.8vw, 38px); }
.marquee-track span { font-family: var(--display); text-transform: uppercase; white-space: nowrap; line-height: 1; padding-top: .06em; }
.heart { flex: none; width: 1.2em; height: 1.2em; margin: 0 .5em; color: var(--cream); overflow: visible; }
.heart use { fill: none; stroke: currentColor; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ── SVĚTLÉ SEKCE ── */
.on-light { background: var(--cream); color: var(--ink); }
.section { padding: clamp(96px, 11vw, 150px) var(--gutter) clamp(72px, 9vw, 130px); }
.wrap { max-width: 1440px; margin: 0 auto; }
.h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 6.4vw, 104px); line-height: 1; color: var(--teal); }
.h2 .line { display: block; }
.h2 .paint { margin-top: .14em; }

/* Pobočky */
.branches { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); margin-top: clamp(44px, 5vw, 80px); }
.branch:nth-child(2) { margin-top: clamp(32px, 6vw, 96px); }
.branch-photo { position: relative; transform: translate(calc(var(--mx, 0) * var(--px, 0px)), calc(var(--my, 0) * var(--px, 0px))) rotate(var(--r, 0deg)); }
.branch:nth-child(1) .branch-photo { --r: -2deg; --px: 6px; }
.branch:nth-child(2) .branch-photo { --r: 1.5deg; --px: -8px; }
.branch:nth-child(3) .branch-photo { --r: -1.2deg; --px: 5px; }
.branch-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 22px 40px -24px rgba(0,0,0,.55); }
.branch-photo img.branch-logo { aspect-ratio: 1; object-fit: contain; }
.branch-logo { position: absolute; right: -14px; bottom: -22px; width: 76px; height: 76px; border-radius: 50%; box-shadow: 0 10px 22px -8px rgba(0,0,0,.45); transform: rotate(8deg); }
.branch h3 { margin-top: 30px; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3vw, 46px); text-transform: uppercase; line-height: 1; color: var(--teal); }
.branch-tag { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--cream-2); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--terra-ink); }
.branch-info { margin-top: 12px; display: grid; gap: 4px; color: var(--muted); font-style: normal; }
.branch-info a { color: var(--ink); text-underline-offset: 3px; }
.branch-open { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.branch-open .dot { background: #1f9d6b; box-shadow: 0 0 0 4px rgba(31,157,107,.15); }
.branch-open .dot.closed { background: var(--terra); box-shadow: 0 0 0 4px rgba(187,85,50,.15); }
.branch-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.btn-sm { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid var(--teal); color: var(--teal-ink); transition: background .15s, color .15s; }
.btn-sm:hover { background: var(--teal); color: #fff; }
.btn-sm.primary { background: var(--teal); color: #fff; }
.btn-sm.primary:hover { background: var(--teal-deep); }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── KAM VOZÍME ── */
.zones { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 86vh; }
.zones-side { padding: clamp(72px, 9vw, 130px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.zones .h2 { color: #fff; }
.zones-sub { margin-top: 18px; color: var(--mint); max-width: 28em; }
.check { display: flex; gap: 8px; margin-top: 28px; padding: 6px; background: #fff; border-radius: 999px; max-width: 480px; }
.check input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 16px; color: var(--ink); font-size: 16px; }
.check input::placeholder { color: #6f6a63; }
.check input:focus { outline: none; }
.check:focus-within { outline: 3px solid var(--mint); outline-offset: 2px; }
.check-btn { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--terra); color: #fff; font-weight: 700; cursor: pointer; }
.check-btn:hover { background: var(--terra-ink); }
.locate { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 12px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--mint); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.locate svg { width: 18px; height: 18px; }
.result { margin-top: 22px; max-width: 480px; }
.result:empty { display: none; }
.result-card { padding: 18px 20px; border-radius: 18px; background: var(--teal-ink); }
.result-card h3 { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1.05; }
.result-card p { margin-top: 6px; color: var(--mint); }
.result-list { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.result-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid rgba(191,230,216,.2); }
.result-list strong { font-size: 17px; }
.result-list span { display: block; font-size: 14px; color: var(--mint); }
.result-list .pill { min-height: 40px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; font-weight: 600; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 18px; height: 18px; border-radius: 5px; border: 2px solid; }
.sw-0 { background: rgba(110,231,168,.45); border-color: #6ee7a8; }
.sw-39 { background: rgba(243,179,145,.45); border-color: #f3b391; }
.sw-49 { background: rgba(187,85,50,.6); border-color: #e58660; }
.zones-note { margin-top: 12px; font-size: 13px; color: var(--mint); max-width: 30em; }
.map-wrap { position: relative; min-height: 420px; }
.map { position: absolute; inset: 0; background: #e8e2d6; }
.leaflet-container { font-family: 'Archivo', system-ui, sans-serif; }
.leaflet-tile-pane { filter: grayscale(.85) sepia(.22) contrast(.92) brightness(1.04); }
.map-pin { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 8px 18px -6px rgba(0,0,0,.5); border: 3px solid #fff; background: #fff; }
.map-pin img { width: 100%; height: 100%; border-radius: 50%; }
.you-pin { width: 22px; height: 22px; border-radius: 50%; background: var(--terra); border: 4px solid #fff; box-shadow: 0 0 0 6px rgba(187,85,50,.3); }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { margin: 12px 16px; font-size: 14px; line-height: 1.4; }
.leaflet-popup-content strong { font-family: var(--display); font-weight: 400; font-size: 20px; text-transform: uppercase; color: var(--teal); }

/* ── VOUCHER ── */
.voucher-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 100px); }
.voucher-sub { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 30em; }
.btn-dark { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; min-height: 60px; padding: 0 10px 0 26px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; transition: background .15s; }
.btn-dark:hover { background: var(--teal-deep); }
.ticket-wrap { display: block; width: min(100%, 460px); aspect-ratio: 1.75 / 1; justify-self: center; perspective: 900px; filter: drop-shadow(0 26px 30px rgba(0,0,0,.28)); }
.ticket {
  position: relative; height: 100%;
  border-radius: 20px; background: #fff; color: var(--teal-ink);
  --notch: radial-gradient(circle at 0 50%, transparent 15px, #000 15.5px) left / 51% 100% no-repeat,
           radial-gradient(circle at 100% 50%, transparent 15px, #000 15.5px) right / 51% 100% no-repeat;
  -webkit-mask: var(--notch); mask: var(--notch);
  display: grid; grid-template-rows: auto 1fr auto; padding: 7% 9%;
  transform: rotate(-3deg) rotateY(calc(var(--mx, 0) * 7deg)) rotateX(calc(var(--my, 0) * -6deg));
}
.ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ticket-top img { width: 42px; height: 42px; }
.ticket-tag { position: absolute; left: 47%; top: 9.5%; font-family: var(--display); font-size: clamp(15px, 1.5vw, 20px); text-transform: uppercase; transform: rotate(-4deg); isolation: isolate; }
.ticket-amount { align-self: center; font-family: var(--display); font-size: clamp(52px, 7vw, 92px); line-height: 1; color: var(--teal); white-space: nowrap; }
.ticket-amount small { font-size: .55em; margin-left: .12em; }
.ticket-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 2px dashed rgba(5,63,57,.3); font-size: 13px; font-weight: 600; }

/* ── PATIČKA ── */
.footer { background: var(--teal-ink); color: var(--mint); padding: clamp(56px, 7vw, 96px) var(--gutter) 28px; }
.footer-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer h3 { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; color: #fff; line-height: 1; }
.footer address { font-style: normal; margin-top: 10px; display: grid; gap: 2px; }
.footer a { color: #fff; text-underline-offset: 3px; }
.footer-social { display: flex; gap: 16px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.footer-bottom { max-width: 1440px; margin: 48px auto 0; padding-top: 20px; border-top: 1px solid rgba(191,230,216,.2); font-size: 13px; }

/* ── RESPONZIVITA ── */
@media (min-width: 961px) and (max-width: 1240px) {
  .actions { margin-left: -20px; }
  .hero-sub { max-width: 24em; }
}
@media (max-width: 960px) {
  .topnav a:not(:last-child) { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 96px; padding-bottom: 72px; }
  .hero-photo { position: relative; left: auto; margin: 32px calc(-1 * var(--gutter)) 0; height: 280px; }
  .hero-photo::after { background: linear-gradient(rgba(9,106,95,.35), rgba(9,106,95,0) 30%, rgba(9,106,95,0) 70%, rgba(9,106,95,.8)); }
  .actions { margin: -90px auto 0; width: min(100%, 520px); justify-self: center; }
  .branches { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .branch:nth-child(2) { margin-top: 0; }
  .zones { grid-template-columns: minmax(0, 1fr); }
  .map-wrap { min-height: 70vh; }
  .voucher-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .topbar { padding-top: 14px; }
  .topbar-logo img { width: 48px; height: 48px; }
  h1 { font-size: clamp(50px, 16vw, 84px); }
  .hero-photo { height: 180px; }
  .actions { margin-top: -70px; }
  .action h2 { font-size: 24px; }
  .action-voucher { grid-template-columns: 1fr auto; }
  .mini-ticket { display: none; }
  .check { border-radius: 18px; flex-wrap: wrap; }
  .check input { min-height: 48px; }
  .check-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js h1 .line, .js .fade, .js .reveal, .js .actions { opacity: 1 !important; transform: none !important; }
  .js .paint::before, .js .paint::after { clip-path: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track .dup { display: none; }
}


/* ════════ SPOJENÁ VARIANTA: vlevo zelený úvod, vpravo plakátová zeď ════════ */
:root { --paper: #ece4d4; --white: #fbf7ef; --peach: #f0b08f; --mono: 'Space Mono', ui-monospace, Menlo, monospace; }

/* tah štětcem: nahoře skutečná textura štětce (suché pruhy, roztřepené konce),
   pod ní stejný tvar o odstín světlejší, aby mezery nebyly průhledné a bílé písmo zůstalo čitelné */
.paint { --paint-lo: #c96d4c; }
.paint.teal { --paint-lo: #2b8174; }
.paint::before {
  background: var(--paint-lo);
  -webkit-mask: var(--core, url(brush/brush-1-fill.svg)) center / 100% 100% no-repeat;
          mask: var(--core, url(brush/brush-1-fill.svg)) center / 100% 100% no-repeat;
}
.paint::after {
  opacity: 1; background: var(--paint, var(--terra));
  -webkit-mask: var(--brush, url(brush/brush-1.svg)) center / 100% 100% no-repeat;
          mask: var(--brush, url(brush/brush-1.svg)) center / 100% 100% no-repeat;
}

/* zeď s plakáty */
@media (min-width: 1241px) { .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.wall { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.wall:focus { outline: none; }
.poster { position: relative; display: block; color: var(--ink); text-decoration: none; rotate: var(--r, 0deg);
  translate: calc(var(--mx, 0) * var(--px, 5px)) calc(var(--my, 0) * var(--py, 4px));
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.12)) drop-shadow(0 18px 18px rgba(0,0,0,.32)); }
.p-rozvoz { grid-row: 1 / 3; --r: -1.3deg; --px: 7px; --py: 5px; --bg: var(--terra); color: #fff; }
.p-stul { --r: 1.8deg; --px: -5px; --py: 4px; --bg: var(--cream); color: var(--teal-ink); margin-top: 30px; }
.p-voucher { --r: -2.4deg; --px: 4px; --py: -5px; --bg: var(--white); }
.sheet { position: relative; background: var(--bg); }
.sheet::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(103deg, transparent 31%, rgba(255,255,255,.16) 33.5%, rgba(0,0,0,.06) 35%, transparent 38%),
              linear-gradient(172deg, transparent 58%, rgba(0,0,0,.05) 61%, rgba(255,255,255,.12) 62.5%, transparent 66%); }
.p-rozvoz .sheet { padding-top: 14px; }
.poster h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 3.8vw, 64px); line-height: .92; }
.poster-body { padding: 18px 22px 18px; }
.poster-body p { margin-top: 10px; max-width: 32ch; font-size: 16px; line-height: 1.45; }
.scribble-link { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 14px; font-weight: 700; text-decoration: underline wavy; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.p-rozvoz :focus-visible { outline-color: #fff; }
.p-stul :focus-visible, .p-voucher :focus-visible { outline-color: var(--ink); }

/* lepicí páska */
.tape { position: absolute; z-index: 4; width: 104px; height: 30px; pointer-events: none; background: rgba(246,238,214,.85); box-shadow: 0 1px 2px rgba(0,0,0,.14);
  clip-path: polygon(3% 0, 97% 5%, 100% 22%, 96% 40%, 100% 60%, 97% 80%, 99% 100%, 2% 95%, 0 78%, 3% 58%, 0 38%, 4% 18%); }
.tape.tl { top: -13px; left: -24px; rotate: -32deg; }
.tape.tr { top: -12px; right: -26px; rotate: 28deg; }

/* risografická fotka, po najetí barevná */
.duo { position: relative; overflow: hidden; isolation: isolate; margin: 0 14px; aspect-ratio: 16 / 10; background: var(--terra); }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(1.08); mix-blend-mode: multiply; transition: filter .6s var(--ease-out); }
.duo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, rgba(23,21,15,.32) .9px, transparent 1.3px) 0 0 / 5px 5px; mix-blend-mode: multiply; transition: opacity .6s; }
@media (hover: hover) { .poster:hover .duo img { filter: none; mix-blend-mode: normal; } .poster:hover .duo::after { opacity: 0; } }

/* trhací lístky */
.tabs { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tabs li { position: relative; display: flex; min-width: 0; }
.tabs li::before, .tickets li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 88% 85%, 74% 45%, 60% 95%, 46% 50%, 31% 90%, 17% 40%, 0 75%); }
.tabs a { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; gap: 10px; min-height: var(--h, 150px); padding: 16px 0 18px;
  writing-mode: vertical-rl; color: inherit; text-decoration: none; background: var(--bg);
  border-top: 2px dashed currentColor; border-left: 2px dashed currentColor; transform-origin: 50% 0; transition: transform .3s var(--ease-out); }
.tabs li:first-child a { border-left: 0; }
.tabs li:nth-child(2) a { --h: 158px; } .tabs li:nth-child(3) a { --h: 146px; }
.p-stul .tabs a { --h: 124px; } .p-stul .tabs li:nth-child(2) a { --h: 132px; }
.tabs a span { font-family: var(--display); font-size: clamp(26px, 2.2vw, 32px); text-transform: uppercase; line-height: 1; }
.tabs a small { font-family: var(--mono); font-size: 16px; font-weight: 700; }
.tabs a:hover, .tabs a:focus-visible { transform: rotate(-5deg) translateY(6px); }
.tabs li:nth-child(even) a:hover, .tabs li:nth-child(even) a:focus-visible { transform: rotate(4deg) translateY(6px); }
.tabs a:focus-visible { outline-offset: -5px; }
.tabs li.gone { min-height: 1px; }

/* utržení */
.torn { pointer-events: none; animation: tear .8s cubic-bezier(.45, 0, .7, .2) forwards; clip-path: polygon(0 10px, 12% 2px, 26% 12px, 41% 3px, 55% 13px, 70% 4px, 84% 12px, 100% 5px, 100% 100%, 0 100%); }
@keyframes tear {
  0% { transform: none; }
  12% { transform: translateY(3px) rotate(calc(var(--dir, 1) * -3deg)); }
  26% { transform: translateY(7px) rotate(calc(var(--dir, 1) * 5deg)); opacity: 1; }
  100% { transform: translate(calc(var(--dir, 1) * 40px), 240px) rotate(calc(var(--dir, 1) * 28deg)); opacity: 0; }
}

/* vouchery jako lístky */
.v-head { padding: 20px 22px 18px; display: grid; gap: 4px; }
.v-kicker { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-ink); }
.stamp { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 74px; height: 74px; border: 3px solid var(--terra); border-radius: 50%; color: var(--terra); font-family: var(--display); font-size: 16px; line-height: 1; text-align: center; text-transform: uppercase; rotate: 14deg; opacity: .9; }
.tickets { list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.tickets li { position: relative; display: flex; }
.vticket { position: relative; z-index: 1; flex: 1; display: grid; gap: 6px; padding: 14px 16px 16px; color: var(--ink); text-decoration: none; border-top: 2px dashed var(--ink); transform-origin: 50% 0;
  -webkit-mask: radial-gradient(circle 9px at 0 58%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 58%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 58%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 58%, #0000 97%, #000) right / 51% 100% no-repeat;
  transition: transform .3s var(--ease-out); }
.t-500 { background: var(--peach); } .t-1000 { background: var(--mint); }
.vticket:hover, .vticket:focus-visible { transform: rotate(-4deg) translateY(6px); }
.tickets li:nth-child(2) .vticket:hover, .tickets li:nth-child(2) .vticket:focus-visible { transform: rotate(4deg) translateY(6px); }
.vticket:focus-visible { outline-offset: -6px; }
.t-top, .t-foot { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.t-amount { font-family: var(--display); font-size: clamp(38px, 3.4vw, 54px); line-height: 1; white-space: nowrap; }
.t-amount small { font-size: .42em; margin-left: .12em; }
.t-foot { padding-top: 7px; border-top: 1.5px dashed rgba(23,21,15,.45); white-space: nowrap; letter-spacing: .02em; font-size: 10px; }

/* objevení plakátů */
@media (prefers-reduced-motion: no-preference) {
  .js .wall .watch { opacity: 0; transform: translateY(18px) scale(.985); }
  .js .wall .watch.in { opacity: 1; transform: none; transition: opacity .6s ease var(--d, 0s), transform .7s var(--ease-out) var(--d, 0s); }
}

@media (max-width: 1240px) and (min-width: 961px) { .hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
@media (max-width: 960px) {
  .wall { margin-top: 40px; max-width: 760px; }
}
@media (max-width: 640px) {
  .wall { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .p-rozvoz { grid-row: auto; }
  .p-stul { margin-top: 0; }
  .duo { aspect-ratio: 5 / 2; margin: 0 10px; }
  .tabs a { --h: 128px; } .tabs li:nth-child(2) a { --h: 134px; } .tabs li:nth-child(3) a { --h: 124px; }
  .p-stul .tabs a, .p-stul .tabs li:nth-child(2) a { --h: 110px; }
  .stamp { width: 62px; height: 62px; font-size: 13px; }
}
@media (max-width: 400px) { .vticket { padding: 12px 12px 14px; } .t-top span:last-child { display: none; } }

/* úvod (zelené pozadí): dva skutečné tahy štětcem přes sebe v přirozeném poměru, bez výplně —
   v suchých místech prosvítá zelená jako u opravdové barvy, bílé písmo je čitelné i tak */
h1 .paint::before, h1 .paint::after { inset: -.2em -.34em -.14em -.28em; background: var(--terra); opacity: 1; }
h1 .paint::before {
  -webkit-mask: url(brush/brush-1.svg) left top / 100% 58% no-repeat;
          mask: url(brush/brush-1.svg) left top / 100% 58% no-repeat;
}
h1 .paint::after {
  -webkit-mask: url(brush/brush-3.svg) left .14em bottom / 96% 58% no-repeat;
          mask: url(brush/brush-3.svg) left .14em bottom / 96% 58% no-repeat;
  transform: translate(calc(var(--mx, 0) * 4px), calc(var(--my, 0) * 3px)) rotate(calc(1.2deg + var(--mx, 0) * .4deg));
}

/* ════════ ÚPRAVY 2 ════════ */
/* tahy v úvodu blíž k sobě (víc se překrývají) */
h1 .paint::before, h1 .paint::after { inset: -.16em -.34em -.1em -.28em; }
h1 .paint::before { -webkit-mask-size: 100% 66%; mask-size: 100% 66%; }
h1 .paint::after { -webkit-mask-size: 96% 66%; mask-size: 96% 66%; }

/* logo jako větší nálepka, trochu nakřivo */
.topbar-logo { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #fbf7ef;
  box-shadow: 0 2px 0 rgba(0,0,0,.12), 0 14px 22px -12px rgba(0,0,0,.6); rotate: -8deg; transition: rotate .25s var(--ease-out); }
.topbar-logo:hover { rotate: 6deg; }
.topbar-logo img { width: 76px; height: 76px; }
@media (min-width: 961px) { .hero { padding-top: 140px; } }
@media (max-width: 600px) { .topbar-logo { width: 70px; height: 70px; } .topbar-logo img { width: 58px; height: 58px; } }

/* rozvoz: bílý plakát s barevnou fotkou */
.p-rozvoz { --bg: var(--white); color: var(--ink); }
.p-rozvoz .duo { background: none; }
.p-rozvoz .duo img { filter: none; mix-blend-mode: normal; }
.p-rozvoz .duo::after { display: none; }
.p-rozvoz :focus-visible { outline-color: var(--ink); }

/* voucher: jen odkaz */
.v-text { margin-top: 6px; max-width: 26ch; font-size: 15px; line-height: 1.45; }
.v-cta { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 10px 16px;
  background: var(--ink); color: var(--white); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: background .15s; }
.v-cta:hover { background: var(--terra); }
.p-voucher .v-head { padding-bottom: 22px; }

/* rezervace: dnešní volné časy */
.slots { display: grid; gap: 10px; margin-top: 14px; }
.slots:empty { display: none; }
.slots-head { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.slot-dot { width: 9px; height: 9px; border-radius: 50%; background: #17895a; box-shadow: 0 0 0 3px rgba(23,137,90,.2); }
.slot-dot.full { background: var(--terra); box-shadow: 0 0 0 3px rgba(187,85,50,.2); }
.slot-row { display: grid; gap: 6px; }
.slot-branch { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.slot-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.slot { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border: 2px solid var(--teal-ink); color: var(--teal-ink);
  font-family: var(--mono); font-size: 13px; font-weight: 700; text-decoration: none; transition: background .15s, color .15s; }
.slot:hover { background: var(--teal-ink); color: var(--cream); }
.slot-list li:nth-child(odd) .slot { rotate: -1.5deg; } .slot-list li:nth-child(even) .slot { rotate: 1deg; }

/* ════════ ÚVOD: text | nalepený rozvoz | bílý panel ════════ */
h1 { font-size: clamp(54px, min(7.4vw, 13vh), 140px); }
.wall { grid-template-columns: minmax(0, 1fr); }
.p-rozvoz { grid-row: auto; }
@media (min-width: 1241px) {
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .72fr) minmax(0, .8fr); gap: clamp(28px, 3vw, 48px); align-items: center; }
  .wall { margin-left: clamp(-56px, -3vw, -24px); }
}
@media (min-width: 641px) and (max-width: 1240px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 32px; align-items: start; }
  .hero-copy { grid-column: 1 / -1; max-width: 760px; }
  .wall { margin: 0; max-width: none; }
}
@media (max-width: 640px) {
  .hero { gap: 36px; }
  .wall { margin-top: 32px; }
}

/* bílý panel na výšku: minimalistická protiváha k plakátu */
.panel { position: relative; z-index: 2; align-self: stretch; display: grid; grid-template-rows: 1fr auto; background: #fff; color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.panel-block { padding: clamp(22px, 2.2vw, 32px); }
.panel h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 2.4vw, 40px); line-height: 1; color: var(--teal-ink); }
.panel-text { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #4f4a43; }
.panel-kicker { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-ink); }
/* perforace mezi rezervací a voucherem — jediný „street“ detail panelu */
.panel-voucher { position: relative; border-top: 2px dashed rgba(5,63,57,.25); background: #faf6ef; }
.panel-voucher::before, .panel-voucher::after { content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); }
.panel-voucher::before { left: -10px; } .panel-voucher::after { right: -10px; }
.panel-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 16px; padding: 12px 20px; border-radius: 999px; background: var(--teal-ink); color: #fff;
  font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s; }
.panel-cta:hover { background: var(--terra); }
.panel :focus-visible { outline-color: var(--teal-ink); }

/* volné časy v panelu: čisté, rovné */
.panel .slots { margin-top: 20px; gap: 16px; }
.panel .slots-head { color: var(--teal-ink); font-family: inherit; font-size: 13px; letter-spacing: .04em; }
.panel .slot-row { gap: 8px; padding-top: 14px; border-top: 1px solid rgba(5,63,57,.12); }
.slot-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel .slot-branch { font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.slot-more { font-size: 13px; font-weight: 600; color: var(--teal); text-underline-offset: 3px; }
.panel .slot-list { gap: 8px; }
.panel .slot { rotate: none !important; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--teal); border-radius: 10px; color: var(--teal-ink); font-family: inherit; font-size: 15px; font-weight: 600; }
.panel .slot:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .js .panel.watch { opacity: 0; transform: translateY(18px); }
  .js .panel.watch.in { opacity: 1; transform: none; transition: opacity .6s ease var(--d, 0s), transform .7s var(--ease-out) var(--d, 0s); }
}
.p-rozvoz h2 { font-size: clamp(32px, 2.7vw, 44px); line-height: 1.05; margin-top: 4px; }
.inline-link { color: var(--teal); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; white-space: nowrap; }
.inline-link:hover { color: var(--teal-ink); text-decoration-thickness: 2.5px; }
.poster-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
.head-link { display: inline-flex; align-items: center; gap: 5px; padding-bottom: 4px; font-size: 15px; }
.head-link svg { width: 17px; height: 17px; flex: none; }
.poster-head { flex-direction: column; align-items: flex-start; gap: 6px; }
.head-link { padding-bottom: 0; }
.p-rozvoz .duo img { object-position: 50% 40%; }

/* perforace jako skutečné dírky: řada otvorů, kterými prosvítá zelené pozadí, a výseky po stranách na stejné ose */
.panel-voucher { border-top: 0; padding-top: calc(clamp(22px, 2.2vw, 32px) + 8px);
  background: radial-gradient(circle, var(--teal) 3px, transparent 3.6px) 4px 0 / 13px 12px repeat-x, #faf6ef; }
.panel-voucher::before, .panel-voucher::after { top: -4px; width: 20px; height: 20px; }
/* perforace přesně na hraně mezi bílou a krémovou plochou, menší dírky */
.panel-voucher { padding-top: clamp(22px, 2.2vw, 32px); background: #faf6ef; }
.perf { position: absolute; left: 14px; right: 14px; top: -3px; height: 6px; pointer-events: none;
  background: radial-gradient(circle, var(--teal) 2px, transparent 2.6px) center / 10px 6px repeat-x; }
.panel-voucher::before, .panel-voucher::after { top: -10px; }

/* ── trhací lístky: realističtější „tahání“ po najetí ──
   lístek drží za jeden horní roh, druhý roh se odchlípne a perforace se tam začne trhat;
   papír se prohne k divákovi (perspektiva), dostane stín a pod ním je vidět zbyteček na plakátu */
.tabs a {
  transform-origin: 0 0;
  clip-path: polygon(0 0, 50% 0, 58% 0, 66% 0, 75% 0, 84% 0, 92% 0, 100% 0, 100% 100%, 0 100%);
  transition: transform .5s cubic-bezier(.3, 1.5, .5, 1), clip-path .25s ease-out;
}
.tabs li:nth-child(even) a {
  transform-origin: 100% 0;
  clip-path: polygon(0 0, 8% 0, 16% 0, 25% 0, 34% 0, 42% 0, 50% 0, 100% 0, 100% 100%, 0 100%);
}
.tabs a::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: linear-gradient(rgba(0,0,0,0) 35%, rgba(0,0,0,.09)), linear-gradient(90deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.35)); }
.tabs li:nth-child(even) a::after { background: linear-gradient(rgba(0,0,0,0) 35%, rgba(0,0,0,.09)), linear-gradient(270deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.35)); }
.tabs li { transition: filter .3s; }
.tabs a:hover, .tabs a:focus-visible {
  transform: perspective(520px) rotateX(14deg) rotate(4deg) translateY(1px);
  clip-path: polygon(0 0, 50% 0, 58% 3px, 66% 1px, 75% 5px, 84% 2px, 92% 6px, 100% 3px, 100% 100%, 0 100%);
}
.tabs li:nth-child(even) a:hover, .tabs li:nth-child(even) a:focus-visible {
  transform: perspective(520px) rotateX(14deg) rotate(-4deg) translateY(1px);
  clip-path: polygon(0 3px, 8% 6px, 16% 2px, 25% 5px, 34% 1px, 42% 3px, 50% 0, 100% 0, 100% 100%, 0 100%);
}
.tabs a:hover::after, .tabs a:focus-visible::after { opacity: 1; }
.tabs li:has(> a:hover), .tabs li:has(> a:focus-visible) { filter: drop-shadow(0 12px 9px rgba(0,0,0,.3)); z-index: 2; }
.tabs a.torn { clip-path: polygon(0 10px, 12% 2px, 26% 12px, 41% 3px, 55% 13px, 70% 4px, 84% 12px, 100% 5px, 100% 100%, 0 100%); }
/* zbyteček papíru se ukáže až po utržení (a u lístku, který už chybí), ne při tahání */
.tabs li::before { visibility: hidden; }
.tabs li.gone::before, .tabs li:has(> a.torn)::before { visibility: visible; }

/* obal panelu (kvůli skleněné variantě) */
.panel-wrap { position: relative; z-index: 2; align-self: stretch; display: grid; }
.panel-bg { display: none; }

/* ════════ VARIANTA: skleněný panel (?panel=sklo) ════════ */
[data-panel="glass"] .panel-bg { display: block; position: absolute; z-index: 0; inset: -6% -14% -6% 22%; border-radius: 28px; overflow: hidden;
  background: url(img/hero.webp) 40% 50% / cover; transform: rotate(4deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
[data-panel="glass"] .panel {
  z-index: 1; border-radius: 26px; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.06)), rgba(5,63,57,.42);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 30px 60px -30px rgba(0,0,0,.6);
}
[data-panel="glass"] .panel h2 { color: #fff; }
[data-panel="glass"] .panel-text { color: var(--mint); }
[data-panel="glass"] .panel-kicker { color: #f3b391; }
[data-panel="glass"] .panel .slots-head { color: var(--mint); }
[data-panel="glass"] .slot-dot { background: #6ee7a8; box-shadow: 0 0 0 3px rgba(110,231,168,.25); }
[data-panel="glass"] .panel .slot-row { border-top-color: rgba(255,255,255,.18); }
[data-panel="glass"] .panel .slot-branch { color: #fff; }
[data-panel="glass"] .slot-more { color: var(--mint); }
[data-panel="glass"] .panel .slot { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); }
[data-panel="glass"] .panel .slot:hover { background: #fff; border-color: #fff; color: var(--teal-ink); }
[data-panel="glass"] .panel-voucher { background: rgba(255,255,255,.08); }
[data-panel="glass"] .panel-voucher::before, [data-panel="glass"] .panel-voucher::after { display: none; }
[data-panel="glass"] .perf { left: 22px; right: 22px; background: radial-gradient(circle, rgba(255,255,255,.45) 1.6px, transparent 2.2px) center / 10px 6px repeat-x; }
[data-panel="glass"] .panel-cta { background: #fff; color: var(--teal-ink); }
[data-panel="glass"] .panel-cta:hover { background: var(--mint); }
[data-panel="glass"] .panel :focus-visible { outline-color: #fff; }
@media (max-width: 640px) { [data-panel="glass"] .panel-bg { inset: 4% -8% 4% 10%; } }
/* sklo bez fotky pod panelem */
[data-panel="glass"] .panel-bg { display: none; }

/* ════════ VARIANTA: mléčné sklo (?panel=mlecne) — mezi bílou a průhlednou ════════
   bílý panel, ale lehce průsvitný a rozmazaný, s oblými rohy; texty zůstávají tmavé jako u bílé */
[data-panel="frost"] .panel {
  border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.76));
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 #fff, 0 30px 60px -30px rgba(0,0,0,.55);
}
[data-panel="frost"] .panel-voucher { background: rgba(250,246,239,.55); }
[data-panel="frost"] .panel-voucher::before, [data-panel="frost"] .panel-voucher::after { display: none; }
[data-panel="frost"] .perf { left: 22px; right: 22px; }
[data-panel="frost"] .panel .slot { background: rgba(255,255,255,.5); }

/* ── rezervace: stav obsazenosti u každé pobočky ── */
.slot-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #17734d; white-space: nowrap; }
.slot-status .slot-dot { width: 8px; height: 8px; border-radius: 50%; background: #17895a; box-shadow: 0 0 0 3px rgba(23,137,90,.18); }
.slot-status.few { color: #9a5a0f; } .slot-status.few .slot-dot { background: #d98a1c; box-shadow: 0 0 0 3px rgba(217,138,28,.2); }
.slot-status.full { color: var(--terra-ink); } .slot-status.full .slot-dot { background: var(--terra); box-shadow: 0 0 0 3px rgba(187,85,50,.2); }
.slot-note { margin: 2px 0 4px; padding: 10px 12px; border-radius: 10px; background: #f8e3da; color: #8a3a1c; font-size: 14px; line-height: 1.45; font-weight: 500; }
.slot-sub { font-size: 13px; font-weight: 600; color: #4f4a43; }
.slot-alt { font-size: 13px; color: #4f4a43; }
.panel .slot-more { justify-self: start; }
.panel .slots-head { display: none; }
/* skleněná varianta: světlé barvy stavů */
[data-panel="glass"] .slot-status { color: #9ef0c4; }
[data-panel="glass"] .slot-status.few { color: #ffd08a; }
[data-panel="glass"] .slot-status.full { color: #ffc2a8; }
[data-panel="glass"] .slot-note { background: rgba(187,85,50,.32); color: #fff; }
[data-panel="glass"] .slot-sub, [data-panel="glass"] .slot-alt { color: var(--mint); }

/* ── rezervace: všechny večerní časy, volné/obsazené na první pohled ── */
.slot-legend { display: flex; gap: 14px; font-size: 12px; color: #6a645b; }
.slot-legend span { display: inline-flex; align-items: center; gap: 6px; }
.slot-legend i { width: 12px; height: 12px; border-radius: 3px; }
.lg-free { border: 1.5px solid var(--teal); }
.lg-taken { background: #e7e1d7; }
.slot-count { font-size: 13px; font-weight: 600; color: #17734d; }
.slot-count.none { color: #6a645b; }
.slot-grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.panel .slot-grid .slot { justify-content: center; width: 100%; min-height: 38px; padding: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.panel .slot.is-taken { border-color: transparent; background: #e7e1d7; color: #8a8379; text-decoration: line-through; text-decoration-color: rgba(138,131,121,.7); cursor: default; }
.panel .slot.is-past { border-color: transparent; background: transparent; color: #b4ada3; cursor: default; }
[data-panel="glass"] .slot-legend, [data-panel="glass"] .slot-count.none { color: var(--mint); }
[data-panel="glass"] .slot-count { color: #9ef0c4; }
[data-panel="glass"] .lg-free { border-color: rgba(255,255,255,.7); }
[data-panel="glass"] .lg-taken, [data-panel="glass"] .panel .slot.is-taken { background: rgba(255,255,255,.1); color: rgba(255,255,255,.5); }
[data-panel="glass"] .panel .slot.is-past { color: rgba(255,255,255,.3); }

/* ── rezervace: jen nejbližší volný termín, jedním klikem ── */
.panel .slots { gap: 0; margin-top: 18px; }
.near-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "text btn" "more btn"; align-items: center; gap: 2px 14px; padding: 14px 0; border-top: 1px solid rgba(5,63,57,.12); }
.near-text { grid-area: text; display: grid; }
.near-sub { font-size: 13px; color: #6a645b; }
.near-more { grid-area: more; justify-self: start; font-size: 13px; }
.near-btn, .near-none { grid-area: btn; }
.near-btn { display: inline-flex; align-items: baseline; gap: 8px; min-height: 48px; align-items: center; padding: 8px 16px; border-radius: 12px; background: var(--teal); color: #fff; text-decoration: none; white-space: nowrap; transition: background .15s, transform .2s var(--ease-out); }
.near-btn span:first-child { font-size: 13px; font-weight: 600; opacity: .85; }
.near-btn strong { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.near-btn span:last-child { font-size: 15px; }
.near-btn:hover { background: var(--teal-ink); transform: translateX(2px); }
.near-none { font-size: 13px; color: #6a645b; }
[data-panel="glass"] .near-row { border-top-color: rgba(255,255,255,.18); }
[data-panel="glass"] .near-sub, [data-panel="glass"] .near-none { color: var(--mint); }
[data-panel="glass"] .near-btn { background: #fff; color: var(--teal-ink); }
[data-panel="glass"] .near-btn:hover { background: var(--mint); }
/* kompaktněji: popisek jen jednou, řádky nižší, panel se nenatahuje */
.near-caption { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6a645b; padding-bottom: 6px; }
.near-row { grid-template-columns: 1fr auto; grid-template-areas: "text btn" "more btn"; padding: 10px 0; gap: 0 12px; }
.near-btn { min-height: 44px; padding: 6px 14px; }
.near-btn strong { font-size: 18px; }
.panel .slots { margin-top: 14px; }
.panel-wrap { align-self: center; }
.panel { grid-template-rows: auto auto; }
[data-panel="glass"] .near-caption { color: var(--mint); }

/* ── návrat: původní rezervace (Dnes volno + volné časy) ── */
.panel .slots-head { display: inline-flex; }
.panel .slots { gap: 16px; margin-top: 20px; }
.panel-wrap { align-self: stretch; }
.panel { grid-template-rows: 1fr auto; }
/* perforace stejná jako u lístků rozvozu: tenká přerušovaná čára, zelená jako díry do pozadí */
.perf { top: -1px; height: 0; background: none; border-top: 2px dashed var(--teal); }
[data-panel="glass"] .perf { background: none; border-top-color: rgba(255,255,255,.45); }

/* ── panel: nenatahovat (žádné prázdné místo) ── */
.panel-wrap { align-self: center; }
.panel { grid-template-rows: auto auto; }

/* ── výseky vstupenky jako skutečné díry (bílá varianta) ──
   kolečka nejsou nabarvená, ale vyříznutá maskou; stín kopíruje tvar panelu i s výřezy,
   takže v díře je přesně stejné pozadí jako hned vedle panelu */
:root:not([data-panel]) .panel-wrap { filter: drop-shadow(0 22px 26px rgba(0,0,0,.32)); }
:root:not([data-panel]) .panel { background: transparent; box-shadow: none; }
:root:not([data-panel]) .panel-block:first-child { background: #fff;
  -webkit-mask: radial-gradient(circle 10px at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 10px at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat; }
:root:not([data-panel]) .panel-voucher {
  -webkit-mask: radial-gradient(circle 10px at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 10px at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat; }
:root:not([data-panel]) .panel-voucher::before, :root:not([data-panel]) .panel-voucher::after { display: none; }
:root:not([data-panel]) .perf { left: 16px; right: 16px; }

/* stav u každé pobočky místo společného „Dnes volno“ */
.slot-row-head .slot-branch { margin-right: auto; }
.slot-row-head { align-items: center; }
.slot-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #17734d; white-space: nowrap; }
.slot-state.full { color: var(--terra-ink); }
.slot-state .slot-dot { width: 7px; height: 7px; }
[data-panel="glass"] .slot-state { color: #9ef0c4; }
[data-panel="glass"] .slot-state.full { color: #ffc2a8; }

/* rozvoz víc doleva, blíž k textu */
@media (min-width: 1241px) { .wall { margin-left: clamp(-120px, -6.5vw, -56px); } }
/* podtitulek nesmí zajet pod plakát */
@media (min-width: 1241px) { .hero-sub { max-width: 22em; } }
/* zaoblené rohy bílého panelu */
:root:not([data-panel]) .panel-block:first-child { border-radius: 18px 18px 0 0; }
:root:not([data-panel]) .panel-voucher { border-radius: 0 0 18px 18px; }

/* ════════ SEKCE POD ÚVODEM ════════ */
/* nadpisy sekcí: stejný štětec jako nahoře — dva tahy přes sebe v přirozeném poměru;
   na světlém pozadí je pod tahy o odstín světlejší výplň, aby bílé písmo nesplynulo s krémovou */
.h2 .paint::before, .h2 .paint::after { inset: -.18em -.3em -.12em -.26em; opacity: 1;
  transform: translate(calc(var(--mx, 0) * 4px), calc(var(--my, 0) * 3px)) rotate(calc(var(--tilt, -1.5deg) + var(--mx, 0) * .4deg)); }
.h2 .paint::after { background: var(--paint, var(--terra));
  -webkit-mask: url(brush/brush-1.svg) left top / 100% 60% no-repeat, url(brush/brush-3.svg) left .14em bottom / 96% 60% no-repeat;
          mask: url(brush/brush-1.svg) left top / 100% 60% no-repeat, url(brush/brush-3.svg) left .14em bottom / 96% 60% no-repeat; }
.h2 .paint::before { background: transparent; -webkit-mask: none; mask: none; }
.on-light .h2 .paint::before { background: var(--paint-lo);
  -webkit-mask: url(brush/brush-1-fill.svg) left top / 100% 60% no-repeat, url(brush/brush-3-fill.svg) left .14em bottom / 96% 60% no-repeat;
          mask: url(brush/brush-1-fill.svg) left top / 100% 60% no-repeat, url(brush/brush-3-fill.svg) left .14em bottom / 96% 60% no-repeat; }

/* pobočky: bez oblého stínu pod fotkou a bez log */
.branch-photo img { box-shadow: none; }
.branch-logo { display: none; }

/* voucher: trhací lístky 500 / 1 000 Kč místo vstupenky s podtrženým nápisem */
.gift-tickets { justify-self: center; width: min(100%, 520px); gap: 18px; --bg: transparent; }
.gift-tickets li::before { display: none; }
.gift-tickets .vticket { border-top: 0; padding: 22px 22px 20px; gap: 12px; filter: none; box-shadow: none; }
.gift-tickets li { filter: drop-shadow(0 22px 22px rgba(40,25,10,.22)); }
.gift-tickets li:nth-child(1) { rotate: -3deg; } .gift-tickets li:nth-child(2) { rotate: 2.5deg; margin-top: 26px; }
.gift-tickets .t-amount { font-size: clamp(54px, 5.6vw, 84px); }
.gift-tickets .t-top { font-size: 12px; }
.gift-tickets .t-foot { font-size: 11px; white-space: normal; }

/* ════════ JEDNOTNÁ TLAČÍTKA ════════
   hlavní akce = tmavě zelená pilulka s obyčejnou šipkou (jako „Koupit voucher“ v panelu), bez kolečka */
.btn-dark, .panel-cta, .btn-sm.primary, .check-btn {
  background: var(--teal-ink); color: #fff; border: 0; border-radius: 999px; font-weight: 600; transition: background .15s; }
.btn-dark:hover, .panel-cta:hover, .btn-sm.primary:hover, .check-btn:hover { background: var(--teal); }
.btn-dark { gap: 10px; min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-dark .cta-arrow { width: auto; height: auto; background: none; border-radius: 0; color: inherit; }
.btn-dark .cta-arrow svg { width: 18px; height: 18px; }
.btn-sm { border: 1.5px solid var(--teal-ink); color: var(--teal-ink); }
.btn-sm:hover { background: var(--teal-ink); color: #fff; }
.btn-sm.primary { border: 1.5px solid var(--teal-ink); }
/* voucher: velká bílá vstupenka jako na voucherovém webu, bez podtrženého nápisu; za ní druhá vstupenka pro hloubku */
.ticket-wrap { position: relative; }
.ticket-back { position: absolute; inset: 0; border-radius: 20px; background: var(--cream-2);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 15px, #000 15.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 15px, #000 15.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 15px, #000 15.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 15px, #000 15.5px) right / 51% 100% no-repeat;
  transform: rotate(5deg) translate(12px, 10px); }
.ticket-wrap .ticket { transition: transform .4s var(--ease-out); }
.ticket-wrap:hover .ticket { transform: rotate(-1deg) translateY(-4px); }
.ticket-wrap, .ticket-wrap * { text-decoration: none; }
/* CTA všude stejně: oranžová (terakota) pilulka s bílým textem a šipkou */
.btn-dark, .panel-cta, .btn-sm.primary, .check-btn, .v-cta,
[data-panel="glass"] .panel-cta { background: var(--terra); color: #fff; border-color: var(--terra); }
.btn-dark:hover, .panel-cta:hover, .btn-sm.primary:hover, .check-btn:hover, .v-cta:hover,
[data-panel="glass"] .panel-cta:hover { background: var(--terra-ink); border-color: var(--terra-ink); color: #fff; }

/* voucher na zeleném pozadí (jako úvod a jako voucherový web) — štětec pak funguje bez výplně */
.on-teal { background: var(--teal); color: #fff; }
.on-teal .h2 { color: #fff; }
.on-teal .voucher-sub { color: var(--mint); }
.on-teal :focus-visible { outline-color: #fff; }
.on-teal .ticket-back { background: #e3ece8; }
.on-teal .ticket-wrap { filter: drop-shadow(0 26px 30px rgba(0,0,0,.35)); }

/* nadpisy na krémovém pozadí: předpočítaný hustý tah (několik průchodů štětcem přes sebe) jako obrázek */
.on-light .h2 .paint::before { -webkit-mask: none; mask: none; background: url(brush/tah-zeleny-dlouhy-2.webp) center / 100% 100% no-repeat; }
.on-light .h2 .paint.short::before { background-image: url(brush/tah-zeleny-kratky-2.webp); }
.on-light .h2 .paint::after { display: none; }

/* ── realističtější utržený papír: nepravidelný natržený okraj s vlákny místo pravidelných zubů ── */
.tabs li::before { height: 15px; clip-path: none; background: url(img/zbytek-listku-2.png) top / 100% 100% no-repeat; }
/* tahání: lístek se jen odchlípne, bez kreslených zubů */
.tabs a, .tabs li:nth-child(even) a,
.tabs a:hover, .tabs a:focus-visible,
.tabs li:nth-child(even) a:hover, .tabs li:nth-child(even) a:focus-visible { clip-path: none; }
/* utržený lístek má nahoře stejně natržený okraj (maska z obrázku) */
.tabs a.torn {
  clip-path: none;
  -webkit-mask: url(img/okraj-listku-maska-2.png) top / 100% 15px no-repeat, linear-gradient(#000, #000) 0 14px / 100% calc(100% - 14px) no-repeat;
          mask: url(img/okraj-listku-maska-2.png) top / 100% 15px no-repeat, linear-gradient(#000, #000) 0 14px / 100% calc(100% - 14px) no-repeat;
}

/* ── lístky bez černé čárkované čáry: mezi lístky skutečný prostřih (mezera s pozadím),
   nahoře u přehybu jemná řada drobných dírek ── */
.tabs { column-gap: 3px; }
.tabs a, .tabs li:first-child a { border-top: 0; border-left: 0;
  background: radial-gradient(circle, rgba(23,21,15,.26) 1.1px, transparent 1.6px) 1px 1px / 7px 5px repeat-x, var(--bg); }
.tabs li::before { left: 0; right: 0; }

/* ── lístky: skutečná perforace (díry, kterými prosvítá pozadí) a při najetí rovnou natržení ── */
.tabs { column-gap: 3px; }
.tabs a, .tabs li:first-child a { border: 0; background: var(--bg);
  -webkit-mask: radial-gradient(circle, #0000 1.7px, #000 2.2px) 0 0 / 8px 6px repeat-x, linear-gradient(#000, #000) 0 6px / 100% calc(100% - 6px) no-repeat;
          mask: radial-gradient(circle, #0000 1.7px, #000 2.2px) 0 0 / 8px 6px repeat-x, linear-gradient(#000, #000) 0 6px / 100% calc(100% - 6px) no-repeat; }
/* při najetí (i při utržení) má lístek nahoře natržený okraj a na plakátu zůstane jeho protikus */
.tabs a:hover, .tabs a:focus-visible, .tabs a.torn {
  -webkit-mask: url(img/okraj-listku-maska-2.png) top / 100% 15px no-repeat, linear-gradient(#000, #000) 0 14px / 100% calc(100% - 14px) no-repeat;
          mask: url(img/okraj-listku-maska-2.png) top / 100% 15px no-repeat, linear-gradient(#000, #000) 0 14px / 100% calc(100% - 14px) no-repeat; }
.tabs li:has(> a:hover)::before, .tabs li:has(> a:focus-visible)::before { visibility: visible; }

/* ── pizza do firmy ── */
.head-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.firmy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.firmy-sub { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 30em; }
.firmy-list { list-style: none; display: grid; gap: 0; border-top: 1px solid rgba(5,63,57,.15); }
.firmy-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid rgba(5,63,57,.15); }
.firmy-name { grid-row: span 2; align-self: center; font-family: var(--display); font-size: 28px; text-transform: uppercase; color: var(--teal-ink); }
.firmy-item a { justify-self: end; color: var(--teal); font-weight: 600; text-underline-offset: 3px; }
.section.firmy { padding-bottom: 0; }
@media (max-width: 960px) { .firmy-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .firmy-item { grid-template-columns: 1fr; } .firmy-name { grid-row: auto; } .firmy-item a { justify-self: start; } }

/* ── perforace lístků stejná jako v panelu vpravo: tenká zelená čárkovaná čára, bez mezer mezi lístky ── */
.tabs { column-gap: 0; }
.tabs a, .tabs li:first-child a { -webkit-mask: none; mask: none; background: var(--bg);
  border-top: 2px dashed var(--teal); border-left: 2px dashed var(--teal); }
.tabs li:first-child a { border-left: 0; }
.tabs a:hover, .tabs a:focus-visible, .tabs a.torn {
  -webkit-mask: url(img/okraj-listku-maska-2.png) top / 100% 15px no-repeat, linear-gradient(#000, #000) 0 14px / 100% calc(100% - 14px) no-repeat;
          mask: url(img/okraj-listku-maska-2.png) top / 100% 15px no-repeat, linear-gradient(#000, #000) 0 14px / 100% calc(100% - 14px) no-repeat; }

/* ── perforace souvisle po celé šířce plakátu, trhá se přesně podél ní ── */
.p-rozvoz .sheet::after { content: ''; position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; border-top: 2px dashed var(--teal); pointer-events: none; }
.tabs a, .tabs li:first-child a { border-top: 0; }
/* zbytek papíru pod perforací u utrženého lístku: tenký, jemně roztřepený */
.tabs li::before { height: 9px; background: url(img/perforace-zbytek.png) top / 100% 100% no-repeat; }
.tabs a:hover, .tabs a:focus-visible, .tabs a.torn {
  -webkit-mask: url(img/perforace-maska.png) top / 100% 9px no-repeat, linear-gradient(#000, #000) 0 8px / 100% calc(100% - 8px) no-repeat;
          mask: url(img/perforace-maska.png) top / 100% 9px no-repeat, linear-gradient(#000, #000) 0 8px / 100% calc(100% - 8px) no-repeat; }
/* volné časy: po najetí světle zelená místo tmavé */
.slot:hover, .panel .slot:hover { background: var(--mint); border-color: var(--teal); color: var(--teal-ink); }
[data-panel="glass"] .panel .slot:hover { background: var(--mint); border-color: var(--mint); color: var(--teal-ink); }
/* položka Úvod s domečkem */
.topnav a { display: inline-flex; align-items: center; gap: 6px; }
.nav-home { width: 16px; height: 16px; flex: none; }
.topnav a[aria-current="page"] { background: rgba(255,255,255,.16); }

/* tah štětcem je při animaci i po ní vždy pod textem nadpisu:
   každý řádek má pevné pořadí vrstev a řádek s tahem leží pod ostatními řádky */
h1 .line, .h2 .line { position: relative; z-index: 2; }
h1 .line:has(.paint), .h2 .line:has(.paint) { z-index: 1; }

/* ── menu: samostatné stránky oddělené čarou a s obrysem ── */
.topnav { align-items: center; }
.nav-sep { width: 1px; height: 22px; margin: 0 6px; background: rgba(255,255,255,.35); }
.topnav a.nav-page { border: 1.5px solid rgba(255,255,255,.45); }
.topnav a.nav-page:hover { border-color: #fff; }
.topnav a.is-active, .topnav a[aria-current="page"] { background: rgba(255,255,255,.18); }
@media (max-width: 960px) { .nav-sep { display: none; } }

/* ── při posouvání se menu přichytí nahoru jako skleněná lišta ── */
.topbar.is-stuck {
  position: fixed; z-index: 60; top: 12px; left: 50%; right: auto; translate: -50% 0;
  width: min(calc(100% - 24px), 1120px); padding: 8px 10px 8px 12px; border-radius: 999px;
  background: rgba(5, 63, 57, .78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 12px 30px -14px rgba(0,0,0,.55);
  animation: bar-in .3s cubic-bezier(.2,.9,.3,1);
}
.topbar.is-stuck .topbar-logo { width: 46px !important; height: 46px !important; rotate: 0deg; box-shadow: none; }
.topbar.is-stuck .topbar-logo img { width: 40px !important; height: 40px !important; }
.topbar.is-stuck .topnav a { text-shadow: none; padding-top: 8px !important; padding-bottom: 8px !important; }
@keyframes bar-in { from { translate: -50% -130%; } }
@media (prefers-reduced-motion: reduce) { .topbar.is-stuck { animation: none; } }

/* menu při posouvání: stejné místo i velikost jako nahoře, jen se podbarví sklem přes celou šířku */
.topbar.is-stuck {
  position: fixed; top: 0; left: 0; right: 0; translate: none; width: auto;
  padding: 20px var(--gutter); border-radius: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(5, 63, 57, .74); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); animation: bar-fade .25s ease;
}
.topbar.is-stuck .topbar-logo { width: 92px !important; height: 92px !important; rotate: -8deg; box-shadow: 0 2px 0 rgba(0,0,0,.12), 0 14px 22px -12px rgba(0,0,0,.6); }
.topbar.is-stuck .topbar-logo img { width: 76px !important; height: 76px !important; }
.topbar.is-stuck .topnav a { padding-top: 10px !important; padding-bottom: 10px !important; }
@keyframes bar-fade { from { background: rgba(5, 63, 57, 0); } }
@media (max-width: 600px) {
  .topbar.is-stuck { padding-top: 14px; padding-bottom: 14px; }
  .topbar.is-stuck .topbar-logo { width: 70px !important; height: 70px !important; }
  .topbar.is-stuck .topbar-logo img { width: 58px !important; height: 58px !important; }
}

/* přichycené menu užší: menší bílé logo bez bílé nálepky */
.topbar.is-stuck { padding-top: 10px; padding-bottom: 10px; }
.topbar.is-stuck .topbar-logo { width: 52px !important; height: 52px !important; rotate: 0deg; box-shadow: none;
  background: url(img/logo-bile.svg) center / contain no-repeat; }
.topbar.is-stuck .topbar-logo img { opacity: 0; }
.topbar.is-stuck .topnav a { padding-top: 8px !important; padding-bottom: 8px !important; }
@media (max-width: 600px) {
  .topbar.is-stuck { padding-top: 8px; padding-bottom: 8px; }
  .topbar.is-stuck .topbar-logo { width: 46px !important; height: 46px !important; }
}

/* přichycené menu se při posouvání dolů schová, při posunu nahoru vysune */
.topbar.is-stuck { transition: transform .3s cubic-bezier(.2,.9,.3,1); }
.topbar.is-stuck.is-hidden { transform: translateY(-110%); }
@media (prefers-reduced-motion: reduce) { .topbar.is-stuck { transition: none; } }

/* CTA po najetí: lehce se nadzvedne, dostane stín a šipka popojede doprava */
.panel-cta, .btn-dark, .btn-sm.primary, .check-btn { transition: background .15s, transform .25s cubic-bezier(.2,.9,.3,1), box-shadow .25s; }
.panel-cta:hover, .btn-dark:hover, .btn-sm.primary:hover, .check-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(187,85,50,.7); }
.panel-cta > [aria-hidden], .btn-dark .cta-arrow { display: inline-block; transition: transform .25s cubic-bezier(.2,.9,.3,1); }
.panel-cta:hover > [aria-hidden], .btn-dark:hover .cta-arrow { transform: translateX(5px); }
.panel-cta:active, .btn-dark:active, .btn-sm.primary:active, .check-btn:active { transform: translateY(0); box-shadow: none; }

/* mapa nesmí překrývat přichycené menu (vrstvy Leafletu mají vysoký z-index) */
.leaflet-container { isolation: isolate; z-index: 0; }
.topbar.is-stuck { z-index: 1000; }

/* „Vozíte až ke mně?“: po najetí zleva přejede oranžová linka a špendlík poskočí */
.head-link { text-decoration: none; padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat,
              linear-gradient(var(--terra), var(--terra)) 0 100% / 0 2.5px no-repeat;
  transition: background-size .35s cubic-bezier(.2,.9,.3,1), color .2s; }
.head-link:hover, .head-link:focus-visible { color: var(--teal-ink); background-size: 100% 1.5px, 100% 2.5px; }
.head-link svg { transition: transform .3s cubic-bezier(.3,1.6,.5,1); transform-origin: 50% 100%; }
.head-link:hover svg, .head-link:focus-visible svg { transform: translateY(-3px) scale(1.12); color: var(--terra); }

/* rozvozový skútr u „Vozíte až ke mně?“: po najetí se rozjede */
.head-link .scooter { width: 26px; height: 19px; overflow: visible; transform: none !important; color: inherit !important; }
.head-link .scooter .speed { opacity: 0; transition: opacity .2s; }
.head-link:hover .scooter .speed, .head-link:focus-visible .scooter .speed { opacity: .7; color: var(--terra); }
@media (prefers-reduced-motion: no-preference) {
  .head-link .scooter .ride { transform-box: fill-box; transform-origin: 50% 100%; }
  .head-link:hover .scooter .ride, .head-link:focus-visible .scooter .ride { animation: ride .5s ease-in-out infinite alternate; }
  .head-link:hover .scooter .speed, .head-link:focus-visible .scooter .speed { animation: speed .5s linear infinite; }
}
@keyframes ride { from { transform: translateX(0) rotate(0deg); } to { transform: translateX(4px) translateY(-1px) rotate(-4deg); } }
@keyframes speed { from { transform: translateX(2px); } to { transform: translateX(-3px); } }
/* linky se prohodí: zelená odjede doprava, oranžová přijede zleva (nikdy nejsou vidět obě naráz) */
.head-link { background:
    linear-gradient(currentColor, currentColor) 100% 100% / 100% 1.5px no-repeat,
    linear-gradient(var(--terra), var(--terra)) 0 100% / 0 2.5px no-repeat; }
.head-link:hover, .head-link:focus-visible { background-size: 0 1.5px, 100% 2.5px; }
.branch-photo img[src*="mecholupy-2"] { object-position: 50% 62%; }
.sw-49 { background: rgba(232,179,58,.5); border-color: #e8b33a; }
html { scrollbar-gutter: stable; }

/* padající utržený lístek má výrazně natržený horní okraj; zbyteček na plakátu je jeho protikus */
.tabs a.torn {
  -webkit-mask: url(img/okraj-listku-maska-2.png) top / 100% 15px no-repeat, linear-gradient(#000, #000) 0 14px / 100% calc(100% - 14px) no-repeat;
          mask: url(img/okraj-listku-maska-2.png) top / 100% 15px no-repeat, linear-gradient(#000, #000) 0 14px / 100% calc(100% - 14px) no-repeat; }
.tabs li:has(> a.torn)::before { height: 15px; background-image: url(img/zbytek-listku-2.png); }

/* první lístek (Prosek) měl silnější pravidlo „bez masky“, které natržení přebilo */
.tabs li:first-child a:hover, .tabs li:first-child a:focus-visible {
  -webkit-mask: url(img/perforace-maska.png) top / 100% 9px no-repeat, linear-gradient(#000, #000) 0 8px / 100% calc(100% - 8px) no-repeat;
          mask: url(img/perforace-maska.png) top / 100% 9px no-repeat, linear-gradient(#000, #000) 0 8px / 100% calc(100% - 8px) no-repeat; }
.tabs li a.torn, .tabs li:first-child a.torn {
  -webkit-mask: url(img/okraj-listku-maska-2.png) top / 100% 15px no-repeat, linear-gradient(#000, #000) 0 14px / 100% calc(100% - 14px) no-repeat;
          mask: url(img/okraj-listku-maska-2.png) top / 100% 15px no-repeat, linear-gradient(#000, #000) 0 14px / 100% calc(100% - 14px) no-repeat; }
.p-rozvoz .poster-body p { max-width: none; }

/* lepicí pásky: skutečná papírová páska (průsvitná, textura, natržené konce) místo zubatého obdélníku */
.tape { width: 118px; height: 32px; clip-path: none; box-shadow: none;
  background: url(img/paska-1.webp) center / 100% 100% no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.16)) drop-shadow(0 4px 6px rgba(0,0,0,.10)); }
.tape.tr { background-image: url(img/paska-2.webp); }
.p-voucher .tape, .stub .tape, .tape.br { background-image: url(img/paska-3.webp); }

/* ── Doba rozvozu na plakátu (z ChoiceQR) ── */
.p-rozvoz .poster-body .deliv-now { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--teal-ink); }
.p-rozvoz .poster-body .deliv-now:empty { display: none; }
.deliv-now .dot { width: 8px; height: 8px; background: #1f9d6b; box-shadow: 0 0 0 3px rgba(31,157,107,.15); }
.deliv-now .dot.closed { background: var(--terra); box-shadow: 0 0 0 3px rgba(187,85,50,.15); }

/* ── Mobilní lišta rychlých akcí (Rozvoz · Rezervace) ── */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(5,63,57,.82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
    border-top: 1px solid rgba(255,255,255,.12);
    transform: translateY(110%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s;
  }
  .quickbar.show { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  body.has-quickbar .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.qb-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.qb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.55); background: transparent; color: #fff;
  font: 600 16px/1 var(--body, 'Archivo', sans-serif); text-decoration: none; cursor: pointer;
}
.qb-btn.primary { background: var(--terra); border-color: var(--terra); }
.qb-btn:active { transform: scale(.98); }
.qb-btn:focus-visible, .qb-sheet a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.qb-btn[aria-expanded="true"] { background: var(--terra-ink); border-color: var(--terra-ink); }
.qb-sheet { margin-bottom: 10px; padding: 16px 16px 14px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.45); }
.qb-title { font-family: var(--display); text-transform: uppercase; font-size: 22px; line-height: 1; color: var(--teal-ink); }
.qb-list { list-style: none; display: grid; gap: 8px; margin: 12px 0 10px; padding: 0; }
.qb-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1.5px solid rgba(5,63,57,.2); color: var(--teal-ink); text-decoration: none; }
.qb-list a b { font-size: 17px; }
.qb-list a span { font-size: 13px; color: #4f4a43; }
.qb-list a::after { content: '→'; font-weight: 700; color: var(--terra); }
.qb-list a span:not(:empty) { margin-left: auto; }
.qb-check { display: inline-block; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--teal); text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .quickbar, .quickbar.show { transition: none; } }
#rezervace { scroll-margin-top: 90px; } #rezervace:focus { outline: none; }

/* ── Hodnoty voucheru v panelu jako odkazy s předvybranou částkou ── */
.panel-text .amt { display: inline-block; padding: 0 7px; border-radius: 6px; background: rgba(191,230,216,.55); color: var(--teal-ink); font-weight: 700; text-decoration: none; transition: background .15s, color .15s; }
.panel-text .amt:hover { background: var(--terra); color: #fff; }
.panel-text .amt:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ── Našeptávač adres (Mapy.com) ── */
.ac-host { position: relative; }
.ac-list {
  position: absolute; z-index: 1200; left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; overflow: auto;
  margin: 0; padding: 6px; list-style: none; background: #fff; color: var(--ink); border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.45), 0 0 0 1px rgba(5,63,57,.12); text-align: left;
}
.ac-list[hidden] { display: none; }
.ac-list [role=option] { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.ac-list [role=option] b { font-weight: 600; font-size: 15px; color: var(--teal-ink); }
.ac-list [role=option] span { font-size: 13px; color: #4f4a43; }
.ac-list [role=option]:hover, .ac-list [aria-selected="true"] { background: rgba(191,230,216,.55); }
.ac-msg { padding: 10px 12px; font-size: 14px; color: #4f4a43; }
.ac-attr { padding: 4px 12px 2px; font-size: 11px; color: #6a645b; text-align: right; }
.mapy-logo { display: block; margin: 0 0 4px 4px; line-height: 0; }
.mapy-logo img { width: 100px; height: auto; }

/* ════════ Opravy po vizuální kontrole ════════ */
/* tablet: logo nesmí překrýt nadpis */
@media (min-width: 601px) and (max-width: 960px) { .hero { padding-top: 136px; } }
/* malé displeje: v menu zůstanou obě samostatné stránky (Pizza do firmy i Voucher) */
@media (max-width: 960px) {
  .topnav a.nav-page { display: inline-flex; }
  .topnav { gap: 6px; }
}
@media (max-width: 400px) {
  .topnav a.nav-page { padding: 9px 11px; font-size: 13px; }
}
/* 961–1240 px: text vlevo, rezervace vpravo hned v první obrazovce, rozvoz pod textem */
@media (min-width: 961px) and (max-width: 1240px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 36px 40px; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .wall { grid-column: 1; grid-row: 2; max-width: 520px; }
  .panel-wrap { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
}
/* volné časy vždy 4 v řadě, žádný osamocený čas na dalším řádku */
.panel .slot-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel .slot { justify-content: center; padding: 0 4px; width: 100%; }
/* legenda zón stejnými barvami, jaké má mapa */
.sw-0 { background: #d3f7e5; border-color: #3fbf86; }
.sw-39 { background: #fbe1d3; border-color: #e09a74; }
.sw-49 { background: #f8e3b4; border-color: #c48a12; }

/* ════════ Opravy po auditu přístupnosti ════════ */
/* sklo v liště sytější, aktivní položka podtržením místo světlé výplně (kontrast textu) */
.topbar.is-stuck { background: rgba(5, 63, 57, .88); }
.topbar.is-stuck .topnav a.is-active, .topbar.is-stuck .topnav a[aria-current="page"] { background: rgba(255,255,255,.08); box-shadow: inset 0 -2px 0 #fff; }
/* mapa: viditelný fokus na světlém podkladu */
.leaflet-container :focus-visible { outline: 3px solid var(--teal-ink) !important; box-shadow: 0 0 0 5px #fff; }
.leaflet-control-zoom a:focus-visible { outline-offset: -3px; }
.leaflet-marker-icon:focus-visible { border-radius: 50%; }
/* štítek pobočky tmavší */
.branch-tag { color: #923f1f; }
/* větší dotyková plocha odkazu „Jiný čas“ */
.slot-more { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 0; }
.panel-text .amt { padding: 1px 7px; }
.footer-social a { display: inline-flex; align-items: center; min-height: 32px; }
#check { scroll-margin-top: 24px; }

/* patička: tři pobočky + společné sociální sítě */
.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .7fr); }
@media (max-width: 1100px) and (min-width: 961px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* tlačítka u pobočky vedle sebe: o kousek užší, ať se na běžném počítači vejdou všechna čtyři do řady */
.branch-actions .btn-sm { padding: 0 13px; }
@media (max-width: 400px) { .branch-actions { gap: 6px; } .branch-actions .btn-sm { padding: 0 11px; font-size: 14px; } }

/* ── Výběr hodnoty voucheru v sekci Darujte kus Neapole ── */
.v-pick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; border: 0; padding: 0; }
.v-opt { position: relative; cursor: pointer; }
.v-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.v-opt span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--teal-ink); color: var(--teal-ink); font-family: var(--display); font-size: 22px; letter-spacing: .01em; transition: background .15s, color .15s, transform .15s; }
.v-opt:hover span { background: rgba(9,106,95,.08); }
.v-opt input:checked + span { background: var(--teal-ink); color: #fff; }
.v-opt input:focus-visible + span { outline: 3px solid var(--terra); outline-offset: 3px; }
.v-pick + .btn-dark { margin-top: 18px; }
.ticket-amount.bump { animation: v-bump .35s cubic-bezier(.2,.9,.3,1.4); }
@keyframes v-bump { 0% { transform: scale(.88); opacity: .4; } 100% { transform: none; opacity: 1; } }
/* jemnější volba hodnoty: nevybraná bez výrazného obrysu, vybraná plná */
.v-opt span { border: 1.5px solid rgba(5,63,57,.18); background: rgba(255,255,255,.7); box-shadow: 0 1px 2px rgba(5,63,57,.06); }
.v-opt:hover span { background: #fff; border-color: rgba(5,63,57,.3); }
.v-opt input:checked + span { background: #e2f3ec; border-color: var(--teal); box-shadow: inset 0 0 0 .5px var(--teal); color: var(--teal-ink); }
/* aktuální položka menu: jen jemná světlá výplň, bez podtržení (text má kontrast nad 4,5 : 1) */
.topnav a.is-active, .topnav a[aria-current="page"],
.topbar.is-stuck .topnav a.is-active, .topbar.is-stuck .topnav a[aria-current="page"] { background: rgba(255,255,255,.12); box-shadow: none; }

/* údaje o provozovateli (povinné pro web podnikatele) */
.footer-legal { max-width: 1440px; margin: 10px auto 0; font-size: 12px; line-height: 1.6; color: var(--mint); opacity: .85; }
.footer-legal a { color: #fff; }

/* ════════ Jednotná šířka obsahu: jako sekce „Tři pece, jedna pizza“ (max. 1440 px uprostřed) ════════
   Na menších obrazovkách zůstává jen okraj --gutter, na velkých se obsah drží uprostřed.
   Procenta v paddingu se počítají ze šířky stránky, takže sedí přesně na .wrap. */
:root { --edge: max(var(--gutter), calc((100% - 1440px) / 2)); }
/* hlavička zůstává přes celou šířku (jako na voucheru), do kontejneru jde jen obsah */
.hero { padding-left: var(--edge); padding-right: var(--edge); }
/* Kam vozíme: mapa zůstává do krajů na celou výšku i šířku, jen text vlevo drží hranu obsahu */
.zones { padding-left: var(--edge); }
.zones-side { padding-left: 0; }
@media (max-width: 960px) { .zones { padding-left: 0; } .zones-side { padding-left: var(--gutter); } }

/* úvod na počítači: menší leták, větší hlavní nadpis */
@media (min-width: 1241px) {
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .6fr) minmax(0, .8fr); }
  .hero h1 { font-size: clamp(54px, min(8.2vw, 13.5vh), 124px); }
}

/* telefon a tablet: vstupenka hned pod textem, pod ní výběr hodnoty a tlačítko */
@media (max-width: 960px) {
  .voucher-grid { gap: 0; }
  .voucher-grid > div:first-child { display: contents; }
  .voucher-grid .h2 { order: 1; }
  .voucher-grid .voucher-sub { order: 2; }
  .voucher-grid .ticket-wrap { order: 3; margin: 36px 0 8px; justify-self: center; }
  .voucher-grid .v-pick { order: 4; }
  .voucher-grid .btn-dark { order: 5; justify-self: start; }
}

/* čas rozvozu přímo na lístku pobočky (druhý svislý sloupec vedle názvu) */
.tabs a .tab-time { display: block; margin-block-start: 6px; font-family: var(--mono); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: none; color: var(--teal); }
.tabs a .tab-time:empty { display: none; }
.tabs a .tab-time.off { color: var(--terra-ink); }
