/* BoBo GYM — hlavní styly bez frameworku */
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p { margin-block-start: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.legal-document ol { list-style: decimal; }
.legal-document ul { list-style: disc; }
.legal-document li ul { list-style: circle; }
.gallery-grid.is-collapsed .gallery-item:nth-child(n + 5) { display: none; }
@media (max-width: 700px) { .hero-video { display: none; } }

:root {
  --black: #050505;
  --surface: #101010;
  --surface-2: #171717;
  --surface-3: #202020;
  --white: #f7f7f3;
  --muted: #b5b5ae;
  --gold: #f7b801;
  --gold-soft: #ffd761;
  --line: rgba(255, 255, 255, 0.14);
  --header-height: 88px;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--black);
}

html.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

html.menu-open body {
  overflow: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: #111;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(76px, 9vw, 132px);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.text-gold {
  color: var(--gold);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #111;
  box-shadow: 0 14px 42px rgba(247, 184, 1, 0.18);
}

.button-primary:hover {
  background: var(--gold-soft);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(5, 5, 5, 0.35);
  backdrop-filter: blur(12px);
}

.button-ghost:hover,
.button-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.button-outline {
  border-color: var(--line);
  background: transparent;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.97);
}

#hlavni-obsah {
  padding-top: var(--header-height);
}

.header-inner {
  width: min(100% - 48px, 1320px);
  height: 100%;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}

.brand {
  width: 112px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 112px;
  height: 62px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
}

