/* ==========================================================================
   HANGÁR 65
   Světlá, klidná verze. Papírově bílý podklad, grafitový text, cihlová jako
   jediný akcent. Bez efektů navíc — obsah a fotografie nesou stránku samy.
   Viz DESIGN.md
   ========================================================================== */

/* ---------- 1. Tokens ---------- */

:root {
  /* Plochy — chladná bílá, ne krémová */
  --ground:  #F6F6F4;
  --surface: #FFFFFF;
  --sunken:  #EDEDEA;
  --line:    rgba(23, 24, 26, .09);
  --line-2:  rgba(23, 24, 26, .16);

  /* Text */
  --ink:   #17181A;   /* 15.5:1 */
  --muted: #5A5D5F;   /*  6.1:1 */
  --faint: #6B6F72;   /*  4.7:1 */

  /* Akcent — značková zlatá z loga Hangáru 65.
     Plná zlatá nese plochy (tlačítka, tmavý pruh), tmavší odstín drobný text:
     na světlém podkladu má #F0C041 kontrast jen 1.6:1, takže se textem nikdy nestává. */
  --gold:        #F0C041;   /* plocha; tmavý text na ní 10.4:1 */
  --gold-deep:   #E0AE2A;   /* hover plochy */
  --accent:      #8A6108;   /* text a odkazy: 5.1:1 na --ground, 4.7:1 na --sunken */
  --accent-soft: rgba(240, 192, 65, .16);

  /* Stav */
  --ok:   #2F6B45;
  --warn: #8A6410;
  --err:  #A32B20;

  /* Tvar */
  --r:    12px;
  --r-sm: 8px;
  --arch: 50% 50% var(--r) var(--r) / 30% 30% 4% 4%;

  /* Stín — vždy posun i rozostření */
  --shadow-1: 0 1px 2px rgba(23, 24, 26, .05);
  --shadow-2: 0 2px 4px rgba(23, 24, 26, .04), 0 12px 28px -16px rgba(23, 24, 26, .22);
  --shadow-3: 0 4px 8px rgba(23, 24, 26, .05), 0 24px 48px -24px rgba(23, 24, 26, .3);

  /* Rytmus */
  --sec:  clamp(4rem, 9vw, 8rem);
  --pad:  clamp(1.25rem, 5vw, 3.5rem);
  --maxw: 1200px;

  --ease: cubic-bezier(.2, .8, .3, 1);

  color-scheme: light;
}

/* ---------- 2. Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

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

.skip {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: 1rem; }

.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;
}

/* ---------- 3. Typografie ---------- */

h1, h2, .d1, .d2 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.06;
  text-wrap: balance;
}

h1, .d1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2, .d2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }

h3, .d3 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.lead {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}

p { max-width: 70ch; }

/* Popisky — obyčejný malý text, žádné prostrkané verzálky */
.label {
  font-size: .8125rem;
  color: var(--faint);
}

/* Číslice se zarovnají ve sloupci; jinde mono nepoužíváme */
.num { font-variant-numeric: tabular-nums; letter-spacing: .01em; }

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--sunken { background: var(--sunken); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 900px) {
  .head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

/* ---------- 5. Tlačítka ---------- */

/* Materiál ve stylu „liquid glass": průsvit s rozostřením pozadí, světelná
   hrana nahoře, stín dole a jemný odlesk přes celou plochu. Barevná tlačítka
   zůstávají krycí — odlesk a hrany dostávají taky, aby patřila do stejné rodiny. */

.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8125rem 1.25rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid rgba(23, 24, 26, .14);
  border-radius: 999px;
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: -.005em;
  cursor: pointer;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -1px 0 rgba(0, 0, 0, .10),
    0 1px 2px rgba(23, 24, 26, .10),
    0 8px 20px -12px rgba(23, 24, 26, .40);
  transition: background .2s var(--ease), border-color .2s var(--ease),
              box-shadow .2s var(--ease), color .2s var(--ease);
}

/* Odlesk — šikmé světlo přes horní hranu, jako na skle */
.btn::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(158deg,
    rgba(255, 255, 255, .30) 0%,
    rgba(255, 255, 255, .10) 32%,
    rgba(255, 255, 255, 0) 58%);
  opacity: .9;
  transition: opacity .2s var(--ease);
}
.btn:hover::before { opacity: 1; }

.btn:hover:not(:disabled) {
  background: var(--gold-deep);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 -1px 0 rgba(0, 0, 0, .12),
    0 2px 4px rgba(23, 24, 26, .12),
    0 14px 30px -14px rgba(23, 24, 26, .5);
}
.btn:active:not(:disabled) {
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, .18),
    0 1px 2px rgba(23, 24, 26, .10);
}
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* Světlé sklo — na světlém podkladu i nad fotkou */
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, .66);
  --btn-fg: var(--ink);
  border-color: rgba(23, 24, 26, .16);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}
.btn--ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, .86);
  border-color: rgba(23, 24, 26, .3);
}

/* Tmavé sklo pro fotky. Krytí .70 je záměr: i nad světlým místem snímku
   drží bílý text kontrast nad 4,5:1. */
.btn--glass {
  --btn-bg: rgba(12, 12, 14, .70);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .26);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    inset 0 -1px 0 rgba(0, 0, 0, .3),
    0 2px 6px rgba(0, 0, 0, .22),
    0 14px 32px -16px rgba(0, 0, 0, .6);
}
.btn--glass::before {
  background: linear-gradient(158deg,
    rgba(255, 255, 255, .22) 0%,
    rgba(255, 255, 255, .07) 34%,
    rgba(255, 255, 255, 0) 62%);
}
.btn--glass:hover:not(:disabled) {
  background: rgba(24, 24, 28, .66);
  border-color: rgba(255, 255, 255, .46);
}

