/* MOVE! Brno — web, koncept „Plakát“ (schválil Daniel 28. 9. 2026)
   Nápad: obálka sportovního časopisu — dítě vyskakuje z vlastního nadpisu. Každá stránka začíná plakátem.
   Směr: Swiss plakát (velké písmo od kraje ke kraji, plochy barvy) + Neo-Brutalism jen v povrchu
   (inkoustová linka a tvrdý stín z loga). Laťka: fondation.canadiens.com („Bouger pour grandir“).
   Barvy ze značky: žlutá z Instagramu spolku, palubovka, žíněnka a hřiště z fotek z tréninků.
   Záměrně: bílý text s černou linkou přes fotku (klišé „outline type“) — je to písmo loga, ne ozdoba.
   gfx.css dává akcent, kontrast a skeletony; povrch (linka, stín, rádius) je koncept a je jen tady v :root. */

:root {
  color-scheme: light;
  /* značka */
  --yellow: var(--gfx-accent);        /* #FFC500 — plochy a tlačítka, nikdy text na bílé */
  --on-yellow: var(--gfx-accent-fg);
  --ink: #141414;                     /* inkoust — linka loga, text, patička */
  --paper: #FFFDF7;                  /* papír karet — teplá bílá, příbuzná krému sekcí */
  --cream: #FFF7E2;                   /* papír plakátu — světlé sekce */
  --hall: #F6F2E8;
  --line: #E4DFD3;
  --muted: #58564F;                   /* 7:1 na bílé, 6,6:1 na krému */
  --blue: #1B56A9;                    /* žíněnka — gymnastika, tréninky, odkazy */
  --orange: #E0773A;                  /* palubovka — atletika, štítky; jen s tmavým textem (6:1) */
  --green: #2F6B45;                   /* hřiště — míčové hry, recenze, školy */
  --red: #B62221;                     /* jen chyby */
  --yellow-tint: #FFF3C7;
  --blue-tint: #E3ECF8;
  --green-tint: #E3EEE6;
  --orange-tint: #FCE6D6;
  --todo-ink: #6B5200;
  --todo-line: #C9A200;
  --on-ink: #F2F0EA;
  --on-ink-muted: #BEBBB2;            /* 9:1 na inkoustu */
  --field-line: #858580;

  /* povrch konceptu — linka a tvrdý stín jako v logu */
  --edge: 3px;
  --sh: 4px 4px 0 var(--ink);
  --sh-md: 6px 6px 0 var(--ink);
  --sh-lg: 10px 10px 0 var(--ink);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1320px;
  --top-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --z-top: 30; --z-dock: 40; --z-proto: 50; --z-menu: 60;
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink); overflow-x: clip;
  font: 400 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 14px; }
h1, h2, h3, h4 { margin: 0; }
h3 { font: 700 22px/1.25 var(--f-text); margin-bottom: 10px; }
h4 { font: 700 17px/1.3 var(--f-text); margin-bottom: 4px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.ink :focus-visible, .green :focus-visible, .hero :focus-visible { outline-color: var(--yellow); }
.tnum { font-variant-numeric: tabular-nums; }
.nt { text-transform: none; }   /* „Kč“ ve verzálkách */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: var(--z-menu); background: var(--yellow); color: var(--on-yellow); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- sazba ---------- */
.d {
  font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  line-height: .96;                 /* níž narazí háček nad Č a Ř do řádku nad ním */
  letter-spacing: 0; text-wrap: balance;
}
.d-xxl { font-size: clamp(56px, 9.6vw, 156px); }
.d-xl { font-size: clamp(52px, 8.4vw, 136px); }
.d-l  { font-size: clamp(44px, 6.6vw, 104px); margin-bottom: 20px; }
.d-m  { font-size: clamp(30px, 3.2vw, 44px); }
/* plakátové písmo: bílá výplň, inkoustová linka a tvrdý stín — písmo loga */
.poster-type {
  font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .96;
  color: var(--paper); -webkit-text-stroke: .05em var(--ink); paint-order: stroke fill;
  text-shadow: .045em .05em 0 var(--ink);
}
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; max-width: 58ch; }
.small { font-size: 15px; line-height: 1.5; color: var(--muted); }
.ink .small, .green .small, .ink .lead, .yellow .small, .page-hero .small, .page-hero .updated { color: inherit; }
.ink .small { color: var(--on-ink-muted); }
.link {
  color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 6px;
}
.link:hover { text-decoration-thickness: 3px; }
.link svg { flex: none; transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.yellow .link, .green .link, .ink .link, .door .link { color: inherit; }

/* ---------- tlačítka: inkoustová linka a tvrdý stín ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 800 16.5px/1 var(--f-text); padding: 15px 22px; min-height: 52px; white-space: nowrap;
  background: var(--yellow); color: var(--on-yellow); border: var(--edge) solid var(--ink); border-radius: var(--r-sm);
  box-shadow: var(--sh); text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s;
}
.btn svg { transition: transform .2s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost, .btn-paper { background: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--paper), 4px 4px 0 var(--edge) var(--ink); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--paper), 6px 6px 0 var(--edge) var(--ink); }
.ink .btn, .green .btn, .hour .btn { box-shadow: 4px 4px 0 var(--paper); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- štítky, filtry, odznaky ---------- */
.tag {
  align-self: flex-start; display: inline-block; font: italic 800 16px/1 var(--f-display); text-transform: uppercase;
  letter-spacing: .02em; padding: 7px 11px 6px; border-radius: 999px; background: var(--ink); color: var(--paper);
}
.tag-blue { background: var(--blue); }
.tag-green { background: var(--green); }
.tag-yellow { background: var(--yellow); color: var(--on-yellow); border: 2px solid var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips-label { font-size: 14px; font-weight: 700; margin-right: 2px; }
.chip {
  font: 700 15px/1 var(--f-text); padding: 10px 15px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, transform .15s var(--ease);
}
.chip:hover { background: var(--yellow-tint); }
.chip.is-on { background: var(--ink); color: var(--paper); }
.badge { display: inline-block; font: 800 13px/1 var(--f-text); padding: 6px 9px; border-radius: 6px; white-space: nowrap; }
.badge-warn { background: var(--orange); color: var(--ink); }
.badge-ok { background: var(--green-tint); color: var(--green); }
.badge-full { background: var(--line); color: var(--muted); }

/* chybějící podklad od spolku — jen v prototypu */
.todo {
  display: inline; font: 600 13px/1.4 var(--f-text); color: var(--todo-ink); background: var(--yellow-tint);
  outline: 1.5px dashed var(--todo-line); outline-offset: 1px; border-radius: 3px; padding: 1px 6px; letter-spacing: 0; text-transform: none; font-style: normal;
  -webkit-text-stroke: 0; text-shadow: none;
}
.hide-todo .todo { display: none; }

.star-s { width: 18px; height: 18px; flex: none; }
.star-m { width: 26px; height: 26px; flex: none; }
.stars { display: inline-flex; gap: 2px; }

/* ---------- sekce ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tight { padding: clamp(28px, 4vw, 48px) 0; }
.hall { background: var(--hall); }
.yellow { background: var(--yellow); color: var(--on-yellow); }
.green { background: var(--green); color: var(--paper); }
.ink { background: var(--ink); color: var(--on-ink); }

/* ---------- hlavička ---------- */
.top {
  position: sticky; top: 0; z-index: var(--z-top); height: var(--top-h);
  background: var(--paper);
  border-bottom: var(--edge) solid var(--ink); transition: background-color .25s, color .25s, border-color .25s;
}
.top-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.top-logo { position: relative; flex: none; }
.top-logo img { height: 40px; width: auto; }
.top-nav { display: flex; gap: 24px; margin-left: auto; font-weight: 700; font-size: 15.5px; }
.top-nav a { text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap; }
.top-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 4px; background: var(--yellow);
  transform: scaleX(0) skewX(-14deg); transform-origin: left; transition: transform .25s var(--ease);
}
.top-nav a:hover::after, .top-nav a[aria-current="page"]::after { transform: scaleX(1) skewX(-14deg); }
.top-nav-faq { display: none; }
.top-cta { min-height: 46px; padding: 12px 18px; font-size: 15px; }
.top-burger { display: none; }
/* na úvodu leží hlavička průhledně nad fotkou, dokud hero neodjede */
.home main { margin-top: calc(-1 * var(--top-h)); }
.home .top:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; color: var(--paper); }
.home .top:not(.is-scrolled) .top-nav a { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }

