/* ==========================================================================
   DAN ŽALUD - OSOBNÍ & ONLINE FITNESS TRENÉR
   Original Dark & Warm Gold Palette: #0d0d10, #17181c, #e5a93c / #f59e0b
   Typography: Outfit (Headings) & Plus Jakarta Sans (Body)
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Backgrounds */
  --bg-dark: #0d0d10;
  --bg-section-alt: #111216;
  --bg-card: #17181c;
  --bg-card-elevated: #202127;
  --bg-input: #101115;

  /* Original Warm Gold / Yellow-Amber Accent */
  --accent-yellow: #e5a93c;
  --accent-yellow-hover: #f59e0b;
  --accent-yellow-light: #fbbf24;
  --accent-yellow-dark: #b45309;
  --accent-yellow-subtle: rgba(229, 169, 60, 0.1);
  --accent-yellow-glow: rgba(229, 169, 60, 0.24);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #fde68a 0%, #e5a93c 50%, #b45309 100%);
  --gradient-gold-hover: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #92400e 100%);

  /* Text Colors */
  --text-main: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-yellow: rgba(229, 169, 60, 0.35);
  --border-yellow-focus: rgba(229, 169, 60, 0.85);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 12px 28px -8px rgba(0, 0, 0, 0.65);
  --shadow-yellow: 0 10px 28px rgba(229, 169, 60, 0.25);

  /* Scrollbar */
  --scrollbar-thumb: #374151;
  --scrollbar-track: #0d0d10;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg-dark);
  }
  ::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  accent-color: var(--accent-yellow);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient Golden Glows */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
}

.ambient-top-left {
  top: -100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 169, 60, 0.12) 0%, transparent 70%);
}

.ambient-center-right {
  top: 850px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-yellow {
  color: var(--accent-yellow);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 16, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.logo-mark-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 22px rgba(229, 169, 60, 0.32);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-mark-img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--accent-yellow);
  font-weight: 700;
}

.desktop-nav .nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 10px 4px;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent-yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.header-phone:hover {
  border-color: var(--border-yellow);
  color: var(--accent-yellow);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  height: calc(100vh - 100px);
  background: rgba(13, 13, 16, 0.98);
  padding: 24px 20px;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 49;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link:hover {
  color: var(--accent-yellow);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
}

.mobile-contact-link {
  color: var(--accent-yellow);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  padding: 10px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 15px 28px;
  min-height: 52px;
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  line-height: 1.25;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #0b0c0e;
  box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
  background: var(--gradient-gold-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(23, 24, 28, 0.8);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  min-height: 44px;
  font-size: 0.88rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 17px 34px;
  min-height: 58px;
  font-size: 1.06rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   A. HERO SECTION (RIGHT BACKGROUND PHOTO FADING INTO LEFT TEXT | FULL WIDTH ON MOBILE)
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 76px 0 84px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  z-index: 10;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1920px);
  z-index: 1;
  pointer-events: none;
}

.hero-bg-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-dan-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 70%;
  display: block;
  filter: grayscale(100%) contrast(1.24) brightness(0.76);
}

.hero-photo-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #0d0d10 0%, rgba(13, 13, 16, 0.96) 28%, rgba(13, 13, 16, 0.78) 46%, rgba(13, 13, 16, 0.28) 66%, rgba(13, 13, 16, 0.2) 88%, rgba(13, 13, 16, 0.72) 96%, #0d0d10 100%),
    linear-gradient(180deg, rgba(13, 13, 16, 0.45) 0%, transparent 18%, transparent 78%, #0d0d10 100%);
}

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