.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; border-color: rgba(255, 255, 255, .12); }
.btn--dark:hover:not(:disabled) { background: #000; }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); border-color: rgba(23, 24, 26, .08); }
.btn--light:hover:not(:disabled) { background: #F2F2F0; }

.btn--lg { padding: 1rem 1.625rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

.btn .ico { width: 17px; height: 17px; flex: none; }

/* Textový odkaz */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-weight: 600;
  color: var(--accent);
  padding-block: .25rem;
  box-shadow: inset 0 -1px 0 rgba(138, 97, 8, .35);
  transition: box-shadow .18s var(--ease), color .18s var(--ease);
}
.tlink:hover { color: #6E4D06; box-shadow: inset 0 -1px 0 currentColor; }
.tlink .ico { width: 15px; height: 15px; }

/* ---------- 6. Hlavička ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(246, 246, 244, .72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-1); }

/* Lišta: černá nahoře, dolů se ztrácí. Bez spodní linky. */
.site-header.is-over {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}
.site-header.is-over::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8.75rem;
  background: linear-gradient(180deg,
    #0c0c0d 0%,
    rgba(8, 8, 9, .82) 22%,
    rgba(8, 8, 9, .38) 58%,
    rgba(8, 8, 9, 0) 100%);
  pointer-events: none;
  z-index: -1;
  transition: height .45s var(--ease), opacity .45s var(--ease);
}
.site-header.is-over.is-scrolled::before { height: 6.25rem; }
.site-header.is-over .wrap { transition: min-height .45s var(--ease); }
.site-header.is-over.is-scrolled .wrap { min-height: 3.75rem; }
.brand-logo--on-photo { display: none; }
.site-header.is-over .brand-logo--ink { display: none; }
.site-header.is-over .brand-logo--on-photo { display: block; }
.site-header.is-over .nav a {
  position: relative;
  color: rgba(255, 255, 255, .82);
  transition: color .2s var(--ease);
}
.site-header.is-over .nav a::after {
  content: '';
  position: absolute;
  left: .25rem;
  right: .25rem;
  bottom: .15rem;
  height: 1px;
  background: #F0C041;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}
.site-header.is-over .nav a:hover,
.site-header.is-over .nav a:focus-visible { color: #F0C041; }
.site-header.is-over .nav a:hover::after,
.site-header.is-over .nav a:focus-visible::after { transform: scaleX(1); }
.site-header.is-over .burger {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
}
.site-header.is-over .burger span,
.site-header.is-over .burger span::before,
.site-header.is-over .burger span::after { background: #fff; }
.site-header.is-over .burger[aria-expanded="true"] span { background: transparent; }
.site-header.is-over:has(+ .mobile-nav.is-open)::before { opacity: 0; }
.site-header.is-over:has(+ .mobile-nav.is-open) {
  background: rgba(246, 246, 244, .94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.site-header.is-over:has(+ .mobile-nav.is-open) .brand-logo--ink { display: block; }
.site-header.is-over:has(+ .mobile-nav.is-open) .brand-logo--on-photo { display: none; }
.site-header.is-over:has(+ .mobile-nav.is-open) .burger {
  background: var(--surface);
  border-color: var(--line-2);
}
.site-header.is-over:has(+ .mobile-nav.is-open) .burger span,
.site-header.is-over:has(+ .mobile-nav.is-open) .burger span::before,
.site-header.is-over:has(+ .mobile-nav.is-open) .burger span::after { background: var(--ink); }
.site-header.is-over:has(+ .mobile-nav.is-open) .burger[aria-expanded="true"] span { background: transparent; }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 26px; width: auto; }
@media (min-width: 640px) { .brand img { height: 30px; } }
.footer-logo { height: 52px; width: auto; }

.nav { display: none; gap: clamp(.75rem, 1.6vw, 1.75rem); align-items: center; }
@media (min-width: 960px) { .nav { display: flex; } }

.nav a {
  font-size: .9375rem;
  color: var(--muted);
  padding: .5rem .25rem;
  border-radius: 4px;
  transition: color .18s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.header-cta { padding: .625rem 1rem; font-size: .875rem; }
@media (min-width: 640px) { .header-cta { padding: .8125rem 1.25rem; font-size: .9375rem; } }

.burger {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
}
@media (min-width: 960px) { .burger { display: none; } }
.burger span { display: block; width: 17px; height: 1.5px; background: var(--ink); position: relative; transition: background .18s var(--ease); }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0;
  width: 17px; height: 1.5px; background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after  { top: 5.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: calc(4.5rem + env(safe-area-inset-top, 0px));
  right: 0;
  left: 0;
  z-index: 99;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: .75rem var(--pad) 1.5rem;
  display: grid;
  gap: .125rem;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.mobile-nav.is-open {
  bottom: 0;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  overflow: auto;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
}
.site-header.is-over.is-scrolled + .mobile-nav {
  top: calc(3.75rem + env(safe-area-inset-top, 0px));
}
html.nav-open { overflow: hidden; }
html.nav-open .site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
}
.mobile-nav a { padding: .875rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.mobile-nav .btn { margin-top: 1rem; }

/* ---------- 7. Hero s fotkou ---------- */

.hero-shot {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid; place-items: center;
  text-align: center;
  margin-top: calc(-4.5rem - env(safe-area-inset-top, 0px));
  padding: calc(4.5rem + env(safe-area-inset-top, 0px) + clamp(5rem, 10vw, 7rem)) var(--pad) clamp(3rem, 6vw, 4.5rem);
  isolation: isolate;
  overflow: hidden;
}
.hero-shot::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-position: center 62%;
  background-size: cover;
  background-repeat: no-repeat;
}
/* Ztmavení je tvarované svisle, ne plošně: pruh pod textem má krytí .84,
   při kterém bílý text vychází na 4,7:1 i nad úplně přepáleným pixelem.
   Nahoře a dole je světlejší, takže fotka zůstane čitelná jako fotka.
   Svislý gradient je záměr — kontrast pak nezávisí na tom, jak široký
   je text, což u elipsy nebo viněty neplatí. */
.hero-shot::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(12, 12, 13, .28) 0%,
    rgba(12, 12, 13, .22) 14%,
    rgba(12, 12, 13, .84) 38%,
    rgba(12, 12, 13, .84) 84%,
    rgba(12, 12, 13, .66) 100%);
}

.hero-logo { width: min(600px, 84vw); height: auto; margin-inline: auto; }

.hero-kicker {
  margin: 0 0 .875rem;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .78);
}

.slab-label {
  margin: 0 0 .75rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.slab-label--ink { color: var(--accent); letter-spacing: .04em; }

.hero-claim {
  margin: 1.75rem auto 0;
  max-width: 54ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .96);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

.hero-facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem 2.5rem;
  margin-top: 2.5rem;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .94);
}
.hero-facts b { font-weight: 600; color: #fff; }

/* ---------- 7b. Fotografické pásy ---------- */

/* Fotky pásů.
   Pozor: url() se vyhodnocuje vůči TOMUHLE souboru, ne vůči stránce — proto
   `../img/`. Výměna fotky u sekce = jeden řádek tady, nic v HTML. */
.shot-aerial::before     { background-image: url('../img/hero-aerial.jpg'); background-position: center 58%; }
.shot-hall::before       { background-image: url('../img/interior-04.jpeg'); background-position: 70% center; }
.shot-parking::before    { background-image: url('../img/interior-01.jpeg'); }
.services {
  background: #0c0c0d;
  color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
}
.services-grid {
  display: grid;
  grid-template-rows: auto minmax(14rem, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: clamp(4.5rem, 8vw, 5.5rem);
}
.services .slab-body { padding-block: 0; }
.services-shot { margin: 0; min-height: 0; height: 100%; }
.services-shot img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 70vh;
  max-height: 70dvh;
  object-fit: cover;
  object-position: center 38%;
  border-radius: var(--r);
}
@media (min-width: 860px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, .85fr);
    grid-template-rows: 1fr;
  }
  .services-shot img {
    max-height: calc(100dvh - 7rem);
    margin-left: auto;
  }
}
.shot-race::before       { background-image: url('../img/Galerie/IMG_1009.jpg'); background-position: 50% 28%; }

.slab { position: relative; isolation: isolate; overflow: hidden; }
.slab::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  /* Cover drží výřez uvnitř rámu; overflow na .slab řeže případný parallax scale */
  max-width: none;
}
.slab::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12, 12, 13, .25) 0%, rgba(12, 12, 13, .95) 100%);
}

