/*
Theme Name: Spark Ostrava
Theme URI: https://sparkostrava.cz
Author: Spark Ostrava
Author URI: https://sparkostrava.cz
Description: Moderní WordPress theme pro mažoretkový klub Spark Ostrava. Plně kompatibilní s Elementor Pro. Elegantní, energický design s fialovým gradientem.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spark-ostrava
Tags: elementor, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Spark Ostrava WordPress Theme
Copyright (C) 2024 Spark Ostrava
*/

/* ── VLASTNÍ FONTY ── */
@font-face {
  font-family: 'Ristoy';
  src: url('assets/fonts/Ristoy.woff2') format('woff2'),
       url('assets/fonts/Ristoy.ttf')   format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HankRnd';
  src: url('assets/fonts/HankRnd-Regular.woff2') format('woff2'),
       url('assets/fonts/HankRnd-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HankRnd';
  src: url('assets/fonts/HankRnd-Bold.woff2') format('woff2'),
       url('assets/fonts/HankRnd-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HankRnd';
  src: url('assets/fonts/HankRnd-Black.woff2') format('woff2'),
       url('assets/fonts/HankRnd-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================
   SPARK OSTRAVA – HLAVNÍ CSS PROMĚNNÉ
   ========================================= */

:root {
  /* Primární paleta */
  --spark-pink:        #E27FED;
  --spark-purple:      #B849F8;
  --spark-gradient:    linear-gradient(135deg, #E27FED 0%, #B849F8 100%);
  --spark-gradient-r:  linear-gradient(135deg, #B849F8 0%, #E27FED 100%);

  /* Neutrální */
  --spark-white:       #ffffff;
  --spark-off-white:   #fdf9ff;
  --spark-light:       #f5eeff;
  --spark-light-2:     #ede0fb;
  --spark-muted:       #8a6ba8;
  --spark-dark:        #1a0a2e;
  --spark-dark-2:      #2d1454;
  --spark-text:        #3d2a56;
  --spark-text-light:  #6b5087;

  /* Typo – vlastní fonty */
  --font-display:      'Ristoy', 'Georgia', serif;
  --font-body:         'HankRnd', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-pad:       100px 0;
  --section-pad-sm:    60px 0;

  /* Stíny */
  --shadow-sm:  0 2px 15px rgba(184,73,248,0.08);
  --shadow-md:  0 8px 40px rgba(184,73,248,0.15);
  --shadow-lg:  0 20px 60px rgba(184,73,248,0.25);
  --shadow-card: 0 4px 24px rgba(184,73,248,0.12);

  /* Border radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-full: 999px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--spark-text);
  background-color: var(--spark-white);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--spark-purple);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--spark-pink);
}

ul, ol {
  list-style: none;
}

/* =========================================
   TYPOGRAFIE
   ========================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--spark-dark);
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.25em;
  color: var(--spark-text-light);
  font-size: 1.05rem;
}

p:last-child { margin-bottom: 0; }

/* Gradient text */
.gradient-text,
.spark-gradient-text {
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */

.container,
.spark-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: var(--section-pad);
}

.section-padding-sm {
  padding: var(--section-pad-sm);
}

/* =========================================
   TLAČÍTKA
   ========================================= */

.btn,
.spark-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-primary,
.spark-btn-primary {
  background: var(--spark-gradient);
  color: var(--spark-white);
  box-shadow: 0 4px 20px rgba(184,73,248,0.35);
}

.btn-primary:hover,
.spark-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184,73,248,0.5);
  color: var(--spark-white);
}

.btn-outline,
.spark-btn-outline {
  background: transparent;
  color: var(--spark-purple);
  border: 2px solid var(--spark-purple);
}

.btn-outline:hover,
.spark-btn-outline:hover {
  background: var(--spark-gradient);
  color: var(--spark-white);
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--spark-white);
  color: var(--spark-purple);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--spark-purple);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

/* =========================================
   SEKCE HEADER
   ========================================= */

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  color: var(--spark-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--spark-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   KARTY
   ========================================= */

.spark-card {
  background: var(--spark-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border: 1px solid rgba(226, 127, 237, 0.1);
}

.spark-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 127, 237, 0.3);
}

.spark-card-body {
  padding: 28px;
}

.spark-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.spark-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.spark-card:hover .spark-card-image img {
  transform: scale(1.05);
}

/* =========================================
   NAVIGACE – HEADER
   ========================================= */

/* ══════════════════════════════════════════════════════
   HEADER – průhledný výchozí → gradient na scroll
   ══════════════════════════════════════════════════════ */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Výchozí: průhledný – vidět tmavý hero pod ním */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Po scrollu: tmavý fialový gradient s blur */
#site-header.scrolled {
  background: linear-gradient(135deg,
    rgba(26,10,46,0.97) 0%,
    rgba(45,20,84,0.97) 50%,
    rgba(26,10,46,0.97) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,127,237,0.15);
  box-shadow: 0 4px 30px rgba(184,73,248,0.2);
}

/* Admin bar offset */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}

/* Kompenzace výšky fixed headeru – obsah začíná od vrchu */
body:not(.home) .site-content,
body:not(.home) #content {
  padding-top: 0;
}

/* ── Logo – dvě verze (bílá / barevná) ── */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
  display: block;
}

/* Průhledný header: bílé logo */
.logo-img--white { opacity: 1; }
.logo-img--color { opacity: 0; position: absolute; top: 0; left: 0; }

/* Po scrollu: barevné logo */
#site-header.scrolled .logo-img--white { opacity: 0; }
#site-header.scrolled .logo-img--color { opacity: 1; position: static; }

/* ── Navigace – bílé texty výchozí ── */
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 32px;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.logo-text .logo-spark {
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text .logo-ostrava {
  color: var(--spark-dark);
  font-size: 0.7em;
  display: block;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-top: 2px;
}

/* Hlavní navigace */
#primary-navigation {
  display: flex;
  align-items: center;
  gap: 4px;
}

#primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

/* Průhledný header – bílé texty */
#primary-navigation a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  text-decoration: none;
}

#primary-navigation a:hover,
#primary-navigation .current-menu-item > a {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Po scrollu – tmavý bg, texty světlejší */
#site-header.scrolled #primary-navigation a {
  color: rgba(255,255,255,0.82);
}
#site-header.scrolled #primary-navigation a:hover,
#site-header.scrolled #primary-navigation .current-menu-item > a {
  background: rgba(226,127,237,0.18);
  color: #fff;
}

/* Online přihláška – outline tlačítko */
.nav-prihlaska-btn {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  transition: all var(--transition) !important;
}
.nav-prihlaska-btn:hover {
  background: rgba(255,255,255,0.22) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

/* Portál tlačítko */
.nav-parents-btn {
  background: var(--spark-gradient) !important;
  color: var(--spark-white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(184,73,248,0.4) !important;
  transition: all var(--transition) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}
.nav-parents-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(184,73,248,0.55) !important;
  color: white !important;
}
.portal-icon {
  width: 17px; height: 17px;
  flex-shrink: 0;
  stroke: currentColor;
}

/* Hamburger – bílé pruhy */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: background .2s, transform .3s, opacity .3s;
}
.mobile-menu-toggle.active span {
  background: var(--spark-purple);
}

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

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

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

/* =========================================
   HERO SEKCE
   ========================================= */

.spark-hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--spark-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1454 50%, #1a0a2e 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(226,127,237,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(184,73,248,0.15) 0%, transparent 60%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--spark-gradient);
  opacity: 0.15;
  animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(226,127,237,0.15);
  border: 1px solid rgba(226,127,237,0.3);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--spark-pink);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '✦';
  font-size: 0.7rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--spark-white);
  margin-bottom: 24px;
}

.hero-title .accent {
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* =========================================
   POČÍTADLA
   ========================================= */

.spark-counters {
  background: var(--spark-gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.spark-counters::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.counter-item {
  padding: 20px;
}

.counter-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--spark-white);
  line-height: 1;
  display: block;
}

.counter-suffix {
  font-size: 0.6em;
  vertical-align: super;
}

.counter-label {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-top: 8px;
  font-weight: 500;
}

/* =========================================
   TESTIMONIALS
   ========================================= */

.testimonials-section {
  background: var(--spark-off-white);
  padding: var(--section-pad);
}

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

.testimonial-card {
  background: var(--spark-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,127,237,0.1);
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  color: var(--spark-text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--spark-pink);
}

.testimonial-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--spark-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--spark-dark);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--spark-muted);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars span {
  font-size: 0.9rem;
}

/* =========================================
   TIMELINE
   ========================================= */

.spark-timeline {
  position: relative;
  padding-left: 40px;
}

.spark-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--spark-gradient);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--spark-gradient);
  box-shadow: 0 0 0 4px rgba(226,127,237,0.2);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--spark-dark);
  margin-bottom: 8px;
}

.timeline-desc {
  color: var(--spark-text-light);
  font-size: 0.95rem;
}

/* =========================================
   ACCORDION / FAQ
   ========================================= */

.spark-accordion {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(226,127,237,0.15);
}

.accordion-item {
  border-bottom: 1px solid rgba(226,127,237,0.1);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--spark-white);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--spark-dark);
  text-align: left;
  transition: all var(--transition);
  gap: 16px;
}

.accordion-trigger:hover,
.accordion-item.active .accordion-trigger {
  background: var(--spark-light);
  color: var(--spark-purple);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--spark-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 1rem;
  transition: transform var(--transition);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
  padding: 4px 28px 24px;
  color: var(--spark-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* =========================================
   STEPS (Pro nováčky)
   ========================================= */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: var(--spark-gradient);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--spark-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226,127,237,0.12);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(226,127,237,0.3);
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--spark-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--spark-dark);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--spark-text-light);
  line-height: 1.6;
}

/* =========================================
   GALERIE
   ========================================= */

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--spark-light);
  color: var(--spark-text-light);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--spark-gradient);
  color: white;
  border-color: transparent;
}

.gallery-grid {
  columns: 3 300px;
  gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,10,46,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

/* Lightbox */
.spark-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,0,20,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.spark-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* =========================================
   KONTAKT
   ========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--spark-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,127,237,0.1);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--spark-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(226,127,237,0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--spark-dark);
  background: var(--spark-white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--spark-pink);
  box-shadow: 0 0 0 4px rgba(226,127,237,0.1);
}

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

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--spark-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--spark-purple);
}

.contact-info-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--spark-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  color: var(--spark-dark);
  font-weight: 500;
}

.social-links-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--spark-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: white;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 32px;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* =========================================
   LOGIN MODAL
   ========================================= */

#login-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

#login-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,0,20,0.75);
  backdrop-filter: blur(8px);
}

.modal-box {
  position: relative;
  z-index: 1;
  background: var(--spark-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalIn {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
  text-align: center;
  margin-bottom: 36px;
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--spark-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--spark-dark);
  margin-bottom: 6px;
}

.modal-subtitle {
  color: var(--spark-muted);
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--spark-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--spark-text-light);
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--spark-light-2);
  color: var(--spark-dark);
}

/* WordPress login form override */
#login-modal #loginform {
  width: 100%;
}

#login-modal #loginform p {
  margin-bottom: 20px;
}

#login-modal #loginform label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--spark-dark);
  margin-bottom: 8px;
}

#login-modal #loginform input[type="text"],
#login-modal #loginform input[type="password"],
#login-modal #loginform input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(226,127,237,0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--spark-dark);
  background: var(--spark-white);
  transition: border-color var(--transition);
  outline: none;
}

#login-modal #loginform input:focus {
  border-color: var(--spark-pink);
  box-shadow: 0 0 0 4px rgba(226,127,237,0.1);
}