.hero-text-col {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-slogan {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid var(--border-yellow);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* Hero Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.hero-stat-item {
  background: rgba(23, 24, 28, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color var(--transition-fast);
}

.hero-stat-item:hover {
  border-color: var(--border-yellow);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.35;
}

/* ==========================================================================
   SHARED SECTION TYPOGRAPHY
   ========================================================================== */

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-yellow);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   B. POZNEJ SVÉHO TRENÉRA (TEXT + soutez-dan.jpg SIDE BY SIDE)
   ========================================================================== */

.trainer-section {
  padding: 84px 0;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.trainer-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.trainer-header {
  margin-bottom: 24px;
}

.trainer-header .section-title {
  margin-bottom: 0;
}

.trainer-text-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trainer-text-block p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

.trainer-motto {
  color: var(--accent-yellow) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem !important;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.trainer-photo-col {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.trainer-photo-wrap {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-yellow);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  aspect-ratio: 2 / 3;
}

.trainer-stage-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ==========================================================================
   C. PROČ SI VYBRAT PRÁVĚ MĚ? & 3 PILÍŘE ZKUŠENOSTÍ
   ========================================================================== */

.why-section {
  padding: 84px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.why-intro-card {
  max-width: 820px;
  margin: 0 auto 48px auto;
  text-align: center;
}

.why-intro-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

.why-highlight {
  font-family: var(--font-display);
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 6px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--border-yellow);
  transform: translateY(-3px);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1.3;
}

.pillar-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   D. MOJE NABÍDKA (HLAVNÍ CENÍK)
   ========================================================================== */

.offer-section {
  padding: 84px 0;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.offer-intro {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-yellow);
}

.pricing-featured {
  border-color: var(--border-yellow);
  background: linear-gradient(180deg, #1b1c22 0%, #14151a 100%);
  box-shadow: 0 12px 32px rgba(229, 169, 60, 0.14);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #0d0d10;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-top {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.pricing-badge.badge-yellow {
  color: #0d0d10;
  background: var(--gradient-gold);
}

.pricing-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1.15;
  margin-bottom: 6px;
}

.pricing-note {
  font-size: 0.86rem;
  color: #e4e4e7;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-yellow);
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 2px;
}

.check-icon.yellow {
  background: var(--accent-yellow);
  color: #0d0d10;
}

.pricing-action {
  margin-top: auto;
}

/* ==========================================================================
   E. BALÍČKY OSOBNÍCH TRÉNINKŮ
   ========================================================================== */

.packages-section {
  padding: 78px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  transition: border-color var(--transition-fast);
}

.package-card:hover {
  border-color: var(--border-yellow);
}

.package-highlight {
  border-color: var(--border-yellow);
  background: linear-gradient(180deg, #1b1c22 0%, #15161b 100%);
}

.package-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.package-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1.1;
}

.package-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  flex-grow: 1;
}

/* ==========================================================================
   F. PROCES SPOLUPRÁCE
   ========================================================================== */

.process-section {
  padding: 78px 0;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   G. VÝBĚR FORMY SPOLUPRÁCE (VIZUÁLNÍ KARTY + CÍLENÝ VÝŘEZ FOTEK)
   ========================================================================== */

.cooperation-section {
  padding: 84px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.coop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.coop-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-yellow);
}

.coop-card-featured {
  border-color: var(--border-yellow);
}

.coop-media {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #101115;
  position: relative;
}

.coop-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 13, 16, 0.08) 0%, transparent 45%, rgba(13, 13, 16, 0.42) 100%);
}

.coop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

/* 1. Online coaching: barevná fotka s viditelným notebookem i obličejem */
.coop-img-online {
  object-position: center 50%;
}

.coop-card:hover .coop-img-online {
  transform: scale(1.04);
}

/* 2. Osobní coaching: celá akční fotka při cvičení v tmavém stylu bez ořezu hlavy a těla */
.coop-img-pulldown {
  object-position: center 62%;
  filter: contrast(1.06) brightness(0.92);
}

.coop-card:hover .coop-img-pulldown {
  transform: scale(1.03);
}

/* 3. Kompletní spolupráce */
.coop-img-complete {
  object-position: center 24%;
}

.coop-card:hover .coop-img-complete {
  transform: scale(1.04);
}

.coop-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.coop-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.coop-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  flex-grow: 1;
}

/* ==========================================================================
   H. KONTAKT & FORMULÁŘ
   ========================================================================== */

.contact-section {
  padding: 84px 0;
  background: linear-gradient(180deg, #111216 0%, #0d0d10 100%);
  position: relative;
  z-index: 10;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-direct-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text-main);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.contact-direct-card:hover {
  border-color: var(--border-yellow);
  transform: translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-yellow-subtle);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.contact-value {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-word;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-yellow);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-card), 0 0 40px rgba(229, 169, 60, 0.08);
}

.coaching-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.required-star {
  color: var(--accent-yellow);
}

.form-fieldset {
  border: none;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 16px;
  min-height: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--border-yellow-focus);
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.16);
}

.form-textarea {
  resize: vertical;
  min-height: 96px;
}

.field-error {
  font-size: 0.82rem;
  color: #f87171;
  font-weight: 600;
  min-height: 16px;
}

.goal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.goal-tile {
  position: relative;
  cursor: pointer;
}

.goal-tile-full {
  grid-column: 1 / -1;
}

.custom-goal-group {
  margin-top: 10px;
}

.custom-goal-group[hidden] {
  display: none;
}

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

.goal-tile input[type="radio"] {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  accent-color: var(--accent-yellow);
}

.tile-content {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 38px 14px 14px;
  min-height: 52px;
  transition: all var(--transition-fast);
}

.goal-tile input[type="radio"]:checked + .tile-content {
  border-color: var(--accent-yellow);
  background: var(--accent-yellow-subtle);
}

.tile-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

#submitBtn {
  min-height: 58px;
  margin-top: 4px;
}

.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.25);
  border-top-color: #0d0d10;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#submitBtn.loading .btn-text {
  display: none;
}

#submitBtn.loading .spinner {
  display: inline-block;
}

.form-gdpr-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