.main-nav a {
  position: relative;
  color: #e8e8e3;
  font-size: 0.92rem;
  font-weight: 670;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact-link {
  display: none;
}

.nav-app-link {
  color: var(--gold) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.language-current,
.language-link {
  min-width: 38px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.language-current {
  background: var(--white);
  color: #111;
}

.language-link {
  color: var(--muted);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 22px;
  height: 2px;
  display: block;
  background: var(--white);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-panel {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(110deg, #050505 20%, rgba(5, 5, 5, 0.25)),
    url("/media/jak-to-u-nas-vypada-1.webp") center / cover;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -2;
  object-fit: cover;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.4) 58%, rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.98) 0%, transparent 45%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.28), transparent 30%);
}

.hero-content {
  padding-top: 100px;
  padding-bottom: clamp(100px, 12vh, 150px);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.4rem, 7.3vw, 7.1rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero-lead {
  max-width: 680px;
  margin: 32px 0 0;
  color: #e4e4df;
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 54px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-proof span {
  display: inline-flex;
  gap: 7px;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-proof span:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof strong {
  color: var(--white);
}

.hero-proof small {
  color: inherit;
  font-size: inherit;
}

.hero-scroll {
  position: absolute;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 48px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #d5d5d0;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--gold);
}

/* Shared headings */

.section-heading {
  margin-bottom: clamp(40px, 6vw, 74px);
}

.section-heading h2,
.location-heading h2,
.subpage-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 890;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading > p,
.split-heading > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: clamp(42px, 7vw, 100px);
}

.split-heading > p {
  max-width: 520px;
  margin: 0 0 8px;
}

.centered-heading {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading > p:last-child {
  max-width: 620px;
  margin: 22px auto 0;
}

/* Equipment */

.intro-section {
  background: var(--black);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.equipment-card {
  min-height: 270px;
  padding: 36px 30px 32px;
  border-left: 1px solid var(--line);
}

.equipment-card:first-child {
  border-left: 0;
}

.equipment-card > span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.equipment-card h3 {
  margin: 72px 0 8px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.equipment-card p {
  margin: 0;
  color: var(--muted);
}

/* 24/7 band */

.access-band {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.access-band-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/media/otevreno-24-7.webp") center / cover no-repeat;
  transform: scale(1.015);
}

.access-band::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.97) 0 38%, rgba(5, 5, 5, 0.58) 67%, rgba(5, 5, 5, 0.14));
}

.access-band-content {
  padding-block: 90px;
}

.access-band-content > * {
  max-width: 600px;
}

.access-band h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.access-band-content > p:not(.eyebrow) {
  margin: 28px 0;
  color: #d5d5cf;
  font-size: 1.12rem;
}

/* Pricing */

.pricing-section {
  position: relative;
  background:
    linear-gradient(rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.96)),
    url("/media/bg-cenik.webp") center / cover fixed;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.pricing-card {
  position: relative;
  min-height: 610px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.94);
  box-shadow: var(--shadow);
}

.pricing-card-featured {
  border-color: var(--gold);
  background: #15130b;
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0 0 34px;
  max-width: 330px;
  font-size: 1.75rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.price-row {
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.price-row > div {
  display: flex;
  flex-direction: column;
}

.price-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.price-row b {
  font-size: 1.08rem;
  white-space: nowrap;
}

.price-row-highlight {
  margin-inline: -16px;
  padding-inline: 16px;
  border: 1px solid rgba(247, 184, 1, 0.32);
  border-radius: 14px;
  background: rgba(247, 184, 1, 0.08);
}

.price-row-highlight b {
  color: var(--gold);
  font-size: 1.5rem;
}

.pricing-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.single-price {
  margin: 56px 0 30px;
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1;
}

.offpeak-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 22px;
  border-radius: 16px;
  background: var(--surface-3);
}

.offpeak-price span {
  color: var(--muted);
  font-size: 0.85rem;
}

.offpeak-price strong {
  color: var(--gold);
  font-size: 2.1rem;
}

.pricing-disclaimer {
  margin: 30px 0 0;
  color: var(--muted);
  text-align: center;
}

.pricing-disclaimer a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

/* Gallery */

.gallery-section {
  background: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 250px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #222;
}

.gallery-item-1,
.gallery-item-5 {
  grid-row: span 2;
}

.gallery-grid.is-collapsed .gallery-item {
  grid-row: span 1;
}

.gallery-grid.is-collapsed .gallery-item-1 {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid.is-collapsed .gallery-item-4 {
  grid-column: span 2;
}

.gallery-grid.is-expanded .gallery-item:nth-child(n + 5) {
  animation: gallery-reveal 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.38));
  opacity: 0;
  transition: opacity 250ms ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-toggle {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 34px auto 0;
}

.gallery-toggle::after {
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

.gallery-toggle[aria-expanded="true"]::after {
  content: "−";
}

@keyframes gallery-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Trainers */

.trainers-section {
  background: var(--black);
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trainer-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.trainer-card:hover {
  border-color: rgba(247, 184, 1, 0.55);
  transform: translateY(-5px);
}

.trainer-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
}

.trainer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.trainer-body h3 {
  margin: 0;
  font-size: 1.55rem;
}

.trainer-description {
  --trainer-preview-line-height: 1.5rem;

  position: relative;
  min-height: calc(var(--trainer-preview-line-height) * 6);
  max-height: calc(var(--trainer-preview-line-height) * 6);
  overflow: hidden;
  margin-top: 10px;
  transition: max-height 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.trainer-description::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 54px;
  background: linear-gradient(transparent, var(--surface));
  content: "";
  pointer-events: none;
  transition: opacity 180ms ease;
}

.trainer-description.is-expanded {
  max-height: 1200px;
}

.trainer-description.is-expanded::after {
  opacity: 0;
}

.trainer-description p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: var(--trainer-preview-line-height);
  white-space: pre-line;
}

.trainer-description p + p {
  margin-top: 14px;
}

.trainer-description-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trainer-description-toggle:hover {
  color: #ffd04c;
}

.trainer-description-toggle:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 5px;
  border-radius: 4px;
}

.trainer-description-toggle-icon {
  font-size: 1rem;
  line-height: 1;
  transition: transform 220ms ease;
}

.trainer-description-toggle[aria-expanded="true"]
  .trainer-description-toggle-icon {
  transform: rotate(180deg);
}

.trainer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.trainer-links a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8d8d2;
  font-size: 0.78rem;
}

.trainer-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* App promo */

.app-promo {
  background: var(--white);
  color: #111;
}

.app-promo .eyebrow {
  color: #8a6500;
}

.app-promo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.app-promo-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 5.6vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.app-promo-copy > p:not(.eyebrow) {
  max-width: 530px;
  margin: 24px 0;
  color: #52524e;
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 740;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  content: "✓";
  border-radius: 50%;
  background: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-buttons a {
  height: 54px;
  display: inline-flex;
  align-items: center;
}

.store-buttons img {
  width: auto;
  max-width: 176px;
  height: 52px;
  object-fit: contain;
}

.app-promo-image,
.subpage-visual {
  position: relative;
}

.app-promo-image > img,
.subpage-visual > img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.app-promo-float {
  position: absolute;
  right: -24px;
  bottom: 32px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--gold);
  color: #111;
  box-shadow: var(--shadow);
}

.app-promo-float strong {
  font-size: 2.6rem;
  letter-spacing: -0.055em;
  line-height: 1;
}

.app-promo-float span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Location */

.location-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.location-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.location-heading h2 {
  max-width: 760px;
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.transport-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}

.transport-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.transport-grid strong {
  display: block;
}

.transport-grid p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.map-wrap {
  height: 510px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: saturate(0.8) contrast(1.03);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black);
}

