/* M-Event · photo-led catalog. Palette from the logo (navy + orange), warm paper neutrals. */
:root {
  --navy: #1f3252;
  --navy-2: #2b4470;
  --orange: #ef8f1f;
  --orange-2: #d97a0c;
  --paper: #faf7f2;
  --tint: #f2ece2;
  --card: #ffffff;
  --ink: #1a2231;
  --muted: #5d6676;
  --line: #e6dfd3;
  --err: #c62f45;
  --ok: #2f8f5b;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --tabbar: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 24px;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }
.center { text-align: center; }

html[data-lang="sk"] [lang="hu"], html[data-lang="hu"] [lang="sk"] { display: none !important; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 24px;
  padding: 8px 16px; border-radius: var(--r-md); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 12px 20px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #1a1206; }
.btn-ghost { background: var(--card); color: var(--navy); border-color: var(--line); }
.btn-glass { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-added { background: var(--navy); color: #fff; }
.btn i { font-size: 20px; }
@media (hover: hover) {
  .btn-primary:hover { background: #f59d33; }
  .btn-ghost:hover { border-color: var(--navy); }
  .btn-glass:hover { background: rgba(255, 255, 255, 0.24); }
  .btn-added:hover { background: var(--navy-2); }
}
.count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 9999px; background: var(--navy); color: #fff; font-size: 12px; line-height: 22px; text-align: center; font-weight: 700; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }
.bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--navy); }
.brand img { border-radius: 9999px; }
.brand-txt { display: flex; flex-direction: column; line-height: 20px; }
.brand-txt small { font-family: "DM Sans", sans-serif; font-size: 12px; line-height: 14px; font-weight: 600; color: var(--orange-2); letter-spacing: 0.01em; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.links a:hover { color: var(--ink); background: var(--tint); }
.links a[aria-current="true"] { color: var(--navy); background: var(--tint); }
.bar-end { display: flex; align-items: center; gap: 8px; }
.lang, .icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--card); color: var(--navy);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none;
}
.icon-btn i { font-size: 20px; }
.icon-btn { display: none; }

/* ---------- Hero (real photo) ---------- */
.hero { position: relative; min-height: min(600px, 74vh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 24, 40, 0.84) 0%, rgba(16, 24, 40, 0.55) 45%, rgba(16, 24, 40, 0.05) 80%), linear-gradient(0deg, rgba(16, 24, 40, 0.55), transparent 45%); }
.hero-inner { position: relative; padding-top: 96px; padding-bottom: 64px; width: 100%; }
.hero-logo { display: block; width: clamp(150px, 18vw, 230px); height: auto; margin-bottom: 18px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 16px; color: #ffd9a8; }
.kicker.dark { color: var(--orange-2); }
.hero h1 { font-size: 56px; line-height: 1.04; max-width: 680px; }
.hero-sub { margin-top: 20px; max-width: 540px; font-size: 19px; line-height: 28px; color: rgba(255, 255, 255, 0.88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.cat-head p { max-width: 460px; }
.cat-head h2, .event h2, .book-side h2, #otazky h2 { font-size: 40px; line-height: 44px; color: var(--navy); }

.cv-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.cv-desc { display: none; max-width: 460px; }
.is-all .cv-desc { display: block; }
@media (max-width: 860px) { .cv-row { flex-direction: column; align-items: flex-start; gap: 8px; } }
@media (max-width: 720px) { .cv-desc { font-size: 14px; line-height: 20px; } }
.cv-head h2 { font-size: 40px; line-height: 44px; color: var(--navy); outline: none; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.filter {
  font: inherit; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 9999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.filter small { font-size: 12px; color: var(--muted); font-weight: 600; }
.filter:hover { border-color: #cbbfa9; }
.filter[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter[aria-selected="true"] small { color: rgba(255, 255, 255, 0.7); }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
@media (hover: hover) { .card:hover { box-shadow: 0 12px 32px rgba(26, 34, 49, 0.1); } }
.card.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.media { position: relative; aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: #fff; isolation: isolate; }
.media::before { content: ""; position: absolute; inset: -20px; z-index: -1; background: var(--bg) center / cover; filter: blur(18px) saturate(1.1); opacity: 0.55; }
.media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ease); }
.media.cover img { object-fit: cover; }
@media (hover: hover) { .media:hover img { transform: scale(1.03); } }
.badge { position: absolute; left: 8px; top: 8px; background: var(--orange); color: #1a1206; font-size: 12px; line-height: 16px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.nphotos { position: absolute; right: 8px; bottom: 8px; background: rgba(16, 24, 40, 0.72); color: #fff; font-size: 12px; line-height: 16px; padding: 4px 8px; border-radius: 9999px; display: inline-flex; gap: 4px; align-items: center; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 18px; line-height: 23px; color: var(--navy); }
.size { font-size: 14px; line-height: 20px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: 12px; line-height: 16px; background: var(--tint); padding: 4px 8px; border-radius: 6px; font-weight: 500; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-size: 13px; line-height: 18px; color: var(--muted); font-weight: 500; }
.price b { font-size: 17px; color: var(--navy); }
.card-foot .btn { padding: 7px 12px; font-size: 14px; line-height: 20px; }
.card-foot .btn i { font-size: 18px; }

/* ---------- Event ---------- */
.event { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.event-img { padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; background: var(--tint); aspect-ratio: 4 / 5; }
.event-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.event-copy { display: flex; flex-direction: column; gap: 16px; }
.event-copy .muted { font-size: 18px; line-height: 28px; }
.event-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.event-thumbs button { padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--card); }
.event-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
@media (hover: hover) { .event-thumbs button:hover img { transform: scale(1.05); } }
/* ---------- Booking = contact options ---------- */
.book-head { max-width: 680px; margin-bottom: 24px; }
.book-head h2 { font-size: 40px; line-height: 44px; color: var(--navy); margin-bottom: 8px; }
.book-head p { font-size: 18px; line-height: 28px; }
.interest { display: flex; align-items: center; gap: 10px; background: #eef2f8; border: 1px solid #cfd8e8; border-radius: var(--r-md); padding: 10px 12px 10px 16px; margin-bottom: 20px; }
.interest > i { font-size: 22px; color: var(--navy); flex: none; }
.interest > span { flex: 1; }
.interest-x { width: 32px; height: 32px; border: 0; background: none; border-radius: var(--r-sm); color: var(--muted); cursor: pointer; display: grid; place-items: center; font-size: 18px; }
.interest-x:hover { background: #fff; color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; align-items: stretch; }
.cc { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.cc h3 { font-size: 22px; line-height: 28px; color: var(--navy); }
.cc .muted { flex: 1; }
.cc-main { border: 2px solid var(--orange); box-shadow: 0 12px 32px rgba(239, 143, 31, 0.16); }
.cc-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--navy); display: grid; place-items: center; font-size: 26px; }
.cc-main .cc-ic { background: var(--orange); color: #1a1206; }
.cc-badge { position: absolute; top: -13px; left: 20px; display: inline-flex; align-items: center; gap: 4px; background: var(--orange); color: #1a1206; font-size: 12px; line-height: 16px; font-weight: 700; padding: 5px 10px; border-radius: 9999px; }
.cc-badge-slow { background: var(--tint); color: var(--muted); border: 1px solid var(--line); }
.cc .big-tel { font-size: 30px; line-height: 36px; margin: 4px 0; }
.cc-btns { display: grid; gap: 8px; }
.cc-mail { font-weight: 600; color: var(--navy); word-break: break-all; }
.book-tip { margin-top: 20px; display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 15px; line-height: 22px; }
.book-tip i { font-size: 20px; flex: none; margin-top: 1px; }

@media (max-width: 980px) and (min-width: 721px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .cc-main { grid-column: 1 / -1; }
}

/* ---------- Pager ---------- */
.pager { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pager-info { font-size: 14px; line-height: 20px; color: var(--muted); }
.pager-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pg-num { width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.pg-num:hover { border-color: var(--navy); }
.pg-num[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pg-arrow[disabled] { opacity: 0.4; cursor: default; pointer-events: none; }

/* ---------- Videos ---------- */
.vid-head { margin-bottom: 24px; }
.vid-head h2 { font-size: 40px; line-height: 44px; color: var(--navy); }
.vid-head p { max-width: 460px; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.vid { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.vid video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 560px; object-fit: cover; background: #111; }
.vid figcaption { padding: 12px 16px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vid figcaption b { font-family: var(--head); font-size: 18px; line-height: 23px; color: var(--navy); }
.vid figcaption .btn { padding: 7px 12px; font-size: 14px; line-height: 20px; }
.vbadge { position: absolute; left: 8px; bottom: 8px; background: rgba(16, 24, 40, 0.78); color: #fff; font-size: 12px; line-height: 16px; font-weight: 600; padding: 4px 8px; border-radius: 9999px; display: inline-flex; gap: 4px; align-items: center; }
.d-track video { flex: 0 0 100%; width: 100%; height: 100%; max-height: calc(100vh - 48px); object-fit: contain; scroll-snap-align: start; background: #000; }

.social-box { display: grid; justify-items: center; gap: 12px; text-align: center; }
.social-box h2 { font-size: 32px; line-height: 38px; color: var(--navy); }
.social { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); }

/* ---------- Booking ---------- */
.book-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.book-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.steps li > span:first-child { width: 28px; height: 28px; border-radius: 9999px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.contact-card { border: 1px solid var(--line); background: var(--card); border-radius: var(--r-lg); padding: 16px 20px; display: grid; gap: 4px; }
.big-tel { font-family: var(--head); font-size: 26px; line-height: 32px; font-weight: 700; color: var(--navy); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .lbl { display: block; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); margin-bottom: 8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; }
input, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #d8cfc0; border-radius: var(--r-sm); padding: 11px 12px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 50, 82, 0.15); }
input.invalid { border-color: var(--err); }
.err { display: block; color: var(--err); font-size: 14px; line-height: 20px; margin-top: 4px; }
.err:empty { display: none; }

.picked { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.picked li { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.picked img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; background: #fff; }
.picked .p-name { font-weight: 600; line-height: 20px; }
.picked .p-size { font-size: 13px; line-height: 18px; color: var(--muted); }
.picked .p-txt { flex: 1; min-width: 0; }
.p-remove { width: 36px; height: 36px; flex: none; border-radius: var(--r-sm); border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; font-size: 18px; }
.p-remove:hover { border-color: var(--line); color: var(--err); background: #fff; }
.picked-empty { border: 1px dashed #cfc4b1; border-radius: var(--r-md); padding: 20px; display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--muted); }
.picked-empty i { font-size: 32px; color: var(--navy); }
.add-more { margin-top: 10px; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.btn-wa { background: #1faa53; color: #fff; }
@media (hover: hover) { .btn-wa:hover { background: #1b9749; } }
.send-busy { display: none; }
.busy .send-label { display: none; }
.busy .send-busy { display: inline; }
.busy { opacity: 0.8; pointer-events: none; }
.send-err { border: 1px solid #f0c3ca; background: #fdf1f3; color: var(--err); border-radius: var(--r-md); padding: 12px 16px; display: grid; gap: 8px; font-size: 15px; line-height: 22px; }
.send-alt { display: flex; gap: 20px; flex-wrap: wrap; }
.call-note { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink); background: var(--tint); border-radius: var(--r-md); padding: 10px 14px; }
.call-note i { font-size: 20px; color: var(--navy); flex: none; }
.call-note a { font-weight: 700; color: var(--navy); white-space: nowrap; }
.fine { font-size: 13px; line-height: 18px; color: var(--muted); text-align: center; }

.done { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 28px; display: grid; gap: 12px; justify-items: center; }
.done > i { font-size: 56px; color: var(--ok); }
.done h3 { font-size: 26px; line-height: 32px; color: var(--navy); }

/* ---------- FAQ ---------- */
#otazky h2 { margin-bottom: 32px; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 18px; transition: transform 0.3s var(--ease); flex: none; color: var(--muted); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 20px 16px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #d5dcea; padding: 48px 0 24px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot-brand { display: flex; gap: 16px; align-items: center; max-width: 440px; }
.foot-brand img { border-radius: 9999px; background: #fff; }
.foot-brand img.foot-elmeny { width: auto; height: 56px; border-radius: 0; background: none; }
.foot-brand strong { color: #fff; font-family: var(--head); font-size: 20px; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-contact li { display: flex; align-items: center; gap: 8px; }
.foot-contact a { color: #fff; }
.copy { text-align: center; font-size: 12px; margin-top: 32px; opacity: 0.6; }

/* ---------- Selection bar (desktop) ---------- */
.selbar {
  position: fixed; left: 50%; bottom: 24px; z-index: 55; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 12px;
  background: var(--navy); color: #fff; border-radius: 9999px; box-shadow: 0 12px 40px rgba(16, 24, 40, 0.3);
  animation: rise 0.4s var(--ease);
}
@keyframes rise { from { transform: translate(-50%, 16px); opacity: 0; } }
.selbar-thumbs { display: flex; }
.selbar-thumbs img { width: 36px; height: 36px; border-radius: 9999px; object-fit: cover; border: 2px solid var(--navy); background: #fff; margin-left: -10px; }
.selbar-thumbs img:first-child { margin-left: 0; }
.selbar-text { font-weight: 600; white-space: nowrap; }
.selbar .btn { border-radius: 9999px; }

/* ---------- Detail dialog ---------- */
.detail { border: 0; padding: 0; width: min(960px, calc(100vw - 48px)); max-height: calc(100vh - 48px); border-radius: var(--r-lg); background: var(--card); color: var(--ink); overflow: hidden; }
.detail[open] { display: grid; grid-template-columns: 3fr 2fr; animation: pop 0.3s var(--ease); }
.detail.photo-only[open] { grid-template-columns: 1fr; }
.detail.photo-only .d-info { display: none; }
@keyframes pop { from { transform: scale(0.97); opacity: 0; } }
.detail::backdrop { background: rgba(10, 15, 25, 0.75); backdrop-filter: blur(4px); }
.d-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 9999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 20px; display: grid; place-items: center; cursor: pointer; }
.d-media { position: relative; background: #111; min-height: 360px; }
.d-track { display: flex; height: 100%; max-height: calc(100vh - 48px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.d-track::-webkit-scrollbar { display: none; }
.d-track img { flex: 0 0 100%; width: 100%; height: 100%; max-height: calc(100vh - 48px); object-fit: contain; scroll-snap-align: start; }
.d-nav { position: absolute; top: 50%; margin-top: -20px; width: 40px; height: 40px; border-radius: 9999px; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 20px; display: grid; place-items: center; cursor: pointer; }
.d-prev { left: 12px; }
.d-next { right: 12px; }
.d-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.d-dots span { width: 8px; height: 8px; border-radius: 9999px; background: rgba(255, 255, 255, 0.5); transition: width 0.3s var(--ease), background-color 0.3s var(--ease); }
.d-dots span.on { width: 22px; background: #fff; }
.d-info { padding: 32px 28px 24px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.d-info h3 { font-size: 28px; line-height: 32px; color: var(--navy); padding-right: 40px; }
.d-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }

/* ---------- Tab bar (mobile only) ---------- */
.tabbar { display: none; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .links { display: none; }
  .bar-end { margin-left: auto; }
}
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 720px) {
  :root { --tabbar: 64px; }
  html { scroll-padding-top: 112px; }
  body { padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); }
  .wrap { padding: 0 16px; }
  .bar { height: 56px; gap: 12px; }
  .bar-cta { display: none; }
  .icon-btn { display: grid; }
  .selbar { display: none !important; }

  /* two pages */
  body[data-page="ponuka"] [data-pg="rezervacia"],
  body[data-page="rezervacia"] [data-pg="ponuka"] { display: none !important; }

  .tabbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar button {
    position: relative; height: var(--tabbar); border: 0; background: none; font: inherit; font-size: 12px; line-height: 16px; font-weight: 600;
    color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer;
  }
  .tabbar i { font-size: 24px; }
  .tabbar button[aria-current="page"] { color: var(--navy); }
  .tabbar button[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--orange); }
  .tabbar .count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 20px; height: 20px; line-height: 20px; font-size: 11px; background: var(--orange); color: #1a1206; }
  .tabbar .count.bump { animation: bump 0.4s var(--ease); }
  @keyframes bump { 40% { transform: scale(1.35); } }

  .hero { height: 46vh; min-height: 360px; max-height: 440px; }
  .hero-img { object-position: 62% 50%; }
  .hero-shade { background: linear-gradient(0deg, rgba(16, 24, 40, 0.9) 0%, rgba(16, 24, 40, 0.55) 50%, rgba(16, 24, 40, 0.1) 80%); }
  .hero-inner { padding-bottom: 20px; }
  .kicker { margin-bottom: 8px; }
  .hero-logo { width: 104px; margin-bottom: 8px; }
  .hero h1 { font-size: 32px; line-height: 36px; }
  .hero-sub { font-size: 15px; line-height: 22px; margin-top: 8px; }
  .hero-cta { margin-top: 14px; gap: 8px; }
  .hero-cta .btn { flex: 1; padding: 10px 12px; font-size: 15px; }

  .section { padding: 28px 0; }
  .cat-head { margin-bottom: 12px; }
  .cat-head h2, .event h2, .book-side h2, #otazky h2 { font-size: 26px; line-height: 30px; }
  .cat-head p.muted { font-size: 14px; line-height: 20px; }

  /* sticky, swipeable category filter */
  .filters {
    position: sticky; top: 56px; z-index: 20; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin: 0 -16px 12px; padding: 8px 16px; background: rgba(250, 247, 242, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding: 6px 12px; font-size: 14px; }

  /* compact 2-column catalog */
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cv-head { margin-bottom: 4px; gap: 4px; }
  .cv-head h2 { font-size: 26px; line-height: 30px; }
  .card { border-radius: var(--r-md); }
  .card-body { padding: 10px 10px 12px; gap: 4px; }
  .card h3 { font-size: 15px; line-height: 19px; }
  .size { font-size: 12px; line-height: 16px; }
  .card .tags { display: none; }
  .card-foot { padding-top: 8px; }
  .card-foot .price { display: none; }
  .card-foot .btn { width: 100%; padding: 7px 8px; font-size: 13px; }
  .badge { font-size: 11px; padding: 2px 6px; }

  .book-head { margin-bottom: 16px; }
  .book-head h2 { font-size: 26px; line-height: 30px; }
  .book-head p { font-size: 15px; line-height: 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .cc { padding: 24px 16px 16px; border-radius: var(--r-md); }
  .cc h3 { font-size: 19px; line-height: 24px; }
  .cc-btns { grid-template-columns: 1fr 1fr; }
  .pager { margin-top: 20px; }
  .pg-arrow { padding: 10px 12px; }
  .pg-arrow:first-child span { display: none; }
  .vid-head h2 { font-size: 26px; line-height: 30px; }
  .vid-head { margin-bottom: 12px; }
  .videos { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .videos::-webkit-scrollbar { display: none; }
  .vid { scroll-snap-align: start; border-radius: var(--r-md); }
  .vid figcaption b { font-size: 15px; line-height: 19px; }
  .d-track video { max-height: 58dvh; }
  .event { grid-template-columns: 1fr; gap: 16px; }
  .event-img { display: none; }
  .event-copy { gap: 10px; }
  .event-copy .muted { font-size: 15px; line-height: 22px; }
  .event-thumbs { gap: 8px; }

  .book-grid { grid-template-columns: 1fr; gap: 16px; }
  .book-side { position: static; gap: 8px; }
  .steps, .contact-card { display: none; }
  .form { padding: 16px; gap: 16px; border-radius: var(--r-md); }
  .row { grid-template-columns: 1fr; gap: 16px; }
  .send { grid-template-columns: 1fr; }
  input, textarea { font-size: 16px; }

  .detail[open] { grid-template-columns: 1fr; width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; grid-template-rows: auto 1fr; }
  .d-media { min-height: 0; }
  .d-track, .d-track img { max-height: 58dvh; }
  .d-info { padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); }
  .d-info h3 { font-size: 24px; line-height: 28px; }
  .d-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