#login-modal #loginform input[type="submit"] {
  width: 100%;
  padding: 15px;
  background: var(--spark-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
}

#login-modal #loginform input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.login-forgot {
  text-align: center;
  margin-top: 16px;
  font-size: 0.875rem;
}

.login-forgot a {
  color: var(--spark-muted);
}

.login-forgot a:hover {
  color: var(--spark-purple);
}

/* =========================================
   ČLENSKÝ PORTÁL
   ========================================= */

.portal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  min-height: calc(100vh - 160px);
  padding: 40px 0 80px;
}

.portal-sidebar {
  background: var(--spark-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  height: fit-content;
  border: 1px solid rgba(226,127,237,0.1);
  position: sticky;
  top: 100px;
}

.portal-sidebar-header {
  background: var(--spark-gradient);
  padding: 28px 24px;
  color: white;
}

.portal-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.portal-sidebar-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
  color: white;
}

.portal-nav {
  padding: 16px 0;
}

.portal-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  color: var(--spark-text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.portal-nav-item:hover,
.portal-nav-item.active {
  background: var(--spark-light);
  color: var(--spark-purple);
  border-left-color: var(--spark-purple);
}

.portal-nav-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.portal-logout {
  padding: 16px 24px;
  border-top: 1px solid rgba(226,127,237,0.1);
}

.portal-logout a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--spark-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.portal-logout a:hover {
  color: #e53e3e;
}

.portal-content {
  min-width: 0;
}

.portal-section {
  display: none;
  animation: fadeInUp 0.4s ease forwards;
}

.portal-section.active {
  display: block;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.portal-section-header {
  margin-bottom: 28px;
}

.portal-section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--spark-dark);
  margin-bottom: 6px;
}

.portal-section-subtitle {
  color: var(--spark-muted);
  font-size: 0.95rem;
}

/* Portál – tabulky */
.portal-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--spark-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.portal-table th {
  background: var(--spark-gradient);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.portal-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(226,127,237,0.08);
  color: var(--spark-text);
  font-size: 0.95rem;
}

.portal-table tr:last-child td {
  border-bottom: none;
}

.portal-table tr:hover td {
  background: var(--spark-off-white);
}

/* Portál – badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-warning { background: #fff8e1; color: #f57f17; }
.badge-error   { background: #ffebee; color: #c62828; }
.badge-info    { background: var(--spark-light); color: var(--spark-purple); }

/* Portál – aktuality */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  background: var(--spark-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,127,237,0.1);
  border-left: 4px solid var(--spark-pink);
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.news-date {
  font-size: 0.8rem;
  color: var(--spark-muted);
  margin-bottom: 8px;
}

.news-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--spark-dark);
  margin-bottom: 8px;
}

/* Portál – dokumenty */
.docs-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.doc-card {
  background: var(--spark-white);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,127,237,0.1);
  transition: all var(--transition);
  text-decoration: none;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(226,127,237,0.3);
}

.doc-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.doc-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--spark-dark);
}

/* Portál – trenéři karty */
.coaches-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.coach-portal-card {
  background: var(--spark-white);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,127,237,0.1);
}

.coach-portal-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--spark-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 12px;
  font-weight: 700;
  color: white;
  overflow: hidden;
}

.coach-portal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-portal-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--spark-dark);
  margin-bottom: 4px;
}

.coach-portal-role {
  font-size: 0.8rem;
  color: var(--spark-muted);
  margin-bottom: 12px;
}

.coach-portal-phone {
  font-size: 0.875rem;
  color: var(--spark-purple);
  font-weight: 600;
}

/* =========================================
   FOOTER
   ========================================= */

#site-footer {
  background: var(--spark-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo-text .logo-spark {
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand .logo-text .logo-ostrava {
  color: rgba(255,255,255,0.4);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--spark-pink);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--spark-gradient);
  color: white;
  transform: translateY(-2px);
}

/* =========================================
   SECTION BACKGROUNDS
   ========================================= */

.bg-gradient {
  background: var(--spark-gradient);
}

.bg-light {
  background: var(--spark-off-white);
}

.bg-dark {
  background: var(--spark-dark);
}

.bg-light-2 {
  background: var(--spark-light);
}

/* Dekorativní gradientní blobby */
.section-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.15;
}

/* =========================================
   TRÉNINKY TABULKA / ROZVRH
   ========================================= */

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.schedule-day {
  background: var(--spark-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,127,237,0.1);
}

.schedule-day-header {
  background: var(--spark-gradient);
  color: white;
  text-align: center;
  padding: 14px 10px;
  font-weight: 700;
  font-size: 0.9rem;
}

.schedule-slot {
  padding: 12px;
  border-bottom: 1px solid rgba(226,127,237,0.07);
  text-align: center;
}

.schedule-slot:last-child {
  border-bottom: none;
}

.schedule-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--spark-purple);
  margin-bottom: 2px;
}

.schedule-name {
  font-size: 0.8rem;
  color: var(--spark-text);
}

.schedule-group {
  font-size: 0.7rem;
  color: var(--spark-muted);
}

/* =========================================
   HODNOTY & FEATURES
   ========================================= */

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

.feature-card {
  background: var(--spark-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,127,237,0.1);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--spark-gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--spark-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--spark-gradient);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--spark-dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--spark-text-light);
  line-height: 1.6;
}

/* =========================================
   TRENÉŘI
   ========================================= */

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

.coach-card {
  background: var(--spark-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,127,237,0.1);
  text-align: center;
  transition: all var(--transition);
}

.coach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.coach-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--spark-light);
  position: relative;
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.coach-card:hover .coach-photo img {
  transform: scale(1.05);
}

.coach-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--spark-gradient);
  font-size: 3rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
}

.coach-body {
  padding: 20px;
}

.coach-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--spark-dark);
  margin-bottom: 4px;
}

.coach-role {
  font-size: 0.85rem;
  color: var(--spark-muted);
  margin-bottom: 12px;
}

.coach-bio {
  font-size: 0.875rem;
  color: var(--spark-text-light);
  line-height: 1.6;
}

/* =========================================
   CTA SEKCE
   ========================================= */

.cta-section {
  background: var(--spark-gradient);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.cta-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* =========================================
   INTRO SEKCE – O KLUBU
   ========================================= */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid white;
}

.about-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: 32px;
  left: -20px;
  background: var(--spark-white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.about-badge-icon {
  font-size: 1.5rem;
}

.about-badge-text {
  font-size: 0.75rem;
  color: var(--spark-muted);
  line-height: 1.3;
}

.about-badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--spark-dark);
}

/* =========================================
   ÚSPĚCHY – TROPHY GRID
   ========================================= */

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

.trophy-card {
  background: var(--spark-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,127,237,0.1);
  transition: all var(--transition);
  text-align: center;
}

.trophy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.trophy-card-image {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--spark-gradient);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trophy-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trophy-card-image-placeholder {
  font-size: 4rem;
}

.trophy-card-body {
  padding: 24px;
}

.trophy-year {
  display: inline-block;
  background: var(--spark-gradient);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.trophy-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--spark-dark);
  margin-bottom: 6px;
}

.trophy-event {
  font-size: 0.875rem;
  color: var(--spark-muted);
}

/* =========================================
   ANIMACE
   ========================================= */

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"] {
  transform: translateX(-30px);
}

[data-animate="fade-right"] {
  transform: translateX(30px);
}

[data-animate="fade-left"].animated,
[data-animate="fade-right"].animated {
  transform: translateX(0);
}

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* =========================================
   SPECIFICKÉ STRÁNKOVÉ STYLY
   ========================================= */

/* Page hero banner */
.page-hero {
  background: var(--spark-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(226,127,237,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 50%, rgba(184,73,248,0.1) 0%, transparent 60%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  margin-bottom: 12px;
}

.page-hero-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: rgba(255,255,255,0.5);
}

.breadcrumbs a:hover {
  color: var(--spark-pink);
}

.breadcrumbs .separator {
  color: rgba(255,255,255,0.3);
}

.breadcrumbs .current {
  color: var(--spark-pink);
}

/* =========================================
   ELEMENTOR OVERRIDES
   ========================================= */

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1280px;
}

.e-con-inner {
  max-width: 1280px;
}

/* =========================================
   NOTICE – přihlášení vyžadováno
   ========================================= */

.login-required-notice {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.login-notice-box {
  max-width: 500px;
  background: var(--spark-white);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226,127,237,0.15);
}

.login-notice-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.login-notice-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--spark-dark);
  margin-bottom: 12px;
}

.login-notice-text {
  color: var(--spark-muted);
  margin-bottom: 28px;
}

/* =========================================
   404 STRÁNKA
   ========================================= */

.error-404-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.error-404-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  line-height: 0.9;
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  display: block;
}

/* =========================================
   COOKIE NOTICE / WP ADMIN BAR FIX
   ========================================= */

.admin-bar #site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #site-header {
    top: 46px;
  }
}

/* =========================================
   SKIP LINK
   ========================================= */

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--spark-purple);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

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

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: 70px 0;
  }

  .about-split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

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

  .portal-layout {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
  }

  .portal-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
  }

  .portal-nav-item {
    flex: 1 0 auto;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 10px 16px;
    border-radius: var(--radius-md);
  }

  .portal-nav-item.active {
    border-left-color: transparent;
    border-bottom-color: var(--spark-purple);
  }
}

@media (max-width: 768px) {
  #primary-navigation {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--spark-white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    z-index: 999;
    padding: 40px 24px calc(40px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #primary-navigation.open {
    display: flex;
  }

  #primary-navigation ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  #primary-navigation a {
    font-size: 1.3rem;
    padding: 14px 24px;
  }

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

  .hero-stats {
    gap: 28px;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .modal-box {
    padding: 36px 24px;
    margin: 16px;
    max-width: calc(100% - 32px);
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .testimonials-grid,
  .trophies-grid,
  .features-grid,
  .coaches-grid {
    grid-template-columns: 1fr;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

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

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

  .docs-list,
  .coaches-portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   PRINT STYLES
   ========================================= */

@media print {
  #site-header,
  #site-footer,
  #login-modal,
  .spark-hero,
  .spark-counters {
    display: none;
  }
}

/* =========================================
   HOMEPAGE – FRONT PAGE SPECIFIC STYLES
   ========================================= */

/* --- Hero deco circles --- */
.hero-deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-deco-circle--1 {
  width: 600px; height: 600px;
  right: -200px; top: -100px;
  background: radial-gradient(circle, rgba(226,127,237,.12) 0%, transparent 70%);
}
.hero-deco-circle--2 {
  width: 400px; height: 400px;
  left: -100px; bottom: -50px;
  background: radial-gradient(circle, rgba(184,73,248,.1) 0%, transparent 70%);
}

/* --- Hero scroll indicator --- */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .5;
}
.hero-scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: white;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity:.5; }
  50%      { transform: translateY(8px); opacity:1; }
}

/* --- About section --- */
.about-section { background: var(--spark-white); }

.about-badge--bottom {
  top: auto;
  bottom: 40px;
  left: auto;
  right: -20px;
}

.about-text { }
.about-text p { margin-bottom: 1.2em; }

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}
.about-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--spark-light);
  color: var(--spark-text);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid var(--spark-border, rgba(226,127,237,.15));
}

/* --- Preview cards --- */
.preview-cards-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.preview-card {
  display: flex;
  flex-direction: column;
  background: var(--spark-white);
  border-radius: var(--radius-xl);
  padding: 40px 32px 36px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,127,237,.1);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226,127,237,.3);
  color: inherit;
}