/* Na úzkém displeji je pořád jedna fotka na celou obrazovku. Text sedí dole,
   kde je ztmavení nejsilnější. */
@media (max-width: 859px) {
  .slab { background: #0c0c0d; }
  .slab .wrap { align-items: end; padding-top: 4.5rem; }
  .slab::after {
    background: linear-gradient(180deg,
      rgba(12, 12, 13, .18) 0%,
      rgba(12, 12, 13, .28) 32%,
      rgba(12, 12, 13, .88) 70%,
      rgba(12, 12, 13, .94) 100%);
  }
  .slab-body { padding-block: 1.5rem 2.25rem; color: #fff; }
}

@media (min-width: 860px) {
  /* Text leží na fotce, takže musí ztmavení pod ním stačit i nad přepáleným
     oknem: při krytí .88 vychází bílý text na 5:1 i v nejhorším místě. */
  .slab::after {
    background:
      linear-gradient(180deg, rgba(12, 12, 13, .40) 0%, rgba(12, 12, 13, 0) 22%,
                              rgba(12, 12, 13, 0) 78%, rgba(12, 12, 13, .40) 100%),
      linear-gradient(90deg, rgba(12, 12, 13, .92) 0%, rgba(12, 12, 13, .88) 40%,
                             rgba(12, 12, 13, .58) 62%, rgba(12, 12, 13, .20) 100%);
  }
  .slab--right::after {
    background:
      linear-gradient(180deg, rgba(12, 12, 13, .40) 0%, rgba(12, 12, 13, 0) 22%,
                              rgba(12, 12, 13, 0) 78%, rgba(12, 12, 13, .40) 100%),
      linear-gradient(270deg, rgba(12, 12, 13, .92) 0%, rgba(12, 12, 13, .88) 40%,
                              rgba(12, 12, 13, .58) 62%, rgba(12, 12, 13, .20) 100%);
  }
}

.slab,
.slab .wrap {
  min-height: 100vh;
  min-height: 100dvh;
}
.slab .wrap { display: grid; align-items: center; }
.slab-body { max-width: 46ch; padding-block: clamp(4rem, 9vw, 6.5rem); color: #fff; }
@media (min-width: 860px) { .slab--right .slab-body { margin-left: auto; } }

.slab-body h2 { color: #fff; }
.slab-body p { color: rgba(255, 255, 255, .92); margin-top: 1rem; }
.slab-body .tags { margin-top: 1.5rem; }
.slab-body .tag { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .34); color: #fff; }
.slab-body .btn { margin-top: 1.75rem; }

/* ---------- 8. Provozy ---------- */

.ops { border-top: 1px solid var(--line); }

.op {
  display: block;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.5rem, 2.8vw, 2rem);
  transition: background .2s var(--ease);
}
.op:hover, .op:focus-within { background: var(--surface); }

.op-inner { display: grid; gap: .75rem; align-items: center; }
@media (min-width: 880px) {
  .op-inner {
    grid-template-columns: minmax(0, 20ch) minmax(0, 1fr) auto;
    gap: clamp(1.5rem, 3vw, 3rem);
  }
}

.op-title { display: flex; align-items: center; gap: .875rem; }
.op-title .ico { width: 22px; height: 22px; flex: none; color: var(--accent); }

.op-desc { color: var(--muted); font-size: .9375rem; margin: 0; max-width: 56ch; }

.op-go {
  justify-self: start;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--muted);
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
@media (min-width: 880px) { .op-go { justify-self: end; } }
.op:hover .op-go { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateX(3px); }
.op-go .ico { width: 17px; height: 17px; }

/* ---------- 9. Hala a parametry ---------- */

.hall-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 980px) { .hall-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }

.hall-figure { aspect-ratio: 5 / 4; }

.specs { border-top: 1px solid var(--line); }
.specs div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .875rem;
  border-bottom: 1px solid var(--line);
}
.specs dt { color: var(--muted); font-size: .9375rem; }
.specs dd { margin: 0; font-weight: 600; text-align: right; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.tag {
  padding: .375rem .75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .875rem;
  color: var(--muted);
}

/* ---------- 10. Karta odkazu ven ---------- */

.sim-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 880px) {
  .sim-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; }
}


