/* ==========================================================================
   Redesign — sdílený vzhled všech stránek. Vše je scoped pod body.rd-page
   a načítá se až po css/style.css, takže přepisuje starší komponenty.
   Paleta / typografie / zaoblení podle schváleného návrhu úvodní stránky.
   ========================================================================== */

body.rd-page {
  background: #0e0e0f;
  color: #e9e8e7;
  font-family: "Archivo", "Segoe UI", sans-serif;
}

body.rd-page .rd-container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ---- Header / nav ---- */
.rd-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  flex-wrap: wrap;
  border-bottom: 1px solid #232326;
  z-index: 500;
}
/* Blur lives on a pseudo-element (not the header itself) so that
   backdrop-filter doesn't create a containing block for the
   position:fixed mobile nav panel, which would trap it inside
   the header's own box height. */
.rd-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(14, 14, 15, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.rd-header .logo-img {
  height: 36px;
  display: block;
}
.rd-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rd-nav a {
  color: #cfcdcb;
  border-radius: 999px;
  padding: 10px 18px;
  transition: background 0.2s ease, color 0.2s ease;
}
.rd-nav a:hover,
.rd-nav a:focus-visible {
  background: #1c1c20;
  color: #ff8a4c;
}
body.rd-page .nav-toggle {
  display: none;
}
body.rd-page .nav-toggle span {
  background: #e9e8e7;
}
@media (max-width: 860px) {
  body.rd-page .nav-toggle {
    display: flex;
  }
  .rd-nav {
    display: none;
  }
  .rd-nav.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0e0e0f;
    padding: 12px 20px;
    overflow-y: auto;
    animation: slideDown 0.4s var(--ease);
    text-transform: none;
    letter-spacing: normal;
    z-index: 490;
  }
  .rd-nav.mobile-open > a,
  .rd-nav.mobile-open .rd-has-dropdown > .rd-dropdown-toggle {
    width: 100%;
    padding: 16px 12px;
    border-radius: 0;
    border-bottom: 1px solid #232326;
    background: none;
    justify-content: space-between;
  }
  .rd-nav.mobile-open > a.is-active {
    background: none;
    color: #ff6a1a;
  }
  .rd-nav.mobile-open .rd-has-dropdown {
    display: flex;
    flex-direction: column;
  }
  .rd-nav.mobile-open .rd-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0 0 0 12px;
    display: none;
  }
  .rd-nav.mobile-open .rd-has-dropdown.is-open .rd-dropdown-menu {
    display: block;
  }
  .rd-nav.mobile-open .rd-has-dropdown.is-open .rd-dropdown-toggle .chev {
    transform: rotate(180deg);
  }
}

.rd-nav a:active {
  transform: scale(0.96);
  transition-duration: 0.1s;
}
.rd-nav a.is-active {
  color: #0e0e0f;
  background: #ff6a1a;
}
.rd-nav a.is-active:hover {
  background: #ff6a1a;
  color: #0e0e0f;
}

.rd-has-dropdown {
  position: relative;
}
.rd-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rd-dropdown-toggle .chev {
  transition: transform 0.2s ease;
}
.rd-has-dropdown:hover .rd-dropdown-toggle .chev,
.rd-has-dropdown:focus-within .rd-dropdown-toggle .chev {
  transform: rotate(180deg);
}
.rd-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 220px;
  background: #15151a;
  border: 1px solid #232326;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
}
.rd-has-dropdown:hover .rd-dropdown-menu,
.rd-has-dropdown:focus-within .rd-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.rd-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #cfcdcb;
}
.rd-dropdown-menu a:hover,
.rd-dropdown-menu a:focus-visible {
  background: #1c1c20;
  color: #ff8a4c;
}

/* ---- Shared bits ---- */
.rd-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.rd-eyebrow .bar {
  width: 34px;
  height: 3px;
  background: #ff6a1a;
  border-radius: 2px;
  flex-shrink: 0;
}
.rd-eyebrow span:last-child {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff6a1a;
}