.preview-card__icon-wrap {
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  background: var(--spark-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  transition: background var(--transition), transform var(--transition);
}
.preview-card:hover .preview-card__icon-wrap {
  background: var(--spark-gradient);
  transform: scale(1.08) rotate(-3deg);
}

.preview-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--spark-dark);
  margin-bottom: 12px;
}
.preview-card__desc {
  font-size: .95rem;
  color: var(--spark-text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 28px;
}
.preview-card__cta {
  font-size: .9rem;
  font-weight: 700;
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity var(--transition);
}
.preview-card:hover .preview-card__cta { opacity: .8; }

/* Dekorativní prvek v kartě */
.preview-card__bg-deco {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--spark-gradient);
  opacity: .04;
  transition: opacity var(--transition), transform var(--transition);
}
.preview-card:hover .preview-card__bg-deco {
  opacity: .08;
  transform: scale(1.3);
}

/* Card colour variants */
.card--gold .preview-card__icon-wrap { background: #fff8e1; }
.card--gold:hover .preview-card__icon-wrap { background: linear-gradient(135deg,#ffd54f,#ffb300); }
.card--pink .preview-card__icon-wrap { background: #fce4ec; }
.card--pink:hover .preview-card__icon-wrap { background: linear-gradient(135deg,#f48fb1,#e91e63); }

/* --- Achievements section --- */
.achievements-section { background: var(--spark-white); }
.section-cta { text-align: center; margin-top: 48px; }

/* --- Results + Gallery Layout --- */
.results-gallery-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

/* Results panel */
.results-panel {
  background: var(--spark-white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,127,237,.1);
}
.results-panel__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--spark-dark);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(226,127,237,.08);
}
.result-row:last-of-type { border-bottom: none; }

.result-row__icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.result-row__info { flex: 1; }
.result-row__info strong {
  display: block;
  font-size: .95rem;
  color: var(--spark-dark);
  margin-bottom: 2px;
  font-family: var(--font-body);
}
.result-row__info span {
  font-size: .8rem;
  color: var(--spark-muted);
}
.result-row__year {
  font-size: .75rem;
  font-weight: 700;
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  padding-top: 4px;
}

/* Gallery preview masonry */
.gallery-grid--preview {
  columns: 3 180px;
  gap: 12px;
}
.gallery-grid--preview .gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
}
.gallery-placeholder-block {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: default;
}
.gallery-placeholder-emoji { font-size: 2rem; }
.gallery-placeholder-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--spark-text-light);
}

/* --- Responsive front-page --- */
@media (max-width: 1024px) {
  .results-gallery-layout {
    grid-template-columns: 1fr;
  }
  .gallery-grid--preview {
    columns: 3 140px;
  }
}

@media (max-width: 768px) {
  .preview-cards-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  .about-split {
    grid-template-columns: 1fr;
  }
  .about-image-wrapper { display: none; }
  .gallery-grid--preview { columns: 2 130px; }
  .trophies-grid { grid-template-columns: 1fr; }
}

/* =========================================
   PAGE LOADER
   ========================================= */

#spark-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1454 50%, #1a0a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  /* CSS failsafe: po 2.5s se loader automaticky schová bez JS */
  animation: loaderAutoHide 0.5s ease 2.5s forwards;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

@keyframes loaderAutoHide {
  0%   { opacity: 1; visibility: visible; pointer-events: all; }
  100% { opacity: 0; visibility: hidden;  pointer-events: none; }
}

/* Dekorativní glow efekty na pozadí loaderu */
#spark-loader::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,127,237,.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#spark-loader::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,73,248,.15) 0%, transparent 70%);
  top: 30%; right: 10%;
  pointer-events: none;
}

#spark-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* Rotující hůlka */
.loader-baton {
  width: 140px;
  height: auto;
  /* Hůlka je diagonální (~135°) – otáčíme ji dokola */
  animation: batonSpin 1.4s linear infinite;
  transform-origin: center center;
  filter: drop-shadow(0 0 12px rgba(226,127,237,.5));
}

@keyframes batonSpin {
  0%   { transform: rotate(0deg);   }
  100% { transform: rotate(360deg); }
}