/* ---------- HERO: fotka → nadpis → výřez téže fotky ---------- */
.hero {
  position: relative; height: 100svh; min-height: 660px; max-height: min(1040px, 66.6vw); overflow: hidden;   /* nikdy vyšší než fotka 3 : 2 → dítě vůči písmenům stojí vždy stejně */
  background: var(--ink); isolation: isolate;
}
.hero-layer { position: absolute; inset: 0; will-change: transform; }
.hero-layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-layer:first-child::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, .5) 0, rgba(20, 20, 20, 0) 24%, rgba(20, 20, 20, 0) 64%, rgba(20, 20, 20, .45) 100%);
}
.hero-claim {
  /* heslo vlevo dole, pod rukou a vedle trupu dítěte — nic z písmen nezakryje. Hero je vždy nejvýš 3 : 2,
     takže fotka se škáluje šířkou a dítě stojí v šířce vždy stejně (ruka končí na 37 %, trup začíná na 50 %) */
  position: absolute; z-index: 1; bottom: calc(96px + 1.5vw); margin: 0;
  left: calc(max(0px, (100vw - var(--max)) / 2) + var(--gutter));   /* zarovnané s logem */
  font-size: min(8.6vw, 14svh, 140px); line-height: .92; white-space: nowrap; will-change: transform; letter-spacing: -.01em;
}
.hero-claim .hl { display: block; }
.hero-claim .w, .hero-claim .w > span { display: inline-block; }
/* karta s H1 leží přes spodní hranu hero i přes pásky */
.hero-foot { position: relative; z-index: 6; height: 0; max-width: var(--max); margin: 0 auto; }
.hero-card {
  position: absolute; right: var(--gutter); bottom: 86px; width: min(520px, 42vw);   /* pod vstupenkou projedou obě pásky */
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  background: var(--paper); border: var(--edge) solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
}
.ticket-main { padding: clamp(20px, 2vw, 28px); }
.hero-h1 { font: 800 clamp(21px, 1.8vw, 26px)/1.18 var(--f-text); letter-spacing: -.01em; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
/* ústřižek vstupenky za perforací: „1. trénink zdarma“ */
.ticket-stub {
  position: relative; margin: 0; width: 112px; display: grid; place-content: center; text-align: center; gap: 2px;
  background: var(--yellow); border-left: 2.5px dashed var(--ink); border-radius: 0 calc(var(--r-lg) - 3px) calc(var(--r-lg) - 3px) 0;
  font-size: 22px; line-height: .95;
}
.ticket-stub b { font-size: 34px; }

/* ---------- pásky přes hranu hero ---------- */
.tapes { position: relative; z-index: 4; height: 200px; margin-top: -58px; pointer-events: none; overflow-x: clip; overflow-y: visible;
  background: linear-gradient(transparent 58px, var(--cream) 58px); }
.tape { position: absolute; left: -4vw; right: -4vw; overflow: hidden; border-block: var(--edge) solid var(--ink); }
.tape-sporty { top: 30px; background: var(--ink); color: var(--paper); transform: rotate(-2.4deg); }   /* kříží se se žlutou jen u levého okraje */
.tape-trust { top: 96px; background: var(--yellow); color: var(--ink); transform: rotate(2.2deg); box-shadow: 0 8px 0 rgba(20, 20, 20, .9); }
.tape-move { display: flex; width: max-content; will-change: transform; }   /* jede jen se scrollem (site.js), jinak stojí — WCAG 2.2.2 */
.tape-trust .tape-move { transform: translateX(-30%); }
.tape-track { display: flex; }
.tape li {
  display: flex; align-items: center; gap: 22px; padding: 13px 22px 11px 0; white-space: nowrap;
  font: italic 900 clamp(24px, 2.5vw, 38px)/1 var(--f-display); text-transform: uppercase;
}
.tape-star { width: .82em; height: .82em; flex: none; }
.tape-sporty .tape-star polygon { stroke: var(--paper); }
.tape-trust .tape-star polygon { fill: var(--ink); }

/* ---------- rozcestník: tři plakáty, dítě vylézá z rámu ---------- */
.doors { background: var(--cream); padding: clamp(90px, 8vw, 130px) 0 clamp(70px, 7vw, 110px); overflow-x: clip; }
.doors-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); }   /* stejná horní hrana i výška */
.door {
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(480px, 44vw, 640px);
  border: var(--edge) solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lg); text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.door:hover { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--ink); }
.door:hover .door-go svg { transform: translateX(5px); }
.door-blue { background: var(--blue); color: var(--paper); }
.door-yellow { background: var(--yellow); color: var(--ink); }
.door-green { background: var(--green); color: var(--paper); }
.door-cut { position: absolute; z-index: 1; pointer-events: none; width: auto; max-width: none; will-change: transform; }
.door-cut-lano { right: 3%; bottom: 5%; height: 106%; }   /* hlava a ruce vylezou nad horní hranu, záda nesplynou s pravou */
.door-cut-tri { left: -2%; bottom: -1px; width: 114%; height: auto; }   /* noha s lavičkou vpravo odjede za hranu karty */
.door-cut-trener { right: 4%; bottom: -16px; width: 66%; height: auto; }   /* trenér stojí u spodní hrany jako děti ve žluté */
.door-yellow, .door-green { overflow: hidden; }
.door-body { position: relative; z-index: 2; padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 10px; }
.door-blue .door-body { max-width: 52%; }   /* vpravo visí dítě na laně */
.door-yellow .door-body { padding-bottom: 58%; }   /* místo pro výřezy u spodní hrany */
.door-green .door-body { padding-bottom: 96%; }
.door-title {
  font: italic 900 clamp(38px, 3.8vw, 60px)/.96 var(--f-display); text-transform: uppercase;
  color: var(--paper); -webkit-text-stroke: .05em var(--ink); paint-order: stroke fill; text-shadow: .045em .05em 0 var(--ink);
}
.door-text { font-size: 16px; line-height: 1.5; }
.door-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; margin-top: 4px; }
.door-go svg { transition: transform .2s var(--ease); }
.door-blue .tag, .door-green .tag { background: var(--paper); color: var(--ink); }