.rd-btn {
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 14px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}
.rd-btn:active {
  transform: scale(0.97);
}
.rd-btn--primary {
  background: #ff6a1a;
  color: #0e0e0f;
  box-shadow: 0 10px 24px rgba(214, 84, 15, 0.35);
}
.rd-btn--primary:hover,
.rd-btn--primary:focus-visible {
  background: #ff8a4c;
}
.rd-btn--ghost {
  border: 1px solid #2e2e33;
  color: #e9e8e7;
}
.rd-btn--ghost:hover,
.rd-btn--ghost:focus-visible {
  border-color: #ff6a1a;
  color: #ff8a4c;
}

/* ---- Hero ---- */
.rd-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 40px;
  align-items: center;
  padding: 72px 40px 64px;
}
.rd-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.rd-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.rd-hero h1 .accent {
  color: #ff6a1a;
}
.rd-hero-lede {
  margin: 0;
  max-width: 44ch;
  font-size: 18px;
  line-height: 1.6;
  color: #9b9896;
}
.rd-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.rd-hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 150px;
  gap: 14px;
}
.rd-hero-mosaic .big {
  grid-column: span 2;
  grid-row: span 2;
  border-radius: 24px;
}
.rd-hero-mosaic div {
  overflow: hidden;
  border: 1px solid #232326;
}
.rd-hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rd-hero-mosaic .small-a,
.rd-hero-mosaic .small-b {
  border-radius: 20px;
}

/* ---- Stats ---- */
.rd-stats {
  padding: 24px 40px 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.rd-stat {
  background: #15151a;
  border: 1px solid #232326;
  border-radius: 20px;
  padding: 28px;
}
.rd-stat .num {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: #e9e8e7;
}
.rd-stat .num.accent {
  color: #ff6a1a;
}
.rd-stat .label {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b9896;
}

/* ---- Branch cards ---- */
.rd-branches {
  padding: 0 40px 88px;
}
.rd-branches h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.rd-branches > .rd-lede {
  margin: 0 0 36px;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.6;
  color: #9b9896;
}
.rd-branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.rd-branch-card {
  display: flex;
  flex-direction: column;
  background: #15151a;
  border: 1px solid #232326;
  border-radius: 22px;
  overflow: hidden;
  color: #e9e8e7;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s ease;
}
.rd-branch-card:hover {
  border-color: #ff6a1a;
  background: #1a1a1f;
}
.rd-branch-card:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}
.rd-branch-card .photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background-size: cover;
  background-position: center;
}
.rd-branch-card .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.rd-branch-card .tag {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rd-branch-card .tag .dash {
  width: 22px;
  height: 2px;
  background: #ff6a1a;
  flex-shrink: 0;
}
.rd-branch-card .tag span:last-child {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff6a1a;
}
.rd-branch-card strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.rd-branch-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #9b9896;
  flex: 1;
}
.rd-branch-card .link {
  font-size: 14px;
  font-weight: 700;
  color: #ff6a1a;
}