/* Text */
.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.loader-spark {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-ostrava {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* =========================================
   HERO – Levé zarovnání textu (oprava)
   ========================================= */

/* Hero content – explicitně vlevo */
.spark-hero .hero-content {
  text-align: left;
  max-width: 700px;  /* omezt šířku textového bloku */
}

.spark-hero .hero-eyebrow,
.spark-hero .hero-title,
.spark-hero .hero-description {
  text-align: left;
}

.spark-hero .hero-actions {
  justify-content: flex-start;
}

/* Hero stats – na šíři textu, items vedle sebe */
.spark-hero .hero-stats {
  justify-content: flex-start;
}

/* Hero elementy – VŽDY viditelné, loader je překryje přirozeně */
/* Animace se spustí přes CSS keyframes, ne přes JS class toggle */
.spark-hero [data-animate] {
  opacity: 1;
  transform: none;
  animation: heroFadeUp 0.7s ease both;
}

/* Zpoždění animace dle data-delay atributu */
.spark-hero [data-animate][data-delay="100"] { animation-delay: 0.1s; }
.spark-hero [data-animate][data-delay="200"] { animation-delay: 0.2s; }
.spark-hero [data-animate][data-delay="300"] { animation-delay: 0.3s; }
.spark-hero [data-animate][data-delay="400"] { animation-delay: 0.4s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Třída .animated pro fallback JS (nemusí být nastavena, ale nesmí nic rozbít) */
.spark-hero [data-animate].animated {
  opacity: 1;
  transform: none;
}

/* Loader admin-bar fix */
.admin-bar #spark-loader {
  top: 0 !important;
}

/* =========================================
   KOMPLETNÍ OPRAVA MOBILNÍHO LAYOUTU
   Přepisuje vše výše – nejvyšší priorita
   ========================================= */

/* ---- Globální opravy ---- */
@media (max-width: 768px) {
  .container,
  .spark-container {
    padding: 0 20px;
  }

  .section-padding {
    padding: 60px 0;
  }

  h2.section-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  /* ---- HERO – text zarovnaný vlevo, tlačítka vlevo ---- */
  .spark-hero {
    min-height: 100svh;       /* dynamic viewport height */
  }

  .spark-hero .hero-content {
    padding: 60px 0 40px;
    text-align: left !important;
    max-width: 100%;
  }

  .spark-hero .hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    padding: 7px 16px;
  }

  .spark-hero .hero-title {
    font-size: clamp(2.6rem, 10vw, 4rem);
    margin-bottom: 18px;
    text-align: left !important;
  }

  .spark-hero .hero-description {
    font-size: 1rem;
    margin-bottom: 32px;
    text-align: left !important;
    max-width: 100%;
  }

  /* Tlačítka – vlevo, na mobilu na celou šířku */
  .spark-hero .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;   /* full-width buttons */
    gap: 12px !important;
    justify-content: flex-start !important;
    width: 100%;
    max-width: 360px;   /* maximální šířka skupiny tlačítek */
  }

  .spark-hero .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 16px 24px;
  }

  /* Stats – jeden řádek se 3 sloupci */
  .spark-hero .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    margin-top: 40px;
    padding-top: 28px;
    flex-wrap: unset !important;
  }

  .spark-hero .hero-stat {
    text-align: center;
    padding: 0 4px;
  }

  .spark-hero .hero-stat-number {
    font-size: 1.8rem;
  }

  .spark-hero .hero-stat-label {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  /* ---- PREVIEW KARTY – 1 sloupec ---- */
  .preview-cards-grid {
    grid-template-columns: 1fr !important;
    max-width: 100%;
    gap: 16px;
  }

  .preview-card {
    padding: 28px 24px;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .preview-card__icon-wrap {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin-bottom: 0;
    font-size: 1.5rem;
  }

  .preview-card__content-col {
    flex: 1;
  }

  /* ---- POČÍTADLA ---- */
  .spark-counters {
    padding: 50px 0;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
  }

  .counter-number {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* ---- TROFEJE ---- */
  .trophies-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* ---- VÝSLEDKY + GALERIE ---- */
  .results-gallery-layout {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .results-panel {
    padding: 24px 20px;
  }

  .gallery-grid--preview {
    columns: 2 !important;
    gap: 8px;
  }

  /* ---- ABOUT SPLIT ---- */
  .about-split {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .about-image-wrapper {
    display: none !important;  /* na mobilu schovat velký obrázek */
  }

  .about-features {
    gap: 8px;
  }

  .about-feature-pill {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  /* ---- FOOTER ---- */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  /* ---- SEKCE HEADER TEXT ---- */
  .section-header {
    margin-bottom: 36px;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* ---- CTA ---- */
  .cta-section {
    padding: 60px 0;
  }

  .cta-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .cta-desc {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  /* CTA tlačítka na mobilu */
  .cta-section .hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-section .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Extra small (pod 480px) ---- */
@media (max-width: 480px) {
  .container,
  .spark-container {
    padding: 0 16px;
  }

  .spark-hero .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .spark-hero .hero-actions {
    max-width: 100%;
  }

  .spark-hero .hero-stat-number {
    font-size: 1.5rem;
  }

  .spark-hero .hero-stat-label {
    font-size: 0.65rem;
  }

  .preview-card {
    flex-direction: column;
    padding: 24px 20px;
  }

  .preview-card__icon-wrap {
    margin-bottom: 12px;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  .counter-number {
    font-size: 1.8rem;
  }

  .counter-label {
    font-size: 0.8rem;
  }

  .gallery-grid--preview {
    columns: 2 !important;
  }

  .results-panel {
    padding: 20px 16px;
  }
}

/* --- Hero stat item (desktop) --- */
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* --- Preview card content column --- */
.preview-card__content-col {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Desktop: content-col musí fungovat vertikálně (standardní layout) */
@media (min-width: 769px) {
  .preview-card {
    flex-direction: column; /* na desktopu zpět na column */
  }
  .preview-card__content-col {
    flex: 1;
  }
  .preview-card__desc {
    flex: 1;
    margin-bottom: 28px;
  }
}

/* =========================================
   OPRAVA: HERO LEFT-ALIGN + MOBILE
   ========================================= */

/* --- Desktop + vše: explicitní levé zarovnání --- */
.spark-hero,
.spark-hero .hero-content,
.spark-hero .hero-eyebrow,
.spark-hero .hero-title,
.spark-hero .hero-description {
  text-align: left !important;
}

.spark-hero .hero-content {
  max-width: 680px;
  width: 100%;
  /* Zruš jakékoli auto-centrování */
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Tlačítka – vlevo, ne centrovaná */
.spark-hero .hero-actions {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

/* Stats – vlevo, flex row */
.spark-hero .hero-stats {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

/* --- MOBILE: < 768px --- */
@media (max-width: 768px) {
  .spark-hero .hero-content {
    max-width: 100% !important;
    padding: 60px 0 40px;
  }

  .spark-hero .hero-title {
    font-size: clamp(2.8rem, 11vw, 4.5rem) !important;
    text-align: left !important;
  }

  .spark-hero .hero-description {
    font-size: 1rem !important;
    text-align: left !important;
    max-width: 100% !important;
  }

  /* Tlačítka – vlevo, přirozená šířka (ne full-width) */
  .spark-hero .hero-actions {
    flex-direction: column !important;
    align-items: flex-start !important;  /* ← klíčová oprava: vlevo ne center */
    gap: 12px !important;
  }

  .spark-hero .hero-actions .btn {
    width: auto !important;          /* ne full-width */
    min-width: 200px !important;     /* ale dostatečně velká */
    justify-content: center !important;
  }

  /* Stats – 3 sloupce vedle sebe i na mobilu */
  .spark-hero .hero-stats {
    gap: 24px 32px !important;
    flex-wrap: wrap !important;
    margin-top: 40px !important;
    padding-top: 24px !important;
  }

  .spark-hero .hero-stat {
    flex: 0 0 auto !important;
    min-width: 80px !important;
  }

  .spark-hero .hero-stat-number {
    font-size: 2.2rem !important;
  }

  .spark-hero .hero-stat-label {
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }
}

/* --- MOBILE: < 480px --- */
@media (max-width: 480px) {
  .container,
  .spark-container {
    padding: 0 20px !important;
  }

  .spark-hero .hero-title {
    font-size: clamp(2.4rem, 13vw, 3.5rem) !important;
  }

  /* Stats: 2 sloupce na velmi malých obrazovkách */
  .spark-hero .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, auto) !important;
    gap: 20px 40px !important;
    justify-content: start !important;
  }

  .spark-hero .hero-actions .btn {
    min-width: 180px !important;
  }
}

/* --- Obecné mobilní opravy --- */
@media (max-width: 768px) {
  /* Sekce padding */
  .section-padding {
    padding: 60px 0 !important;
  }

  /* Section header */
  .section-header {
    margin-bottom: 40px !important;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
  }

  /* About split – 1 sloupec */
  .about-split {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .about-image-wrapper {
    display: none !important; /* schovej foto na mobilu, text stačí */
  }

  /* Preview karty – 1 sloupec */
  .preview-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Počítadla – 2x2 grid */
  .counters-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  /* Trophies – 1 sloupec */
  .trophies-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Results + gallery layout – 1 sloupec */
  .results-gallery-layout {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Gallery masonry – 2 sloupce */
  .gallery-grid--preview {
    columns: 2 !important;
    gap: 10px !important;
  }

  /* CTA sekce */
  .cta-section {
    padding: 60px 0 !important;
  }
  .cta-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
  }
  .cta-section .hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .cta-section .hero-actions .btn {
    width: 100% !important;
    max-width: 300px !important;
    justify-content: center !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Loader na mobilu */
  .loader-baton {
    width: 110px !important;
  }
  .loader-spark {
    font-size: 2.4rem !important;
  }
}

/* =========================================
   FINÁLNÍ PŘEPIS – HERO + MOBILE
   Toto je POSLEDNÍ blok v souboru a přepíše vše výše.
   ========================================= */

/* Hero – zarovnání VLEVO na všech zařízeních */
.spark-hero .hero-content {
  text-align: left !important;
  margin-left: 0 !important;
  max-width: 680px !important;
}
.spark-hero .hero-eyebrow,
.spark-hero .hero-title,
.spark-hero .hero-description {
  text-align: left !important;
}
/* Tlačítka – vlevo, přirozeně velká, NEcentrovaná */
.spark-hero .hero-actions {
  display: flex !important;
  flex-direction: row !important;   /* desktop: vedle sebe */
  justify-content: flex-start !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
}
/* Stats – vlevo, flex řada */
.spark-hero .hero-stats {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 40px !important;
  flex-wrap: nowrap !important;
}

/* ---- MOBIL ≤ 768px ---- */
@media (max-width: 768px) {
  .spark-hero .hero-content {
    max-width: 100% !important;
    padding: 50px 0 36px !important;
    text-align: left !important;
  }

  /* Tlačítka na mobilu – sloupcově, VLEVO (ne centrovaná) */
  .spark-hero .hero-actions {
    flex-direction: column !important;
    align-items: flex-start !important; /* ← VLEVO */
    gap: 12px !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
  }
  .spark-hero .hero-actions .btn {
    width: auto !important;
    min-width: min(240px, calc(100vw - 48px)) !important;
    max-width: none !important;
    display: inline-flex !important;
    justify-content: center !important;
  }

  /* Stats – 3 položky vedle sebe, vlevo */
  .spark-hero .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    margin-top: 36px !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
  }
  .spark-hero .hero-stat {
    flex: 1 1 0 !important;         /* rovnoměrně rozděl 3 sloupce */
    text-align: left !important;
    padding-right: 8px !important;
  }
  .spark-hero .hero-stat-number {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
  }
  .spark-hero .hero-stat-label {
    font-size: clamp(0.65rem, 2.5vw, 0.8rem) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    display: block !important;
    margin-top: 2px !important;
    color: rgba(255,255,255,.55) !important;
  }
  .spark-hero .hero-title {
    font-size: clamp(2.6rem, 10vw, 4rem) !important;
    text-align: left !important;
  }
  .spark-hero .hero-description {
    font-size: 1rem !important;
    text-align: left !important;
  }
}

/* ---- EXTRA SMALL ≤ 420px ---- */
@media (max-width: 420px) {
  .spark-hero .hero-stat-number {
    font-size: clamp(1.4rem, 5.5vw, 1.8rem) !important;
  }
  .spark-hero .hero-title {
    font-size: clamp(2.2rem, 11vw, 3rem) !important;
  }
}

/* =========================================
   HERO + HEADER – full-width layout oprava
   Text musí začínat blíže levému okraji,
   ne uprostřed centered containeru
   ========================================= */

/* Header – roztáhni na celou šířku viewportu */
#site-header .container,
#site-header .spark-container {
  max-width: 100%;
  padding: 0 clamp(24px, 4vw, 80px);
}

/* Hero – container taktéž full-width, text vlevo */
.spark-hero .container,
.spark-hero .spark-container {
  max-width: 100%;
  padding: 0 clamp(24px, 5vw, 120px);
}

/* Hero content blok – zarovnání vlevo, omezená šířka */
.spark-hero .hero-content {
  max-width: 720px !important;
  margin-left: 0 !important;
  margin-right: auto;
  text-align: left !important;
}

/* Všechny textové elementy uvnitř – explicitně vlevo */
.spark-hero .hero-eyebrow,
.spark-hero .hero-title,
.spark-hero .hero-description,
.spark-hero .hero-actions,
.spark-hero .hero-stats {
  text-align: left !important;
}

.spark-hero .hero-actions {
  justify-content: flex-start !important;
}

.spark-hero .hero-stats {
  justify-content: flex-start !important;
}

/* Mobil – zmenšit padding */
@media (max-width: 768px) {
  #site-header .container,
  #site-header .spark-container,
  .spark-hero .container,
  .spark-hero .spark-container {
    padding: 0 20px;
  }

  .spark-hero .hero-content {
    max-width: 100% !important;
  }
}

/* =========================================
   HERO – DVOUSLOUPCOVÝ LAYOUT (FIX)
   ========================================= */

/* Dvousloupcová mřížka v hero */
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 80px 0 60px;
}

/* Levý sloupec – vždy vlevo, text zarovnaný doleva */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* VLEVO */
  text-align: left;          /* VLEVO */
}

.hero-left .hero-eyebrow,
.hero-left .hero-title,
.hero-left .hero-description {
  text-align: left;
}

.hero-left .hero-actions {
  justify-content: flex-start;
  align-items: flex-start;
}

.hero-left .hero-stats {
  justify-content: flex-start;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  width: 100%;
}

/* Pravý sloupec – dekorativní prvky */
.hero-right {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow orby */
.hero-deco-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-deco-orb--1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(184,73,248,.25) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: orbPulse 4s ease-in-out infinite;
}
.hero-deco-orb--2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(226,127,237,.2) 0%, transparent 70%);
  top: 20%; right: 10%;
  animation: orbPulse 6s ease-in-out infinite 1s;
}
.hero-deco-orb--3 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(184,73,248,.15) 0%, transparent 70%);
  bottom: 15%; left: 5%;
  animation: orbPulse 5s ease-in-out infinite 2s;
}
@keyframes orbPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: .7; }
  50%       { transform: translate(-50%,-50%) scale(1.1); opacity: 1; }
}
.hero-deco-orb--2, .hero-deco-orb--3 {
  transform: none;
  animation: orbFloat 5s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Plovoucí badge karty v hero */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  white-space: nowrap;
  animation: floatCard 4s ease-in-out infinite;
}
.hero-float-card--top {
  top: 10%;
  left: 0;
  animation-delay: 0s;
}
.hero-float-card--bottom {
  bottom: 10%;
  right: 0;
  animation-delay: 2s;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-float-card__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.hero-float-card strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: white;
}
.hero-float-card span {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}

/* ---- Mobilní hero – jeden sloupec ---- */
@media (max-width: 900px) {
  .hero-two-col {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 60px 0 40px;
    min-height: auto;
  }
  .hero-right {
    display: none;  /* Na mobilu skrýt dekoraci */
  }
  .hero-left {
    align-items: flex-start;
    text-align: left;
  }
  .hero-left .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .hero-stat {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-two-col {
    padding: 50px 0 36px;
  }
  .hero-left .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-left .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
  .hero-left .hero-stats {
    margin-top: 32px;
    padding-top: 24px;
  }
  .hero-stat-number { font-size: 1.6rem !important; }
  .hero-stat-label  { font-size: .7rem !important; }
}

/* =========================================
   HEADER – centrování fix
   ========================================= */

/* Ujistit se, že header container je správně centrovaný */
.site-header .container,
.site-header .spark-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 32px;
  width: 100%;
}

/* Výchozí stavy pro hero-content (starý fallback) */
.hero-content {
  text-align: left;
}

/* =========================================
   HERO ANIMACE – čisté CSS, bez JS, vždy viditelné
   ========================================= */

/* Keyframes pro fade-up */
@keyframes hFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Základní třída – všechny hero elementy se animují */
.hero-anim {
  animation: hFadeUp 0.75s ease both;
  /* "both" = aplikuje from-stav před startem, to-stav po konci */
}

/* Postupné zpoždění pro každý element */
.hero-anim--1 { animation-delay: 0.05s; }
.hero-anim--2 { animation-delay: 0.15s; }
.hero-anim--3 { animation-delay: 0.28s; }
.hero-anim--4 { animation-delay: 0.42s; }
.hero-anim--5 { animation-delay: 0.58s; }

/* Zrušit hero [data-animate] skrytí – toto bylo příčinou neviditelnosti */
.spark-hero [data-animate] {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* =========================================
   KLIENTSKÝ PORTÁL – KOMPLETNÍ REDESIGN
   ========================================= */

/* Skrýt hlavní header/footer na portálové stránce */
.page-template-page-portal #site-header,
.page-template-page-portal #site-footer,
.page-template-page-portal .site-content > main {
  display: none;
}
.page-template-page-portal #content { padding: 0; }

/* Portál zabere celou stránku */
.portal-page {
  min-height: 100vh;
  background: #f7f5fb;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
}

/* ---- TOP BAR ---- */
.portal-top-bar {
  background: white;
  border-bottom: 1px solid rgba(184,73,248,.1);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(184,73,248,.07);
}

.portal-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.portal-logo__spark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--spark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.portal-logo__ostrava {
  font-size: .55rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--spark-muted);
  font-weight: 600;
}

/* Navigace v top baru */
.portal-nav-tabs {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.portal-nav-tabs::-webkit-scrollbar { display: none; }

.portal-nav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--spark-text-light);
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}
.portal-nav-tab:hover { background: var(--spark-light); color: var(--spark-purple); }
.portal-nav-tab.active {
  background: var(--spark-gradient);
  color: white;
  font-weight: 600;
}
.portal-nav-tab span { font-size: 1rem; }

/* User menu */
.portal-user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.portal-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--spark-gradient);
  color: white;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.portal-user-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--spark-dark);
}
.portal-logout-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--spark-light);
  color: var(--spark-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .2s;
}
.portal-logout-btn:hover { background: #fee2e2; color: #ef4444; }

/* ---- BODY ---- */
.portal-body {
  flex: 1;
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ---- DASHBOARD ---- */
.portal-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.portal-welcome h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--spark-dark);
  margin-bottom: 6px;
}
.portal-welcome p { color: var(--spark-text-light); margin: 0; font-size: .95rem; }
.portal-welcome__date {
  font-size: .85rem;
  color: var(--spark-muted);
  white-space: nowrap;
  padding-top: 8px;
}