/* ---------- 7 tělocvičen: žlutá plocha a bílá mapa jako na Instagramu ---------- */
.near { padding: clamp(80px, 9vw, 140px) 0; }
.near-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(28px, 5vw, 80px);
  grid-template-areas: "head head" "map list"; align-items: start;
}
.near-head { grid-area: head; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 12px 40px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.near-head .d-xxl { margin: 0; }
.near-head .lead { margin: 0 0 10px; }
.near-n { color: var(--paper); -webkit-text-stroke: .05em var(--ink); paint-order: stroke fill; text-shadow: .045em .05em 0 var(--ink); padding-right: .08em; }
.near-map { grid-area: map; position: sticky; top: calc(var(--top-h) + 28px); }
.near-list { grid-area: list; }
.near-list > .link { margin-top: 18px; }

.mapa { margin: 0; }
.mapa svg { width: 100%; height: auto; overflow: visible; }
.mapa-shadow { fill: var(--ink); }
.mapa-brno { fill: var(--paper); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.pin { cursor: pointer; outline: none; }
.pin-body { fill: var(--ink); transition: fill .15s, transform .2s var(--ease); transform-origin: 0 0; }
.pin-dot { fill: var(--yellow); }
.pin-label {
  font: italic 900 18px/1 var(--f-display); text-transform: uppercase; fill: var(--ink);
  paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round;
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
.pin:hover .pin-body, .pin:focus-visible .pin-body, .pin.is-hot .pin-body { transform: scale(1.2); }
.pin:hover .pin-label, .pin:focus-visible .pin-label, .pin.is-hot .pin-label, .pin.is-on .pin-label { opacity: 1; }
.pin.is-on .pin-body { fill: var(--blue); transform: scale(1.2); }
.pin.is-dim { opacity: .28; }
.pin:focus-visible .pin-body { stroke: var(--blue); stroke-width: 3px; }
.mapa figcaption { font-size: 13.5px; margin-top: 14px; }
.yellow .mapa figcaption { color: var(--ink); }

/* rozvrh: jedna komponenta pro úvod i Tréninky — skupiny jako vstupenky */
.filters { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
.select { display: inline-flex; align-items: center; gap: 8px; }
.select select {
  font: 700 15px/1 var(--f-text); padding: 10px 36px 10px 14px; border: 2px solid var(--ink); border-radius: var(--r-sm);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; -webkit-appearance: none; color: var(--ink); cursor: pointer;
}
.slots { display: grid; gap: 10px; }
.slot {
  position: relative; display: grid; grid-template-columns: 136px minmax(0, 1fr) auto auto; gap: 6px 16px; align-items: center;
  background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); border-radius: var(--r); padding: 13px 16px;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
/* vstupenka: perforace a dva ústřižky na hranách */
.slot { --cut: 144px; --notch-bg: var(--hall); }
.yellow .slot { --notch-bg: var(--yellow); }
.slot::before { content: ""; position: absolute; left: var(--cut); top: 12px; bottom: 12px; border-left: 2px dashed var(--line); }
.slot::after {
  content: ""; position: absolute; left: calc(var(--cut) - 11px); width: 24px; top: -2.5px; bottom: -2.5px; pointer-events: none;
  background:
    radial-gradient(circle at 50% 0, var(--notch-bg) 8.5px, var(--ink) 9px 11px, transparent 11.5px),
    radial-gradient(circle at 50% 100%, var(--notch-bg) 8.5px, var(--ink) 9px 11px, transparent 11.5px);
}
.slot-head::after { display: none; }
.slots-more { margin-top: 16px; }
.slot.is-hot { transform: translate(-2px, -2px); box-shadow: var(--sh-md); }
.slot[hidden] { display: none; }
.slot-when { font-size: 16px; white-space: nowrap; }
.slot-day { font: italic 900 24px/1 var(--f-display); text-transform: uppercase; margin-right: 4px; }
.slot-where { display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.35; min-width: 0; padding-left: 8px; }
.slot-where b { font-size: 16px; }
.slot-where span { color: var(--muted); }
.slot-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.slot-age { font-weight: 800; font-size: 15px; white-space: nowrap; }
.slot-coach { display: none; }
.slot-go {
  justify-self: end; font-weight: 800; font-size: 15px; text-decoration: none; padding: 10px 14px; border-radius: var(--r-sm);
  border: 2.5px solid var(--ink); background: var(--yellow); color: var(--on-yellow); white-space: nowrap; transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.slot-go:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.slot-head { display: none; }
.slot-head::before { display: none; }
.slots-empty { background: var(--paper); border: 2px dashed var(--ink); border-radius: var(--r); padding: 18px; margin: 8px 0 0; }
.slots-meta { font-size: 14px; margin: 14px 0 0; }
.hall .slots-meta, .section .slots-meta { color: var(--muted); }
.rozvrh-full .slot { grid-template-columns: 170px minmax(0, 1fr) 110px 170px auto; padding: 16px 20px; }
.rozvrh-full .slot { --cut: 182px; }
.rozvrh-full .slot-where { flex-direction: row; flex-wrap: wrap; gap: 0 10px; align-items: baseline; }
.rozvrh-full .slot-meta { display: contents; }
.rozvrh-full .badge { justify-self: start; }
.rozvrh-full .slot-head {
  display: grid; background: none; border: 0; padding: 0 20px 2px; box-shadow: none;
  font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
}

/* ---------- jedna hodina, tři sporty: tři plakáty ---------- */
.hour { position: relative; background: var(--ink); color: var(--paper); }
.hour-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 24px; padding-top: clamp(64px, 8vw, 110px); padding-bottom: 28px; }
.hour-title { max-width: 520px; }
.hour-head h2 { font-size: clamp(34px, 3.4vw, 52px); margin-bottom: 6px; }
.hour-head p { margin: 0; font-weight: 700; }
.hour-dots { display: flex; gap: 6px; }
.hour-dots li {
  font: italic 800 16px/1 var(--f-display); text-transform: uppercase; padding: 8px 12px 7px; border-radius: 999px;
  border: 2px solid currentColor; transition: background-color .2s, color .2s;
}
.hour-dots li.is-on { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.poster { position: relative; overflow: hidden; min-height: max(620px, 100svh); isolation: isolate; }   /* stejně vysoký jako připnutá scéna — dítě vůči slovu stojí stejně */
.poster-blue { background: var(--blue); color: var(--paper); }
.poster-orange { background: var(--orange); color: var(--ink); }
.poster-green { background: var(--green); color: var(--paper); }
.poster::before {  /* čáry hřiště — jemná stopa tělocvičny */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background:
    radial-gradient(circle at 50% 118%, transparent 0 29vw, var(--paper) 29vw calc(29vw + 5px), transparent calc(29vw + 6px)),
    linear-gradient(90deg, transparent calc(50% - 2px), var(--paper) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px));
}
.poster-word {
  position: absolute; left: 50%; top: 47%; z-index: 0; margin: 0; transform: translate(-50%, -50%);
  font-size: clamp(70px, 17.5vw, 320px); white-space: nowrap; pointer-events: none;
}
.poster-cut { position: absolute; z-index: 1; left: 58%; bottom: -8px; height: min(86%, 1060px); width: auto; max-width: none; transform: translateX(-50%); }
.poster-cut-hang { top: -3%; bottom: auto; height: min(93%, 1140px); }   /* uříznuté popruhy začínají za hranou */
/* poloha změřená (cover.py, 1440 × 900): dítě schová jedno celé písmeno uprostřed slova, sousedy nejvýš třetinou */
.poster-blue .poster-cut { left: 49.2%; }     /* GYMN·STIKA */
.poster-orange .poster-cut { left: 65.8%; }   /* ATLETI·A */
.poster-green .poster-cut { left: 54.6%; }    /* MÍČOV· HRY, zvednutá ruka jen přetne V */
.poster-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); }
.poster-text h3, .poster-text p { max-width: 400px; }
.poster-text h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(36px, 3.4vw, 54px); margin-bottom: 12px; }
.poster-text h3 span {
  display: inline-grid; place-items: center; width: 1.2em; height: 1.2em; border-radius: 50%; font-size: .72em;
  background: var(--yellow); color: var(--ink); border: var(--edge) solid var(--ink);
}
.poster-text p { font-size: 18px; line-height: 1.5; font-weight: 600; margin: 0; }
.poster-text .hour-note { font-size: 14px; font-weight: 500; margin-top: 10px; opacity: .9; }
/* připnutá verze (desktop, pohyb povolený) — zapne site.js */
.hour-pin .hour-stage { position: relative; height: 100vh; overflow: hidden; }
.hour-pin .hour-head { position: absolute; z-index: 5; top: calc(var(--top-h) + 18px); left: 0; right: 0; padding: 0 var(--gutter); max-width: none; }
.hour-pin .poster { position: absolute; inset: 0; min-height: 0; }
.hour-pin .poster + .poster { clip-path: inset(100% 0 0 0); }
.hour-stage[data-on="1"] .hour-head { color: var(--ink); }
.hour-stage[data-on="1"] .hour-dots li.is-on { border-color: var(--ink); }

/* ---------- sestava: trenéři jako sběratelské kartičky ---------- */
.team { padding: clamp(90px, 10vw, 150px) 0; }
.team-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.team-intro { position: sticky; top: calc(var(--top-h) + 28px); }
.facts { display: grid; gap: 14px; margin: 26px 0 26px; }
.facts li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 16.5px; line-height: 1.5; }
.facts svg { margin-top: 2px; }
.ink .facts svg { color: var(--yellow); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 64px 16px; padding-top: 56px; }
.card {
  --rot: -2deg; --tone: var(--yellow);
  background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 7px 7px 12px;
  transform: rotate(var(--rot)); transition: transform .3s var(--ease);
}
.card:nth-child(4n+2) { --rot: 1.6deg; --tone: var(--blue); }
.card:nth-child(4n+3) { --rot: -.8deg; --tone: var(--orange); }
.card:nth-child(4n+4) { --rot: 2.2deg; --tone: var(--green); }
.card:hover { transform: rotate(0deg) translateY(-4px); }
.card-photo {
  position: relative; aspect-ratio: 4 / 4.4; border-radius: 9px; background: var(--tone);
  clip-path: inset(-45% 0 0 0 round 0 0 9px 9px);   /* ven smí jen hlava nahoru; ramena a spodek ořízne okno */
}
.card-photo img { position: absolute; left: var(--il, 50%); top: var(--it, -10%); height: var(--ih, 142%); width: auto; max-width: none; }   /* změřeno v build.py: hlava 38 % šířky, temeno 5 % nad hranou */
.card[data-fit="crown-cut"] .card-photo { clip-path: inset(0 0 0 0 round 9px); }   /* fotka má temeno uříznuté — hlava zůstane v okně */
.card-ini {
  position: absolute; inset: 0; display: grid; place-items: center; font: italic 900 clamp(44px, 4.4vw, 66px)/1 var(--f-display);
  color: var(--paper); -webkit-text-stroke: .05em var(--ink); paint-order: stroke fill; text-shadow: .05em .05em 0 var(--ink);
}
.card-name { padding: 10px 5px 0; font-size: 13.5px; line-height: 1.35; }
.card-name b { display: block; font: italic 900 22px/1 var(--f-display); text-transform: uppercase; margin-bottom: 3px; }
.card-name span:not(.todo) { color: var(--muted); display: block; }
.card-name .todo { display: inline-block; margin: 2px 0 4px; }
/* celá stránka O nás — portréty */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.person { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.35; }
.person b { font-size: 16px; }
.person-role { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.face { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--hall); border: var(--edge) solid var(--ink); box-shadow: var(--sh); }
.face img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.face-ini {
  display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: var(--yellow-tint);
  font: italic 900 clamp(30px, 3vw, 44px)/1 var(--f-display); color: var(--ink);
}
.team-full { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.team-full .person p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink); }