/* ---- About mosaic ---- */
.rd-about {
  padding: 0 40px 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 40px;
  align-items: center;
}
.rd-about-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rd-about h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1.03;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.rd-about p {
  margin: 0;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.65;
  color: #9b9896;
}
.rd-about .rd-btn {
  align-self: flex-start;
}
.rd-about-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 130px;
  gap: 14px;
}
.rd-about-mosaic .big {
  grid-column: span 2;
  grid-row: span 2;
  border-radius: 22px;
}
.rd-about-mosaic .wide {
  grid-column: span 3;
  border-radius: 22px;
}
.rd-about-mosaic div {
  overflow: hidden;
  border: 1px solid #232326;
  border-radius: 18px;
}
.rd-about-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- CTA band ---- */
.rd-cta-wrap {
  padding: 0 40px 64px;
}
.rd-cta {
  background: #ff6a1a;
  color: #0e0e0f;
  border-radius: 28px;
  padding: 56px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.rd-cta h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.rd-cta .rd-btn {
  background: #0e0e0f;
  color: #ff8a4c;
  box-shadow: none;
}
.rd-cta .rd-btn:hover {
  background: #1d1d22;
}

/* ---- Footer ---- */
.rd-footer {
  padding: 48px 40px 32px;
  border-top: 1px solid #232326;
}
.rd-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  font-size: 15px;
  color: #9b9896;
}
.rd-footer-grid img {
  height: 32px;
  display: block;
  margin-bottom: 14px;
}
.rd-footer-grid p {
  margin: 0 0 16px;
  line-height: 1.6;
  max-width: 40ch;
}
.rd-footer-social {
  display: flex;
  gap: 12px;
}
.rd-footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #232326;
  border-radius: 999px;
  color: #9b9896;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.rd-footer-social a:hover {
  border-color: #ff6a1a;
  color: #ff8a4c;
}
.rd-footer-grid h4,
.rd-footer-grid .rd-footer-title {
  color: #e9e8e7;
  display: block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rd-footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rd-footer-grid a {
  color: #9b9896;
  transition: color 0.2s ease;
}
.rd-footer-grid a:hover {
  color: #ff8a4c;
}
.rd-footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #1c1c20;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #5e5c5a;
}
.rd-footer-bottom a {
  color: #5e5c5a;
}
.rd-footer-bottom a:hover {
  color: #ff8a4c;
}

/* ---- Back to top (reuse existing markup, restyle) ---- */
body.rd-page .back-to-top {
  background: #ff6a1a;
  color: #0e0e0f;
}