/* ---------- 10c. Kalendář akcí v pravé části pronájmu ---------- */

@media (min-width: 860px) {
  .shot-hall .wrap {
    max-width: 1480px;
    grid-template-columns: minmax(0, 1fr) minmax(15.5rem, 20.5rem);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }
  .shot-hall .slab-body { max-width: 38rem; }
}

.hall-aside {
  display: grid;
  gap: .75rem;
  align-content: start;
}

.hall-cal {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: rgba(12, 12, 14, .58);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    inset 0 -1px 0 rgba(0, 0, 0, .35),
    0 2px 6px rgba(0, 0, 0, .18),
    0 22px 44px -22px rgba(0, 0, 0, .65);
  padding: .85rem .8rem .7rem;
}
.hall-cal::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(165deg,
    rgba(240, 192, 65, .16) 0%,
    rgba(255, 255, 255, .10) 24%,
    rgba(255, 255, 255, 0) 52%);
}
.hall-cal h2 {
  color: #fff;
  font-size: 1.125rem;
}
.hall-cal-lead {
  margin-top: .35rem;
  color: rgba(255, 255, 255, .82);
  font-size: .8125rem;
  line-height: 1.45;
  max-width: 36ch;
}
.hall-cal .pub-cal { margin-top: .75rem; }
@media (max-width: 859px) {
  .shot-hall .slab-body { padding-bottom: 1.25rem; }
  .hall-cal { margin-bottom: 2.25rem; }
}

