/* ==========================================================================
   KS Private Gym – hlavní styly
   Mobile-first. Pořadí: tokeny → základ → typografie → komponenty → stránky
   ========================================================================== */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("/fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("/fonts/big-shoulders-display-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* paleta a materiály vychází z loga: ocel, sytá červená se září, tmavý beton */
:root {
  --bg: #0A0A0B;
  --bg-2: #121213;
  --surface: #1C1C1F;
  --red: #D0121A;
  --red-hi: #EE2A2E;
  --text: #F4F4F4;
  --muted: #A5A5AA;
  --line: #333337;

  --grad-steel: linear-gradient(180deg, #fafafa 0%, #d2d2d6 34%, #96969c 52%, #c8c8cd 74%, #a3a3a9 100%);
  --grad-red: linear-gradient(180deg, #ff4a42 0%, #e3141c 45%, #a30b11 100%);
  --grad-red-hi: linear-gradient(180deg, #ff6a5e 0%, #f0232a 45%, #bb0e15 100%);
  --rule-red: linear-gradient(90deg, rgba(208, 18, 26, 0) 0, var(--red) 22%, var(--red) 78%, rgba(208, 18, 26, 0) 100%);
  --glow: rgba(238, 30, 36, .45);
  --concrete: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 88rem;
  --header-h: 4rem;
  --section: clamp(4.5rem, 10vw, 9rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bottom-bar: 4.25rem;
}
@media (min-width: 960px) {
  :root { --header-h: 4.75rem; --bottom-bar: 0px; }
}

/* ---------------------------------------------------------------- základ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--concrete), var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: var(--bottom-bar);
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
/* rámečky s ořezem: <picture> musí převzít výšku rámečku, aby object-fit fungoval */
:is(.benefits__photo, .arch, .cta-band__media, .page-intro__media, .profile__media,
    .not-found__media, .trainer-card__photo, .hero__panel, .mosaic__item, .gallery__link) picture { height: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red-hi);
  outline-offset: 3px;
}
main:focus { outline: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--text); color: var(--bg);
  padding: .75rem 1rem; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------ typografie */
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
/* ocelový text jako písmena v logu; přechod se opakuje po řádcích,
   vnitřní odsazení drží diakritiku nad versálkami uvnitř ořezu */
.h-display { padding-block: .12em .04em; margin-top: -.12em; }
.text-red, .brand__k { color: var(--red-hi); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .h-display, .text-steel, .text-red, .brand__k, .brand__amp {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .h-display, .text-steel, .brand__amp { background-image: var(--grad-steel); }
  .h-display { background-position: 0 .12em; }
  .text-red, .brand__k { background-image: var(--grad-red); }
  .text-red { filter: drop-shadow(0 0 .3em rgba(238, 30, 36, .4)); }
}
@supports (height: 1lh) {
  .h-display { background-size: 100% 1lh; background-repeat: repeat-y; }
}
.h-xxl { font-size: clamp(3rem, 9vw, 7.5rem); }
.h-xl  { font-size: clamp(2.5rem, 6.2vw, 5.25rem); }
.h-lg  { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: .98; }

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 38em;
}
.small { font-size: .9375rem; color: var(--muted); }
.prose p { max-width: 38em; color: #d9d9dc; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
  color: var(--text);
  padding-block: .35rem;
  border-bottom: 1px solid var(--red);
}
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover { color: var(--red-hi); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------------------------------------------------------------- tlačítka */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--btn-bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary {
  --btn-bg: var(--grad-red);
  color: #fff;
  border-color: #ff5a50 #a30b11 #7d080d;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
  box-shadow: 0 0 0 rgba(238, 30, 36, 0), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: box-shadow .3s var(--ease), border-color .2s, color .2s, transform .2s var(--ease);
}
.btn--primary:hover {
  --btn-bg: var(--grad-red-hi);
  color: #fff;
  box-shadow: 0 0 1.5rem var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--ghost { border-color: rgba(200, 200, 205, .55); color: var(--text); }
.btn--ghost:hover { border-color: #e6e6ea; background: var(--grad-steel); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 2.75rem; padding: .7rem 1.1rem; font-size: 1rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------------------------------------------------------------- značka */
/* emblém z loga + wordmark „K&S — privategym —“ (červené K, ocelové &S) */
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--text);
  line-height: 1;
}
.brand__mark {
  flex: none;
  width: 2.9rem; height: 2.9rem;
  border-radius: 50%;
  box-shadow: 0 0 .9rem rgba(238, 30, 36, .28);
  transition: box-shadow .3s var(--ease);
}
.brand__mark img { width: 100%; height: 100%; }
.brand:hover .brand__mark { box-shadow: 0 0 1.4rem var(--glow); }
.brand__word { display: grid; justify-items: center; gap: .3rem; }
.brand__ks {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: .03em;
  line-height: .8;
}
.brand__name {
  display: flex; align-items: center; gap: .35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .14em;
  line-height: 1;
  color: #b4b4b9;
}
.brand__name::before, .brand__name::after {
  content: ""; width: .5rem; height: 1px; background: var(--red-hi);
}
.brand--lg { gap: 1.1rem; }
.brand--lg .brand__mark { width: 5.5rem; height: 5.5rem; }
.brand--lg .brand__ks { font-size: 3rem; }
.brand--lg .brand__name { font-size: .9rem; gap: .55rem; }
.brand--lg .brand__name::before, .brand--lg .brand__name::after { width: 1rem; }
@media (min-width: 960px) {
  .site-header__brand .brand__mark { width: 3.3rem; height: 3.3rem; }
}

/* ---------------------------------------------------------------- hlavička */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: rgba(10, 10, 11, .96);
  border-bottom: 1px solid var(--line);
  border-image: var(--rule-red) 1;
  transition: background-color .3s, border-color .3s;
}
.has-hero .site-header:not(.is-scrolled):not(.is-open) {
  background: transparent;
  border-bottom-color: transparent;
  border-image: none;
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.site-header__brand { position: relative; z-index: 2; }

main { display: block; padding-top: var(--header-h); }
.has-hero main { padding-top: 0; }

.nav-toggle {
  position: relative; z-index: 2;
  width: 3rem; height: 3rem; margin-right: -.6rem;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block; width: 1.5rem; height: 2px; background: var(--text);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* mobilní menu */
.nav {
  position: fixed; inset: 0; z-index: 1;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  background: var(--concrete), var(--bg);
  display: flex; flex-direction: column; gap: 2rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-1rem);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.nav.is-open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav__list { list-style: none; border-top: 1px solid var(--line); }
.nav__list li { border-bottom: 1px solid var(--line); }
.nav__link {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-weight: 800; font-size: 2.6rem; line-height: 1;
  text-transform: uppercase; text-decoration: none;
  color: var(--text);
}
.nav__link[aria-current="page"] { color: var(--red-hi); }
.nav__cta { align-self: stretch; }
body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; padding: 0; background: none;
    flex-direction: row; align-items: center; gap: 2.25rem;
    visibility: visible; opacity: 1; transform: none; overflow: visible;
  }
  .nav__list { display: flex; gap: 2rem; border: 0; }
  .nav__list li { border: 0; }
  .nav__link {
    position: relative;
    padding: .5rem 0;
    font-size: 1.1rem; font-weight: 700; letter-spacing: .08em;
  }
  .nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .1rem;
    height: 2px; background: var(--red);
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav__link:hover::after,
  .nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .nav__link[aria-current="page"] { color: var(--text); }
  .nav__cta { align-self: auto; min-height: 2.9rem; padding-inline: 1.3rem; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: max(100svh, 40rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  display: grid; grid-template-columns: 1fr;
  background: var(--bg);
}
.hero__panel { display: none; position: relative; overflow: hidden; }
.hero__panel--main { display: block; }
.hero__panel picture, .hero__panel img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 30% 100%, rgba(208,18,26,.2), rgba(208,18,26,0) 70%),
    linear-gradient(to bottom, rgba(10,10,11,.7) 0, rgba(10,10,11,0) 22%),
    linear-gradient(to top, rgba(10,10,11,.97) 8%, rgba(10,10,11,.8) 38%, rgba(10,10,11,.15) 72%);
}
/* emblém z loga – kruh s červenou září */
.hero__emblem {
  display: block;
  width: 6.5rem; aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 2.5rem rgba(238, 30, 36, .3);
}
.hero__emblem img { width: 100%; height: 100%; }
.hero__content {
  display: grid; gap: 1.75rem;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 2rem;
}
.hero__title {
  font-size: clamp(3.1rem, 14.5vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.005em;
  text-wrap: initial;
  padding-top: 0; margin-top: 0;
}
.hero__line { display: block; padding-top: .1em; margin-top: -.1em; }
/* přechod nese každý řádek zvlášť – řádky se animují samostatně
   a ořez textem z rodiče by na ně v Chromu nedosáhl */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title { background-image: none; }
  .hero__line {
    background-image: var(--grad-steel);
    -webkit-background-clip: text;
    background-clip: text;
  }
  .hero__line:last-child {
    background-image: var(--grad-red);
    filter: drop-shadow(0 0 .25em rgba(238, 30, 36, .45));
  }
}
.hero__lead { color: #e6e6e8; max-width: 34em; font-size: 1.0625rem; }
.hero__facts {
  list-style: none;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max) - 2 * var(--gutter));
  padding-inline: 0;
  display: flex; flex-wrap: wrap;
  border-top: 1px solid rgba(244,244,244,.18);
  border-image: var(--rule-red) 1;
  padding-block: 1rem 1.25rem;
  font-size: .9375rem; color: #d2d2d6;
  gap: .5rem 1.4rem;
}
.hero__facts li { display: inline-flex; align-items: center; gap: .45rem; }
@media (min-width: 720px) {
  .hero__facts { gap: .5rem 0; }
  .hero__facts li { padding-right: 1.1rem; margin-right: 1.1rem; border-right: 1px solid rgba(244,244,244,.22); }
  .hero__facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
}
.hero__facts .icon { width: 1.05rem; height: 1.05rem; color: var(--red-hi); }

@media (min-width: 720px) {
  .hero__media { grid-template-columns: 1fr 1.08fr 1fr; gap: 3px; }
  .hero__panel { display: block; }
}
@media (min-width: 720px) {
  .hero__title { font-size: clamp(5rem, 10vw, 9.5rem); }
  .hero__emblem { width: 10rem; }
}
@media (min-width: 1100px) {
  .hero__title { font-size: clamp(6rem, 8.6vw, 10rem); grid-area: title; }
  .hero__content {
    grid-template-columns: minmax(0, 1fr) 24rem;
    grid-template-areas: "title emblem" "title aside";
    align-items: end; gap: 2rem 3rem;
    padding-bottom: 2.5rem;
  }
  .hero__emblem { grid-area: emblem; width: 14rem; }
  .hero__aside { grid-area: aside; padding-bottom: .6rem; }
}

/* jediný orchestrovaný moment: odhalení triptychu a nadpisu při načtení */
@media (prefers-reduced-motion: no-preference) {
  .hero__panel { animation: panel-in 1.1s var(--ease) both; }
  .hero__panel:nth-child(1) { animation-delay: .05s; }
  .hero__panel:nth-child(2) { animation-delay: .18s; }
  .hero__panel:nth-child(3) { animation-delay: .31s; }
  .hero__panel img { animation: panel-zoom 1.6s var(--ease) both; }
  .hero__line { animation: line-in .9s var(--ease) both; }
  .hero__line:nth-child(1) { animation-delay: .35s; }
  .hero__line:nth-child(2) { animation-delay: .45s; }
  .hero__line:nth-child(3) { animation-delay: .55s; }
  .hero__aside, .hero__facts { animation: fade-in .8s .75s var(--ease) both; }
  .hero__emblem { animation: emblem-in 1.2s .25s var(--ease) both; }
}
@keyframes emblem-in {
  from { opacity: 0; transform: scale(.82) rotate(-10deg); box-shadow: 0 0 0 rgba(238, 30, 36, 0); }
}
@keyframes panel-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes panel-zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes line-in { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------- sekce */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.section--alt { background: var(--concrete), var(--bg-2); }
.section-head {
  display: grid; gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head p { color: var(--muted); max-width: 30em; margin: 0; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-head p { justify-self: end; text-align: right; }
}

/* ------------------------------------------------------------- benefity */
.benefits__grid { display: grid; gap: 2.5rem; }
.benefits__side { display: grid; gap: 2rem; align-content: start; }
.benefits__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.benefits__photo img { width: 100%; height: 100%; object-fit: cover; }
.benefits__list { list-style: none; border-top: 1px solid var(--line); }
.benefits__item {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 1rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.benefits__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; letter-spacing: .04em;
  color: var(--red-hi);
  padding-top: .45rem;
}
.benefits__title {
  font-family: var(--font-display);
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1;
  margin-bottom: .6rem;
}
.benefits__item p { margin: 0; color: var(--muted); max-width: 32em; }

@media (min-width: 960px) {
  .benefits__grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); }
  .benefits__side { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .benefits__photo { aspect-ratio: 4 / 5; }
  .benefits__item { grid-template-columns: 4.5rem 1fr 1fr; column-gap: 2rem; padding-block: 2.5rem; align-items: baseline; }
  .benefits__num { grid-row: auto; }
  .benefits__title { margin: 0; }
}

/* ------------------------------------------------------------- koncept */
.concept__grid { display: grid; gap: 3rem; align-items: center; }
.concept__text .h-display { margin-bottom: 1.75rem; }
.concept__text p:not(.lead) { color: var(--muted); max-width: 36em; }
.concept__text .text-link { margin-top: 1rem; }
.concept__figure { margin: 0; justify-self: center; width: min(100%, 30rem); }
/* ocelový rám s červenou září – odkaz na prstenec loga */
.arch {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  border: 3px solid transparent;
  border-bottom: 0;
  background: var(--grad-steel) border-box;
  box-shadow: 0 0 3rem rgba(238, 30, 36, .22);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.concept__figure figcaption {
  margin-top: 1rem; padding-top: .75rem;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9375rem;
}
@media (min-width: 960px) {
  .concept__grid { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 7vw, 7rem); }
  .concept__figure { justify-self: end; }
}

/* ------------------------------------------------------------- kroky */
.how .h-display { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.steps {
  list-style: none;
  display: grid; gap: 0;
}
.steps__item {
  position: relative;
  padding: 1.75rem 0 1.75rem 4.5rem;
  border-top: 1px solid var(--line);
}
.steps__item::before {
  content: ""; position: absolute; left: 0; top: -4px;
  width: 7px; height: 7px; background: var(--red);
  box-shadow: 0 0 .6rem var(--glow);
}
.steps__num {
  position: absolute; left: 0; top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--text);
}
.steps__title {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.6rem; line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.steps__item p { margin: 0; color: var(--muted); max-width: 28em; }
.how__actions { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 900px) {
  .how .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .how .steps__item { padding: 2rem 0 0; }
  .how .steps__num { position: static; display: block; font-size: clamp(3.5rem, 6vw, 5.5rem); margin-bottom: 1.25rem; }
}

/* --------------------------------------------------------- mozaika (domů) */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 9.5rem;
  gap: 3px;
  margin-bottom: 2.5rem;
}
.mosaic__item { position: relative; overflow: hidden; display: block; background: var(--surface); }
.mosaic__item picture, .mosaic__item img { width: 100%; height: 100%; object-fit: cover; }
.g-a { grid-column: span 2; grid-row: span 3; }
.g-b, .g-c { grid-row: span 2; }
.g-d { grid-column: span 2; grid-row: span 2; }
.g-e, .g-f { grid-row: span 2; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(11rem, 17vw, 18rem); }
  .g-a { grid-column: 1 / 6; grid-row: 1 / 3; }
  .g-b { grid-column: 6 / 9; grid-row: 1; }
  .g-c { grid-column: 9 / 13; grid-row: 1; }
  .g-d { grid-column: 6 / 13; grid-row: 2; }
  .g-e { grid-column: 1 / 5; grid-row: 3; }
  .g-f { grid-column: 5 / 13; grid-row: 3; }
}

/* sdílené chování fotografií s lightboxem */
[data-lightbox] { cursor: zoom-in; }
[data-lightbox] img { transition: transform .7s var(--ease), filter .4s; }
@media (hover: hover) {
  [data-lightbox]:hover img { transform: scale(1.035); }
}
[data-lightbox]:focus-visible { outline-offset: -3px; }

/* ------------------------------------------------------------- trenéři */
.trainers__grid { display: grid; gap: 3.5rem; }
.trainer-card { display: flex; flex-direction: column; }
.trainer-card__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 1.5rem; background: var(--surface); transition: box-shadow .4s var(--ease); }
.trainer-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.trainer-card:hover .trainer-card__photo img { transform: scale(1.03); }
.trainer-card:hover .trainer-card__photo { box-shadow: 0 0 0 1px var(--red), 0 0 2rem rgba(238, 30, 36, .3); }
.trainer-card__name { font-size: clamp(2.1rem, 3.6vw, 2.9rem); }
.trainer-card__role { color: var(--red-hi); font-size: .9375rem; font-weight: 500; margin: .5rem 0 1rem; }
.trainer-card > p:not(.trainer-card__role) { color: var(--muted); }
.trainer-card__actions { margin-top: auto; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.trainer-card__actions .text-link { font-size: 1.05rem; border-bottom-color: transparent; }
.trainer-card__actions .text-link .icon { color: var(--red-hi); }
@media (min-width: 640px) { .trainers__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; } }
@media (min-width: 1024px) { .trainers__grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.tags {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin: .25rem 0 0;
}
.tags li {
  font-size: .875rem; line-height: 1.2;
  padding: .4rem .65rem;
  border: 1px solid var(--line);
  color: #d2d2d6;
}

/* ------------------------------------------------------------- CTA blok */
.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(208, 18, 26, .18), rgba(208, 18, 26, 0) 70%),
    var(--concrete), var(--bg-2);
  border-top: 1px solid var(--line);
  border-image: var(--rule-red) 1;
  overflow: hidden;
}
.cta-band__inner { padding-block: var(--section); position: relative; z-index: 1; }
.cta-band__text { max-width: 44rem; }
.cta-band__text .h-display { margin-bottom: 1.5rem; }
.cta-band__text .lead { color: var(--muted); margin-bottom: 2rem; }
.cta-band--image { display: flex; flex-direction: column-reverse; }
.cta-band__media { aspect-ratio: 16 / 10; overflow: hidden; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 900px) {
  .cta-band--image { display: block; }
  .cta-band--image .cta-band__text { max-width: 52%; }
  .cta-band__media {
    position: absolute; top: 0; right: 0; bottom: 0; width: 42%;
    aspect-ratio: auto;
  }
  .cta-band__media::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right, var(--bg-2) 0, rgba(20,20,22,0) 35%);
  }
}