.inline-legal-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent-yellow);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.inline-legal-btn:hover {
  color: var(--accent-yellow-light);
}

.form-success-box {
  text-align: center;
  padding: 32px 18px;
  background: rgba(229, 169, 60, 0.06);
  border: 1px solid var(--border-yellow);
  border-radius: 14px;
}

.success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px auto;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #0d0d10;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.success-text {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER & LEGAL INFO (§ 435 NOZ)
   ========================================================================== */

.site-footer {
  background: #09090b;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 28px 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(229, 169, 60, 0.28);
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-motto {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 14px;
}

.legal-business-info {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-business-info strong {
  color: var(--text-main);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-yellow);
}

.footer-contact-links {
  margin-bottom: 16px;
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-legal-btn {
  background: none;
  border: none;
  padding: 4px 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-yellow);
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}

.footer-legal-btn:hover {
  color: var(--accent-yellow-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.creator-link {
  color: var(--accent-yellow);
  text-decoration: none;
  font-weight: 700;
}

.creator-link:hover {
  color: var(--accent-yellow-light);
  text-decoration: underline;
}

/* ==========================================================================
   MOBILE STICKY CTA
   ========================================================================== */

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 45;
  pointer-events: none;
}

.sticky-cta-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gradient-gold);
  color: #0b0c0e;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 22px;
  min-height: 54px;
  border-radius: 50px;
  box-shadow: 0 10px 26px rgba(229, 169, 60, 0.4);
}

.cta-pulse {
  width: 8px;
  height: 8px;
  background: #0b0c0e;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   NATIVE <dialog> LEGAL MODALS
   ========================================================================== */

dialog.legal-dialog {
  margin: auto;
  max-width: 680px;
  width: calc(100% - 32px);
  max-height: min(86vh, 760px);
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-yellow);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

dialog.legal-dialog[open] {
  display: flex;
  flex-direction: column;
}

dialog.legal-dialog:modal {
  overscroll-behavior: contain;
}

dialog.legal-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card-elevated);
}

.dialog-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.dialog-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dialog-close-btn:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

.dialog-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.dialog-body h3 {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-top: 8px;
}

.dialog-body ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dialog-body a {
  color: var(--accent-yellow);
  text-decoration: underline;
}

.dialog-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  background: var(--bg-card-elevated);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MOBILE -> TABLET -> DESKTOP)
   ========================================================================== */

@media (max-width: 1024px) {
  .desktop-nav,
  .header-phone,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle,
  .mobile-drawer {
    display: flex;
  }

  /* Tablet: 2 columns */
  .pillars-grid,
  .pricing-grid,
  .packages-grid,
  .coop-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 900px) {
  /* Mobile & narrow tablet: Jasně viditelná černobílá hero fotka nahoře, vycentrovaný text a tlačítka pod ní */
  .hero-section {
    padding: 0 0 56px 0;
    min-height: auto;
    display: block;
  }

  .hero-bg-media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: 340px;
  }

  .hero-dan-photo {
    object-position: center 26%;
    filter: grayscale(100%) contrast(1.16) brightness(0.95);
  }

  .hero-photo-gradient {
    background: linear-gradient(180deg, transparent 0%, transparent 48%, rgba(13, 13, 16, 0.82) 78%, #0d0d10 100%);
  }

  .hero-container {
    margin-top: -42px;
    width: 100%;
  }

  .hero-text-col {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .trainer-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trainer-photo-col {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  /* Mobile: 1 column for all multi-column grids */
  .hero-stats-grid,
  .pillars-grid,
  .pricing-grid,
  .packages-grid,
  .process-grid,
  .coop-grid,
  .goal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trainer-text-block,
  .contact-card {
    padding: 22px 18px;
  }

  .hero-cta-group {
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 480px) {
  .nav-wrapper {
    height: 84px;
  }

  .mobile-drawer {
    top: 84px;
    height: calc(100vh - 84px);
  }

  .brand-logo {
    gap: 10px;
  }

  .logo-mark-img {
    width: 70px;
    height: 70px;
  }

  .logo-name {
    font-size: 1.02rem;
  }

  .logo-sub {
    font-size: 0.54rem;
    letter-spacing: 0.06em;
  }
}

/* ==========================================================================
   REACT BITS VANILLA ADAPTATIONS (DavidHDev/react-bits: ShinyText)
   ========================================================================== */

.rb-shiny-text {
  display: inline-block;
  color: var(--accent-yellow);
}

@media (prefers-reduced-motion: no-preference) {
  .rb-shiny-text {
    background: linear-gradient(
      115deg,
      #e5a93c 30%,
      #fffbeb 50%,
      #e5a93c 70%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rb-shine 4.8s linear infinite;
  }

  @keyframes rb-shine {
    0% {
      background-position: 200% center;
    }
    100% {
      background-position: -200% center;
    }
  }
}
