:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #111111;
  --muted: #5f6470;
  --line: #e9ebf1;
  --line-soft: #f1f3f7;
  --accent: #111111;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.06);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 24px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 52px 60px;
  box-shadow: var(--shadow);
}

header {
  text-align: center;
  margin-bottom: 42px;
}

.logo {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
}

h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.meta {
  margin: 0 auto;
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
}

.button-wrap {
  text-align: center;
  margin: 42px 0 8px;
}

.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  opacity: 0.98;
}

section {
  margin-top: 46px;
}

h2 {
  margin: 0 0 18px;
  padding-bottom: 8px;
  font-size: 21px;
  line-height: 1.3;
  border-bottom: 1px solid var(--line);
}

p {
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

.section-text {
  color: var(--muted);
  margin-bottom: 18px;
}

/* Program */
.program-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.program-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
}

.program-time {
  flex: 0 0 78px;
  font-weight: 700;
  color: var(--text);
}

.program-text {
  flex: 1;
}

/* Menu */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.menu-name {
  flex: 1;
}

.menu-name small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.menu-price {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 700;
}

/* Practical info */
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.info-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* QR section */
.qr-container {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.qr-item {
  flex: 1 1 260px;
  max-width: 320px;
  text-align: center;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fcfcfe;
  box-shadow: var(--shadow-soft);

  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-title {
  margin-bottom: 14px;
  font-weight: 600;
  min-height: 52px; /* sjednotí výšku nadpisu */
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-item img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .wrap {
    padding: 28px 16px;
  }

  .card {
    padding: 34px 22px;
    border-radius: 16px;
  }

  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 19px;
  }

  .meta,
  p,
  .program-list li,
  .info-list li,
  .menu-list li {
    font-size: 15px;
  }

  .program-list li {
    gap: 12px;
  }

  .program-time {
    flex: 0 0 64px;
  }

  .menu-list li {
    flex-direction: column;
    gap: 4px;
  }

  .menu-price {
    white-space: normal;
  }

  .button-wrap {
    margin-top: 34px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .qr-item {
    max-width: 100%;
  }
}