@media (prefers-reduced-motion: reduce) {
  body.rd-page * {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 720px) {
  .rd-header,
  .rd-hero,
  .rd-stats,
  .rd-branches,
  .rd-about,
  .rd-cta-wrap,
  .rd-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .rd-hero,
  .rd-about {
    grid-template-columns: 1fr;
  }
  .rd-hero-mosaic {
    display: none;
  }
  .rd-cta {
    padding: 36px 28px;
  }
  .rd-cta h2 {
    max-width: none;
  }
}

/* ==========================================================================
   Podstránky — staré komponenty ze style.css převedené do nového vzhledu
   ========================================================================== */

/* Nový header je sticky (ne fixed), takže starý odsazovací offset odpadá. */
body.rd-page {
  --header-h: 0px;
  --rd-gutter: 40px;
}
@media (max-width: 720px) {
  body.rd-page {
    --rd-gutter: 20px;
  }
}

body.rd-page .container,
body.rd-page .rd-container {
  padding-left: var(--rd-gutter);
  padding-right: var(--rd-gutter);
}
/* Okraje řeší vnitřní .rd-container, footer sám je nepřidává (jinak 2× na mobilu). */
body.rd-page .rd-footer {
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 720px) {
  .rd-header {
    padding-left: var(--rd-gutter);
    padding-right: var(--rd-gutter);
  }
  .rd-hero {
    padding-top: 48px;
  }
}

body.rd-page h1,
body.rd-page h2,
body.rd-page h3 {
  overflow-wrap: break-word;
}

/* ---- Footer doplňky ---- */
.rd-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.rd-link-btn {
  padding: 0;
  font: inherit;
  color: #5e5c5a;
  cursor: pointer;
  transition: color 0.2s ease;
}
.rd-link-btn:hover,
.rd-link-btn:focus-visible {
  color: #ff8a4c;
}
.rd-break {
  overflow-wrap: anywhere;
}

/* ---- Typografie a popisky ---- */
body.rd-page .eyebrow {
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
body.rd-page .eyebrow::before {
  width: 34px;
  height: 3px;
  flex-shrink: 0;
}
body.rd-page h1.section-title,
body.rd-page h2.section-title {
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
body.rd-page .section-head,
body.rd-page .section-head.center {
  max-width: 720px;
  margin: 0 0 48px;
  text-align: left;
}
body.rd-page .lede {
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.6;
  color: #9b9896;
}

/* ---- Tlačítka ---- */
body.rd-page .btn {
  justify-content: center;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
}
body.rd-page .btn--primary {
  box-shadow: 0 10px 24px rgba(214, 84, 15, 0.35);
}
body.rd-page .btn--primary:hover,
body.rd-page .btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(214, 84, 15, 0.45);
}

/* ---- Hlavička podstránky ---- */
body.rd-page .page-header {
  padding: 72px 0 56px;
  text-align: left;
  background: none;
  border-bottom: 1px solid #232326;
}
body.rd-page .page-header .eyebrow {
  justify-content: flex-start !important; /* přebíjí inline style v HTML */
}
body.rd-page .page-header h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
body.rd-page .page-header .breadcrumbs,
body.rd-page .branch-hero .breadcrumbs {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
body.rd-page .branch-hero .breadcrumbs {
  margin: 0 0 16px;
}

/* ---- Hero pobočky jako zaoblená karta ---- */
body.rd-page .branch-hero {
  width: calc(100% - 2 * var(--rd-gutter));
  max-width: 1160px;
  height: clamp(420px, 62vh, 620px);
  min-height: 0;
  margin: 24px auto 0;
  border: 1px solid #232326;
  border-radius: 28px;
}
body.rd-page .branch-hero-content {
  padding-bottom: 44px;
}
body.rd-page .branch-hero h1 {
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
body.rd-page .branch-hero .branch-tagline {
  font-size: 17px;
  line-height: 1.55;
}
@media (max-width: 720px) {
  body.rd-page .branch-hero {
    height: auto;
    min-height: 380px;
    margin-top: 16px;
    border-radius: 22px;
  }
  body.rd-page .branch-hero-content {
    padding: 120px 20px 28px;
  }
}

/* ---- Obsah pobočky ---- */
body.rd-page .branch-content h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.01em;
}
body.rd-page .branch-content p {
  font-size: 16px;
  line-height: 1.7;
}
body.rd-page .branch-feature-list li {
  border-radius: 12px;
  background: #15151a;
  border-color: #232326;
}
body.rd-page .branch-gallery div {
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  border: 1px solid #232326;
}
body.rd-page .info-card {
  background: #15151a;
  border-color: #232326;
  border-radius: 22px;
}
body.rd-page .info-card h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  border-color: #232326;
}
body.rd-page .info-row a,
body.rd-page .info-row span {
  overflow-wrap: anywhere;
}
body.rd-page .branch-map {
  border-radius: 16px;
  border-color: #232326;
}
body.rd-page .price-table {
  border-radius: 16px;
  border-color: #232326;
}

/* ---- Karty (další pobočky, trenéři) ---- */
body.rd-page .other-branches {
  background: none;
  border-top: 1px solid #232326;
}
body.rd-page .program-card,
body.rd-page .trainer-card,
body.rd-page .accordion-item {
  background: #15151a;
  border-color: #232326;
  border-radius: 22px;
}
body.rd-page .program-card:hover,
body.rd-page .trainer-card:hover {
  transform: translateY(-4px);
  border-color: #ff6a1a;
}
body.rd-page .program-photo {
  height: auto;
  aspect-ratio: 4 / 3;
}
body.rd-page .program-body {
  padding: 24px;
}
body.rd-page .program-body h3 {
  font-size: 16px;
  font-weight: 800;
}
body.rd-page .accordion-head h3,
body.rd-page .trainer-info h3 {
  font-weight: 900;
}
body.rd-page .tab-btn {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.rd-page .tabs {
  justify-content: flex-start;
}
body.rd-page .trainer-photo {
  height: auto;
  aspect-ratio: 4 / 5;
}
@media (max-width: 640px) {
  body.rd-page .accordion-head h3 {
    font-size: 17px;
  }
  body.rd-page .accordion-plus {
    width: 34px;
    height: 34px;
  }
}

/* ---- Kontakt ---- */
body.rd-page .contact-form {
  background: #15151a;
  border-color: #232326;
  border-radius: 22px;
}
body.rd-page .form-group input,
body.rd-page .form-group select,
body.rd-page .form-group textarea {
  border-radius: 12px;
  font-size: 16px; /* 16px = iOS při focusu nezoomuje */
}
body.rd-page .form-note a {
  color: #ff8a4c;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.rd-page .contact-mini-card {
  border-radius: 18px;
}
body.rd-page .map-wrap {
  border-radius: 22px;
}
@media (max-width: 640px) {
  body.rd-page .contact-form {
    padding: 24px 20px;
  }
}

/* ---- CTA pás jako oranžová karta (jako na úvodní stránce) ---- */
body.rd-page .cta-band {
  padding: 0 0 64px;
  text-align: left;
  background: none;
  border: 0;
}
body.rd-page .cta-band .container {
  width: calc(100% - 2 * var(--rd-gutter));
  max-width: 1160px;
  padding: 56px 48px;
  display: grid;
  gap: 16px;
  background: #ff6a1a;
  color: #0e0e0f;
  border-radius: 28px;
}
body.rd-page .cta-band h2 {
  margin: 0;
  max-width: 20ch;
  color: #0e0e0f;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
body.rd-page .cta-band p {
  margin: 0;
  max-width: 52ch;
  color: rgba(14, 14, 15, 0.78);
  font-size: 17px;
}
body.rd-page .cta-row {
  justify-content: flex-start;
  margin-top: 8px;
}
body.rd-page .cta-band .btn--primary {
  background: #0e0e0f;
  color: #ff8a4c;
  box-shadow: none;
}
body.rd-page .cta-band .btn--primary:hover,
body.rd-page .cta-band .btn--primary:focus-visible {
  background: #1d1d22;
  box-shadow: none;
}
@media (max-width: 720px) {
  body.rd-page .cta-band .container {
    padding: 36px 24px;
  }
}

/* ---- Právní stránky ---- */
body.rd-page .legal-content h2 {
  font-weight: 900;
  letter-spacing: -0.01em;
}
body.rd-page .legal-toc,
body.rd-page .legal-content .legal-highlight {
  border-radius: 18px;
}
body.rd-page .legal-content a {
  overflow-wrap: anywhere;
}

/* ---- Cookie lišta ---- */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 700;
  width: min(520px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 24px;
  background: #15151a;
  border: 1px solid #2e2e33;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  color: #e9e8e7;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6a1a;
}
.cookie-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #b5b2b0;
}
.cookie-desc a {
  color: #ff8a4c;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-prefs {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.cookie-prefs[hidden] {
  display: none;
}
.cookie-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #1c1c20;
  border: 1px solid #232326;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #9b9896;
  cursor: pointer;
}
.cookie-opt input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #ff6a1a;
}
.cookie-opt strong {
  display: block;
  color: #e9e8e7;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.cookie-actions .rd-btn {
  flex: 1 1 140px;
  padding: 14px 18px;
  font-size: 13px;
  text-align: center;
}
.cookie-actions [hidden] {
  display: none;
}
.cookie-more {
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 700;
  color: #cfcdcb;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-more:hover,
.cookie-more:focus-visible {
  color: #ff8a4c;
}
@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    padding: 20px;
  }
}
body.rd-page .legal-cookie-btn {
  color: #ff8a4c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Trenér bez fotky: iniciály místo prázdného rámečku ---- */
body.rd-page .trainer-photo--empty {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 106, 26, 0.22), transparent 60%),
    #111114;
}
.trainer-initials {
  font-size: clamp(64px, 9vw, 104px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 106, 26, 0.65);
}
body.rd-page .trainer-photo img {
  object-position: center 25%;
}
body.rd-page .trainer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  color: #ff8a4c;
}
body.rd-page .trainer-phone:hover,
body.rd-page .trainer-phone:focus-visible {
  color: #ff6a1a;
}