/* ---------- recenze: obří „5,0“ pod lístky ---------- */
.reviews { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 10vw, 150px) 0; }
.reviews-big {
  position: absolute; right: -5vw; top: clamp(20px, 3vw, 48px); z-index: -1; margin: 0; transform-origin: 80% 20%;   /* nula přetéká přes kraj */
  font-size: clamp(200px, 34vw, 580px); line-height: .9; color: var(--yellow); pointer-events: none; white-space: nowrap;
}
.reviews-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }
.reviews-head .d-l { margin: 0; }
.g-score { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-weight: 600; }
.stickers { columns: 3 300px; column-gap: 20px; }
.rev-feature { position: relative; margin: 0 0 clamp(36px, 4vw, 56px); max-width: 780px; }
.rev-feature blockquote { margin: 0; }
.rev-feature p { font: 800 clamp(26px, 2.7vw, 42px)/1.22 var(--f-text); letter-spacing: -.01em; margin: 0 0 18px; }
.rev-feature .sticker-who { color: var(--paper); font-size: 16px; }
.rev-feature .sticker-who b { color: var(--paper); }
.rev-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.rev-row .sticker { margin: 0; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 14px; transform: rotate(var(--tilt, -1deg)); }
.rev-row .sticker:nth-child(2n) { --tilt: 1.1deg; }
.rev-row .sticker:nth-child(3) { --tilt: -.5deg; }
/* ústřižek lístku: perforace, dva zářezy, hvězdy na vlastním řádku */
.rev-row .sticker-who { position: relative; flex-direction: column; align-items: flex-start; gap: 4px; margin: 6px -22px 0; padding: 12px 22px 0; border-top: 2.5px dashed var(--ink); }
.rev-row .sticker-who::before, .rev-row .sticker-who::after {
  content: ""; position: absolute; top: -13px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); border: var(--edge) solid var(--ink);
}
.rev-row .sticker-who::before { left: -14px; clip-path: inset(0 0 0 50%); }
.rev-row .sticker-who::after { right: -14px; clip-path: inset(0 50% 0 0); }
.sticker {
  break-inside: avoid; margin: 0 0 20px; background: var(--paper); color: var(--ink); border: var(--edge) solid var(--ink);
  border-radius: var(--r); padding: 22px 22px 18px;
}
.sticker blockquote { margin: 0; }
.sticker blockquote p { font-size: 17px; line-height: 1.55; margin-bottom: 14px; }
.sticker-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 14.5px; color: var(--muted); }
.sticker-who b { color: var(--ink); }