/* 4 hlavní karty */
.portal-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.portal-dash-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 16px rgba(184,73,248,.08);
  border: 1px solid rgba(184,73,248,.1);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.portal-dash-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--spark-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.portal-dash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(184,73,248,.18);
  color: inherit;
}
.portal-dash-card:hover::before { transform: scaleX(1); }

.portal-dash-card__icon {
  font-size: 2.4rem;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--spark-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s;
}
.portal-dash-card:hover .portal-dash-card__icon { background: var(--spark-gradient); }

.portal-dash-card__content { flex: 1; }
.portal-dash-card__content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--spark-dark);
  margin-bottom: 4px;
}
.portal-dash-card__content p {
  font-size: .85rem;
  color: var(--spark-text-light);
  margin: 0;
}
.portal-dash-card__arrow {
  font-size: 1.2rem;
  color: var(--spark-muted);
  transition: transform .25s, color .25s;
}
.portal-dash-card:hover .portal-dash-card__arrow {
  transform: translateX(4px);
  color: var(--spark-purple);
}

/* Rychlý přehled */
.portal-quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portal-quick-card {
  background: white;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(184,73,248,.06);
  border: 1px solid rgba(184,73,248,.08);
}
.portal-quick-card__label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--spark-muted);
  margin-bottom: 8px;
}
.portal-quick-card__value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--spark-dark);
  margin-bottom: 4px;
}
.portal-quick-card__sub { font-size: .8rem; color: var(--spark-text-light); }

/* ---- SEKCE STRÁNKY ---- */
.portal-section-page { max-width: 900px; }

.portal-section-header { margin-bottom: 32px; }
.portal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--spark-muted);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color .2s;
}
.portal-back:hover { color: var(--spark-purple); }
.portal-section-header h1 {
  font-size: clamp(1.5rem,3vw,1.8rem);
  color: var(--spark-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.portal-section-header p { color: var(--spark-text-light); margin: 0; }

.portal-sub-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--spark-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--spark-light);
}