/* ---- Privátní fitness: rezervace v aplikaci + ceník ---- */
body.rd-page .app-section {
  border-top: 1px solid #232326;
}
body.rd-page .app-grid {
  display: grid;
  gap: 40px;
}
body.rd-page .app-steps {
  display: grid;
  gap: 16px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
body.rd-page .app-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
body.rd-page .app-step-no {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 2px solid #ff6a1a;
  border-radius: 12px;
  font-weight: 900;
  color: #ff6a1a;
}
body.rd-page .app-steps strong {
  display: block;
  font-size: 17px;
  color: #fff;
}
body.rd-page .app-steps p {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #9b9896;
}
body.rd-page .store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
body.rd-page .store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  padding: 12px 20px;
  border: 1px solid #3a3a3e;
  border-radius: 14px;
  background: #161618;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
body.rd-page .store-btn:hover,
body.rd-page .store-btn:focus-visible {
  border-color: #ff6a1a;
  transform: translateY(-2px);
}
body.rd-page .store-btn span {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}
body.rd-page .store-btn small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9b9896;
}
body.rd-page .app-steps-card {
  padding: 32px 24px;
  border: 1px solid #232326;
  border-radius: 24px;
  background: #141416;
}
body.rd-page .price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.rd-page .price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 16px;
  border: 1px solid #2a2a2e;
  border-radius: 16px;
  background: #1a1a1d;
}
body.rd-page .price-card--best {
  border-color: #ff6a1a;
}
body.rd-page .price-badge {
  position: absolute;
  top: -11px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ff6a1a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0e0e0f;
}
body.rd-page .price-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9b9896;
}
body.rd-page .price-value {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}
body.rd-page .price-unit {
  font-size: 13px;
  color: #ff8a4c;
}
@media (min-width: 1024px) {
  body.rd-page .app-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
  }
  body.rd-page .app-steps-card {
    padding: 40px;
  }
}

