:root {
  --bg: #0c0b0a;
  --bg-2: #13110f;
  --card: #1a1714;
  --gold: #c6a35e;
  --gold-2: #e4d2a4;
  --ink: #f3eee4;
  --mute: #9c9386;
  --line: rgba(198, 163, 94, 0.28);
  --danger: #7a2a34;
  --ok: #3d6b4f;
  --radius: 4px;
  --max: 1120px;
  --header: 72px;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

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

.skip {
  position: absolute;
  left: 8px;
  top: -40px;
  background: var(--gold);
  color: var(--bg);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 8px; }

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 12px; }
h3 { font-size: 1.2rem; margin: 0 0 8px; }

.lead { color: var(--mute); font-size: 1.05rem; max-width: 62ch; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(12, 11, 10, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  position: relative;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-height: 44px;
}
.brand img, .brand svg { width: 40px; height: 40px; flex: none; }
.brand span {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--ink);
  padding: 10px 10px;
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a[aria-current="page"] { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  margin: 4px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}
.btn:hover { background: var(--gold-2); color: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--gold-2);
}
.btn-ghost:hover { background: rgba(198, 163, 94, 0.1); color: var(--gold-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  place-items: end start;
  overflow: hidden;
}
.hero picture, .hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 10, 0.35) 0%, rgba(12, 11, 10, 0.82) 70%, var(--bg) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 48px 0 56px;
  max-width: 720px;
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  margin-bottom: 12px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.section { padding: 72px 0; }
.section-muted { background: var(--bg-2); }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.media figcaption, .cap {
  padding: 12px 14px;
  color: var(--mute);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--card);
  text-align: left;
  color: inherit;
}
.gallery button:hover { border-color: var(--gold); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery span {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
}

.cta-band {
  border-block: 1px solid var(--line);
  padding: 56px 0;
  text-align: center;
}
.cta-band p { margin: 0 auto 8px; color: var(--mute); max-width: 56ch; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
}
.card p { margin: 0 0 10px; color: var(--mute); }
.card a { word-break: break-word; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.tab {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
}
.tab[aria-selected="true"] {
  border-color: var(--gold);
  color: var(--gold);
}
.tab-panel[hidden] { display: none; }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
}
.hours strong { color: var(--ink); font-weight: 500; }

details {
  border-bottom: 1px solid var(--line);
}
details summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 500;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  color: var(--gold);
  font-size: 18px;
  flex: none;
}
details[open] summary::after { content: "–"; }
details p, details .job-body { color: var(--mute); margin: 0 0 16px; }

.form {
  display: grid;
  gap: 12px;
}
label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); }
input, select, textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 44px;
  padding: 10px 12px;
}
textarea { min-height: 120px; resize: vertical; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--mute);
  font-size: 14px;
}
.check input { width: 18px; height: 18px; margin-top: 3px; }
.form-note {
  display: none;
  padding: 12px;
  border: 1px solid var(--ok);
  color: var(--ink);
  background: rgba(61, 107, 79, 0.2);
}
.form-note.is-on { display: block; }

.page-hero { padding: 48px 0 24px; border-bottom: 1px solid var(--line); }
.legal { max-width: 72ch; }
.legal h2 { margin-top: 32px; }
.legal p, .legal li { color: var(--mute); }
.legal ul { padding-left: 18px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.site-footer h2 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer a, .site-footer p { color: var(--mute); }
.site-footer a:hover { color: var(--gold-2); }
.foot-links { display: grid; gap: 8px; }
.legal-line {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 13px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.88);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.overlay[hidden] { display: none; }
.modal {
  width: min(100%, 480px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 28px;
}
.modal h2 { margin-top: 0; }
.modal p { color: var(--mute); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px;
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; color: var(--mute); font-size: 14px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 7, 6, 0.94);
  display: grid;
  place-items: center;
  padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-ui {
  position: absolute;
  inset: 12px;
  pointer-events: none;
}
.lightbox-ui button {
  pointer-events: auto;
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
}
.lb-close { top: 0; right: 0; }
.lb-prev { top: 50%; left: 0; }
.lb-next { top: 50%; right: 0; }
.lb-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  color: var(--mute);
}

html.age-ok #age-gate,
html:has(#obsah:target) #age-gate { display: none !important; }
html:not(.age-ok) body { overflow: hidden; }
html:has(#obsah:target) body { overflow: auto; }

.cookie-bar {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 720px);
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: min(100%, 280px);
    height: auto;
    max-height: min(70vh, calc(100dvh - var(--header) - 16px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    z-index: 50;
    overflow: auto;
  }
  .nav-open .nav { display: flex; }
  .nav a { width: 100%; padding: 10px 12px; }
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .cookie-bar { left: 16px; right: 16px; transform: none; width: auto; }
}

.brand:hover { color: var(--ink); }
.nav a:hover { color: var(--gold); }

@media print {
  .overlay, .cookie-bar, .lightbox, .nav-toggle { display: none !important; }
  body { overflow: visible !important; background: #fff; color: #111; }
  a { color: inherit; }
}