/* ---- TABULKA ---- */
.portal-table-wrap {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(184,73,248,.08);
  border: 1px solid rgba(184,73,248,.1);
  overflow-x: auto;
}
.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.portal-table thead {
  background: linear-gradient(135deg,#f3e8ff,#ede0fb);
}
.portal-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--spark-purple);
  white-space: nowrap;
}
.portal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(184,73,248,.07);
  color: var(--spark-text);
}
.portal-table tr:last-child td { border-bottom: none; }
.portal-table tr:hover td { background: #faf7ff; }

/* ---- BADGE ---- */
.portal-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--spark-light);
  color: var(--spark-purple);
  white-space: nowrap;
}
.portal-badge--upcoming { background: #ede9fe; color: #7c3aed; }
.portal-badge--past     { background: #f3f4f6; color: #6b7280; }
.portal-badge--dulezite { background: #fee2e2; color: #dc2626; }
.portal-badge--info     { background: #dbeafe; color: #2563eb; }
.portal-badge--uspech   { background: #d1fae5; color: #059669; }

/* ---- STATUS ---- */
.portal-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.portal-status--green { background: #d1fae5; color: #059669; }
.portal-status--red   { background: #fee2e2; color: #dc2626; }

/* ---- ATTENDANCE STATS ---- */
.portal-attendance-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.portal-stat-pill {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: .9rem;
}
.portal-stat-pill strong { display: block; font-size: 1.6rem; font-family: var(--font-display); }
.portal-stat-pill--green  { background: #d1fae5; color: #065f46; }
.portal-stat-pill--red    { background: #fee2e2; color: #991b1b; }
.portal-stat-pill--purple { background: #ede9fe; color: #5b21b6; }

/* ---- EMPTY STATE ---- */
.portal-empty-state {
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(184,73,248,.07);
  border: 1px solid rgba(184,73,248,.1);
}
.portal-empty-state__icon { font-size: 3rem; margin-bottom: 16px; }
.portal-empty-state h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--spark-dark); margin-bottom: 8px; }
.portal-empty-state p { color: var(--spark-text-light); }

/* ---- INFO BOX ---- */
.portal-info-box {
  background: #ede9fe;
  border-left: 4px solid var(--spark-purple);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-top: 24px;
  font-size: .9rem;
  color: var(--spark-text);
}
.portal-info-box strong { display: block; margin-bottom: 4px; color: var(--spark-purple); }
.portal-info-box a { color: var(--spark-purple); font-weight: 600; }

/* ---- SOUTĚŽE ---- */
.portal-souteze-list { display: flex; flex-direction: column; gap: 14px; }
.portal-soutez-card {
  background: white;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 2px 12px rgba(184,73,248,.07);
  border: 1px solid rgba(184,73,248,.1);
}
.portal-soutez-card--upcoming { border-left: 4px solid var(--spark-purple); }
.portal-soutez-card--past     { border-left: 4px solid #d1d5db; opacity: .85; }

.portal-soutez-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--spark-gradient);
  color: white;
  border-radius: 12px;
  padding: 10px 16px;
  min-width: 56px;
  flex-shrink: 0;
}
.portal-soutez-card__date--past { background: #e5e7eb; }
.portal-soutez-card__date--past .portal-soutez-card__day,
.portal-soutez-card__date--past .portal-soutez-card__month { color: #6b7280; }

.portal-soutez-card__day { font-size: 1.4rem; font-weight: 700; font-family: var(--font-display); line-height: 1; }
.portal-soutez-card__month { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; opacity: .8; }

.portal-soutez-card__body { flex: 1; }
.portal-soutez-card__body h3 { font-size: 1rem; color: var(--spark-dark); margin-bottom: 6px; }
.portal-soutez-card__meta { font-size: .8rem; color: var(--spark-muted); margin-bottom: 6px; }
.portal-soutez-card__info { font-size: .85rem; color: var(--spark-text-light); margin: 0; }

/* ---- OZNÁMENÍ ---- */
.portal-oznameni-list { display: flex; flex-direction: column; gap: 16px; }
.portal-oznameni {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 2px 12px rgba(184,73,248,.07);
}
.portal-oznameni__stripe {
  width: 5px;
  flex-shrink: 0;
}
.portal-oznameni--dulezite .portal-oznameni__stripe { background: #ef4444; }
.portal-oznameni--info     .portal-oznameni__stripe { background: #3b82f6; }
.portal-oznameni--uspech   .portal-oznameni__stripe { background: #10b981; }

.portal-oznameni__body { padding: 20px 24px; flex: 1; }
.portal-oznameni__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.portal-oznameni__date { font-size: .8rem; color: var(--spark-muted); }
.portal-oznameni__title { font-size: 1rem; color: var(--spark-dark); margin-bottom: 6px; font-weight: 700; }
.portal-oznameni p { font-size: .9rem; color: var(--spark-text-light); margin: 0; }

/* ---- KONTAKTY ---- */
.portal-contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portal-contact-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(184,73,248,.07);
  border: 1px solid rgba(184,73,248,.08);
}
.portal-contact-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--spark-gradient);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.portal-contact-info { display: flex; flex-direction: column; gap: 3px; }
.portal-contact-info strong { font-size: .9rem; color: var(--spark-dark); }
.portal-contact-info span  { font-size: .8rem; color: var(--spark-muted); }
.portal-contact-info a { font-size: .8rem; color: var(--spark-purple); text-decoration: none; }
.portal-contact-info a:hover { text-decoration: underline; }

/* ---- MOBILNÍ PORTÁL ---- */
@media (max-width: 768px) {
  .portal-top-bar { padding: 0 16px; gap: 12px; }
  .portal-user-name { display: none; }
  .portal-nav-tabs { gap: 2px; }
  .portal-nav-tab { padding: 8px 10px; font-size: .8rem; gap: 4px; }
  .portal-body { padding: 16px; }
  .portal-cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .portal-quick-info { grid-template-columns: 1fr; }
  .portal-contacts-grid { grid-template-columns: 1fr; }
  .portal-welcome { flex-direction: column; }
  .portal-welcome__date { display: none; }
}

/* ═══════════════════════════════════════════
   SP-PORTAL – kompletní samostatný layout
   (používá sp- prefix aby nedošlo ke konfliktům)
   ═══════════════════════════════════════════ */

.sp-portal {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f0ebfa;
  font-family: 'DM Sans', Arial, sans-serif;
}

/* ── TOP BAR ─────────────────────────────── */
.sp-topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid rgba(184,73,248,.12);
  box-shadow: 0 2px 16px rgba(184,73,248,.07);
  height: 62px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
}
.admin-bar .sp-topbar { top: 32px; }
@media screen and (max-width:782px) {
  .admin-bar .sp-topbar { top: 46px; }
}

.sp-topbar__logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.sp-topbar__logo-spark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg,#E27FED,#B849F8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sp-topbar__logo-ostrava {
  font-size: .5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9b7db5;
  font-weight: 600;
}

.sp-topbar__nav {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.sp-topbar__nav::-webkit-scrollbar { display: none; }

.sp-topbar__tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 500;
  color: #7a5f99;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
  border: none;
}
.sp-topbar__tab:hover { background: #f5eeff; color: #B849F8; }
.sp-topbar__tab.is-active {
  background: linear-gradient(135deg,#E27FED,#B849F8);
  color: #fff;
  font-weight: 600;
}
.sp-topbar__tab-ico { font-size: 1rem; }

.sp-topbar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.sp-topbar__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg,#E27FED,#B849F8);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-topbar__uname {
  font-size: .875rem;
  font-weight: 600;
  color: #1a0a2e;
}
.sp-topbar__logout {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #f5eeff;
  color: #9b7db5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .2s;
}
.sp-topbar__logout:hover { background: #fee2e2; color: #ef4444; }

/* ── MAIN ────────────────────────────────── */
.sp-main {
  flex: 1;
  padding: 36px 40px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* ── WELCOME ─────────────────────────────── */
.sp-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
}
.sp-welcome__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem,3vw,2.1rem);
  color: #1a0a2e;
  margin: 0 0 6px;
  line-height: 1.2;
}
.sp-welcome__name {
  background: linear-gradient(135deg,#E27FED,#B849F8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sp-welcome__sub { color: #7a5f99; margin: 0; font-size: .95rem; }
.sp-welcome__date { font-size: .82rem; color: #9b7db5; padding-top: 8px; white-space: nowrap; }

/* ── 4 KARTY ─────────────────────────────── */
.sp-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.sp-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 18px rgba(184,73,248,.09);
  border: 1.5px solid rgba(184,73,248,.1);
  transition: all .22s;
  position: relative;
  overflow: hidden;
}
.sp-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg,#E27FED,#B849F8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s;
}
.sp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(184,73,248,.2);
  border-color: rgba(184,73,248,.25);
  color: inherit;
}
.sp-card:hover::after { transform: scaleX(1); }

.sp-card__icon {
  font-size: 2.2rem;
  width: 62px; height: 62px;
  border-radius: 16px;
  background: #f5eeff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .22s;
}
.sp-card:hover .sp-card__icon {
  background: linear-gradient(135deg,#E27FED,#B849F8);
}

.sp-card__body { flex: 1; }
.sp-card__body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: #1a0a2e;
  margin: 0 0 5px;
  font-weight: 700;
}
.sp-card__body p {
  font-size: .83rem;
  color: #7a5f99;
  margin: 0;
  line-height: 1.5;
}

.sp-card__arrow {
  font-size: 1.2rem;
  color: #c9a8e8;
  transition: transform .22s, color .22s;
}
.sp-card:hover .sp-card__arrow { transform: translateX(5px); color: #B849F8; }

/* ── RYCHLÝ PŘEHLED ──────────────────────── */
.sp-quick {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.sp-quick__card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 2px 12px rgba(184,73,248,.07);
  border: 1px solid rgba(184,73,248,.08);
}
.sp-quick__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9b7db5; margin-bottom: 8px; }
.sp-quick__val { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; color: #1a0a2e; margin-bottom: 3px; }
.sp-quick__sub { font-size: .78rem; color: #9b7db5; }

/* ── SEKCE STRÁNKY ───────────────────────── */
.sp-section { max-width: 860px; }
.sp-section__head { margin-bottom: 28px; }
.sp-section__head h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem,3vw,1.75rem);
  color: #1a0a2e;
  margin: 8px 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-section__head p { color: #7a5f99; margin: 0; font-size: .9rem; }
.sp-section__subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  color: #1a0a2e;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ede8f8;
}

.sp-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .83rem;
  color: #9b7db5;
  text-decoration: none;
  transition: color .2s;
}
.sp-back:hover { color: #B849F8; }

/* ── TABULKA ─────────────────────────────── */
.sp-table-wrap {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(184,73,248,.08);
  border: 1px solid rgba(184,73,248,.1);
  overflow-x: auto;
}
.sp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.sp-table thead { background: linear-gradient(135deg,#f3e8ff,#ede0fb); }
.sp-table th {
  padding: 13px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #B849F8;
  white-space: nowrap;
}
.sp-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(184,73,248,.07);
  color: #3d2a56;
}
.sp-table tr:last-child td { border-bottom: none; }
.sp-table tr:hover td { background: #faf7ff; }

/* ── PILLS / BADGES ──────────────────────── */
.sp-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 600;
  background: #f0ebfa;
  color: #B849F8;
  white-space: nowrap;
}
.sp-pill--purple  { background: #ede9fe; color: #7c3aed; }
.sp-pill--gray    { background: #f3f4f6; color: #6b7280; }
.sp-pill--dulezite{ background: #fee2e2; color: #dc2626; }
.sp-pill--info    { background: #dbeafe; color: #2563eb; }
.sp-pill--uspech  { background: #d1fae5; color: #059669; }

/* ── STATUS ─────────────────────────────── */
.sp-status { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.sp-status--green { background: #d1fae5; color: #059669; }
.sp-status--red   { background: #fee2e2; color: #dc2626; }

/* ── STATS ROW ──────────────────────────── */
.sp-stats-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.sp-stat-chip { padding: 10px 20px; border-radius: 12px; font-size: .9rem; }
.sp-stat-chip strong { display: block; font-size: 1.6rem; font-family: 'Playfair Display',serif; }
.sp-stat-chip--green  { background: #d1fae5; color: #065f46; }
.sp-stat-chip--red    { background: #fee2e2; color: #991b1b; }
.sp-stat-chip--purple { background: #ede9fe; color: #5b21b6; }

/* ── EMPTY STATE ────────────────────────── */
.sp-empty {
  background: #fff;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(184,73,248,.07);
}
.sp-empty__ico { font-size: 3rem; margin-bottom: 14px; }
.sp-empty h3 { font-family: 'Playfair Display',serif; font-size: 1.3rem; color: #1a0a2e; margin-bottom: 8px; }
.sp-empty p { color: #7a5f99; }

/* ── INFO BOX ───────────────────────────── */
.sp-infobox {
  background: #ede9fe;
  border-left: 4px solid #B849F8;
  border-radius: 0 12px 12px 0;
  padding: 15px 18px;
  margin-top: 22px;
  font-size: .88rem;
  color: #3d2a56;
}
.sp-infobox strong { display: block; margin-bottom: 3px; color: #B849F8; }
.sp-infobox a { color: #B849F8; font-weight: 600; }

/* ── COMPETITION CARDS ──────────────────── */
.sp-comp-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(184,73,248,.07);
}
.sp-comp-card--upcoming { border-left: 4px solid #B849F8; }
.sp-comp-card--past     { border-left: 4px solid #d1d5db; opacity: .82; }

.sp-comp-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg,#E27FED,#B849F8);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 52px;
  flex-shrink: 0;
  font-weight: 700;
}
.sp-comp-card__date--past { background: #e5e7eb; }
.sp-comp-card__date--past span { color: #6b7280; }
.sp-comp-card__date span:first-child { font-size: 1.4rem; line-height: 1; }
.sp-comp-card__date span:last-child  { font-size: .65rem; text-transform: uppercase; letter-spacing: 1px; opacity: .85; }

.sp-comp-card__info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sp-comp-card__info strong { font-size: .95rem; color: #1a0a2e; font-family: 'Playfair Display',serif; }
.sp-comp-card__info span   { font-size: .8rem; color: #9b7db5; }
.sp-comp-card__info em     { font-size: .82rem; color: #7a5f99; font-style: normal; }

/* ── ANNOUNCEMENTS ──────────────────────── */
.sp-announcements { display: flex; flex-direction: column; gap: 14px; }
.sp-announce {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 2px 12px rgba(184,73,248,.07);
}
.sp-announce__bar { width: 5px; flex-shrink: 0; }
.sp-announce--dulezite .sp-announce__bar { background: #ef4444; }
.sp-announce--info     .sp-announce__bar { background: #3b82f6; }
.sp-announce--uspech   .sp-announce__bar { background: #10b981; }
.sp-announce__body { padding: 18px 22px; flex: 1; }
.sp-announce__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.sp-announce__date { font-size: .78rem; color: #9b7db5; }
.sp-announce__body h3 { font-size: .95rem; color: #1a0a2e; margin-bottom: 5px; font-weight: 700; font-family: inherit; }
.sp-announce__body p  { font-size: .87rem; color: #7a5f99; margin: 0; }

/* ── CONTACTS ───────────────────────────── */
.sp-contacts { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.sp-contact {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(184,73,248,.07);
  border: 1px solid rgba(184,73,248,.08);
}
.sp-contact__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg,#E27FED,#B849F8);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-contact__info { display: flex; flex-direction: column; gap: 3px; }
.sp-contact__info strong { font-size: .88rem; color: #1a0a2e; }
.sp-contact__info span   { font-size: .78rem; color: #9b7db5; }
.sp-contact__info a      { font-size: .78rem; color: #B849F8; text-decoration: none; }
.sp-contact__info a:hover { text-decoration: underline; }

/* ── MOBILNÍ ────────────────────────────── */
@media (max-width: 768px) {
  .sp-topbar { padding: 0 14px; gap: 10px; }
  .sp-topbar__uname { display: none; }
  .sp-topbar__tab { padding: 7px 10px; font-size: .78rem; }
  .sp-main { padding: 20px 16px; }
  .sp-cards { grid-template-columns: 1fr; }
  .sp-quick { grid-template-columns: 1fr; }
  .sp-contacts { grid-template-columns: 1fr; }
  .sp-welcome { flex-direction: column; }
  .sp-welcome__date { display: none; }
}

/* ═══════════════════════════════════════
   OPRAVY – ikona portálu, mobilní menu, header gap
   ═══════════════════════════════════════ */

/* 1. Ikona portálu – SVG login person */
.nav-parents-btn .portal-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
}

/* 2. Header – žádná mezera, vždy úplně nahoře */
#site-header {
  top: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Admin bar fix – header se posouvá dolů o výšku admin baru */
.admin-bar #site-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar #site-header {
    top: 46px !important;
  }
}
/* Pro přihlášené uživatele bez admin baru */
body:not(.admin-bar) #site-header {
  top: 0 !important;
}

/* 3. Mobilní menu – plné bílé pozadí, viditelné položky */
@media (max-width: 768px) {
  #primary-navigation {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    z-index: 9998 !important;
    padding: 40px 24px !important;
    overflow-y: auto;
    /* Posun dolů o výšku headeru aby nešel přes logo */
    padding-top: 100px !important;
  }

  #primary-navigation.open {
    display: flex !important;
  }

  /* Všechny položky menu viditelné */
  #primary-navigation ul {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px;
    text-align: center !important;
    background: transparent !important;
  }

  #primary-navigation ul li {
    width: 100%;
    display: block;
    background: transparent !important;
  }

  #primary-navigation a {
    font-size: 1.3rem !important;
    padding: 16px 24px !important;
    color: #1a0a2e !important;
    display: block !important;
    width: 100%;
    background: transparent !important;
  }

  #primary-navigation a:hover {
    background: #f5eeff !important;
    color: #B849F8 !important;
    border-radius: 12px;
  }

  /* Portál tlačítko v menu – velké a viditelné */
  #primary-navigation .nav-parents-btn {
    background: linear-gradient(135deg, #E27FED, #B849F8) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    margin: 8px auto 0 !important;
    display: inline-flex !important;
    width: auto !important;
    padding: 14px 32px !important;
    font-size: 1.1rem !important;
    align-items: center;
    justify-content: center;
  }

  /* Toggle button nad menu */
  .mobile-menu-toggle {
    position: relative;
    z-index: 9999 !important;
  }
}

/* Portál tlačítko – SVG ikona + text správně zarovnané */
.nav-parents-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}
.nav-parents-btn .portal-icon {
  width: 17px !important;
  height: 17px !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
}

/* ══════════════════════════════════════════════════════
   DOPLŇKY – logo img, hero stats nový styl, přihláška
   ══════════════════════════════════════════════════════ */

/* Hero – nábor subtitle */
.hero-nabor-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
  padding-left: 4px;
  letter-spacing: 0.3px;
  font-style: italic;
}

/* Hero stats – nový styl bez čísel */
.hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px 0 0;
}
.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255,255,255,.08);
  padding-left: 16px;
  padding-right: 0;
}
.hero-stat-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.hero-stat-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  line-height: 1.3;
}
/* Skrýt staré hero-stat-number pokud existuje */
.hero-stat-number { display: none; }

/* Online přihláška – nav */
.nav-prihlaska-btn {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
}
.nav-prihlaska-btn:hover {
  background: rgba(255,255,255,0.22) !important;
}

/* Formulář přihlášky */
.spark-prihlaska-form {
  background: var(--spark-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,127,237,.1);
}
.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: .95rem;
  color: var(--spark-text);
  padding: 10px 16px;
  border: 2px solid rgba(226,127,237,.2);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  margin-right: 8px;
}
.radio-label input { margin: 0; }
.radio-label:has(input:checked) {
  border-color: var(--spark-purple);
  background: var(--spark-light);
}

/* Mobile – hero stats */
@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(3,1fr) !important;
  }
  .hero-stat-label { font-size: .8rem; }
  .hero-stat-sub   { font-size: .65rem; }
}
@media (max-width: 480px) {
  .spark-prihlaska-form { padding: 28px 20px; }
}

/* ══════════════════════════════════════
   PŘIHLÁŠKA – FORM STYLY
   ══════════════════════════════════════ */

/* Select */
.spark-prihlaska-form select {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid rgba(226,127,237,.2);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--spark-dark);
  background: var(--spark-white);
  cursor: pointer;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B849F8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}
.spark-prihlaska-form select:focus {
  border-color: var(--spark-pink);
  box-shadow: 0 0 0 4px rgba(226,127,237,.12);
}
.spark-prihlaska-form select option[disabled] {
  color: var(--spark-muted);
}

/* Form inputs obecně */
.spark-prihlaska-form .form-group {
  margin-bottom: 22px;
}
.spark-prihlaska-form .form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--spark-dark);
  margin-bottom: 8px;
}
.spark-prihlaska-form input[type="text"],
.spark-prihlaska-form input[type="email"],
.spark-prihlaska-form input[type="tel"],
.spark-prihlaska-form textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid rgba(226,127,237,.2);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--spark-dark);
  background: var(--spark-white);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  box-sizing: border-box;
}
.spark-prihlaska-form input:focus,
.spark-prihlaska-form textarea:focus {
  border-color: var(--spark-pink);
  box-shadow: 0 0 0 4px rgba(226,127,237,.12);
}
.spark-prihlaska-form input::placeholder,
.spark-prihlaska-form textarea::placeholder {
  color: #c9b8d8;
}
.spark-prihlaska-form textarea {
  min-height: 110px;
  resize: vertical;
}

/* Grid na mobilu – jeden sloupec */
@media (max-width: 600px) {
  .spark-prihlaska-form > div[style*="grid-template-columns"] {
    display: block !important;
  }
  .contact-form-wrapper {
    padding: 28px 20px !important;
    border-radius: 16px !important;
  }
}

/* ══════════════════════════════════════════════════════════
   OPRAVY – batch update
   ══════════════════════════════════════════════════════════ */

/* ── 1. HEADER – vyšší kvůli většímu logu ── */
.site-header-inner { height: 84px !important; }

/* ── 3. KLUB – nadpis Spark bílý ── */
.page-hero--klub .page-hero__title,
.page-hero--klub .page-hero__title .gradient-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
}
.page-hero--klub .page-hero__title .gradient-text {
  background: var(--spark-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ── 4. KLUB – coaches grid, lepší zarovnání ── */
.coaches-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
.coach-card {
  text-align: center;
  padding: 32px 24px !important;
}
.coach-card__avatar {
  width: 80px !important; height: 80px !important;
  font-size: 1.4rem !important;
  margin: 0 auto 16px !important;
}
.coach-card__name {
  font-size: 1.1rem !important;
  line-height: 1.3 !important;
  margin-bottom: 6px !important;
}

/* ── 5. PRO NOVÁČKY – bílé texty v hero ── */
.page-hero--novacky,
.page-hero--prihlaska { color: #fff; }
.page-hero--novacky .page-hero__title,
.page-hero--novacky .page-hero__description,
.page-hero--prihlaska .page-hero__title,
.page-hero--prihlaska .page-hero__description {
  color: #ffffff !important;
}
.page-hero--novacky .page-hero__eyebrow {
  -webkit-text-fill-color: transparent !important;
}

/* ── 6. PRO NOVÁČKY – výbava boxy ── */
.requirements-section { background: var(--spark-dark) !important; }
.requirements-section .section-header .section-title {
  color: #ffffff !important;
}
.requirements-section .section-header .section-label {
  -webkit-text-fill-color: transparent !important;
}
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.requirement-card {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(226,127,237,.25) !important;
  border-radius: 20px !important;
  padding: 36px 32px !important;
  text-align: center;
  transition: all .25s;
}
.requirement-card:hover {
  background: rgba(226,127,237,.1) !important;
  border-color: rgba(226,127,237,.5) !important;
  transform: translateY(-4px);
}
.requirement-card h3 {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  margin-bottom: 20px !important;
  font-family: var(--font-display);
}
.requirement-card ul { list-style: none !important; padding: 0 !important; }
.requirement-card ul li {
  color: rgba(255,255,255,.8) !important;
  font-size: .95rem !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  display: flex; align-items: center; gap: 10px; justify-content: center;
}
.requirement-card ul li:last-child { border-bottom: none !important; }
.requirement-card ul li::before {
  content: '✓';
  color: #E27FED;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── 7. KROKY – bílé texty ── */
.steps-section { background: #ffffff; }
.steps-section .section-header .section-title { color: var(--spark-dark) !important; }
.steps-section .section-header .section-label { -webkit-text-fill-color: transparent !important; }
.step-card__title { color: var(--spark-dark) !important; font-size: 1rem !important; }
.step-card__text { color: var(--spark-text-light) !important; font-size: .88rem !important; }

/* ── 8. HEADER na všech stránkách – bílé texty ── */
.page-hero { padding-top: 100px !important; }

/* ── 9. PŘIHLÁŠKA – GDPR zarovnání ── */
.spark-prihlaska-form .form-group label[style*="flex"] {
  align-items: center !important;
}
.spark-prihlaska-form input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  margin-top: 0 !important;
  cursor: pointer;
}

/* ── 10. GALERIE – hezčí design ── */
.gallery-grid-inner {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}
.gallery-item {
  border-radius: 16px !important;
  overflow: hidden !important;
  aspect-ratio: 4/3 !important;
  background: var(--spark-light) !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  position: relative;
  transition: transform .25s, box-shadow .25s !important;
  box-shadow: 0 4px 20px rgba(184,73,248,.1) !important;
}
.gallery-item:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 8px 30px rgba(184,73,248,.25) !important;
}

/* ── 11. MOBILE – menu opravy ── */
@media (max-width: 768px) {
  .coaches-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .requirements-grid { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════════════════════
   ÚSPĚCHY – nový design
   ══════════════════════════════════════════════════════════ */
.uspechy-section { background: var(--spark-white); }

/* Filtrovací tlačítka ročníků */
.year-filter {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 48px;
}
.year-btn {
  padding: 10px 28px;
  border-radius: 999px;
  border: 2px solid rgba(226,127,237,.3);
  background: var(--spark-white);
  color: var(--spark-text);
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.year-btn:hover { border-color: var(--spark-purple); color: var(--spark-purple); }
.year-btn.active {
  background: var(--spark-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(184,73,248,.3);
}

/* Rok heading */
.year-heading {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px;
}
.year-num {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700;
  color: var(--spark-dark);
}
.year-badge {
  background: var(--spark-light);
  color: var(--spark-purple);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: .8rem; font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Grid karet kategoriÍ */
.uspechy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.uspech-card {
  background: var(--spark-white);
  border: 1.5px solid rgba(226,127,237,.15);
  border-radius: 20px;
  padding: 28px 28px;
  box-shadow: 0 2px 16px rgba(184,73,248,.08);
  transition: all .2s;
}
.uspech-card:hover {
  border-color: rgba(226,127,237,.4);
  box-shadow: 0 8px 30px rgba(184,73,248,.15);
  transform: translateY(-3px);
}
.uspech-card__kat {
  font-weight: 700; font-size: 1rem;
  color: var(--spark-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226,127,237,.15);
}
.uspech-result {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  font-size: .92rem; color: var(--spark-text);
  border-bottom: 1px solid rgba(226,127,237,.08);
}
.uspech-result:last-child { border-bottom: none; }
.uspech-medal { font-size: 1.4rem; }
.uspech-medal.gold  { filter: drop-shadow(0 0 6px rgba(255,215,0,.6)); }
.uspech-medal.silver{ filter: drop-shadow(0 0 6px rgba(192,192,192,.6)); }
.uspech-medal.bronze{ filter: drop-shadow(0 0 6px rgba(205,127,50,.6)); }
.uspech-result--empty { justify-content: center; padding: 20px 0; color: var(--spark-muted); }

@media (max-width: 600px) {
  .uspechy-grid { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════════════════════
   ROZVRH TRÉNINKŮ – design
   ══════════════════════════════════════════════════════════ */
.rozvrh-section { background: var(--spark-off-white); }

.rozvrh-info-box {
  display: flex; align-items: center; gap: 16px;
  background: var(--spark-white);
  border: 1.5px solid rgba(226,127,237,.2);
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(184,73,248,.07);
}
.rozvrh-info-box__icon { font-size: 1.6rem; }
.rozvrh-info-box strong { display: block; color: var(--spark-dark); font-weight: 700; }
.rozvrh-info-box span  { color: var(--spark-text-light); font-size: .92rem; }

.rozvrh-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.rozvrh-card {
  background: var(--spark-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(184,73,248,.08);
  transition: all .2s;
}
.rozvrh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(184,73,248,.18);
}
.rozvrh-card__header {
  padding: 20px 24px;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--spark-dark) 0%, var(--spark-dark-2) 100%);
}
.rozvrh-card__icon { font-size: 1.8rem; }
.rozvrh-card__name {
  color: #fff !important;
  font-size: 1.1rem !important;
  margin: 0 0 3px !important;
}
.rozvrh-card__vek {
  color: rgba(255,255,255,.55);
  font-size: .8rem;
}
.rozvrh-card__treninky { padding: 8px 0; }
.rozvrh-card__trening {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(226,127,237,.08);
}
.rozvrh-card__trening:last-child { border-bottom: none; }
.rozvrh-card__den {
  font-weight: 600; color: var(--spark-dark);
  font-size: .9rem;
}
.rozvrh-card__cas {
  color: var(--spark-purple);
  font-weight: 700; font-size: .9rem;
  background: var(--spark-light);
  padding: 4px 12px; border-radius: 999px;
}

.rozvrh-note {
  text-align: center;
  background: var(--spark-white);
  border-radius: 16px;
  padding: 28px 32px;
  border: 1px solid rgba(226,127,237,.15);
}
.rozvrh-note p { color: var(--spark-text-light); margin: 0; }

@media (max-width: 700px) {
  .rozvrh-cards { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════════════════════
   GALERIE – hezčí design
   ══════════════════════════════════════════════════════════ */

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

.gallery-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.gallery-filter {
  padding: 9px 22px;
  border-radius: 999px;
  border: 2px solid rgba(226,127,237,.25);
  background: transparent;
  color: var(--spark-text);
  font-family: var(--font-body);
  font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.gallery-filter.active,
.gallery-filter:hover {
  background: var(--spark-gradient);
  border-color: transparent;
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--spark-light);
  box-shadow: 0 4px 16px rgba(184,73,248,.1);
  transition: all .25s;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 32px rgba(184,73,248,.25);
  z-index: 1;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,10,46,.7), rgba(184,73,248,.5));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
  gap: 8px;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__zoom { font-size: 2rem; }
.gallery-item__title {
  color: #fff; font-size: .85rem;
  font-weight: 600; text-align: center;
  padding: 0 12px;
}
/* Placeholder (bez fotek) */
.gallery-item__placeholder,
.gallery-placeholder-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--spark-light) 0%, var(--spark-light-2) 100%);
  color: var(--spark-muted);
  font-size: .85rem;
}
.gallery-placeholder-inner span:first-child { font-size: 2.5rem; }

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ══════════════════════════════════════════════════════════
   PŘIHLÁŠKA – GDPR zarovnání fix
   ══════════════════════════════════════════════════════════ */
.spark-prihlaska-form .gdpr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.spark-prihlaska-form .gdpr-row input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  flex-shrink: 0;
  margin: 0 !important;
  accent-color: #B849F8;
  cursor: pointer;
}
.spark-prihlaska-form .gdpr-row span {
  font-size: .9rem;
  color: var(--spark-text-light);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   PAGE HERO – všechny stránky viditelné přes header
   ══════════════════════════════════════════════════════════ */
.page-hero {
  padding-top: 120px !important;
  padding-bottom: 70px;
  position: relative;
  background: linear-gradient(135deg, var(--spark-dark) 0%, var(--spark-dark-2) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(226,127,237,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 50%, rgba(184,73,248,.1)   0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title,
.page-hero__description,
.page-hero__eyebrow {
  color: #fff !important;
}
.page-hero__title .gradient-text {
  background: var(--spark-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ══════════════════════════════════════════════════════════
   LOGO – větší v headeru
   ══════════════════════════════════════════════════════════ */
.site-logo .logo-img,
.logo-img { height: 58px !important; width: auto !important; }

/* ══════════════════════════════════════════════════════════
   KLUB – coaches grid fix
   ══════════════════════════════════════════════════════════ */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.coach-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px !important;
}
.coach-card__name {
  font-family: var(--font-display);
  font-size: 1rem !important;
  line-height: 1.3;
  margin-bottom: 4px !important;
  color: var(--spark-dark);
}
.coach-card__role {
  font-size: .82rem;
  color: var(--spark-muted);
}
.coach-card__avatar {
  width: 76px !important;
  height: 76px !important;
  border-radius: 50%;
  background: var(--spark-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px !important;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .coaches-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .coaches-grid { grid-template-columns: 1fr !important; }
}

/* Coach placeholder – oprava třídy */
.coach-card__placeholder {
  width: 76px !important;
  height: 76px !important;
  border-radius: 50% !important;
  background: var(--spark-gradient) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 16px !important;
  flex-shrink: 0 !important;
}
.coach-card__photo {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}
.coach-card__photo img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}
.coach-card__body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* ── Bílý text na primárním tlačítku – fix ── */
.btn-primary,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.hero-actions .btn-primary,
a.btn-primary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ══════════════════════════════════════════
   MOBILNÍ OPRAVY – hero sekce
   ══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Eyebrow štítek – odsazení od headeru (header má 64px výška) */
  .hero-two-col {
    padding-top: 90px !important;
  }
  .hero-nabor-sub {
    margin-top: 4px;
    margin-bottom: 12px;
  }

  /* Nadpis Spark Ostrava – větší na mobilu */
  .spark-hero .hero-title,
  .hero-title {
    font-size: clamp(3.2rem, 14vw, 5rem) !important;
    line-height: 1.05 !important;
    margin-bottom: 20px !important;
  }

  /* Popis pod nadpisem – menší na mobilu */
  .spark-hero .hero-description,
  .hero-description {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    color: rgba(255,255,255,0.75) !important;
    margin-bottom: 28px !important;
  }
}

@media (max-width: 480px) {
  .hero-two-col {
    padding-top: 80px !important;
  }
  .spark-hero .hero-title,
  .hero-title {
    font-size: clamp(3rem, 15vw, 4.5rem) !important;
  }
  .spark-hero .hero-description,
  .hero-description {
    font-size: 0.88rem !important;
  }
}

/* ── Radio tlačítka v přihlášce ── */
.radio-row {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.radio-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 2px solid #ede0fb;
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s ease;
  font-weight: 600;
  color: var(--spark-dark, #1a0a2e);
  background: #fff;
}
.radio-option:hover { border-color: var(--spark-purple, #B849F8); }
.radio-option input { accent-color: var(--spark-purple, #B849F8); width: 18px; height: 18px; cursor: pointer; }
.radio-option:has(input:checked) {
  border-color: var(--spark-purple, #B849F8);
  background: #faf7ff;
}

/* ══════════════════════════════════════════
   FAQ akordeon – Pro nováčky (vylepšený design)
   ══════════════════════════════════════════ */
.faq-section {
  background: #ffffff;
  position: relative;
}
.faq-list {
  max-width: 820px;
  margin: 8px auto 0;
}
.faq-item {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #efe4fb;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.faq-item:hover {
  border-color: #d9b8f5;
  box-shadow: 0 6px 22px rgba(184,73,248,.10);
}
.faq-item[open] {
  border-color: var(--spark-purple, #B849F8);
  box-shadow: 0 10px 32px rgba(184,73,248,.16);
}
/* barevný pruh vlevo, když je otevřeno */
.faq-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--spark-gradient, linear-gradient(180deg,#E27FED,#B849F8));
  opacity: 0;
  transition: opacity .25s ease;
}
.faq-item[open]::before { opacity: 1; }

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--font-display, sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--spark-dark, #1a0a2e);
  list-style: none;
  user-select: none;
  transition: color .2s ease;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--spark-purple, #B849F8); }
.faq-question > span:first-child { flex: 1; line-height: 1.35; }

/* kulaté plus/křížek tlačítko */
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
/* elegantní šipka (chevron) místo kolečka s plus */
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px;
  height: 2.5px;
  background: var(--spark-purple, #B849F8);
  border-radius: 2px;
}
.faq-icon::before { transform: translate(-72%, -50%) rotate(45deg); }
.faq-icon::after  { transform: translate(-28%, -50%) rotate(-45deg); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-question:hover .faq-icon::before,
.faq-question:hover .faq-icon::after { background: var(--spark-pink, #E27FED); }

.faq-answer {
  padding: 0 26px 24px 26px;
  color: var(--spark-text-light, #5a4a6a);
  font-size: 1rem;
  line-height: 1.75;
  animation: faqFade .35s ease;
}
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-answer a {
  color: var(--spark-purple, #B849F8);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(184,73,248,.3);
  word-break: break-word;
  transition: border-color .2s ease;
}
.faq-answer a:hover { border-color: var(--spark-purple, #B849F8); }

@media (max-width: 600px) {
  .faq-question { padding: 18px 18px; font-size: 1rem; gap: 12px; }
  .faq-icon { width: 30px; height: 30px; }
  .faq-answer { padding: 0 18px 20px 18px; font-size: .94rem; }
}

/* ══════════════════════════════════════════
   ÚPRAVA NADPISŮ – z tvrdé černé do fialova
   ══════════════════════════════════════════ */
/* Hlavní nadpisy sekcí – místo skoro černé použij tmavě fialovou */
.section-title,
.steps-section .section-header .section-title,
.requirements-section .section-header .section-title {
  color: #3d1a5c !important;      /* tmavá fialová místo #1a0a2e */
}

/* FAQ otázky – jemnější, tmavě fialové */
.faq-question {
  color: #3d1a5c !important;
  font-weight: 600 !important;    /* méně tučné než 700 */
}

/* Nadpisy karet (kroky, výbava) */
.step-card__title,
.requirement-card h3 {
  color: #4a2170 !important;
  font-weight: 600 !important;
}

/* Kontaktní nadpisy "Napište nám", "Najdete nás zde" */
.contact-form-wrap h2,
.contact-info h2 {
  color: #3d1a5c !important;
}

/* Silné/tučné texty v obsahu – zjemnit váhu */
.faq-answer strong,
.about-text strong,
.history-content strong {
  font-weight: 600;
  color: var(--spark-purple);
}

/* Kontaktní popisky (Adresa, Telefon, E-mail) – fialové místo černé */
.contact-info__item strong,
.contact-info strong {
  color: var(--spark-purple) !important;
  font-weight: 600 !important;
}

/* ══════════════════════════════════════════
   SVG ikony v krocích – elegantní čárové
   ══════════════════════════════════════════ */
.step-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(226,127,237,.12), rgba(184,73,248,.12));
  color: var(--spark-purple);
}
.step-card__icon svg {
  width: 28px;
  height: 28px;
}

/* ══════════════════════════════════════════
   SVG IKONY – jednotné styly napříč webem
   ══════════════════════════════════════════ */
/* ikony u kategorií (úspěchy, dropdown) */
.kat-ico {
  display: inline-flex;
  vertical-align: middle;
  color: var(--spark-purple);
  margin-right: 4px;
}
.kat-ico svg { display: block; }

/* medaile v úspěších */
.uspech-medal svg { display: block; color: #E8B923; }
.uspech-medal.gold { color: #E8B923; }

/* kontaktní ikony – fialové v jemném kroužku */
.contact-info__icon svg { display: block; color: var(--spark-purple); }

/* rozvrh info box ikona */
.rozvrh-info-box__icon svg { display: block; color: var(--spark-purple); }

/* rozvrh karty – ikony kategorií */
.rozvrh-card__icon svg { display: block; }

/* galerie */
.gallery-item__zoom svg { display: block; color: #fff; }

/* náhledové karty na HP */
.preview-card__icon svg { display: block; }

/* plovoucí badge v hero */
.about-badge-icon svg { display: block; color: var(--spark-purple); }

/* features pilulky pod hero */
.about-feature-pill svg { display: inline-block; vertical-align: middle; color: var(--spark-purple); }

/* ══════════════════════════════════════════
   GALERIE – alba (obálky) + single album + lightbox
   ══════════════════════════════════════════ */
/* Obálky alb na hlavní stránce galerie */
.gallery-album__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}
.gallery-album__count {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
  margin-top: 2px;
}
.gallery-album .gallery-item__overlay {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
  text-align: left;
}

/* Zpět odkaz */
.album-back {
  display: inline-block;
  color: var(--spark-purple);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 16px;
  transition: transform .2s ease;
}
.album-back:hover { transform: translateX(-4px); }

/* Mřížka fotek v albu */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.album-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #f5eeff;
}
.album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.album-item:hover img { transform: scale(1.06); }
.album-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(184,73,248,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}
.album-item:hover .album-item__overlay { opacity: 1; }
.album-item__zoom {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--spark-purple);
}
.album-item__zoom svg { display: block; }

/* LIGHTBOX */
.spark-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15,5,25,.95);
  display: none;
  align-items: center;
  justify-content: center;
}
.spark-lightbox.active { display: flex; }
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-caption {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  margin-top: 14px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
  z-index: 100000;
}
.lightbox-close {
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  font-size: 2rem;
  line-height: 1;
}
.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 1.6rem;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--spark-purple);
}
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

@media (max-width: 600px) {
  .album-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 1.2rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; width: 42px; height: 42px; }
}

/* =========================================
   HERO – VIDEO POZADÍ (v1.2)
   ========================================= */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay kvůli čitelnosti textu přes video */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(26,10,46,0.82) 0%, rgba(45,20,84,0.62) 50%, rgba(26,10,46,0.82) 100%);
}

/* Obsah hero nad videem */
.spark-hero .container,
.spark-hero .hero-particles,
.spark-hero .hero-scroll {
  position: relative;
  z-index: 1;
}

/* =========================================
   LOADER – jen první návštěva v session
   ========================================= */

.spark-skip-loader #spark-loader {
  display: none !important;
}

/* =========================================
   MIKROINTERAKCE (v1.2)
   ========================================= */

/* Shine efekt – světelný přejezd přes primární tlačítka */
.btn-primary,
.spark-btn-primary,
.nav-parents-btn {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.spark-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

.btn-primary:hover::after,
.spark-btn-primary:hover::after {
  left: 130%;
  transition: left 0.65s ease;
}

/* Jemný lift tlačítek */
.btn:hover,
.spark-btn:hover {
  transform: translateY(-2px);
}
.btn:active,
.spark-btn:active {
  transform: translateY(0);
}

/* Desktop menu – gradientové podtržení */
@media (min-width: 769px) {
  #primary-navigation li:not(:last-child):not(:nth-last-child(2)) a {
    position: relative;
  }
  #primary-navigation li:not(:last-child):not(:nth-last-child(2)) a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--spark-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #primary-navigation li:not(:last-child):not(:nth-last-child(2)) a:hover::after,
  #primary-navigation .current-menu-item:not(:last-child):not(:nth-last-child(2)) > a::after {
    transform: scaleX(1);
  }
}

/* Karty – lift + zoom obrázku */
.preview-card,
.trophy-card,
.testimonial-card,
.coach-card,
.gallery-item,
.album-item {
  will-change: transform;
}

.album-item img,
.gallery-item img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.album-item:hover img,
.gallery-item:hover img {
  transform: scale(1.06);
}

/* Focus stavy pro klávesnici (přístupnost) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--spark-purple);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =========================================
   PREFERS-REDUCED-MOTION (přístupnost)
   ========================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
  }
  .hero-video {
    display: none;
  }
}

/* =========================================
   ÚSPĚCHY – dynamické ročníky a medaile (v1.3)
   ========================================= */

.year-group--hidden {
  display: none;
}

.year-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.uspech-medal.silver { color: #A8A9AD; }
.uspech-medal.bronze { color: #CD7F32; }
.uspech-medal.plain  { color: var(--spark-purple); }