/* ---- Ceníky poboček: tabulky pod sebou, aby nepřetékaly pod boční panel ---- */
body.rd-page .branch-content {
  min-width: 0;
}
body.rd-page .price-tables {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
body.rd-page .app-copy .store-buttons {
  margin-top: 32px;
}
body.rd-page .app-steps-card .app-steps {
  margin: 0;
  gap: 24px;
}
body.rd-page .branch-content .price-grid {
  margin-top: 24px;
}

/* ---- Pobočky: obsah na celou šířku, kontakt + otevírací doba + mapa pod galerií ---- */
body.rd-page .branch-body--full {
  grid-template-columns: minmax(0, 1fr);
}
body.rd-page .branch-body--full .branch-content > p {
  max-width: 75ch;
}
body.rd-page .branch-info-section {
  border-top: 1px solid #232326;
}
body.rd-page .branch-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
body.rd-page .branch-info-grid .info-card {
  margin: 0;
}
body.rd-page .branch-info-grid .branch-map {
  height: 280px;
}
@media (min-width: 768px) {
  body.rd-page .branch-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.rd-page .branch-info-grid .info-card:last-child {
    grid-column: 1 / -1;
  }
  body.rd-page .branch-body--full .price-tables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  body.rd-page .branch-info-grid {
    grid-template-columns: 1fr 1fr 1.4fr;
    align-items: stretch;
  }
  body.rd-page .branch-info-grid .info-card:last-child {
    grid-column: auto;
    display: flex;
    flex-direction: column;
  }
  body.rd-page .branch-info-grid .info-card:last-child .branch-map {
    flex: 1;
    min-height: 260px;
  }
  body.rd-page .branch-body--full .price-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  body.rd-page .branch-body--full .branch-feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