.stats-grid > div {
  padding: 30px;
  border-left: 1px solid var(--line);
}

.stats-grid > div:first-child {
  border-left: 0;
}

.stats-grid strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.87rem;
}

/* Partners */

.partners-section {
  padding-block: 58px;
  border-top: 1px solid var(--line);
  background: var(--black);
  text-align: center;
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 36px;
  margin-top: 30px;
}

.partners-row a {
  min-height: 70px;
  display: grid;
  place-items: center;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.72;
  transition:
    filter 180ms ease,
    opacity 180ms ease;
}

.partners-row a:hover {
  filter: none;
  opacity: 1;
}

.partners-row img {
  width: 100%;
  max-width: 150px;
  max-height: 58px;
  object-fit: contain;
}

/* Footer */

.site-footer {
  padding-top: 80px;
  border-top: 1px solid var(--line);
  background: #020202;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr 1.1fr;
  gap: 48px;
  padding-bottom: 68px;
}

.footer-brand img {
  width: 136px;
  height: 80px;
  object-fit: contain;
}

.footer-brand > p,
.footer-app-copy {
  max-width: 320px;
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.social-links a {
  font-size: 0.88rem;
  font-weight: 800;
}

.social-links a:hover,
.site-footer a:hover {
  color: var(--gold);
}

.footer-label {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer address {
  margin-bottom: 14px;
  color: var(--muted);
  font-style: normal;
}

.site-footer .footer-grid > div:not(.footer-brand) > a {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.site-footer .footer-grid > div:not(.footer-brand) > a:hover {
  color: var(--gold);
}

.site-footer .footer-grid > div > p:not(.footer-label) {
  margin: 5px 0;
  color: var(--muted);
}

.site-footer .footer-highlight {
  color: var(--gold) !important;
  font-weight: 800;
}

.store-buttons-small {
  flex-direction: column;
  align-items: flex-start;
}

.store-buttons-small a,
.store-buttons-small img {
  height: 38px;
}

.store-buttons-small img {
  max-width: 125px;
}

.footer-bottom {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: #85857f;
  font-size: 0.76rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* Subpages */

.subpage-hero {
  padding-block: clamp(84px, 10vw, 150px);
  background:
    radial-gradient(circle at 80% 30%, rgba(247, 184, 1, 0.12), transparent 30%),
    var(--black);
}

.subpage-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.subpage-hero h1 {
  max-width: 720px;
}

.subpage-lead {
  max-width: 650px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.subpage-visual > img {
  min-height: 520px;
}

.compact-subpage-hero {
  padding-block: clamp(86px, 12vw, 170px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.compact-subpage-hero h1 {
  margin-inline: auto;
}

.compact-subpage-hero .subpage-lead {
  margin-inline: auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.steps-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.steps-grid span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.steps-grid h3 {
  margin: 70px 0 8px;
  font-size: 1.35rem;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.info-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-top: 26px;
  padding: clamp(34px, 5vw, 64px);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.info-callout h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.info-callout > div > p:last-child {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
}

/* Legal documents */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 12vw, 160px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 30%, rgba(247, 184, 1, 0.14), transparent 32%),
    var(--black);
}

.legal-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -180px;
  width: min(520px, 48vw);
  aspect-ratio: 1;
  border: 1px solid rgba(247, 184, 1, 0.18);
  border-radius: 50%;
  content: "";
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  max-width: 1000px;
  margin: 10px 0 24px;
  font-size: clamp(2.8rem, 7vw, 6.7rem);
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.legal-hero .container > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.legal-section {
  background: linear-gradient(180deg, #080808 0%, var(--black) 100%);
}

.legal-document {
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: #deded8;
}

.legal-document > p:first-child {
  margin-top: 0;
  color: var(--white);
  font-size: 1.08rem;
}

.legal-document section {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}

.legal-document h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.legal-document p {
  margin: 0 0 18px;
}

.legal-document ol,
.legal-document ul {
  margin: 0;
  padding-left: 1.5rem;
}

.legal-document li {
  padding-left: 0.3rem;
}

.legal-document li + li {
  margin-top: 12px;
}

.legal-document li::marker {
  color: var(--gold);
  font-weight: 800;
}

.legal-document li > ul,
.legal-document li > ol {
  margin-top: 14px;
}

.legal-document a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 215, 97, 0.4);
  text-underline-offset: 3px;
}

.legal-document-divider {
  height: 1px;
  margin: clamp(58px, 9vw, 100px) 0 44px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.legal-document .legal-document-title {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

@media (max-width: 700px) {
  .legal-hero {
    padding-block: 72px;
  }

  .legal-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .legal-section {
    padding-block: 36px 72px;
  }

  .legal-document {
    padding: 24px 20px 30px;
    border-radius: 18px;
  }

  .legal-document section {
    padding-top: 26px;
    margin-top: 26px;
  }

  .legal-document ol,
  .legal-document ul {
    padding-left: 1.2rem;
  }
}

/* FAQ */

.faq-section {
  background: var(--black);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  align-items: start;
  gap: clamp(50px, 9vw, 130px);
}

.faq-layout aside {
  position: sticky;
  top: calc(var(--header-height) + 36px);
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 184, 1, 0.18), transparent 42%),
    var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.faq-layout aside::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(247, 184, 1, 0.08));
  content: "";
}

.faq-contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(247, 184, 1, 0.48);
  border-radius: 50%;
  background: rgba(247, 184, 1, 0.08);
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 850;
}

.faq-layout aside h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.faq-layout aside > p:not(.eyebrow) {
  margin: 16px 0 26px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-contact-actions {
  display: grid;
  gap: 10px;
}

.faq-contact-actions .button {
  width: 100%;
}

.faq-phone {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--white);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.faq-phone:hover {
  border-color: rgba(247, 184, 1, 0.6);
  background: rgba(247, 184, 1, 0.07);
}

.faq-phone span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-phone strong {
  font-size: 0.92rem;
}

.faq-groups {
  display: grid;
  gap: 70px;
}

.faq-groups section > h2 {
  margin: 0 0 22px;
  font-size: 1.85rem;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-question-button {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  line-height: 1.35;
  text-align: left;
}

.faq-question-button:hover {
  color: var(--gold);
}

.faq-question-button:focus-visible {
  outline: 1px solid rgba(255, 190, 0, 0.72);
  outline-offset: 2px;
  border-radius: 8px;
}

.faq-toggle-icon {
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 380ms cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 220ms ease,
    visibility 0s linear 380ms;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 380ms cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 260ms ease 60ms,
    visibility 0s linear;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  max-width: 760px;
  margin: 4px 0 26px;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 130px 1fr auto;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 0.84rem;
  }

  .nav-app-link {
    display: none;
  }

  .trainers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 76px;
  }

  .container,
  .header-inner {
    width: min(100% - 32px, 1240px);
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .brand,
  .brand img {
    width: 96px;
  }

  .brand img {
    height: 54px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    padding: 3px 3px 3px 4px;
  }

  .menu-button {
    display: flex;
  }

  .mobile-nav-panel {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 28px 20px 44px;
    background: rgba(5, 5, 5, 0.995);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .mobile-nav-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-nav-panel > a {
    width: min(100%, 680px);
    margin-inline: auto;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.35rem, 4vw, 2.1rem);
    font-weight: 790;
    letter-spacing: -0.03em;
  }

  .mobile-nav-meta {
    width: min(100%, 680px);
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 32px auto 0;
    color: var(--muted);
    font-size: 0.9rem;
  }

  .split-heading,
  .app-promo-grid,
  .subpage-hero-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .split-heading {
    align-items: start;
    gap: 24px;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .equipment-card:nth-child(3) {
    border-left: 0;
  }

  .equipment-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid.is-collapsed .gallery-item-1 {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-grid.is-collapsed .gallery-item-4 {
    grid-column: span 2;
  }

  .app-promo-grid,
  .subpage-hero-grid {
    gap: 60px;
  }

  .app-promo-image > img,
  .subpage-visual > img {
    min-height: 480px;
  }

  .app-promo-float {
    right: 0;
  }

  .transport-grid,
  .stats-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid > div:nth-child(3) {
    border-left: 0;
  }

  .stats-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .partners-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-layout aside {
    position: relative;
    order: 2;
  }

  .faq-groups {
    order: 1;
  }
}

@media (max-width: 640px) {
  :root {
    --radius: 18px;
  }

  .container {
    width: min(100% - 28px, 1240px);
  }

  .language-current,
  .language-link {
    min-width: 34px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    background:
      linear-gradient(110deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.22)),
      url("/media/jak-to-u-nas-vypada-1-mobile.webp") center / cover;
  }

  .hero-content {
    padding-top: 76px;
    padding-bottom: 92px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 30px;
    padding: 15px 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
      rgba(7, 7, 7, 0.54);
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
  }

  .hero-proof span {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 0;
    gap: 5px;
    padding: 1px 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
  }

  .hero-proof span:first-child {
    padding-left: 8px;
    border-left: 0;
  }

  .hero-proof strong {
    font-size: clamp(0.94rem, 4.2vw, 1.08rem);
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .hero-proof small {
    color: #c8c8c2;
    font-size: clamp(0.65rem, 2.8vw, 0.74rem);
    line-height: 1.15;
    white-space: nowrap;
  }

  .hero-scroll {
    display: none;
  }

  .section-heading h2,
  .location-heading h2,
  .subpage-hero h1 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  .trainers-grid,
  .transport-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .equipment-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .equipment-card {
    min-height: 205px;
    padding: 24px 17px 22px;
  }

  .equipment-card h3 {
    margin-top: 34px;
    font-size: clamp(1.02rem, 4.8vw, 1.2rem);
  }

  .equipment-card p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .access-band {
    min-height: 640px;
    align-items: flex-end;
  }

  .access-band-image {
    background-image: url("/media/otevreno-24-7-mobile.webp");
  }

  .access-band::after {
    background: linear-gradient(0deg, rgba(5, 5, 5, 0.98) 0 45%, rgba(5, 5, 5, 0.3));
  }

  .access-band h2 {
    font-size: clamp(3.5rem, 16vw, 5.5rem);
  }

  .pricing-section {
    background:
      linear-gradient(rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.96)),
      url("/media/bg-cenik-mobile.webp") center / cover;
  }

  .pricing-card {
    padding: 30px 24px;
  }

  .pricing-badge {
    position: static;
    display: inline-flex;
    margin-bottom: 20px;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gallery-item-1,
  .gallery-item-5 {
    grid-row: span 1;
  }

  .gallery-item:nth-child(3n + 1) {
    grid-column: span 2;
  }

  .gallery-grid.is-collapsed .gallery-item-1,
  .gallery-grid.is-collapsed .gallery-item-4 {
    grid-column: span 2;
    grid-row: span 1;
  }

  .trainer-body > p {
    min-height: auto;
  }

  .app-promo-grid,
  .subpage-hero-grid {
    gap: 42px;
  }

  .app-promo-copy h2 {
    font-size: clamp(3.1rem, 14vw, 4.7rem);
  }

  .app-promo-image > img,
  .subpage-visual > img {
    min-height: 380px;
  }

  .app-promo-float {
    right: 14px;
    bottom: 14px;
    min-width: 145px;
    padding: 17px 20px;
  }

  .app-promo-float strong {
    font-size: 2rem;
  }

  .location-heading,
  .info-callout,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .location-heading .button,
  .info-callout .button {
    width: 100%;
  }

  .transport-grid {
    grid-template-columns: 1fr 1fr;
  }

  .map-wrap {
    height: 420px;
  }

  .stats-grid > div {
    min-width: 0;
    padding: 24px 18px;
  }

  .stats-grid strong {
    font-size: clamp(2.15rem, 10vw, 3.35rem);
  }

  .stats-grid span {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .partners-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-grid {
    gap: 44px;
  }

  .footer-bottom {
    padding-block: 24px;
  }

  .subpage-hero {
    padding-block: 76px;
  }

  .store-buttons {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-layout aside {
    padding: 26px;
  }

  .faq-question-button {
    min-height: 82px;
  }

}

@media (max-width: 360px) {
  .hero-content {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 2.85rem;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .hero-proof {
    margin-top: 18px;
    padding-block: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-video {
    display: none;
  }
}