/* ---------- cena: zvýrazňovač přes číslo ---------- */
.price { padding: clamp(90px, 10vw, 150px) 0; background: var(--cream); }
.price-poster { text-align: center; }
.price-kicker { font-size: clamp(28px, 2.8vw, 42px); }
.price-big { position: relative; isolation: isolate; display: inline-block; font-size: clamp(72px, 9.4vw, 148px); margin: 4px 0 12px; white-space: nowrap; }
.price-poster .price-big { font-size: clamp(88px, 17vw, 280px); margin: 6px 0 18px; }   /* plakát na úvodu */
.price-hi {
  position: absolute; left: -3%; right: -4%; top: 40%; height: 46%; z-index: -1; background: var(--yellow);
  transform: skewX(-12deg) rotate(-1.5deg); transform-origin: left center;
}
.price-sub { font-size: 17px; line-height: 1.55; max-width: 56ch; margin: 0 auto 44px; }
.price-sub s { font-weight: 700; }
.price-steps { text-align: left; border-top: var(--edge) solid var(--ink); padding-top: 26px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 3fr); gap: 20px 40px; align-items: start; }
.price-steps h3 { font-size: clamp(30px, 2.8vw, 42px); margin: 0; }
.price-steps .btn { grid-column: 2; justify-self: start; margin-top: 8px; }
.steps-mini { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.steps-mini li { counter-increment: s; display: grid; gap: 8px; align-content: start; font-size: 16.5px; line-height: 1.5; }
.steps-mini li::before {
  content: counter(s); font: italic 900 72px/.9 var(--f-display); color: var(--yellow);
  -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink);
}

/* ---------- kemp na úvodu ---------- */
.kemp-teaser { padding: 0 0 clamp(64px, 7vw, 100px); overflow: hidden; background: var(--cream); }   /* žlutá karta leží přes fotku i přes papír */
.kemp-stage { position: relative; }
.kemp-photo {
  position: relative; margin: 0; height: min(86vh, 820px); min-height: 460px; overflow: hidden;
  border-block: 4px solid var(--ink); background: var(--ink);
}
.kemp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; will-change: transform; }
.kemp-card {
  position: relative; z-index: 2; width: min(600px, 100%); margin-top: -420px; padding: clamp(24px, 3vw, 40px);
  background: var(--yellow); border: 4px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
}
.kemp-card .d-xxl { font-size: clamp(52px, 6.4vw, 104px); margin-bottom: 16px; }
.kemp-stamp { position: absolute; z-index: 3; left: calc(var(--gutter) + 1vw); top: 28px; width: clamp(130px, 13vw, 200px); aspect-ratio: 1; }
.kemp-stamp svg { width: 100%; height: 100%; }
.kemp-stamp circle { fill: var(--ink); }
.kemp-stamp text { font: italic 800 17px var(--f-display); text-transform: uppercase; letter-spacing: .06em; fill: var(--yellow); }
.kemp-stamp img { position: absolute; left: 50%; top: 50%; width: 46%; translate: -50% -50%; }
.ticks { display: grid; gap: 10px; margin: 22px 0 26px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-size: 17px; font-weight: 700; }
.ticks svg { flex: none; }

/* ---------- proč všestrannost: čísla přes celou šířku ---------- */
.why { padding: clamp(90px, 10vw, 150px) 0; overflow: hidden; }
.why-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 60px; align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.why-head .d-l { margin: 0; }
.why-head .lead { margin: 0 0 8px; }
.stats { margin: 0; display: grid; gap: clamp(14px, 1.6vw, 22px); }
.stat {
  position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 40px;
  padding: clamp(28px, 3.4vw, 52px); border: 4px solid var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: 10px 10px 0 var(--paper);
}
.stat:nth-child(1) { background: var(--yellow); color: var(--ink); }
.stat:nth-child(2) { background: var(--orange); color: var(--ink); flex-direction: row-reverse; }
.stat:nth-child(3) { background: var(--blue); color: var(--paper); justify-content: flex-end; }
.stat dt {
  font-size: clamp(88px, 17vw, 290px); line-height: .9; white-space: nowrap; will-change: transform;
  color: var(--paper); -webkit-text-stroke: .05em var(--ink); paint-order: stroke fill; text-shadow: .045em .05em 0 var(--ink);
}
.stat dd { margin: 0 0 1.2vw; max-width: 300px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; font-weight: 700; }
.stat cite { display: block; font-style: normal; font-weight: 500; font-size: 14px; margin-top: 6px; opacity: .85; }
.rng-w { white-space: nowrap; }
.d .rng, .tag .rng, .poster-type .rng, .tape .rng, .facts-row b .rng, .slot-day .rng, .door-title .rng {
  display: inline-block; transform: scaleX(1.4); margin: 0 .06em;   /* v úzkém řezu je pomlčka jinak krátká jako spojovník */
}

/* ---------- otázky ---------- */
.faq-home { padding: clamp(80px, 9vw, 130px) 0; background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq { border-top: var(--edge) solid var(--ink); }
.qa { border-bottom: 2px solid var(--ink); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center;
  padding: 20px 2px; font: 800 18px/1.35 var(--f-text);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); transition: transform .25s var(--ease); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa summary:hover span { text-decoration: underline; text-underline-offset: 4px; }
.qa-a { padding: 0 44px 20px 2px; }
.qa-a p { margin: 0; font-size: 16.5px; line-height: 1.6; }
.faq-page { max-width: 880px; }
.faq-nav { margin-bottom: 44px; }
.faq-sec { scroll-margin-top: calc(var(--top-h) + 16px); }
.faq-sec + .faq-sec { margin-top: 64px; }
.faq-sec .d-m { margin-bottom: 14px; }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; font-weight: 800; font-size: 15px; }
.partners > span { padding: 7px 12px; border: 2px solid var(--ink); border-radius: 999px; }
.partners .small { width: 100%; margin: 0; font-weight: 400; }
.partners img { height: 44px; width: auto; }