.agenda { display: grid; gap: .75rem; margin-top: 1.75rem; }
.agenda-item {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.agenda-item.is-on { background: transparent; }
.agenda-when { display: grid; gap: .15rem; }
.agenda-when time { display: grid; }
.agenda-day { font-weight: 600; letter-spacing: -.02em; font-size: 1.25rem; line-height: 1.1; }
.agenda-year { font-size: .8125rem; color: var(--faint); }
.agenda-time { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.agenda-item h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.agenda-item p { margin-top: .25rem; color: var(--muted); font-size: .9375rem; }
.agenda-empty { margin-top: 1.5rem; color: var(--muted); }

.pub-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.pub-cal-head h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.ico-back { transform: rotate(180deg); }
.pub-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.pub-cal-dow,
.pub-cal-day {
  background: var(--surface);
  min-height: 2.75rem;
}
.pub-cal-dow {
  padding: .55rem .15rem;
  text-align: center;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
}
.pub-cal-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  width: 100%;
  margin: 0;
  padding: .4rem .35rem .5rem;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}
button.pub-cal-day { cursor: pointer; }
button.pub-cal-day:hover { background: var(--ground); }
.pub-cal-day--empty { background: var(--sunken); min-height: 2.75rem; }
.pub-cal-day--today .pub-cal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: .2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.pub-cal-day--event { background: var(--accent-soft); }
.pub-cal-day--event.is-on,
button.pub-cal-day--event:hover { background: #e7d7a4; }
.pub-cal-num { font-size: .8125rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.pub-cal-mark {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--accent);
  margin-top: auto;
}
.pub-cal-note { margin-top: .75rem; font-size: .875rem; color: var(--muted); }

/* Kalendář leží na fotce haly — tmavé sklo, bílý text. */
.hall-aside .agenda { margin-top: .35rem; gap: 0; }
.hall-aside .agenda-item {
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: .3rem .65rem;
  padding: .65rem 0;
  border-top-color: rgba(255, 255, 255, .18);
}
.hall-aside .agenda-item.is-on {
  background: rgba(240, 192, 65, .14);
  margin-inline: -.35rem;
  padding-inline: .35rem;
  border-radius: var(--r-sm);
}
.hall-aside .agenda-day,
.hall-aside .agenda-item h3 { color: #fff; }
.hall-aside .agenda-day { font-size: .9375rem; }
.hall-aside .agenda-item h3 { font-size: .875rem; }
.hall-aside .agenda-year,
.hall-aside .agenda-time,
.hall-aside .agenda-item p,
.hall-aside .agenda-empty,
.hall-cal .pub-cal-note,
.hall-cal .cal-legend { color: rgba(255, 255, 255, .82); }
.hall-cal .pub-cal-head h3 { color: #fff; }
.hall-cal .pub-cal-head .btn {
  --btn-bg: rgba(255, 255, 255, .10);
  --btn-fg: #fff;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  justify-content: center;
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .30),
    0 6px 14px -8px rgba(0, 0, 0, .55);
}
.hall-cal .pub-cal-head .btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .46);
}
.hall-cal .pub-cal-grid {
  gap: .22rem;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.hall-cal .pub-cal-dow,
.hall-cal .pub-cal-day {
  background: transparent;
  border-radius: 6px;
  min-height: 1.55rem;
}
.hall-cal .pub-cal-dow {
  color: rgba(255, 255, 255, .72);
  min-height: 0;
  font-size: .6875rem;
  padding: .05rem 0 .15rem;
}
.hall-cal .pub-cal-day {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  color: #fff;
  padding: .22rem .28rem;
}
.hall-cal .pub-cal-day--empty { background: transparent; }
.hall-cal .pub-cal-day--today .pub-cal-num {
  background: transparent;
  color: #fff;
  box-shadow: 0 0 0 1.5px #fff;
}
.hall-cal .pub-cal-mark { display: none; }

/* Volno zeleně, obsazeno červeně, půlden šikmo jako na bookingu. */
.occ-cal .pub-cal-day--free,
.occ-cal button.pub-cal-day--free:hover { background: #2F6B45; color: #fff; }
.occ-cal .pub-cal-day--full,
.occ-cal button.pub-cal-day--full:hover { background: #A32B20; color: #fff; }
.occ-cal .pub-cal-day--pm,
.occ-cal button.pub-cal-day--pm:hover {
  background: linear-gradient(to bottom right, #2F6B45 50%, #A32B20 50%);
  color: #fff;
}
.occ-cal .pub-cal-day--am,
.occ-cal button.pub-cal-day--am:hover {
  background: linear-gradient(to bottom right, #A32B20 50%, #2F6B45 50%);
  color: #fff;
}
.occ-cal .pub-cal-num {
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}
.occ-cal .pub-cal-day--today .pub-cal-num {
  min-width: 1.05rem;
  height: 1.05rem;
  padding-inline: 0;
  background: transparent;
  color: #fff;
  box-shadow: 0 0 0 1.5px #fff;
}
.occ-cal .pub-cal-day.is-on { box-shadow: inset 0 0 0 2px #fff; }
.book-cal .pub-cal-day.is-range:not(.is-on) { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .72); }
#hall-date-block:not([hidden]) { margin-top: .85rem; }
.occ-cal .pub-cal-day--past { opacity: .45; }
.occ-cal .pub-cal-mark { display: none; }

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .7rem;
  margin-top: .6rem;
  font-size: .75rem;
}
.cal-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.cal-swatch {
  width: .75rem;
  height: .75rem;
  border-radius: 3px;
  flex: none;
}
.cal-swatch--free { background: #2F6B45; }
.cal-swatch--full { background: #A32B20; }
.cal-swatch--part { background: linear-gradient(to bottom right, #2F6B45 50%, #A32B20 50%); }

.hall-agenda {
  color: #fff;
  background: rgba(12, 12, 14, .58);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 12px 28px -18px rgba(0, 0, 0, .55);
  padding: .8rem .85rem .15rem;
}
.hall-agenda h3 {
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
@media (max-width: 859px) {
  .hall-agenda {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .16);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .hall-agenda {
    background: rgba(17, 17, 19, .94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.hall-cal .btn:focus-visible,
.hall-cal button.pub-cal-day:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
@media (max-width: 859px) {
  .hall-cal {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .16);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .hall-cal {
    background: rgba(17, 17, 19, .94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.parking-free { font-weight: 600; }
.slab-body .parking-free { color: #fff; }
.mode-card-free { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- 11. Galerie ---------- */

.gallery-albums {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.gallery-album {
  appearance: none;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: .55rem 1rem;
  font: inherit;
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
}
.gallery-album:hover { border-color: var(--ink); }
.gallery-album.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.gallery-empty { color: var(--muted); margin: 0; }

.filmstrip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
}
.btn.filmstrip-btn {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  flex: none;
  justify-content: center;
}
.filmstrip-btn:disabled { opacity: .35; cursor: default; }
.filmstrip-viewport {
  overflow: hidden;
  min-width: 0;
  border-radius: var(--r);
  touch-action: pan-y;
}
.filmstrip-track {
  display: flex;
  gap: .75rem;
  width: 100%;
  transition: transform .55s var(--ease);
}
.gallery-slide {
  flex: 0 0 calc((100% - 1.5rem) / 3);
  min-width: 0;
  margin: 0;
}
.gallery-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--r);
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gallery-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  background: var(--sunken);
}
@media (max-width: 900px) {
  .gallery-slide { flex: 0 0 calc((100% - .75rem) / 2); }
}
@media (max-width: 640px) {
  .filmstrip {
    grid-template-columns: auto auto;
    grid-template-areas: "view view" "prev next";
  }
  .filmstrip-viewport { grid-area: view; }
  #gallery-prev { grid-area: prev; justify-self: start; }
  #gallery-next { grid-area: next; justify-self: end; }
  .gallery-slide { flex: 0 0 84%; }
}
@media (prefers-reduced-motion: reduce) {
  .filmstrip-track { transition: none; }
}

.lightbox:not([open]) { display: none; }
body:has(.lightbox[open]) .site-header,
body:has(.lightbox[open]) .mobile-nav,
body:has(.lightbox[open]) .filmstrip-btn {
  display: none;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox:focus { outline: none; }
.lightbox::backdrop { background: rgba(8, 8, 9, .86); }
.lightbox > form { position: absolute; top: .85rem; right: .85rem; margin: 0; z-index: 2; }
.lightbox-nav,
.lightbox-x {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 8, 9, .45);
  color: #fff;
  cursor: pointer;
}
.lightbox-nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
.lightbox-nav--prev { left: .25rem; }
.lightbox-nav--next { right: .25rem; }
.lightbox-nav .ico,
.lightbox-x svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7));
}
.lightbox-nav:hover:not(:disabled),
.lightbox-x:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}
.lightbox-nav:focus-visible,
.lightbox-x:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .85);
  outline-offset: 2px;
}
.lightbox-nav:disabled { opacity: .28; cursor: default; }
.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(90vw, calc(100vw - 8rem));
  max-height: calc(100vh - 7rem);
  object-fit: contain;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 640px) {
  .lightbox img { max-width: calc(100vw - 5.5rem); }
  .lightbox-nav,
  .lightbox-x { width: 2.5rem; height: 2.5rem; }
}

.admin-gallery { display: grid; gap: 1.5rem; }
.admin-gallery-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 1.25rem;
}
.admin-gallery-card h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.admin-photo {
  display: grid;
  gap: .4rem;
}
.admin-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--sunken);
}
.admin-photo .btn { justify-content: center; }

/* ---------- 12. Závěrečný pruh ---------- */

.band { background: var(--ink); color: #fff; }
.band-inner { display: grid; gap: 1.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 880px) { .band-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; } }
.band .lead { color: rgba(255, 255, 255, .78); }

/* ---------- 13. Kontakt ---------- */

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); } }

.contact-list { display: grid; gap: 1.75rem; }
.contact-list h3 { font-size: .875rem; font-weight: 600; color: var(--faint); }
.contact-list a { display: inline-block; padding-block: .25rem; transition: color .18s var(--ease); }  /* dotyková plocha min. 24 px */
.contact-list a:hover { color: var(--accent); }
.contact-list .big { font-size: 1.125rem; font-weight: 600; }

.map {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  min-height: 340px;
  background: var(--sunken);
  box-shadow: var(--shadow-1);
}
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- 14. Patička ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem;
}
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); } }
.site-footer h4 { font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: .875rem; }
.site-footer li { margin-bottom: .125rem; }
.site-footer a { display: inline-block; padding-block: .3125rem; color: var(--muted); font-size: .9375rem; transition: color .18s var(--ease); }
.site-footer a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .8125rem;
  color: var(--faint);
}
.powered a { color: var(--muted); box-shadow: inset 0 -1px 0 var(--line-2); }
.powered a:hover { color: var(--accent); }

