/* Prague Fight Makerz, varianta D (produkcni)

   Typografie a rozestupy: plynule skaly podle Utopia (utopia.fyi).
   Viewport 360 -> 1280 px, zakladni text 17 -> 19 px, pomer 1.2 (mobil) -> 1.25 (desktop).
   Rozestupy jsou nasobky step-0. Kazda velikost v CSS je token, zadne nahodne px hodnoty.
   Sekce se oddeluji rozestupem a stridanim pozadi, ne carami (Refactoring UI: "use fewer borders").
   Dotykove cile min. 44 px (WCAG 2.5.5 / Apple HIG). Nadpisy text-wrap: balance, odstavce pretty. */

:root {
  /* Typ */
  --step--1: clamp(0.8854rem, 0.8601rem + 0.1123vw, 0.9500rem);  /* 14 -> 15 */
  --step-0:  clamp(1.0625rem, 1.0136rem + 0.2174vw, 1.1875rem);  /* 17 -> 19 */
  --step-1:  clamp(1.2750rem, 1.1931rem + 0.3641vw, 1.4844rem);  /* 20 -> 24 */
  --step-2:  clamp(1.5300rem, 1.4026rem + 0.5660vw, 1.8555rem);  /* 24 -> 30 */
  --step-4:  clamp(2.2032rem, 1.9309rem + 1.2104vw, 2.8992rem);  /* 35 -> 46 */
  --step-5:  clamp(2.6438rem, 2.2603rem + 1.7046vw, 3.6240rem);  /* 42 -> 58 */
  --step-7:  clamp(3.4rem, 2.6rem + 3.6vw, 5.6624rem);            /* 54 -> 91 */

  /* Rozestupy */
  --space-2xs: clamp(0.5312rem, 0.5068rem + 0.1087vw, 0.5938rem); /* 8 -> 10 */
  --space-xs:  clamp(0.7969rem, 0.7602rem + 0.1630vw, 0.8906rem); /* 13 -> 14 */
  --space-s:   clamp(1.0625rem, 1.0136rem + 0.2174vw, 1.1875rem); /* 17 -> 19 */
  --space-m:   clamp(1.5938rem, 1.5204rem + 0.3261vw, 1.7812rem); /* 26 -> 28 */
  --space-l:   clamp(2.1250rem, 2.0272rem + 0.4348vw, 2.3750rem); /* 34 -> 38 */
  --space-xl:  clamp(3.1875rem, 3.0408rem + 0.6522vw, 3.5625rem); /* 51 -> 57 */
  --space-s-l: clamp(1.0625rem, 0.5489rem + 2.2826vw, 2.3750rem); /* 17 -> 38 */
  --space-m-xl: clamp(1.5938rem, 0.8234rem + 3.4239vw, 3.5625rem); /* 26 -> 57 */
  --section:   clamp(3.1875rem, 1.6467rem + 6.8478vw, 7.1250rem); /* 51 -> 114 */

  /* Barvy */
  --white: #FFFFFF;
  --surface: #F3F4F5;   /* stridani sekci */
  --ink: #000000;
  --muted: #5B5F64;     /* 6.6:1 na bile, 6.0:1 na surface */
  --red: #A3202A;
  --focus: #1E5BC6;

  /* Tvary */
  --r-media: 14px;
  --r-panel: 24px;
  --r-field: 10px;
  --tap: 48px;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --gutter: var(--space-s-l);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; }