/* ---------- podstránky: úvod jako plakát na žluté ---------- */
.page-hero { position: relative; background: var(--yellow); color: var(--on-yellow); padding: clamp(40px, 5vw, 80px) 0 clamp(56px, 6vw, 96px); border-bottom: var(--edge) solid var(--ink); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero h1 { margin-bottom: 22px; }
.page-hero .d-xl { font-size: clamp(52px, 7.6vw, 128px); }
.h1-sub { display: block; font: 800 clamp(21px, 2vw, 26px)/1.25 var(--f-text); font-style: normal; text-transform: none; letter-spacing: -.01em; margin-top: 14px; }
.page-photo { position: relative; margin: 0; transform: rotate(2deg); }
.page-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 4px solid var(--ink); border-radius: var(--r-lg); box-shadow: 14px 14px 0 var(--ink); }
.page-photo.wide img { aspect-ratio: 4 / 3; }
.sticker-note {
  position: absolute; left: -26px; bottom: 30px; max-width: 250px; background: var(--paper); color: var(--ink);
  border: var(--edge) solid var(--ink); border-radius: var(--r); padding: 14px 16px; transform: rotate(-5deg);
  font: 600 15px/1.35 var(--f-text); box-shadow: var(--sh-md);
}
.sticker-note .d { display: flex; align-items: center; gap: 8px; font-size: 26px; margin-bottom: 4px; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 26px 0 28px; border-top: var(--edge) solid var(--ink); border-bottom: var(--edge) solid var(--ink); }
.facts-row div { padding: 14px 14px 14px 0; }
.facts-row div + div { padding-left: 14px; border-left: 2px solid currentColor; border-left-color: rgba(20, 20, 20, .25); }
.facts-row div > span { display: block; font-size: 14px; font-weight: 600; }   /* jen popisek, ne spany „Kč“ a pomlčky uvnitř */
.facts-row b { font: italic 900 clamp(26px, 2.6vw, 36px)/1.05 var(--f-display); text-transform: uppercase; }
.updated { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }

/* ---------- podstránky: obecné bloky (převzato, linka a stín níž) ---------- */
/* obecné bloky */
.sec-head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-head .lead { margin: 0; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--gfx-r-md); padding: clamp(20px, 2.6vw, 30px); }
.hall .box { border-color: transparent; }
.box-yellow { background: var(--yellow-tint); border-color: transparent; }
.box-blue { background: var(--blue-tint); border-color: transparent; }
.box-green { background: var(--green-tint); border-color: transparent; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: s; padding-top: 8px; border-top: 1.5px solid var(--ink); }
.steps li::before {
  content: counter(s); display: block; margin: 10px 0 10px; font: italic 900 64px/.85 var(--f-display);
  color: var(--yellow); -webkit-text-stroke: 2px var(--ink);
}
.steps b { display: block; font-size: 18px; margin-bottom: 4px; }
.steps p { font-size: 16px; margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.pills li { font: italic 700 16px/1 var(--f-display); text-transform: uppercase; padding: 8px 12px; border-radius: var(--gfx-r-pill); background: var(--ink); color: var(--paper); }
.checklist { display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16.5px; line-height: 1.5; }
.checklist svg { margin-top: 2px; color: var(--green); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.cta-band .d-l { margin: 0; }

/* tabulky */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--gfx-r-md); background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table th { font: italic 700 15px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.table td b { font-weight: 800; }
.table-compact { min-width: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* tělocvičny */
.gyms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 14px; }
.near-map > .lead { margin-bottom: 24px; }
.gym { background: var(--paper); border-radius: var(--gfx-r-md); padding: 22px; scroll-margin-top: calc(var(--top-h) + 20px); }
.gym:target, .gym.is-hot { outline: var(--line-w) solid var(--ink); }
.gym h3 { font: italic 800 28px/1 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.gym-card + .gym-card { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.gym-addr { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.gym-times { display: grid; gap: 3px; font-size: 15px; margin-bottom: 10px; }

/* formuláře */
.form { display: grid; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.form legend { font: italic 800 clamp(26px, 2.6vw, 32px)/1 var(--f-display); text-transform: uppercase; margin-bottom: 6px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 17px/1.4 var(--f-text); color: var(--ink); background: var(--paper); border: 1.5px solid var(--field-line);
  border-radius: var(--gfx-r-sm); padding: 13px 14px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.check small { display: block; color: var(--muted); font-size: 14px; }
.form-err { color: var(--red); font-weight: 700; font-size: 15px; margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick-body {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: var(--gfx-r-md); background: var(--paper); font-size: 15px; transition: border-color .15s, background-color .15s;
}
.pick-body b { font-size: 17px; }
.pick-body .badge { grid-row: 1; grid-column: 2; align-self: start; }
.pick-body > span:not(.badge) { grid-column: 1 / -1; }
.pick-age { color: var(--muted); }
.pick input:checked + .pick-body { border-color: var(--ink); background: var(--yellow-tint); box-shadow: inset 0 0 0 1px var(--ink); }
.pick input:focus-visible + .pick-body { outline: 3px solid var(--blue); outline-offset: 2px; }
.progress { display: flex; gap: 6px; margin-bottom: 26px; }
.progress li { flex: 1; font-size: 13.5px; font-weight: 700; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); transition: border-color .2s, color .2s; }
.progress li.is-on, .progress li.is-done { border-top-color: var(--ink); color: var(--ink); }
.js .form-steps fieldset[data-step]:not(.is-on) { display: none; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.summary { position: sticky; top: calc(var(--top-h) + 20px); background: var(--hall); border-radius: var(--gfx-r-md); padding: 26px; }
.summary h2 { font: italic 800 28px/1 var(--f-display); text-transform: uppercase; margin-bottom: 14px; }
.summary dl { display: grid; gap: 10px; margin: 0 0 16px; }
.summary dt { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.summary dd { margin: 0; font-weight: 700; }
.summary .sum-price { font: italic 800 42px/1 var(--f-display); }
.summary .was { text-decoration: line-through; color: var(--muted); font-weight: 600; margin-left: 8px; font-size: 16px; font-style: normal; font-family: var(--f-text); }
.done { border: var(--line-w) solid var(--ink); border-radius: var(--gfx-r-md); padding: clamp(22px, 3vw, 34px); background: var(--paper); }
.done h2, .done h3 { display: flex; align-items: center; gap: 10px; }
.done ol { list-style: decimal; padding-left: 22px; display: grid; gap: 6px; margin: 12px 0 0; }
.busy { display: grid; gap: 4px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--gfx-r-md); background: var(--paper); }

/* kemp */
.p-kemp .page-hero { background: var(--yellow); color: var(--on-yellow); padding-bottom: clamp(48px, 6vw, 88px); }
.status { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); color: var(--ink); border: var(--line-w) solid var(--ink); border-radius: var(--gfx-r-md); padding: 16px 18px; margin: 0 0 22px; max-width: 520px; }
.status svg { flex: none; margin-top: 2px; }
.status p { margin: 0; font-size: 16px; }
.video { position: relative; margin: 0; border-radius: var(--gfx-r-lg); overflow: hidden; border: var(--line-w) solid var(--ink); background: var(--ink); aspect-ratio: 16 / 10; transform: rotate(1.2deg); box-shadow: var(--gfx-sh-lift); }
.video img, .video video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0) 40%, rgba(26, 26, 26, .55)); color: var(--paper);
  font: italic 800 26px/1 var(--f-display); text-transform: uppercase; padding: 0;
}
.video-play span.play {
  width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); border: var(--line-w) solid var(--ink); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .2s var(--ease);
}
.video-play:hover span.play { transform: scale(1.06); }
.video-play .cap { position: absolute; left: 20px; bottom: 18px; text-align: left; }
.day { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.day li { padding: 16px 14px 4px 0; position: relative; }
.day li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.day time { display: block; font: italic 800 30px/1 var(--f-display); margin-bottom: 6px; }
.day span { font-size: 15.5px; line-height: 1.4; display: block; }
.turnusy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.turnus { background: var(--paper); border: 1px solid var(--line); border-radius: var(--gfx-r-md); padding: 22px; display: grid; gap: 8px; }
.turnus .d { font-size: 32px; }
.bar { height: 10px; border-radius: 6px; background: var(--hall); overflow: hidden; border: 1px solid var(--line); }
.bar i { display: block; height: 100%; background: var(--ink); }
.kemp-pillars { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
.kemp-pillars .big { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0; }
.kemp-pillars .big img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.kemp-pillars .big div { padding: clamp(20px, 2.6vw, 30px); }
.kemp-pillars .stack { display: grid; gap: 18px; }

/* školy */
.programs { border-top: 1.5px solid var(--ink); }
.program { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(150px, .6fr); gap: 14px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--top-h) + 20px); }
.program h3 { font: italic 800 clamp(26px, 2.6vw, 34px)/1 var(--f-display); text-transform: uppercase; margin: 0; }
.program p { margin: 0; font-size: 16.5px; }
.program dl { margin: 0; display: grid; gap: 4px; font-size: 15px; }
.program dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.program dd { margin: 0 0 6px; font-weight: 700; }
.program:target { background: var(--yellow-tint); }

/* O nás */
.values { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.values .box h3 { font: italic 800 30px/1 var(--f-display); text-transform: uppercase; }
.quote { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; margin: 0; }
.quote footer { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* kontakt */
.contact-big a { display: block; font: italic 800 clamp(34px, 4.6vw, 60px)/1.05 var(--f-display); text-transform: uppercase; text-decoration: none; }
.contact-big a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.legal h2 { font: italic 800 30px/1 var(--f-display); text-transform: uppercase; margin: 36px 0 12px; }
.legal li { list-style: disc; margin-left: 20px; margin-bottom: 6px; }


/* podstránky: bloky dostanou linku a tvrdý stín plakátu */
.box { border: var(--edge) solid var(--ink); border-radius: var(--r-lg); }
.hall .box { border-color: var(--ink); }
.box-yellow { background: var(--yellow); border-color: var(--ink); }
.box-blue { background: var(--blue-tint); border-color: var(--ink); }
.box-green { background: var(--green-tint); border-color: var(--ink); }
.steps li { border-top: var(--edge) solid var(--ink); }
.steps li::before { font-size: 72px; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.table-wrap { border: var(--edge) solid var(--ink); border-radius: var(--r); }
.gym { border: var(--edge) solid var(--ink); border-radius: var(--r); }
.gym h3 { font-weight: 900; }
.turnus { border: var(--edge) solid var(--ink); border-radius: var(--r); }
.summary { border: var(--edge) solid var(--ink); border-radius: var(--r-lg); background: var(--cream); }
.done { box-shadow: var(--sh-md); }
.pick-body { border: 2px solid var(--ink); }
.pick input:checked + .pick-body { background: var(--yellow); box-shadow: var(--sh); }
.video { border: 4px solid var(--ink); box-shadow: 14px 14px 0 var(--ink); transform: rotate(2deg); }
.status { box-shadow: var(--sh); }
.program h3 { font-weight: 900; }
.program { border-bottom: 2px solid var(--ink); }
.programs { border-top: var(--edge) solid var(--ink); }
.p-kemp .page-hero { padding-bottom: clamp(56px, 6vw, 96px); }

/* ---------- patička: obří logo od kraje ke kraji ---------- */
.foot { background: var(--ink); color: var(--on-ink); padding: clamp(64px, 8vw, 100px) 0 0; font-size: 15.5px; overflow: hidden; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { max-width: 44ch; color: var(--on-ink-muted); font-size: 15px; margin: 0; }
.foot-brand img { display: none; }
.foot h2 { font: italic 900 22px/1 var(--f-display); text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.foot-col a { display: block; text-decoration: none; padding: 3px 0; }
.foot-col p a { display: inline; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; font-size: 13.5px; color: var(--on-ink-muted); }
.foot-legal::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; border-top: 1px solid rgba(242, 240, 234, .2); }
.foot-giant { padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(24px, 3vw, 44px); }
.foot-giant img { width: 100%; height: auto; will-change: transform; }

/* ---------- mobilní lišta a panel prototypu ---------- */
.dock { display: none; }
.proto { position: fixed; left: 16px; bottom: 16px; z-index: var(--z-proto); font-size: 14px; }
.proto-toggle {
  font: italic 800 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; border-radius: 999px;
  background: var(--ink); color: var(--paper); border: 2px solid var(--yellow); cursor: pointer; box-shadow: var(--sh);
}
.proto-panel { position: absolute; left: 0; bottom: 50px; width: 290px; background: var(--paper); border: var(--edge) solid var(--ink); border-radius: var(--r); padding: 16px; box-shadow: var(--sh-md); display: grid; gap: 12px; }
.proto-panel[hidden] { display: none; }
.proto-h { font-weight: 800; margin: 0; }
.proto-panel label { display: grid; gap: 6px; font-weight: 600; }
.proto-panel select { font: inherit; padding: 8px; border: 2px solid var(--ink); border-radius: var(--r-sm); }
.proto-check { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px !important; }
.proto-small { margin: 0; font-size: 12.5px; color: var(--muted); }
.clean .proto { display: none; }

/* ---------- pohyb ---------- */
.motion [data-rv] { opacity: 0; }
.motion .hero-claim .w > span, .motion .hero-card { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  .top-nav { gap: 16px; font-size: 15px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rozvrh-full .slot { grid-template-columns: 150px minmax(0, 1fr) 80px 150px auto; }
  .rozvrh-full .slot { --cut: 162px; }
  .day { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; }
}
@media (max-width: 980px) {
  :root { --top-h: 64px; }
  .top-logo img { height: 34px; }
  .top-burger {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 10px 12px; border: 2px solid currentColor;
    border-radius: var(--r-sm); background: transparent; font-weight: 800; cursor: pointer; min-height: 44px;
  }
  .top-cta { display: none; }
  .top-nav {
    position: fixed; inset: var(--top-h) 0 0 0; z-index: var(--z-menu); background: var(--yellow); color: var(--ink); flex-direction: column; gap: 0;
    padding: 12px var(--gutter) 40px; margin: 0; font-size: 22px; overflow-y: auto; display: none;
  }
  .top-nav.is-open { display: flex; }
  .home .top:not(.is-scrolled) .top-nav a { text-shadow: none; }
  .top-nav a { padding: 16px 0; border-bottom: 2px solid var(--ink); font: italic 900 34px/1 var(--f-display); text-transform: uppercase; }
  .top-nav a::after { display: none; }
  .top-nav-faq { display: block; }
  .near-grid { grid-template-columns: 1fr; grid-template-areas: "head" "map" "list"; }
  .near-head { grid-template-columns: 1fr; }
  .near-map { position: static; max-width: 520px; margin-bottom: 28px; }
  .team-layout, .price-grid, .kemp-grid, .faq-layout, .page-hero-grid, .cols2, .apply-grid, .why-head { grid-template-columns: 1fr; }
  .team-intro { position: static; }
  .doors-grid { grid-template-columns: 1fr 1fr; row-gap: 90px; }
  .door-blue { grid-column: 1 / -1; }
  .summary { position: static; }
  .values, .kemp-pillars { grid-template-columns: 1fr; }
  .program { grid-template-columns: 1fr; gap: 10px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .stat, .stat:nth-child(2) { flex-direction: column; align-items: flex-start; min-height: 0; }
  .stat:nth-child(3) { justify-content: flex-start; }
  .stat dt { font-size: clamp(64px, 21vw, 150px); }
  .stat:nth-child(3) dt { font-size: 15.5vw; }
  .stat dd { margin: 0; }
  .price-steps { grid-template-columns: 1fr; }
  .price-steps .btn { grid-column: auto; }
  .kemp-card { margin-top: -200px; }
}

/* ---------- mobil ---------- */
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .foot { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }   /* místo pro lištu, bez světlého pruhu pod patičkou */
  .hero { height: 79svh; min-height: 540px; max-height: 760px; }
  .hero-layer { bottom: auto; height: max(560px, min(86svh, 820px)); }   /* poloha dítěte změřená pro 86svh; spodek (prázdná žíněnka) ořízne hero */
  .ticket-stub { display: none; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-layer img { object-position: 44% 50%; }
  /* změřeno (obrys po řádcích): hlava vpravo od „POHYB,“, ruka sahá k „NA“, trup stojí vedle sloupce slov —
     na 390 px nejde schovat celé písmeno a rozmazaná ruka přes písmena se čte jako šmouha */
  .hero-claim { top: calc(10px + 13svh); bottom: auto; left: 0; font-size: 18vw; padding: 0 3.6vw; }
  .hero-claim .w { display: block; }                /* pět řádků po slově: plakátový sloupec vlevo */
  .hero-rating { bottom: 70px; font-size: 13px; padding: 8px 12px 8px 10px; }
  .hero-rating .d { font-size: 28px; }
  .hero-foot { height: auto; padding: 0 var(--gutter); }
  .hero-card { position: relative; right: auto; bottom: auto; width: auto; margin-top: -34px; }
  .tapes { height: 140px; margin-top: -10px; }
  .tape-sporty { top: 20px; }
  .tape-trust { top: 74px; }
  .tape li { padding: 10px 16px 8px 0; gap: 16px; }
  .doors { padding-top: 90px; }
  .doors-grid { grid-template-columns: 1fr; row-gap: 80px; }
  .door { min-height: 500px; }
  .door-blue .door-body { max-width: 68%; }
  .door-yellow .door-body { padding-bottom: 104%; }
  .door-green .door-body { padding-bottom: 76%; }
  .door-cut-trener { width: 54%; }
  .slot, .rozvrh-full .slot { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px; }
  .slot::before, .slot::after { display: none; }
  .slot-meta { display: contents; }
  .slot-when { grid-column: 1; }
  .slot .badge { grid-column: 2; grid-row: 1; justify-self: end; }
  .slot-where { grid-column: 1 / -1; padding-left: 0; }
  .slot-age { grid-column: 1; grid-row: 3; align-self: center; }
  .slot-go { grid-column: 2; grid-row: 3; }
  .rozvrh-full .slot-head { display: none; }
  .filters { gap: 12px; }
  /* na 390 px nejde schovat jedno celé písmeno (písmena ~33 px, trup je širší) → slovo a dítě vedle sebe, nic napůl */
  .poster { min-height: 680px; }
  .poster-word { font-size: 18vw; }
  .poster-orange .poster-word, .poster-green .poster-word { top: 27%; }
  .poster-orange .poster-cut, .poster-green .poster-cut { height: 68%; left: 70%; }   /* hlava a míč sahají ke spodku písmen */
  .poster-blue .poster-word { top: 64%; }
  .poster-blue .poster-cut { height: 57%; left: 72%; }
  .poster-text h3, .poster-text p { max-width: 44%; }
  .poster-text p { font-size: 16px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 14px; }
  .rev-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; }
  .rev-row .sticker { flex: 0 0 82%; scroll-snap-align: start; }
  .reviews { padding-top: 60vw; }
  .reviews-head { margin-bottom: 36px; }
  .reviews-big { top: 8px; font-size: 62vw; }
  .price-big { font-size: 22vw; }
  .steps-mini { grid-template-columns: 1fr; }
  .kemp-photo { height: 60vh; min-height: 380px; }
  .kemp-card { margin-top: -110px; }
  .kemp-stamp { top: -40px; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 2px solid rgba(20, 20, 20, .25); }
  .facts-row div:nth-child(4) { border-top: 2px solid rgba(20, 20, 20, .25); }
  .sticker-note { left: 12px; bottom: 14px; }
  .steps, .steps.three, .gyms, .turnusy { grid-template-columns: 1fr; }
  .day { grid-template-columns: 1fr 1fr; }
  .row2, .picks { grid-template-columns: 1fr; }
  .page-photo, .video { transform: none; }
  .foot-in { grid-template-columns: 1fr; }
  .dock {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock); align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--yellow);
    border-top: var(--edge) solid var(--ink); transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock-note { font: italic 900 20px/1 var(--f-display); text-transform: uppercase; }
  .dock .btn { min-height: 46px; padding: 12px 18px; background: var(--paper); }
  .proto { bottom: 84px; left: 10px; }
  .proto-toggle { font-size: 12px; padding: 7px 10px; }
}
