/* Základní nastavení a proměnné */
:root {
  --bg: #080808;
  --bg-soft: #101010;
  --bg-card: #151515;
  --bg-card-strong: #1b1b1b;
  --accent: #e11d2e;
  --accent-dark: #9f111f;
  --text: #ffffff;
  --muted: #b8b8b8;
  --muted-strong: #d8d8d8;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max-width: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

section {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.13), transparent 24rem),
    linear-gradient(180deg, #080808 0%, #0d0d0d 52%, #080808 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img,
video,
iframe {
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    #0b0b0b;
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Navigace */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 40px, var(--max-width));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  position: relative;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: min(46vw, 320px);
  font-weight: 800;
}

.brand-logo-frame {
  display: none;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
}

.brand-logo-frame.has-logo {
  display: flex;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.nav-logo-frame .brand-logo {
  height: 54px;
  max-width: min(270px, 44vw);
}

.brand-logo-frame.has-logo + .brand-fallback-text {
  display: none;
}

.brand-text {
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  min-width: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  color: var(--muted-strong);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(225, 29, 46, 0.14);
  transform: translateY(-1px);
}

.nav-links a[href="#treningy"],
.nav-links a[href="#soukrome-lekce"] {
  min-height: 44px;
  padding: 10px 16px;
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
}

.nav-links a[href="#treningy"] {
  background: linear-gradient(135deg, #8f111b, #6f0c15);
  border-color: #b71c2a;
  box-shadow: 0 10px 24px rgba(143, 17, 27, 0.18);
}

.nav-links a[href="#soukrome-lekce"] {
  background: linear-gradient(135deg, #e11d2e, #b91524);
  border-color: #ff4b5c;
  box-shadow: 0 12px 28px rgba(225, 29, 46, 0.24);
}

.nav-links a[href="#treningy"]:hover,
.nav-links a[href="#treningy"]:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #a91623, #84101a);
  border-color: #d62a38;
  box-shadow: 0 14px 32px rgba(183, 28, 42, 0.28);
}

.nav-links a[href="#soukrome-lekce"]:hover,
.nav-links a[href="#soukrome-lekce"]:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #ff3142, #e11d2e);
  border-color: #ff6c79;
  box-shadow: 0 16px 36px rgba(225, 29, 46, 0.36);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  left: 50%;
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transform: translateX(-50%);
  transform-origin: center;
  transition: top 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(2) {
  top: 14px;
}

.menu-toggle span:nth-child(3) {
  top: 21px;
}

.menu-toggle span:nth-child(4) {
  top: 28px;
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(4) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.78) 46%, rgba(225, 29, 46, 0.18) 100%),
    repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 22px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, #080808);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ff5b68;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 6vw, 4.35rem);
  font-weight: 950;
}

h2 {
  font-size: clamp(1.92rem, 4vw, 2.65rem);
  font-weight: 920;
}

h3 {
  font-size: 1.16rem;
  font-weight: 850;
}

.hero-subtitle {
  margin: 20px 0 0;
  color: var(--text);
  font-size: 1.36rem;
  font-weight: 850;
}

.hero-text,
.section-copy p,
.section-heading p,
.info-band p,
.site-footer p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-text {
  max-width: 680px;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  min-width: 0;
  max-width: 100%;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  color: var(--text);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 18px 36px rgba(225, 29, 46, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(225, 29, 46, 0.22);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-points span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: clamp(340px, 42vw, 540px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(225, 29, 46, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #121212;
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-visual::before {
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(255, 255, 255, 0.08) 14% 14.6%, transparent 14.6% 30%, rgba(255, 255, 255, 0.08) 30% 30.6%, transparent 30.6%),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(255, 255, 255, 0.045) 54px 56px);
  opacity: 0.75;
}

.hero-visual::after {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 260ms ease;
}

.hero-visual.has-image .hero-image {
  opacity: 1;
}

.hero-visual.has-image::before {
  opacity: 0.16;
}

.hero-visual.has-image .boxing-lines {
  display: none;
}

.hero-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  padding: 24px;
  background: rgba(8, 8, 8, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.hero-card p {
  margin: 0;
  color: var(--text);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.08;
}

.hero-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.boxing-lines {
  position: absolute;
  top: 52px;
  right: -44px;
  z-index: 1;
  display: grid;
  gap: 18px;
  transform: rotate(-13deg);
}

.boxing-lines span {
  display: block;
  width: 250px;
  height: 20px;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 46, 0.92), transparent);
  border-radius: 999px;
}

.boxing-lines span:nth-child(2) {
  width: 330px;
  opacity: 0.7;
}

.boxing-lines span:nth-child(3) {
  width: 190px;
  opacity: 0.45;
}

/* Společné rozvržení sekcí */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 52px;
}