/* --------------------------------------------------------- úvod podstránek */
.page-intro {
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2rem, 5vw, 3.5rem);
  background: radial-gradient(ellipse 55% 70% at 0% 0%, rgba(208, 18, 26, .14), rgba(208, 18, 26, 0) 70%);
  border-bottom: 1px solid var(--line);
  border-image: var(--rule-red) 1;
}
.page-intro__grid { display: grid; gap: 2.5rem; align-items: end; }
.page-intro__text .h-display { margin-bottom: 1.5rem; max-width: 14ch; }
.page-intro__text .lead { color: var(--muted); margin: 0; }
.page-intro__media { aspect-ratio: 4 / 3; overflow: hidden; }
.page-intro__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .page-intro--image .page-intro__grid { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 6vw, 6rem); }
  .page-intro__media { aspect-ratio: 4 / 5; max-height: 70vh; width: 100%; }
}

/* ------------------------------------------------------------- galerie */
.filters { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  min-height: 2.75rem;
  padding: .55rem 1.1rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .9375rem; font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.filter:hover { color: var(--text); border-color: #6a6a70; }
.filter[aria-pressed="true"] { background: var(--grad-steel); border-color: #e6e6ea; color: var(--bg); }

.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 8.5rem;
  grid-auto-flow: dense;
  gap: 3px;
}
/* tvary: std = 2 řádky, wide = celá šířka (mobil) / 4 sloupce, tall = 4 řádky */
.gallery__item { grid-row: span 2; }
.gallery__item--tall { grid-row: span 4; }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery:not(.is-filtered) .gallery__item:last-child { grid-column: 1 / -1; }
.gallery.is-filtered .gallery__item { grid-column: auto; grid-row: span 3; }
.gallery__item[hidden] { display: none; }
.gallery__link { position: relative; display: block; height: 100%; overflow: hidden; background: var(--surface); }
.gallery__link picture, .gallery__link img { width: 100%; height: 100%; object-fit: cover; }
.gallery__cat {
  position: absolute; left: 0; bottom: 0;
  padding: .45rem .7rem;
  background: rgba(10,10,11,.82);
  font-size: .8125rem; color: #d2d2d6;
  opacity: 0; transform: translateY(100%);
  transition: opacity .3s, transform .3s var(--ease);
}
.gallery__link:hover .gallery__cat,
.gallery__link:focus-visible .gallery__cat { opacity: 1; transform: none; }
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 10rem; }
  .gallery__item, .gallery__item--tall { grid-column: span 2; }
  .gallery__item--wide { grid-column: span 4; }
  .gallery.is-filtered .gallery__item { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(9rem, 11vw, 13.5rem); }
  .gallery:not(.is-filtered) .gallery__item:last-child { grid-column: span 2; }
}