#inquiry > *, .row, .contact > *, .pidel > *, .panel-red > * { min-width: 0; }
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--step-0)/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
figure { margin: 0; }
p { margin: 0; max-width: 65ch; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--step-7); line-height: 0.95; letter-spacing: -0.035em; }
h2 { font-size: var(--step-4); line-height: 1.1; letter-spacing: -0.025em; }
h3, .h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: inherit; line-height: inherit; }
.muted { color: var(--muted); }
.flow > * + * { margin-top: var(--space-s); }
.flow > h2 + * { margin-top: var(--space-m); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 8px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 16px; transform: translateY(-300%); }
.skip:focus { transform: none; }
.ic { width: 24px; height: 24px; flex: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { --wrap: 48rem; }

/* Tlacitka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs); min-height: var(--tap); padding: 0 var(--space-m); border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; background: var(--ink); color: var(--white); text-decoration: none; font: 500 var(--step-0)/1 var(--font); white-space: nowrap; }
.btn:hover { background: #2A2A2A; border-color: #2A2A2A; }
.btn-small { min-height: 44px; padding: 0 var(--space-s); font-size: var(--step--1); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: #E8E8E8; border-color: #E8E8E8; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.chip { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 44px; padding: 0 var(--space-s) 0 var(--space-xs); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--step--1); }
.chip:hover { background: #E6E7E9; }
.chip .ic { width: 20px; height: 20px; }
.chip-dark { background: rgba(255,255,255,.1); color: var(--white); }
.chip-dark:hover { background: rgba(255,255,255,.2); }

.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.icon-btn:hover { background: var(--surface); }

/* Hlavicka: nad videem pruhledna, po odscrollovani bila. Odkazy v jedne pilulce,
   aktivni sekci oznacuje posuvny podklad (scroll-spy). */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-m); height: 68px; padding: 0 var(--gutter); color: var(--white); transition: background-color .3s, color .3s, box-shadow .3s, height .3s; }
.top.solid { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); color: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,.06); height: 60px; }
.wordmark { font: 700 var(--step-0)/1 var(--font); letter-spacing: -0.02em; color: inherit; text-decoration: none; margin: 0; justify-self: start; }
.nav { position: relative; display: flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top.solid .nav { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-s); border-radius: 999px; text-decoration: none; font-size: var(--step--1); font-weight: 500; color: inherit; transition: color .25s; }
.nav a:hover { background: rgba(255,255,255,.14); }
.top.solid .nav a:hover { background: rgba(0,0,0,.05); }
.nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"]:hover { background: none; }
.nav-ind { position: absolute; z-index: 0; top: 4px; left: 0; height: 40px; width: 0; border-radius: 999px; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.1); opacity: 0; transition: transform .35s cubic-bezier(.3,.7,.2,1), width .35s cubic-bezier(.3,.7,.2,1), opacity .2s; }
.top-end { display: flex; align-items: center; gap: var(--space-2xs); justify-self: end; }
.lang { display: flex; font-size: var(--step--1); font-weight: 500; }
.lang a { display: grid; place-items: center; min-width: 44px; min-height: 44px; text-decoration: none; color: inherit; opacity: .6; border-radius: 999px; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lang abbr { text-decoration: none; }
.top .top-cta { background: var(--white); color: var(--ink); border-color: var(--white); }
.top.solid .top-cta { background: var(--ink); color: var(--white); border-color: var(--ink); }
.menu-btn { display: none; color: inherit; }
.top .icon-btn:hover { background: rgba(255,255,255,.14); }
.top.solid .icon-btn:hover { background: var(--surface); }
.top :focus-visible { outline-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .top, .nav-ind, .nav a { transition: none; } }

/* Mobilni menu pres celou obrazovku */
.sheet { margin: 0; padding: 0 var(--gutter) calc(var(--space-m) + env(safe-area-inset-bottom)); border: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: var(--white); color: var(--ink); flex-direction: column; }
.sheet[open] { display: flex; animation: sheet-in .28s cubic-bezier(.3,.7,.2,1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }
.sheet::backdrop { background: rgba(0,0,0,.4); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.sheet-nav { display: grid; gap: var(--space-2xs); margin-top: var(--space-m); }
.sheet-nav a { display: flex; align-items: center; gap: var(--space-s); min-height: 64px; padding: 4px; border-radius: 18px; text-decoration: none; font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; }
.sheet-nav a:active, .sheet-nav a:hover { background: var(--surface); }
.sheet-nav a[aria-current="true"] { background: var(--surface); }
.thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 14px; flex: none; }
.sheet-foot { margin-top: auto; display: grid; gap: var(--space-s); padding-top: var(--space-m); }
.sheet-row { display: flex; align-items: center; justify-content: space-between; }
.sheet .lang a { opacity: .55; }
.sheet .lang a[aria-current] { opacity: 1; }
.icon-btn-soft { background: var(--surface); }
.icon-btn-soft .ic { width: 22px; height: 22px; }
html.lock { overflow: hidden; }

/* Hero: video co nejvic videt, text v jednom kompaktnim kontejneru vlevo dole,
   ovladani videa vpravo dole, pruvodce (Pidel) jako oddeleny stitek s tooltipem pod kontejnerem. */
.hero { position: relative; min-height: max(600px, 100svh); display: flex; align-items: flex-end; background: var(--ink); color: var(--white); overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 160px), linear-gradient(to top, rgba(0,0,0,.35) 0, rgba(0,0,0,0) 40%); }
.hero-in { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-m); padding-block: calc(68px + var(--space-l)) var(--space-l); }
.hero-stack { display: grid; gap: var(--space-2xs); width: min(100%, 35rem); }
.hero-card { background: rgba(10,10,10,.62); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-radius: var(--r-panel); padding: var(--space-m); }
.hero-card h1 { font-size: var(--step-5); line-height: 1; letter-spacing: -0.03em; }
.hero-line { margin-top: var(--space-xs); color: rgba(255,255,255,.86); }
.hero-facts { list-style: none; margin: var(--space-s) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: var(--step--1); font-weight: 500; }
.hero-facts .ic { width: 18px; height: 18px; }
.hero-card .actions { margin-top: var(--space-m); }
.hero :focus-visible { outline-color: var(--white); }