.section-copy {
  max-width: 670px;
}

.section-copy,
.section-heading,
.hero-content,
.hero-text {
  min-width: 0;
}

.section-copy p,
.section-heading p {
  margin: 18px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.info-grid,
.benefit-grid,
.steps,
.lesson-grid {
  display: grid;
  gap: 18px;
}

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

.info-card,
.benefit-card,
.step-card,
.contact-card,
.video-card,
.review-card {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.info-card:hover,
.benefit-card:hover,
.step-card:hover,
.review-card:hover,
.gallery-card:hover,
.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 29, 46, 0.45);
}

.info-card {
  padding: 24px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #ffffff;
  background: rgba(225, 29, 46, 0.16);
  border: 1px solid rgba(225, 29, 46, 0.38);
  border-radius: var(--radius);
}

.card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card p,
.benefit-card p,
.step-card p,
.review-card p {
  margin: 10px 0 0;
  color: var(--muted);
  overflow-wrap: break-word;
}

.training-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 52px;
}

.big-slogan {
  color: var(--text) !important;
  font-size: 2.2rem !important;
  font-weight: 950;
  line-height: 1.08;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tag-cloud span {
  background: rgba(8, 8, 8, 0.55);
}

.notice-box {
  margin-top: 28px;
  padding: 20px;
  color: var(--text);
  background: rgba(225, 29, 46, 0.14);
  border: 1px solid rgba(225, 29, 46, 0.38);
  border-radius: var(--radius);
  font-weight: 850;
}

#soukrome-lekce {
  position: relative;
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.22), rgba(8, 8, 8, 0.04) 44%),
    linear-gradient(180deg, #080808 0%, #111111 100%);
  border-block: 1px solid rgba(225, 29, 46, 0.18);
}

#soukrome-lekce::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100% - 40px, var(--max-width));
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 999px;
  transform: translateX(-50%);
}

#soukrome-lekce .section-copy {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(15, 15, 15, 0.74);
  border: 1px solid rgba(225, 29, 46, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#soukrome-lekce .lesson-grid .info-card {
  background:
    linear-gradient(180deg, rgba(225, 29, 46, 0.13), rgba(255, 255, 255, 0.025)),
    var(--bg-card);
  border-color: rgba(225, 29, 46, 0.28);
}

#soukrome-lekce .lesson-grid .info-card h3 {
  color: #ff6570;
}

#soukrome-lekce .lesson-grid .info-card p,
#soukrome-lekce .lesson-grid .info-card a {
  color: var(--text);
  font-weight: 900;
}

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

.check-list span {
  position: relative;
  min-height: 54px;
  padding: 16px 16px 16px 44px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 750;
}

.check-list span::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(225, 29, 46, 0.15);
}

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

.benefit-card {
  min-height: 188px;
  padding: 28px;
}

.benefit-card h3::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--accent);
  border-radius: 999px;
}

.reviews-section {
  background:
    radial-gradient(circle at 16% 24%, rgba(225, 29, 46, 0.13), transparent 34%),
    linear-gradient(180deg, #080808 0%, #101010 100%);
  border-block: 1px solid rgba(225, 29, 46, 0.1);
}

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

.review-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(225, 29, 46, 0.1), rgba(255, 255, 255, 0.025)),
    var(--bg-card);
  border-color: rgba(225, 29, 46, 0.26);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28), 0 0 24px rgba(225, 29, 46, 0.07);
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(225, 29, 46, 0.14));
}

.review-card h3 {
  color: var(--text);
  font-size: 1.16rem;
}

.review-stars {
  margin: 10px 0 14px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(225, 29, 46, 0.45);
  white-space: nowrap;
}

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