/* ------------------------------------------------------------- lightbox */
.lightbox {
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: rgba(6, 6, 7, .96);
  color: var(--text);
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(6, 6, 7, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure {
  margin: 0;
  display: grid; justify-items: center; gap: .9rem;
  padding: 4.5rem 1rem 1.5rem;
  max-width: 100%;
}
.lightbox__img {
  max-width: min(100%, 60rem);
  max-height: calc(100dvh - 9rem);
  width: auto; height: auto;
  object-fit: contain;
  background: var(--surface);
}
.lightbox__caption { font-size: .9375rem; color: #d2d2d6; text-align: center; max-width: 40rem; }
.lightbox__count { color: var(--muted); margin-left: .5rem; white-space: nowrap; }
.lightbox__btn {
  position: fixed;
  width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center;
  background: rgba(28, 28, 31, .85);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { bottom: 1rem; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
@media (min-width: 900px) {
  .lightbox__prev, .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__prev { left: 1.5rem; }
  .lightbox__next { right: 1.5rem; }
  .lightbox__figure { padding: 4rem 6rem 2rem; }
}
@media (max-width: 899px) {
  .lightbox__figure { padding-bottom: 5.5rem; }
  .lightbox__img { max-height: calc(100dvh - 12rem); }
}
body.lightbox-open { overflow: hidden; }

/* ---------------------------------------------------------- profily trenérů */
.profile { padding-block: var(--section) 0; }
.profile + .profile .profile__grid {
  padding-top: var(--section);
  background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.profile:last-of-type { padding-bottom: var(--section); }
.profile__grid { display: grid; gap: 2.5rem; }
.profile__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.profile__media img { width: 100%; height: 100%; object-fit: cover; }
.profile__role { color: var(--red-hi); font-weight: 500; margin-bottom: .75rem; }
.profile__body .h-display { margin-bottom: 2rem; }
.profile__subhead {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.35rem; margin: 2rem 0 .85rem;
}
.profile__body .actions { margin-top: 2.25rem; }

.facts {
  display: grid; gap: 0;
  margin: 0 0 2rem;
  border-top: 1px solid var(--line);
}
.facts__item {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; line-height: 1.05; text-transform: uppercase;
}
.facts dd { margin: 0; color: var(--muted); font-size: .9375rem; }

.pull-quote {
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--red);
}
.pull-quote p {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.08;
  text-transform: uppercase;
}

@media (min-width: 960px) {
  .profile__grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .profile__media { position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 3 / 4; max-height: calc(100vh - var(--header-h) - 4rem); }
  .profile--photo-right .profile__grid { grid-template-columns: 7fr 5fr; }
  .profile--photo-right .profile__media { order: 2; }
  .facts { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 1.5rem; }
  .facts__item { grid-template-columns: 1fr; gap: .5rem; padding: 1rem 0 0; border-bottom: 0; border-top: 1px solid var(--line); align-content: start; }
  .facts dt { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
}

/* ------------------------------------------------------------- kontakt */
.contact__grid { display: grid; gap: 3.5rem; }
.contact__info { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.contact__block {
  display: grid; grid-template-columns: 1.75rem 1fr; gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.contact__block > .icon { color: var(--red-hi); margin-top: .15rem; }
.contact__label { font-size: .9375rem; font-weight: 500; color: var(--muted); margin-bottom: .4rem; }
.contact__block p { margin: 0; }
.contact__big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; text-transform: uppercase;
  text-decoration: none;
}
a.contact__big:hover { color: var(--red-hi); }
.contact__list { list-style: none; display: grid; gap: .6rem; }
.contact__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .9rem; }
.contact__list span { color: var(--muted); font-size: .9375rem; }
.contact__list--sm a { font-weight: 600; text-decoration: none; }
.contact__list--sm a:hover { color: var(--red-hi); }
.contact__social { list-style: none; display: flex; gap: 1.25rem; }
.contact__social a { display: inline-flex; gap: .5rem; align-items: center; }
.contact__book { padding-top: 2rem; }
.contact__book p { color: var(--muted); }
@media (min-width: 1024px) {
  .contact__info { grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 6vw, 6rem); }
  .contact__book { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------- formulář */
.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid; gap: 1.25rem;
  align-content: start;
}
.form .h-display { margin-bottom: .25rem; }
.form__notice {
  margin: 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--red);
  background: var(--surface);
  font-size: .9375rem;
}
.form__notice a { font-weight: 600; white-space: nowrap; }
.form__errors {
  padding: 1rem 1.1rem;
  border: 1px solid var(--red-hi);
  font-size: .9375rem;
}
.form__errors ul { margin: .5rem 0 0 1.1rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 500; font-size: .9375rem; }
.field__req, .field__opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: .75rem .9rem;
  background: var(--bg);
  border: 1px solid #4a4a50;
  border-radius: 2px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - .8rem) 55%;
  background-size: .35rem .35rem;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #6a6a70; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text);
}
.field [aria-invalid="true"] { border-color: var(--red-hi); }
.field__error {
  margin: 0; font-size: .875rem; color: #ff8a9a;
  display: flex; gap: .4rem; align-items: baseline;
}
.field__error::before { content: "!"; font-weight: 800; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check { grid-template-columns: 1.5rem 1fr; align-items: start; gap: .25rem .75rem; }
.field--check input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: .2rem 0 0; accent-color: var(--red); padding: 0; }
.field--check label { font-weight: 400; color: #d2d2d6; }
.field--check .field__error { grid-column: 2; }
.form__footer { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; padding-top: .5rem; }
.form__status { margin: 0; font-size: .9375rem; flex: 1 1 16rem; }
.form__status.is-error { color: #ff8a9a; }
.form__status.is-success { color: var(--text); }
.form.is-sent .form__success { display: block; }

.map { border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: clamp(18rem, 45vw, 30rem); border: 0; filter: grayscale(1) invert(.9) contrast(.9); }

/* ------------------------------------------------------------- rezervace */
.booking__grid { display: grid; gap: 3.5rem; }
.booking {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  align-self: start;
}
.booking .h-display { margin-bottom: 1rem; }
.booking p { color: #d2d2d6; max-width: 34em; }
.booking .actions { margin-top: 1.5rem; }
.booking__state {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .9375rem; color: var(--muted) !important;
  margin-bottom: 1.5rem;
}
.booking__dot { width: .6rem; height: .6rem; border: 2px solid var(--muted); border-radius: 50%; }
.booking__embed { border: 1px solid var(--line); background: var(--bg-2); }
.booking__embed iframe { width: 100%; min-height: 1000px; border: 0; }
.booking__help { margin-top: 1rem; }
.booking__help a { color: var(--text); }
.booking__how .h-display { margin-bottom: 1.5rem; }
.booking__how .small { margin-top: 1.5rem; }
@media (min-width: 1024px) { .booking__grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); } }

/* ---------------------------------------------------------- dokumenty */
.doc { padding-block: clamp(3rem, 7vw, 5.5rem) var(--section); }
.doc__head { max-width: 46rem; margin-bottom: 3rem; display: grid; gap: 1.25rem; justify-items: start; }
.doc__head .h-display { font-size: clamp(2.4rem, 5vw, 3.75rem); }
.doc__sub { color: var(--muted); margin: 0; }
.doc__draft {
  padding: 1rem 1.15rem;
  border: 1px solid #6b5a1f;
  background: #1d1a10;
  color: #f0e2b0;
  font-size: .9375rem;
}
.doc__layout { display: grid; gap: 2.5rem; }
.doc__toc { border-top: 1px solid var(--line); padding-top: 1rem; }
.doc__toc-title { font-size: .9375rem; font-weight: 600; color: var(--muted); margin-bottom: .75rem; }
.doc__toc ol { list-style: none; display: grid; gap: .25rem; }
.doc__toc a { display: flex; gap: .6rem; padding: .3rem 0; text-decoration: none; color: #d2d2d6; font-size: .9375rem; }
.doc__toc a span { color: var(--red-hi); min-width: 1.4rem; font-variant-numeric: tabular-nums; }
.doc__toc a:hover { color: var(--text); }
.doc__body { max-width: 44rem; }
.doc__section { padding-block: 2rem; border-top: 1px solid var(--line); }
.doc__section h2 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 1.35rem; line-height: 1.3;
  margin-bottom: 1rem;
  display: flex; gap: .6rem;
}
.doc__num { color: var(--red-hi); font-variant-numeric: tabular-nums; }
.doc__section p, .doc__section li { color: #dcdcdf; }
.doc__section ul { padding-left: 1.25rem; margin: 0 0 1em; display: grid; gap: .35rem; }
.doc__section li::marker { color: var(--red-hi); }
.pending {
  background: #3a3216; color: #f6e6a8;
  padding: .05em .35em; border-radius: 2px;
  font-size: .95em;
}
.legal-note {
  margin: 0 0 1em;
  padding: .85rem 1rem;
  border-left: 3px solid #b8962e;
  background: #17150e;
  color: #e5d9b0;
  font-size: .9rem;
}
@media (min-width: 1024px) {
  .doc__layout { grid-template-columns: 15rem minmax(0, 44rem); gap: 5rem; }
  .doc__toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ------------------------------------------------------------- 404 */
.not-found { display: grid; min-height: calc(100svh - var(--header-h)); }
.not-found__media { aspect-ratio: 16 / 10; overflow: hidden; }
.not-found__media img { width: 100%; height: 100%; object-fit: cover; }
.not-found__text { padding-block: 3rem var(--section); align-self: center; }
.not-found__code {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(5rem, 14vw, 10rem); line-height: .8;
  color: var(--red); margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 .2em rgba(238, 30, 36, .35));
}
.not-found .h-display { margin-bottom: 1.25rem; }
.not-found .lead { color: var(--muted); margin-bottom: 2rem; }
@media (min-width: 900px) {
  .not-found { grid-template-columns: 5fr 7fr; }
  .not-found__media { aspect-ratio: auto; }
  .not-found__text { padding-inline: clamp(2rem, 6vw, 6rem); max-width: none; }
}

/* ------------------------------------------------------------- patička */
.site-footer {
  background:
    radial-gradient(ellipse 50% 60% at 10% 0%, rgba(208, 18, 26, .12), rgba(208, 18, 26, 0) 70%),
    var(--concrete), var(--bg);
  border-top: 1px solid var(--line);
  border-image: var(--rule-red) 1;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__intro { display: grid; gap: 1.25rem; justify-items: start; max-width: 26rem; }
.site-footer__intro p { color: var(--muted); margin: 0; }
.footer__title { font-size: .9375rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.footer__list { list-style: none; display: grid; gap: .55rem; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--red-hi); }
.footer__list--contact a, .footer__list--contact span { display: inline-flex; align-items: center; gap: .6rem; }
.footer__list--contact .icon { color: var(--red-hi); width: 1.1rem; height: 1.1rem; }
.footer__note { display: block !important; color: var(--muted); font-size: .875rem; padding-left: 1.7rem; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max) - 2 * var(--gutter));
  padding-inline: 0;
  font-size: .875rem; color: var(--muted);
}
.site-footer__legal p { margin: 0; }
.footer__owners, .footer__legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer__legal-links a:hover { color: var(--text); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: 3rem; } }

/* ---------------------------------------------------------- rychlý kontakt */
.quick {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(10, 10, 11, .97);
  border-top: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.quick__book { flex: 1; min-height: 3rem; }
.quick__toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 3rem; min-height: 3rem; padding: 0 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600; font-size: .9375rem;
}
.quick__toggle:hover { border-color: #6a6a70; }
.quick__icon-close { display: none; }
.quick__toggle[aria-expanded="true"] .quick__icon-open { display: none; }
.quick__toggle[aria-expanded="true"] .quick__icon-close { display: block; }
.quick__menu {
  position: absolute; right: var(--gutter); bottom: calc(100% + .5rem);
  width: min(18rem, calc(100vw - 2 * var(--gutter)));
  background: var(--surface);
  border: 1px solid var(--line);
  padding: .5rem;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .5);
}
.quick__menu:not([hidden]) { animation: quick-in .22s var(--ease); }
@keyframes quick-in { from { opacity: 0; transform: translateY(.5rem); } }
.quick__title { font-size: .8125rem; color: var(--muted); padding: .4rem .6rem .5rem; margin: 0; }
.quick__menu ul { list-style: none; display: grid; }
.quick__menu a {
  display: flex; align-items: center; gap: .85rem;
  padding: .75rem .6rem;
  text-decoration: none; font-weight: 600;
  border-radius: 2px;
}
.quick__menu a:hover, .quick__menu a:focus-visible { background: var(--bg-2); }
.quick__menu .icon { color: var(--red-hi); }
.quick__menu small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; }
body.nav-open .quick { transform: translateY(110%); }
/* na úvodní stránce se rychlý kontakt ukáže až po odscrollování z hero,
   aby nepřekrýval jeho obsah (hero má vlastní tlačítko rezervace) */
.has-hero .quick:not(.is-visible) { transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
@media (min-width: 960px) {
  .has-hero .quick:not(.is-visible) { transform: translateY(1rem); opacity: 0; }
  .quick { transition: transform .3s var(--ease), opacity .3s; }
}

@media (min-width: 960px) {
  .quick {
    left: auto; right: 1.5rem; bottom: 1.5rem;
    padding: 0; background: none; border: 0;
  }
  .quick__book { display: none; }
  .quick__toggle {
    min-height: 3.25rem; padding: 0 1.15rem;
    background: rgba(28, 28, 31, .94);
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .45);
  }
  .quick__menu { right: 0; }
}

/* ------------------------------------------- kovové a červené číslice */
/* až zde, aby přebily barvy z jednotlivých komponent */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .steps__num, .facts dt, .benefits__num, .not-found__code {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .steps__num, .facts dt { background-image: var(--grad-steel); }
  .benefits__num, .not-found__code { background-image: var(--grad-red); }
}

/* --------------------------------------------------------- omezení pohybu */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ------------------------------------------------------------------ tisk */
@media print {
  :root { --bg: #fff; --text: #000; --muted: #444; --line: #bbb; }
  body { background: #fff; color: #000; padding: 0; font-size: 11pt; }
  .site-header, .site-footer, .quick, .skip-link, .doc__print, .doc__toc, .lightbox { display: none !important; }
  main { padding: 0 !important; }
  .doc { padding: 0; }
  .doc__layout { display: block; }
  .doc__section { break-inside: avoid-page; border-color: #bbb; padding-block: 1rem; }
  .doc__section p, .doc__section li, .doc__sub { color: #000; }
  .doc__num, .doc__section li::marker { color: #000; }
  .h-display, .hero__line, .steps__num, .facts dt, .benefits__num, .not-found__code, .brand__k, .brand__amp {
    background: none !important; color: #000 !important; filter: none !important;
  }
  .pending { background: #eee; color: #000; border: 1px dashed #666; }
  .legal-note, .doc__draft { background: #f4f4f4; color: #000; border-color: #888; }
  a { color: #000; }
}

/* ------------------------------------------------------------- hero: hlavní nadpis stránky (H1) */
.hero__kicker {
  margin: 0 0 .9rem;
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-hi);
}

/* ------------------------------------------------------------- posilovna v Táboře + časté otázky */
.faq__grid { display: grid; gap: 2.5rem; }
.faq__intro p { max-width: 36em; color: #d9d9dc; }
.faq__intro .h-xl { margin-bottom: 1.5rem; }
.faq__heading {
  font-size: .9375rem; font-weight: 500; color: var(--muted);
  margin-bottom: .75rem;
}
.faq__list { border-top: 1px solid var(--line); align-self: start; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none;
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1;
  color: var(--red-hi); transition: transform .2s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--red-hi); }
.faq__item summary:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 4px; }
.faq__item p { margin: 0 0 1.25rem; max-width: 40em; color: #d9d9dc; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