.guide { position: relative; justify-self: start; display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 48px; padding: 4px var(--space-s) 4px 4px; border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 500; }
.guide img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.guide:hover { background: #ECECEC; }
.tip { position: absolute; left: 0; bottom: calc(100% + 10px); width: max-content; max-width: 19rem; padding: 10px 14px; border-radius: 12px; background: var(--white); color: var(--ink); font-size: var(--step--1); font-weight: 400; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none; }
.tip::after { content: ""; position: absolute; left: 24px; top: 100%; border: 7px solid transparent; border-top-color: var(--white); }
.guide:hover .tip, .guide:focus-visible .tip { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .tip { transition: none; } }

.video-controls { display: flex; gap: var(--space-2xs); flex: none; }
.vbtn { width: var(--tap); height: var(--tap); padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--white); color: var(--ink); display: grid; place-items: center; }
.vbtn:hover { background: #E6E6E6; }
.vbtn svg { width: 22px; height: 22px; }
.vbtn[data-state="playing"] .i-play, .vbtn[data-state="paused"] .i-pause { display: none; }
.vfull { height: var(--tap); display: inline-flex; align-items: center; gap: var(--space-2xs); padding: 0 var(--space-s) 0 var(--space-xs); border-radius: 999px; cursor: pointer; background: rgba(10,10,10,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--white); border: 0; font: 500 var(--step--1)/1 var(--font); }
.vfull:hover { background: rgba(10,10,10,.75); }
.vfull svg { width: 22px; height: 22px; }
.player { padding: 0; border: 0; background: var(--ink); width: min(94vw, 1280px); max-height: 90vh; overflow: visible; border-radius: var(--r-media); }
.player::backdrop { background: rgba(0,0,0,.86); }
.player video { width: 100%; max-height: 90vh; border-radius: var(--r-media); }
.player .close { position: absolute; top: -60px; right: 0; }

/* Sekce */
.sec { padding-block: var(--section); }
.sec-alt { background: var(--surface); }
.sec-head { max-width: 44rem; margin-bottom: var(--space-xl); }
.sec-head > * + * { margin-top: var(--space-s); }

/* Co je buhurt */
.panel-red { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-m-xl); align-items: center; background: var(--red); color: var(--white); border-radius: var(--r-panel); padding: var(--space-m-xl); }
.panel-red img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-media); }
.panel-red :focus-visible { outline-color: var(--white); }
.panel-red .actions { margin-top: var(--space-m); }
.panel-red .btn-light { white-space: normal; text-align: left; line-height: 1.25; min-height: var(--tap); padding-block: 10px; }