.section-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.private-layout {
  align-items: center;
}

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

.lesson-grid .info-card {
  min-height: 150px;
}

.lesson-grid a,
.contact-methods a,
.footer-contact a {
  color: var(--text);
  font-weight: 850;
}

.section-subtitle {
  color: var(--text) !important;
  font-size: 1.24rem !important;
  font-weight: 850;
}

.match-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 32px;
}

.step-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--text);
  background: var(--accent);
  border-radius: var(--radius);
  font-weight: 950;
}

.step-card::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(18deg);
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: var(--muted-strong);
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.16), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 16px),
    #191919;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease;
  background-size: cover;
  background-position: center;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  opacity: 0.55;
}

.gallery-card span {
  position: relative;
  z-index: 1;
  padding: 10px 12px;
  background: rgba(8, 8, 8, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.gallery-card.has-image span {
  opacity: 0;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.match-videos {
  margin-top: 8px;
}

.video-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  height: clamp(320px, 31vw, 420px);
  overflow: hidden;
  color: var(--muted-strong);
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.16), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 16px),
    #191919;
  border: 1px solid rgba(225, 29, 46, 0.35);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 28px rgba(225, 29, 46, 0.08);
  font-weight: 850;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(1.12) contrast(1.08) saturate(1.04);
  opacity: 0;
  transition: opacity 260ms ease, filter 180ms ease, transform 220ms ease;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.video-card:hover,
.video-card:focus-within {
  border-color: rgba(225, 29, 46, 0.58);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.42), 0 0 36px rgba(225, 29, 46, 0.16);
}

.video-card:hover video,
.video-card:focus-within video {
  filter: brightness(1.16) contrast(1.1) saturate(1.05);
  transform: scale(1.025);
}

.video-card.is-loaded video {
  opacity: 1;
}

.media-fallback {
  position: relative;
  z-index: 2;
  max-width: calc(100% - 32px);
  padding: 10px 12px;
  background: rgba(8, 8, 8, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  transition: opacity 180ms ease;
}

.video-card.is-loaded .media-fallback {
  opacity: 0;
}

/* Lokality, mapa a kontakt */
.info-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.2), rgba(255, 255, 255, 0.05)),
    var(--bg-card-strong);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-band h2 {
  margin-bottom: 14px;
}

.info-band p {
  max-width: 680px;
  margin: 0;
}

.location-section {
  position: relative;
  background:
    radial-gradient(circle at 15% 18%, rgba(225, 29, 46, 0.16), transparent 34%),
    linear-gradient(180deg, #080808 0%, #101010 100%);
  border-block: 1px solid rgba(225, 29, 46, 0.12);
}

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

.location-grid.single-location,
.map-grid.single-location {
  grid-template-columns: 1fr;
}

.location-grid {
  margin-bottom: 22px;
}

.location-card {
  min-width: 0;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(225, 29, 46, 0.12), rgba(255, 255, 255, 0.025)),
    var(--bg-card);
  border: 1px solid rgba(225, 29, 46, 0.26);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
}

.location-card h3 {
  color: var(--text);
}

.location-card p {
  margin: 10px 0 22px;
  color: var(--muted);
}

.location-card .btn {
  width: fit-content;
}

.map-frame {
  min-width: 0;
  height: 420px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.14), transparent),
    #121212;
  border: 1px solid rgba(225, 29, 46, 0.26);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-label {
  display: none;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.12) contrast(1.05);
}

.contact-heading {
  max-width: 830px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.18), rgba(255, 255, 255, 0.035) 36%, rgba(255, 255, 255, 0.02)),
    var(--bg-card);
  border-color: rgba(225, 29, 46, 0.28);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(225, 29, 46, 0.12));
}