/* ---------- 15. Formuláře ---------- */

.book-layout { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 1040px) { .book-layout { grid-template-columns: minmax(0, 1fr) 21rem; } }

/* Režim hala / parkování */
.mode-picker { display: grid; gap: 1rem; margin-top: .5rem; }
@media (min-width: 800px) { .mode-picker { grid-template-columns: 1fr 1fr; } }

.mode-card {
  display: grid;
  gap: .5rem;
  text-align: left;
  padding: 1.5rem 1.625rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  font: inherit;
}
.mode-card:hover { border-color: var(--ink); }
.mode-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mode-card-kicker {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.mode-card-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.mode-card-text { font-size: .9375rem; color: var(--muted); line-height: 1.55; }

.book-parking-head,
#book-hall > .book-parking-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.book-parking-head .step-note,
#book-hall > .book-parking-head .step-note { margin-bottom: 0; max-width: 52ch; }

#hall-date-block:not([hidden]) { margin-top: 1rem; }

.spot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.spot-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem;
  background: var(--surface);
  display: grid;
  gap: .625rem;
  align-content: start;
}
.spot-card.is-busy { opacity: .72; }
.spot-card-label { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; }
.spot-card-desc { font-size: .875rem; color: var(--muted); line-height: 1.5; }
.spot-price { font-weight: 600; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.spot-status { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.spot-card.is-free .spot-status { color: var(--ok); }
.spot-card.is-busy .spot-status { color: var(--warn); }
.spot-card .btn { width: 100%; justify-content: center; margin-top: .25rem; }

.park-form { margin-top: 2rem; max-width: 40rem; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.step { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-bottom: clamp(2rem, 3.5vw, 2.75rem); }
.step > legend { padding: 0; font-weight: 600; font-size: 1.125rem; letter-spacing: -.015em; margin-bottom: .375rem; }
.step-note { color: var(--muted); font-size: .9375rem; margin-bottom: 1.25rem; }

/* Výběr provozu */
.choices { display: grid; gap: .625rem; }
@media (min-width: 660px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .875rem;
  align-items: start;
  height: 100%;
  padding: 1rem 1.125rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.choice-body .ico { width: 22px; height: 22px; color: var(--faint); transition: color .18s var(--ease); }
.choice-body strong { display: block; font-size: .9375rem; font-weight: 600; }
.choice-body span { display: block; font-size: .875rem; color: var(--muted); margin-top: .125rem; }
.choice input:hover + .choice-body { border-color: var(--ink); }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice input:checked + .choice-body {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-1);
}
.choice input:checked + .choice-body .ico { color: var(--accent); }
.choice-body.choice-body--stack {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.choice-copy { display: grid; gap: .2rem; min-width: 0; }
.choice-copy strong { font-size: 1rem; letter-spacing: -.015em; }
.choice-copy span { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.choice-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  text-align: right;
  white-space: nowrap;
}
.choice-price small {
  display: block;
  margin-top: .15rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0;
}

.book-when {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 860px) {
  .book-when { grid-template-columns: minmax(16rem, 19.5rem) minmax(0, 1fr); }
}
.book-cal .pub-cal-head h3 { font-size: 1rem; }
.book-cal .pub-cal-grid {
  gap: .22rem;
  background: transparent;
  border: 0;
}
.book-cal .pub-cal-dow {
  background: transparent;
  min-height: 0;
  padding: .1rem 0 .25rem;
  font-size: .75rem;
}
.book-cal .pub-cal-day {
  min-height: 1.85rem;
  border-radius: 6px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: .28rem .32rem;
}
.book-cal .pub-cal-day--empty { background: var(--sunken); min-height: 1.85rem; }
.book-cal .cal-legend { color: var(--muted); }
.book-cal .pub-cal-head .btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  justify-content: center;
}

#park-form { max-width: 56rem; }
.book-when .park-terms { grid-template-columns: 1fr; }
.park-cal .pub-cal-day {
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}
.park-cal .pub-cal-day--empty { background: var(--sunken); border-color: transparent; }
.park-cal .pub-cal-day--past {
  color: var(--faint);
  background: var(--sunken);
  border-color: transparent;
}
.park-cal button.pub-cal-day:hover:not(.is-range):not(.is-on) { background: var(--ground); }
.park-cal .pub-cal-day.is-range,
.park-cal button.pub-cal-day.is-range:hover {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--ink);
  box-shadow: none;
}
.park-cal .pub-cal-day.is-on,
.park-cal button.pub-cal-day.is-on:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.park-cal .pub-cal-num { text-shadow: none; font-weight: 600; }
.park-cal .choice-price s,
.park-terms .choice-price s {
  display: block;
  margin-top: .1rem;
  font-weight: 500;
  color: var(--faint);
  font-size: .75rem;
  text-decoration: line-through;
}

.book-quote {
  margin-top: 1rem;
  padding: .9rem 1rem;
  background: var(--sunken);
  border-radius: var(--r-sm);
  display: grid;
  gap: .3rem;
}
.book-quote strong {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.book-quote p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.book-quote .book-quote-price { font-variant-numeric: tabular-nums; }

/* Pole */
.fields { display: grid; gap: 1rem; }
@media (min-width: 660px) { .fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: .375rem; }
.field label { font-size: .875rem; font-weight: 600; }
.field .hint { font-size: .8125rem; color: var(--faint); }

input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], input[type="time"], input[type="month"], input[type="number"],
input[type="password"], select, textarea {
  width: 100%;
  padding: .75rem .875rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
textarea { resize: vertical; min-height: 6.5rem; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(163, 43, 32, .12);
}

.phone-row {
  display: flex;
  align-items: stretch;
  border-radius: var(--r-sm);
}
.phone-row select {
  width: auto;
  flex: 0 0 auto;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  border-right: 0;
  padding-left: .7rem;
  padding-right: 1.85rem;
  background-position: right .5rem center;
}
.phone-row input {
  min-width: 0;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.phone-row select:focus,
.phone-row input:focus { box-shadow: none; }
.phone-row:focus-within { box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-err .phone-row { box-shadow: 0 0 0 3px rgba(163, 43, 32, .12); }
.field.is-err .phone-row select,
.field.is-err .phone-row input { border-color: var(--err); }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%235A5D5F' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  padding-right: 2.5rem;
}

.err-msg { display: none; font-size: .8125rem; color: var(--err); align-items: center; gap: .375rem; }
.field.is-err .err-msg { display: flex; }

/* Dostupnost */
.avail {
  margin-top: 1.125rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 3.5rem;
  font-size: .9375rem;
}
.avail[data-state="ok"]   { border-color: rgba(47, 107, 69, .4); background: rgba(47, 107, 69, .05); color: #235436; }
.avail[data-state="full"] { border-color: rgba(163, 43, 32, .4); background: rgba(163, 43, 32, .05); color: var(--err); }
.avail[data-state="idle"], .avail[data-state="loading"] { color: var(--muted); }
.avail .ico { width: 19px; height: 19px; flex: none; }

.spinner {
  width: 17px; height: 17px; flex: none;
  border: 2px solid var(--line-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Souhrn */
.summary {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  padding: 1.375rem;
}
@media (min-width: 1040px) { .summary { position: sticky; top: 6rem; } }
.summary h3 { font-size: .875rem; color: var(--faint); font-weight: 600; margin-bottom: 1rem; }
.summary dl { display: grid; margin: 0 0 1.25rem; }
.summary dl > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: .625rem;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
}
.summary dt { color: var(--muted); flex: none; }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary dd.empty { color: var(--faint); font-weight: 400; }

/* Hlášky */
.alert {
  display: flex;
  gap: .75rem;
  padding: .875rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: .9375rem;
  margin-bottom: 1.5rem;
}
.alert .ico { width: 19px; height: 19px; flex: none; margin-top: .1875rem; }
.alert p { margin: 0; }
.alert--warn { border-color: rgba(138, 100, 16, .35); background: rgba(138, 100, 16, .06); color: #6B4E0C; }
.alert--err  { border-color: rgba(163, 43, 32, .35);  background: rgba(163, 43, 32, .05);  color: var(--err); }
.alert--ok   { border-color: rgba(47, 107, 69, .35);  background: rgba(47, 107, 69, .05);  color: #235436; }
.alert a { text-decoration: underline; text-underline-offset: 3px; }
.alert code { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .875em; }

/* Potvrzení */
.receipt {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.receipt-head { padding: clamp(1.75rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); }
.receipt-ref {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: clamp(1.375rem, 3.5vw, 1.875rem);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  margin-top: .5rem;
}
.receipt-body { padding: clamp(1.5rem, 4vw, 2.25rem); }

/* ---------- 16. Správa ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 56rem; }
th, td { padding: .8125rem 1rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .8125rem; font-weight: 600; color: var(--faint); background: var(--ground); position: sticky; top: 0; }
tbody tr:hover { background: var(--ground); }
td.wrap-cell { white-space: normal; min-width: 14rem; }

.pill {
  display: inline-block;
  padding: .1875rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  border: 1px solid currentColor;
}
.pill--pending   { color: var(--warn); }
.pill--confirmed { color: var(--ok); }
.pill--cancelled { color: var(--faint); }
.pill--free      { color: var(--ok); }

.admin-tabs {
  display: flex;
  gap: .25rem;
  margin: 1.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}
.admin-tabs [role="tab"] {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: .75rem 1rem;
  font: inherit;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--muted);
  cursor: pointer;
}
.admin-tabs [role="tab"]:hover { color: var(--ink); }
.admin-tabs [role="tab"][aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.admin-tabs [role="tab"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.admin-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-panel-head .d3 { margin: 0; }

.admin-block { margin-bottom: 2rem; }
.admin-block-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
.admin-zone-note {
  margin: -.5rem 0 1rem;
  color: var(--muted);
  font-size: .875rem;
}
.admin-table { min-width: 40rem; }

.admin-spot-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.admin-spot {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
@media (min-width: 720px) {
  .admin-spot {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}
.admin-spot-label {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0 0 .25rem;
}
.admin-spot-desc {
  font-size: .875rem;
  color: var(--muted);
  margin: 0 0 .5rem;
  line-height: 1.45;
}
.admin-spot-desc--empty { color: var(--faint); }
.admin-spot-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: .9375rem;
  margin: 0 0 .75rem;
}
.admin-spot-occ { margin: 0; }
.admin-spot-occ p { margin: .35rem 0 0; font-size: .875rem; }

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.btn--sm {
  padding: .4rem .7rem;
  font-size: .7rem;
}

.admin-inline-form {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ground);
}
.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}
@media (min-width: 720px) {
  .fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.field--grow { grid-column: 1 / -1; }

.field .check {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .9375rem;
  cursor: pointer;
  margin-top: 1.75rem;
}
.field .check input { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }

.admin-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.admin-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-bottom: 1rem;
  font-size: .8125rem;
  color: var(--muted);
}
.admin-cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.admin-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.admin-cal-dow {
  background: var(--ground);
  padding: .55rem .25rem;
  text-align: center;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-cal-day {
  background: var(--surface);
  min-height: 3.5rem;
  padding: .4rem .35rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.admin-cal-day--empty { background: var(--ground); }
.admin-cal-day--today .admin-cal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.admin-cal-num {
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.admin-cal-marks {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin-top: auto;
}
.admin-cal-dot {
  display: inline-block;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  vertical-align: middle;
}
.admin-cal-dot--event     { background: var(--accent); }
.admin-cal-dot--confirmed { background: var(--ok); }
.admin-cal-dot--pending   { background: var(--warn); }

/* ---------- 17. Prázdný stav ---------- */

.empty {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--muted);
}
.empty .ico { width: 30px; height: 30px; margin: 0 auto 1rem; color: var(--faint); }
.empty p { max-width: 42ch; margin-inline: auto; }

/* ---------- 18. Pohyb ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Přechod mezi fotkami při scrollu.
   Snímek se v rámu pomalu posouvá proti směru scrollu — jak jeden pás odchází
   a druhý přichází, působí to jako pomalý pohyb kamery, ne jako střih.
   Vrstva se zároveň při příchodu prosvětlí, takže nová fotka „najede".

   Preferovaně přes scroll-driven animace (běží na kompozitoru, nulová práce
   pro JS). Prohlížeče bez podpory obsluhuje záložní `--p` z main.js. */

.hero-shot::before,
.slab::before { will-change: transform; }

@media (prefers-reduced-motion: no-preference) {

  @supports (animation-timeline: view()) {
    .slab::before {
      animation: shot-drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    .slab::after {
      animation: veil-lift linear both;
      animation-timeline: view();
      animation-range: entry 8% entry 92%;
    }
    .hero-shot::before {
      animation: shot-sink linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
  }

  /* Záložní varianta: --p (0–1) nastavuje main.js */
  @supports not (animation-timeline: view()) {
    .slab::before { transform: scale(1.16) translateY(calc((var(--p, .5) - .5) * 6.4%)); }
    .slab::after  { opacity: calc(.72 + var(--p, 1) * .28); }
  }
}

@keyframes shot-drift {
  from { transform: scale(1.16) translateY(-3.2%); }
  to   { transform: scale(1.16) translateY(3.2%); }
}
@media (max-width: 859px) {
  @keyframes shot-drift {
    from { transform: scale(1.2) translateY(-2.4%); }
    to   { transform: scale(1.2) translateY(2.4%); }
  }
}
@keyframes shot-sink {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.09) translateY(3.5%); }
}
@keyframes veil-lift {
  from { opacity: .58; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-shot::before, .slab::before { transform: none !important; }
  .slab::after { opacity: 1 !important; }
}

/* ---------- 18b. Telefon ---------- */

@media (max-width: 719px) {
  .header-cta { display: none; }
  .burger { width: 44px; height: 44px; }
  .mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .mobile-nav a:active { color: var(--accent); }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    min-width: min(100%, 18rem);
    justify-content: center;
  }
  .hero-facts {
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    margin-top: 1.75rem;
  }
  .hero-shot { padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px)); }

  .slab .wrap { padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px)); }
  .slab-body .btn { min-height: 48px; }

  .hall-cal .pub-cal-day {
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: .1rem;
  }
  .hall-cal .pub-cal-head .btn { width: 44px; height: 44px; }
  .book-cal .pub-cal-day,
  .park-cal .pub-cal-day { min-height: 2.75rem; }
  .book-cal .pub-cal-head .btn { width: 44px; height: 44px; }

  .services-grid {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    gap: 1rem;
    padding-top: calc(4.5rem + env(safe-area-inset-top, 0px) + .75rem);
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }
  .services .slab-body p { margin-top: .75rem; }
  .services .tags { margin-top: 1rem; }
  .services .slab-body .btn { margin-top: 1.1rem; }
  .services-shot { min-height: 0; height: 100%; overflow: hidden; }
  .services-shot img {
    height: 100%;
    max-height: none;
    min-height: 0;
    object-fit: cover;
  }

  .gallery-slide { flex: 0 0 100%; }
  .filmstrip-btn { width: 44px; height: 44px; }

  .contact-list a,
  .site-footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .site-footer {
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom, 0px));
  }
  .map, .map iframe { min-height: 240px; }

  .phone-row select {
    max-width: 46%;
    padding-right: 1.6rem;
  }
  .choice-body--stack { gap: .75rem; }
  .summary dl > div { align-items: baseline; }
  .summary dd { min-width: 0; overflow-wrap: anywhere; }

  .admin-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .admin-tabs [role="tab"] {
    flex: none;
    min-height: 44px;
  }
  .admin-panel-head {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---------- 19. Tisk ---------- */

@media print {
  .site-header, .site-footer, .band, .burger, .mobile-nav { display: none !important; }
  body { background: #fff; }
  .receipt { border-color: #999; box-shadow: none; }
}