/* Prubeh */
.prog { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--space-xl); }
.prog li { counter-increment: step; display: grid; grid-template-columns: 5fr 4fr; gap: var(--space-m-xl); align-items: center; }
.prog li:nth-child(even) img { order: 2; }
.prog img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-media); }
.prog-text::before { content: counter(step, upper-roman); display: block; color: var(--red); font-size: var(--step-2); font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin-bottom: var(--space-xs); }
.prog-text p { color: var(--muted); margin-top: var(--space-2xs); }
.group { margin-top: var(--space-xl); }
.group img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 40%; border-radius: var(--r-media); }
.group figcaption { color: var(--muted); font-size: var(--step--1); margin-top: var(--space-2xs); }

/* Pro koho */
.occasions { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-l) var(--space-m); }
.occasions .ic { color: var(--red); margin-bottom: var(--space-xs); width: 28px; height: 28px; }
.occasions dt { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.occasions dd { margin: var(--space-2xs) 0 0; color: var(--muted); }
.panel-dark { margin-top: var(--space-xl); background: var(--ink); color: var(--white); border-radius: var(--r-panel); padding: var(--space-m-xl); }
.facts { margin: var(--space-m) 0 var(--space-l); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m) var(--space-l); }
.facts > div { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-xs); align-content: start; }
.facts .ic { grid-row: span 2; color: rgba(255,255,255,.75); margin-top: 2px; }
.facts dt { color: rgba(255,255,255,.72); font-size: var(--step--1); }
.facts dd { margin: 2px 0 0; }
.facts .key dd { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

/* Pidel */
.pidel { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-m-xl); align-items: center; }
.pidel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-media); }
.pidel .actions { margin-top: var(--space-m); }