.contact-column {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.contact-column h3 {
  font-size: 1.7rem;
}

.contact-info-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-info-list li {
  position: relative;
  min-height: 46px;
  padding: 12px 14px 12px 38px;
  color: var(--muted-strong);
  background: rgba(8, 8, 8, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-info-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 16px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(225, 29, 46, 0.14);
}

.map-scroll-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  margin-top: 18px;
  padding: 9px 12px;
  color: var(--text);
  background: rgba(225, 29, 46, 0.14);
  border: 1px solid rgba(225, 29, 46, 0.36);
  border-radius: var(--radius);
  font-weight: 850;
  overflow-wrap: anywhere;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.map-scroll-link:hover,
.map-scroll-link:focus-visible {
  background: rgba(225, 29, 46, 0.24);
  border-color: rgba(225, 29, 46, 0.62);
  transform: translateY(-1px);
}

.contact-column p {
  margin: 0;
  color: var(--muted);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-methods div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: rgba(8, 8, 8, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.contact-methods span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-methods a {
  color: var(--text);
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.contact-methods div:first-child a {
  color: #ff6570;
}

.contact-button-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.contact-button-row .btn {
  width: 100%;
}

/* Patička */
.site-footer {
  padding: 44px 0;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-frame {
  max-width: min(280px, 100%);
}

.footer-logo-frame .brand-logo {
  height: 58px;
  max-width: 100%;
}

.footer-logo-frame.has-logo + .footer-fallback-title {
  display: none;
}

.site-footer h2 {
  font-size: 1.35rem;
}

.site-footer p {
  margin: 10px 0 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
  color: var(--muted-strong);
  font-weight: 750;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  padding: 8px 10px;
  color: var(--muted-strong);
  border-radius: var(--radius);
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  background: rgba(225, 29, 46, 0.14);
}

.copyright {
  grid-column: 1 / -1;
  color: #8f8f8f !important;
  font-size: 0.9rem !important;
}

/* Animace při scrollování */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Přepnutí navigace do mobilního menu dřív, než se odkazy namačkají */
@media (max-width: 1180px) {
  .site-header.is-open {
    background: rgba(8, 8, 8, 0.98);
    border-bottom-color: rgba(225, 29, 46, 0.28);
  }

  .nav {
    min-height: 74px;
    position: relative;
    z-index: 130;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
    background: rgba(10, 10, 10, 0.88);
    border-color: rgba(225, 29, 46, 0.34);
    box-shadow: 0 0 20px rgba(225, 29, 46, 0.1);
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible,
  .site-header.is-open .menu-toggle {
    background: rgba(225, 29, 46, 0.16);
    border-color: rgba(225, 29, 46, 0.62);
  }

  .menu-toggle:hover span:not(.sr-only),
  .menu-toggle:focus-visible span:not(.sr-only) {
    background: #ffffff;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 100svh;
    max-height: none;
    padding: calc(var(--header-height) + 42px) 24px 42px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 78% 16%, rgba(225, 29, 46, 0.3), transparent 30%),
      radial-gradient(circle at 14% 82%, rgba(159, 17, 31, 0.3), transparent 36%),
      linear-gradient(145deg, #050505 0%, #120405 54%, #070707 100%);
    border: 0;
    border-radius: 0;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links li {
    width: min(100%, 380px);
  }

  .site-header.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    color: var(--muted-strong);
    text-align: center;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(225, 29, 46, 0.42);
    font-size: 1.06rem;
    box-shadow: 0 0 20px rgba(225, 29, 46, 0.12);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    color: #ffffff;
    background: #e11d2e;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 35px rgba(225, 29, 46, 0.35);
    transform: translateY(-2px);
  }

  .nav-links a[href="#treningy"] {
    color: #ffffff;
    background: linear-gradient(135deg, #8f111b, #5f0910);
    border-color: #b71c2a;
    box-shadow: 0 0 22px rgba(143, 17, 27, 0.25);
  }

  .nav-links a[href="#soukrome-lekce"] {
    color: #ffffff;
    background: linear-gradient(135deg, #e11d2e, #9f111f);
    border-color: #ff4b5c;
    box-shadow: 0 14px 34px rgba(225, 29, 46, 0.28);
  }

  .nav-links a[href="#kontakt"] {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(225, 29, 46, 0.58), rgba(159, 17, 31, 0.84));
    border-color: rgba(225, 29, 46, 0.9);
    box-shadow: 0 14px 34px rgba(225, 29, 46, 0.26);
  }

  .nav-links a[href="#treningy"]:hover,
  .nav-links a[href="#treningy"]:focus-visible {
    background: linear-gradient(135deg, #a91623, #7d0d17);
    border-color: #d62a38;
    box-shadow: 0 12px 35px rgba(183, 28, 42, 0.32);
  }

  .nav-links a[href="#soukrome-lekce"]:hover,
  .nav-links a[href="#soukrome-lekce"]:focus-visible {
    background: linear-gradient(135deg, #ff3142, #e11d2e);
    border-color: #ff6c79;
    box-shadow: 0 12px 35px rgba(225, 29, 46, 0.4);
  }

  .nav-links a[href="#kontakt"]:hover,
  .nav-links a[href="#kontakt"]:focus-visible {
    background: #e11d2e;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 35px rgba(225, 29, 46, 0.38);
  }
}

/* Tablet */
@media (max-width: 1020px) {
  .hero-grid,
  .split-layout,
  .training-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-copy,
  .section-heading {
    max-width: 780px;
  }

  .benefit-grid,
  .steps,
  .lesson-grid,
  .match-grid,
  .reviews-grid,
  .location-grid,
  .map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .video-card {
    min-height: 280px;
    height: clamp(280px, 34vw, 340px);
  }

  .match-grid {
    margin-bottom: 28px;
  }
}

/* Mobilní navigace a menší obrazovky */
@media (max-width: 820px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .nav {
    width: min(100% - 44px, var(--max-width));
  }

  .section-pad {
    padding: 64px 0;
  }

  .location-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .location-section .section-heading {
    margin-bottom: 24px;
  }

  .location-section .section-heading p {
    margin-top: 12px;
  }

  .brand {
    max-width: calc(100% - 62px);
  }

  .nav-logo-frame .brand-logo {
    height: 34px;
    max-width: min(220px, 62vw);
  }

  .nav-links {
    padding-inline: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-actions,
  .info-band,
  .contact-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .check-list,
  .info-grid,
  .benefit-grid,
  .steps,
  .lesson-grid,
  .match-grid,
  .reviews-grid,
  .location-grid,
  .map-grid,
  .gallery,
  .video-gallery,
  .contact-card,
  .contact-button-row {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .benefit-grid,
  .steps,
  .lesson-grid,
  .match-grid,
  .reviews-grid,
  .location-grid,
  .map-grid,
  .gallery,
  .video-gallery,
  .contact-methods,
  .contact-info-list {
    gap: 16px;
  }

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

  .video-card {
    min-height: 260px;
    height: clamp(260px, 38vw, 320px);
    border-radius: 18px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-copy p,
  .section-heading p {
    margin-top: 14px;
  }

  .info-card,
  .benefit-card,
  .step-card,
  .review-card,
  .location-card,
  .contact-card,
  .info-band,
  .tag-cloud,
  #soukrome-lekce .section-copy {
    height: auto;
    min-height: auto;
    padding: 22px;
    border-color: rgba(225, 29, 46, 0.22);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(225, 29, 46, 0.1), rgba(255, 255, 255, 0.025)),
      var(--bg-card);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24), 0 0 22px rgba(225, 29, 46, 0.08);
  }

  .info-card h3,
  .benefit-card h3,
  .step-card h3,
  .review-card h3,
  .location-card h3,
  .contact-column h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .info-card p,
  .benefit-card p,
  .step-card p,
  .review-card p,
  .location-card p,
  .contact-column p {
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .benefit-card h3::before {
    width: 32px;
    height: 3px;
    margin-bottom: 14px;
  }

  .review-stars {
    font-size: 18px;
    letter-spacing: 2px;
    margin: 9px 0 13px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .card-icon svg {
    width: 22px;
    height: 22px;
  }

  .lesson-grid .info-card {
    min-height: auto;
  }

  .step-card::after {
    display: none;
  }

  .step-card span {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    border-radius: 12px;
  }

  .check-list {
    gap: 12px;
  }

  .check-list span {
    min-height: auto;
    padding: 13px 14px 13px 40px;
    border-color: rgba(225, 29, 46, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
  }

  .check-list span::before {
    top: 18px;
    left: 17px;
    width: 9px;
    height: 9px;
  }

  .tag-cloud {
    gap: 10px;
  }

  .tag-cloud span,
  .hero-points span {
    min-height: auto;
    padding: 8px 12px;
  }

  .notice-box {
    margin-top: 20px;
    padding: 16px;
    border-radius: 16px;
  }

  .map-frame {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 260px;
    border-radius: 18px;
  }

  .location-grid,
  .map-grid {
    gap: 16px;
  }

  .location-grid {
    margin-bottom: 16px;
  }

  .location-card {
    text-align: left;
  }

  .location-card h3 {
    font-size: 1.22rem;
    line-height: 1.18;
  }

  .location-card p {
    margin: 8px 0 14px;
  }

  .location-card .btn {
    width: fit-content;
    min-height: 44px;
    padding: 10px 14px;
  }

  .map-label {
    display: block;
    margin: 0;
    padding: 10px 12px;
    color: var(--text);
    background: rgba(8, 8, 8, 0.76);
    border-bottom: 1px solid rgba(225, 29, 46, 0.24);
    font-size: 0.92rem;
    font-weight: 850;
    overflow-wrap: break-word;
  }

  .map-frame iframe {
    min-height: 0;
  }

  .contact-card {
    gap: 22px;
  }

  .contact-info-list {
    margin-top: 16px;
  }

  .contact-info-list li,
  .contact-methods div {
    min-height: auto;
    border-color: rgba(225, 29, 46, 0.18);
    border-radius: 16px;
  }

  .contact-info-list li {
    padding: 12px 14px 12px 38px;
  }

  .contact-methods {
    margin-top: 16px;
  }

  .contact-methods div {
    padding: 14px;
  }

  .gallery-card,
  .video-card {
    border-radius: 18px;
  }

  .media-fallback,
  .gallery-card span {
    border-radius: 14px;
  }

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

  .footer-brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Malé telefony */
@media (max-width: 560px) {
  .container,
  .nav {
    width: min(100% - 40px, var(--max-width));
  }

  .section-pad {
    padding: 58px 0;
  }

  .hero-subtitle {
    font-size: 1.12rem;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
  }

  .hero-card p,
  .big-slogan {
    font-size: 1.55rem !important;
  }

  .info-card,
  .benefit-card,
  .step-card,
  .review-card,
  .location-card,
  .contact-card,
  .info-band,
  .tag-cloud,
  #soukrome-lekce .section-copy {
    height: auto;
    min-height: auto;
    padding: 20px;
    border-radius: 18px;
  }

  .info-grid,
  .benefit-grid,
  .steps,
  .lesson-grid,
  .match-grid,
  .reviews-grid,
  .location-grid,
  .map-grid,
  .gallery,
  .video-gallery {
    gap: 16px;
  }

  .info-card h3,
  .benefit-card h3,
  .step-card h3,
  .review-card h3,
  .location-card h3,
  .contact-column h3 {
    margin-bottom: 10px;
    font-size: 1.22rem;
    line-height: 1.2;
  }

  .info-card p,
  .benefit-card p,
  .step-card p,
  .review-card p,
  .location-card p,
  .contact-column p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .benefit-card h3::before {
    width: 30px;
    height: 3px;
    margin-bottom: 12px;
  }

  .review-stars {
    font-size: 17px;
    letter-spacing: 2px;
    margin: 8px 0 12px;
  }

  .card-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
  }

  .step-card span {
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
  }

  .location-card .btn,
  .map-scroll-link {
    justify-content: center;
  }

  .location-card .btn {
    width: fit-content;
  }

  .contact-card {
    gap: 24px;
  }

  .contact-card::before {
    inset: 0 0 auto;
    width: 100%;
    height: 3px;
  }

  .contact-methods div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .contact-methods a {
    text-align: left;
  }

  .gallery,
  .video-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .video-card {
    min-height: 240px;
    height: clamp(240px, 66vw, 280px);
  }

  .map-frame {
    height: 240px;
  }

  .footer-logo-frame .brand-logo {
    height: 44px;
  }
}

@media (max-width: 390px) {
  .nav-logo-frame .brand-logo {
    height: 30px;
    max-width: 190px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-card p,
  .big-slogan {
    font-size: 1.38rem !important;
  }
}

/* Uživatelé s omezením animací */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