/* Otazky */
.faq { display: grid; gap: var(--space-2xs); }
details { background: var(--surface); border-radius: var(--r-field); }
summary { cursor: pointer; list-style: none; position: relative; padding: var(--space-s) calc(var(--space-m) + 32px) var(--space-s) var(--space-m); min-height: var(--tap); font-weight: 500; font-size: var(--step-0); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: var(--space-m); top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
@media (prefers-reduced-motion: reduce) { summary::after { transition: none; } }
details p { padding: 0 var(--space-m) var(--space-m); color: var(--muted); }

/* Kde + poptavka */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-m-xl); align-items: start; }
address { font-style: normal; }
.where .chips { margin-top: var(--space-m); }
.card { background: var(--white); border-radius: var(--r-panel); padding: var(--space-m-xl); }
.card > p { margin-top: var(--space-xs); color: var(--muted); }
#inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s) var(--space-s); margin-top: var(--space-l); }
.row-full { grid-column: 1 / -1; }
.row label { display: block; font-weight: 500; font-size: var(--step--1); margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; min-height: 52px; font: 400 max(16px, var(--step-0))/1.3 var(--font); color: var(--ink); background: var(--surface); border: 2px solid transparent; border-radius: var(--r-field); padding: 12px 14px; }
input:focus, select:focus, textarea:focus { background: var(--white); border-color: var(--ink); outline: none; }
textarea { resize: vertical; }
.error { color: #B3261E; font-weight: 500; font-size: var(--step--1); margin-top: 6px; }
[aria-invalid="true"] { border-color: #B3261E; background: #FDF2F1; }
.sent { margin-top: var(--space-m); padding: var(--space-m); background: #E7F3EA; border-radius: var(--r-panel); color: #12391F; }
.sent:focus { outline: none; }
.sent:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sent .ic { width: 48px; height: 48px; color: #1E7A3C; stroke-width: 2; }
.sent-h { font-size: var(--step-2); font-weight: 700; margin-top: var(--space-s); }
.sent > p + p { margin-top: var(--space-xs); }
@media (prefers-reduced-motion: no-preference) {
  .sent.pop { animation: sent-in .45s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes sent-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
}
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gdpr { margin-top: var(--space-xs); font-size: var(--step--1); color: var(--muted); }
.form-error { margin-top: var(--space-xs); padding: var(--space-xs) var(--space-s); border-radius: var(--r-field); background: #FDF2F1; color: #B3261E; font-size: var(--step--1); font-weight: 500; }
.btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.proto { font-size: var(--step--1); color: var(--muted); }

/* Paticka */
.foot { background: var(--ink); color: var(--white); padding-block: var(--space-xl) calc(var(--space-xl) + env(safe-area-inset-bottom)); }
.foot-in { display: grid; grid-template-columns: 4fr 4fr 4fr; gap: var(--space-l); align-items: start; }
.foot .muted { color: rgba(255,255,255,.72); margin-top: var(--space-2xs); }
.foot a { color: var(--white); }
.foot .wordmark { color: var(--white); font-size: var(--step-1); }
.limit-note { grid-column: 1 / -1; display: flex; gap: var(--space-2xs); align-items: flex-start; font-size: var(--step--1); color: rgba(255,255,255,.72); max-width: none; padding-top: var(--space-m); }
.limit-note .ic { width: 20px; height: 20px; margin-top: 2px; }
.limit-note strong { color: var(--white); font-weight: 500; }
.legal { grid-column: 1 / -1; font-size: var(--step--1); color: rgba(255,255,255,.6); max-width: none; }

/* Mobilni lista s CTA (jen mobil) */
.mbar { display: none; }

@media (max-width: 899px) {
  .top { grid-template-columns: 1fr auto; height: 60px; }
  .top.solid { height: 56px; }
  .nav, .top-end .lang, .top-cta { display: none; }
  .menu-btn { display: grid; margin-right: -10px; }

  /* Mobil: video nahore bez prekryvu, text pod nim na cernem podkladu */
  .hero { --hero-video: 54svh; display: block; min-height: 0; }
  .hero video { position: relative; inset: auto; height: var(--hero-video); min-height: 300px; }
  .hero::after { bottom: auto; height: 120px; background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0)); }
  .hero-in { position: static; width: 100%; display: block; padding: 0; }
  .hero-stack { position: relative; z-index: 1; width: 100%; gap: var(--space-xs); padding: var(--space-m) var(--gutter) var(--space-l); }
  .hero-card { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; border-radius: 0; }
  .hero-line { display: none; }
  .hero-facts { margin-top: var(--space-xs); }
  .hero-card .actions { margin-top: var(--space-m); flex-wrap: nowrap; }
  .hero-card .actions .btn-light { flex: 1; }
  .hero-card .btn-ghost { width: var(--tap); padding: 0; flex: none; }
  .hero-card .btn-ghost span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .guide { margin-top: var(--space-xs); }
  .video-controls { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); top: calc(max(var(--hero-video), 300px) - var(--tap) - 14px); justify-content: space-between; }
  .video-controls .vfull { order: -1; background: rgba(10,10,10,.7); }
  .tip { display: none; }

  .panel-red, .pidel, .contact { grid-template-columns: 1fr; }
  .panel-red { padding: var(--space-m) var(--space-s) var(--space-s); border-radius: 20px; }
  .wrap:has(> .panel-red) { width: min(100% - 2 * 12px, var(--wrap)); }
  .prog { gap: var(--space-l); }
  .prog li { grid-template-columns: 1fr; gap: var(--space-s); }
  .prog li:nth-child(even) img { order: 0; }
  .group img { aspect-ratio: 4 / 3; }
  .occasions { grid-template-columns: 1fr 1fr; gap: var(--space-m) var(--space-s); }
  .facts { grid-template-columns: 1fr; gap: var(--space-s); }
  .panel-dark { padding: var(--space-m) var(--space-s); }
  .panel-dark .btn { width: 100%; }
  .pidel img { aspect-ratio: 1; }
  .card { padding: var(--space-m) var(--space-s); margin-inline: calc(-1 * var(--gutter) + 12px); }
  #inquiry { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; gap: var(--space-m); }
  .foot { padding-bottom: calc(var(--space-xl) + 76px + env(safe-area-inset-bottom)); }

  .mbar { display: flex; position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: var(--space-s); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--white); transform: translateY(110%); transition: transform .25s ease; }
  .mbar.show { transform: none; }
  .mbar p { font-size: var(--step--1); }
  .mbar strong { font-size: var(--step-0); }
  @media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .wordmark { font-size: var(--step--1); }
  .nav a { padding: 0 var(--space-xs); }
  .top-end .lang { display: none; }
}
@media (max-width: 420px) {
  .occasions { grid-template-columns: 1fr; }
}
