/* ==========================================================================
   AKADEMIA KRECIKA - Oficjalna Strona Szkółki Piłkarskiej dla Dzieci
   Nowoczesny, dynamiczny, lekki arkusz stylów CSS (Core Web Vitals & a11y)
   ========================================================================== */

:root {
  /* Kolorystyka marki */
  --color-primary: #0052a5;
  --color-primary-hover: #003e80;
  --color-primary-dark: #082142;
  --color-primary-light: #edf5fd;
  --color-primary-gradient: linear-gradient(135deg, #0052a5 0%, #082142 100%);
  
  --color-accent: #e11d48;
  --color-accent-hover: #be123c;
  --color-accent-light: #ffe4e6;
  
  --color-gold: #f59e0b;
  --color-gold-dark: #d97706;
  --color-gold-light: #fef3c7;
  
  --color-navy: #082142;
  --color-navy-dark: #041226;
  
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-muted: #f1f5f9;
  --color-surface: #ffffff;
  
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;
  
  /* Odstępy i rytm pionowy (Spacing System) */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1.25rem;   /* 20px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-2xl: 4.5rem;   /* 72px */
  --space-3xl: 6rem;     /* 96px */
  
  /* Typografia */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --container-max: 1320px;
  --header-height: 80px;
  
  /* Zaokrąglenia */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Cienie (Modern elevation) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.11);
  --shadow-xl: 0 24px 50px rgba(15, 23, 42, 0.14);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   RESET & PODSTAWOWE USTAWIENIA
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--color-bg);
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
}

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

a:hover {
  color: var(--color-primary-hover);
}

ul, ol {
  list-style: none;
}

/* Dostępność - Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  z-index: 9999;
  font-weight: 700;
  transition: top 0.2s ease;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--color-gold);
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   TYPOGRAFIA & NAGŁÓWKI
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

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

.text-lead, .lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* --------------------------------------------------------------------------
   TAGI & BADGE PILLS
   -------------------------------------------------------------------------- */
.badge, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  line-height: 1.2;
}

.badge-primary, .section-tag {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid rgba(0, 82, 165, 0.2);
}

.badge-accent, .section-tag.tag-accent {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.badge-gold, .section-tag.tag-gold {
  background-color: var(--color-gold-light);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-secondary {
  background-color: var(--color-bg-muted);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   KONTENERY & SIATKA (LAYOUT & GRID)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
  max-width: 820px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 0.85rem;
}

/* Klasy siatki CSS Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

/* --------------------------------------------------------------------------
   KARTY (CARDS & ELEVATIONS)
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
  position: relative;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 82, 165, 0.3);
}

/* --------------------------------------------------------------------------
   PRZYCISKI (BUTTONS / CTA)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  min-height: 48px;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.45);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 82, 165, 0.25);
}

.btn-secondary:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 82, 165, 0.35);
}

.btn-gold {
  background-color: var(--color-gold);
  color: #0f172a;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  background-color: var(--color-gold-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  min-height: 40px;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   TOPBAR - Z PRESTIŻOWYM SPONSOREM TYTULARNYM ELEKTROSERV
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--color-navy);
  color: #f1f5f9;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1001;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2e8f0;
  white-space: nowrap;
}

.topbar-item a {
  color: #e2e8f0;
}

.topbar-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.topbar-extra {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* Wyróżniony Sponsor Tytularny Elektroserv w Topbarze */
.topbar-title-sponsor {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.topbar-title-sponsor:hover {
  transform: translateY(-1px);
}

.topbar-sponsor-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.topbar-title-sponsor img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

/* Partner Raków */
.topbar-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
}

.topbar-partner img {
  height: 18px;
  width: auto;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: var(--transition);
}

.topbar-social a:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

@media (max-width: 1240px) {
  .topbar-partner span {
    display: none;
  }
  .topbar-partner {
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 960px) {
  .topbar-contact .topbar-item:nth-child(2) {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   SITE HEADER & NAWIGACJA
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 56px;
  width: auto;
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.04);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1010;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.65rem 0.95rem;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-link:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding-left: 1.15rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text);
  border-radius: var(--radius-sm);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   DEDYKOWANE PEŁNE MENU MOBILNE (FULLSCREEN DRAWER)
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.28s ease;
}

.mobile-drawer[hidden] {
  display: none !important;
}

.mobile-drawer.open {
  display: block;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 33, 66, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  height: 100dvh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000000;
}

.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.mobile-drawer-brand img {
  height: 44px;
  width: auto;
}

.mobile-brand-name {
  font-family: var(--font-heading);
  font-weight: 850;
  font-size: 1.05rem;
  color: var(--color-navy);
  line-height: 1.2;
}

.mobile-brand-desc {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 650;
}

.mobile-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #f1f5f9;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-navy);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover,
.mobile-drawer-close:active {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.mobile-drawer-cta-wrap {
  padding: 0.85rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #003e7e 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 82, 165, 0.25);
  transition: all 0.2s ease;
}

.mobile-cta-btn:active {
  transform: scale(0.98);
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.15rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mobile-group-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.25rem;
  padding-left: 0.25rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-navy);
  font-weight: 750;
  font-size: 0.98rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item:active,
.mobile-nav-item.active {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.mobile-nav-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.mobile-nav-label {
  flex: 1;
}

.mobile-nav-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--color-accent);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.mobile-sublinks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mobile-sublink-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.85rem;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-sublink-card .sublink-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.mobile-sublink-card .sublink-sub {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 0.15rem;
}

.mobile-sublink-card:hover,
.mobile-sublink-card:active {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

.mobile-sublink-card:hover .sublink-title,
.mobile-sublink-card:active .sublink-title {
  color: var(--color-primary);
}

.mobile-links-list {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mobile-simple-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}

.mobile-simple-link:last-child {
  border-bottom: none;
}

.mobile-simple-link .arrow {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.mobile-simple-link:hover,
.mobile-simple-link:active {
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding-left: 1.15rem;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-contact-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mobile-contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  background: #f1f5f9;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-contact-pill:active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.mobile-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.mobile-social-link {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

@media (min-width: 1081px) {
  .mobile-drawer {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   HERO SECTION (STRONA GŁÓWNA)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: 
    radial-gradient(900px 450px at 85% 15%, rgba(0, 82, 165, 0.08) 0%, transparent 65%),
    radial-gradient(700px 350px at 15% 85%, rgba(225, 29, 72, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.35rem;
  color: var(--color-navy);
  font-weight: 900;
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.hero-title span.highlight {
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.22rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.88rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

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

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
  aspect-ratio: 4 / 3;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.25rem 1.65rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 42px rgba(8, 33, 66, 0.16);
  display: flex;
  align-items: center;
  gap: 1.15rem;
  border: 2px solid var(--color-gold);
  z-index: 5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-floating-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(8, 33, 66, 0.22);
}

.floating-badge-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
}

.floating-badge-text strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.floating-badge-text span {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   PAGE HERO (DLA WSZYSTKICH PODSTRON)
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  padding: 4.5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.page-hero h1,
.page-hero .page-title {
  color: #ffffff !important;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(4, 18, 38, 0.45);
}

.page-hero p,
.page-hero .text-lead,
.page-hero .page-subtitle {
  color: #f1f5f9 !important;
  font-size: 1.18rem;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 800px;
  text-shadow: 0 1px 6px rgba(4, 18, 38, 0.35);
}

.page-hero .section-tag,
.page-hero .badge {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   BREADCRUMBS
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding: 1rem 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs-item a {
  color: var(--color-text-light);
  font-weight: 600;
}

.breadcrumbs-item a:hover {
  color: var(--color-primary);
}

.breadcrumbs-separator {
  margin-left: 0.5rem;
  color: var(--color-border-dark);
}

.breadcrumbs-item.current {
  color: var(--color-navy);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   STATYSTYKI (STATS BAR)
   -------------------------------------------------------------------------- */
.stats-bar {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 2.25rem 2.5rem;
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-icon {
  font-size: 2.3rem;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.1;
}

.stat-number .plus {
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   KAFELKI GRUP WIEKOWYCH
   -------------------------------------------------------------------------- */
.group-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.group-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 82, 165, 0.35);
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.group-age {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.group-name {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.group-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   FILTRY & HARMONOGRAM TRENINGÓW
   -------------------------------------------------------------------------- */
.schedule-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 82, 165, 0.3);
}

.schedule-panel {
  display: none;
}

.schedule-panel.active {
  display: block;
}

.location-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem;
  margin-bottom: 2rem;
}

.location-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.75rem;
}

.coordinator-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-primary-light);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 82, 165, 0.15);
}

.coordinator-badge strong {
  color: var(--color-primary-dark);
  font-size: 0.95rem;
}

.coordinator-badge a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
}

.training-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  margin-bottom: 0.75rem;
}

.training-row:nth-child(even) {
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.training-group {
  font-weight: 800;
  color: var(--color-navy);
  font-size: 1.05rem;
}

.training-time {
  font-weight: 600;
  color: var(--color-text-muted);
}

.training-pitch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  background: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   TRENERZY (COACHES)
   -------------------------------------------------------------------------- */
.coach-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.coach-photo-wrap,
.coach-photo-wrapper {
  position: relative;
  background: var(--color-bg-muted);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.coach-photo-wrap img,
.coach-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}

.coach-card:hover .coach-photo-wrap img,
.coach-card:hover .coach-photo-wrapper img {
  transform: scale(1.04);
}

.coach-license-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(8, 33, 66, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.coach-info {
  padding: 1.5rem;
}

.coach-name {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--color-navy);
}

.coach-badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.coach-details {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   GALERIA & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-muted);
}

.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 0.85rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 33, 66, 0.9) 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   MODAL LIGHTBOX (WSPÓLNY DLA STRONY GŁÓWNEJ I GALERII)
   ========================================================================== */
.lightbox-modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-modal.active,
.lightbox.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.lightbox-modal[hidden],
.lightbox[hidden] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 38, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-figure {
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img,
#lightbox-img {
  max-width: 88vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  display: block;
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  max-width: 700px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: var(--transition);
  z-index: 20;
}

.lightbox-close:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 1.6rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 20;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -65px; }
.lightbox-next { right: -65px; }

@media (max-width: 768px) {
  .lightbox-prev {
    left: 8px;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  .lightbox-next {
    right: 8px;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  .lightbox-close {
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
  .lightbox-img, #lightbox-img {
    max-width: 95vw;
    max-height: 70vh;
  }
}

/* --------------------------------------------------------------------------
   FAQ (ACCORDION)
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--color-border-dark);
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-navy);
  gap: 1rem;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 1.75rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-top: 0.25rem;
  padding-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy-dark);
  color: #e2e8f0;
  padding: 5.5rem 0 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--color-gold);
  border-radius: var(--radius-full);
}

.footer-brand h4::after {
  display: none !important;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  display: block;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-about {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-partner-box {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-partner-text strong {
  display: block;
  color: #ffffff;
  font-size: 0.82rem;
}

.footer-partner-text span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 0.35rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-contact-list svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-contact-list a {
  color: #ffffff;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  color: #94a3b8;
  margin-left: 1.5rem;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   RESPONSYWNOŚĆ (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 1080px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: #ffffff;
  }
  
  .topbar {
    padding: 0.45rem 0;
  }
  
  .topbar-contact span:nth-child(2),
  .topbar-contact span:nth-child(3) {
    display: none;
  }
  
  /* Ukryj menu desktopowe i jego dropdowny na mobile */
  .desktop-nav {
    display: none !important;
  }
  
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--color-border);
    background: #f8fafc;
    color: var(--color-navy);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
  }

  .menu-toggle:hover,
  .menu-toggle:active {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
  
  .stats-bar {
    padding: 1.75rem;
    margin-top: -2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
  
  .footer-legal a {
    margin: 0 0.75rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .hero-floating-badge {
    position: static;
    margin-top: 1.25rem;
  }
  
  .hero-title-sponsor-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
}

/* ==========================================================================
   ROZSZERZONE STYLE KOMPONENTÓW, FORMULARZY I SPONSORÓW
   ========================================================================== */

/* 1. SEKCJE SPECJALNE & PRZYCISKI */
.section-alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-dark {
  background-color: var(--color-navy);
  color: #ffffff;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: #cbd5e1;
}

.btn-white {
  background-color: #ffffff;
  color: var(--color-navy);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #f1f5f9;
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* 2. FORMULARZE (ZAPISZ SIĘ, KONTAKT) */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.required {
  color: var(--color-accent);
  font-weight: 800;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 82, 165, 0.14);
}

.form-control::placeholder {
  color: #94a3b8;
}

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

.form-note {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 0.35rem;
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1.25rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: var(--color-success-light);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.error {
  display: block;
  background-color: var(--color-accent-light);
  color: #991b1b;
  border: 1px solid rgba(225, 29, 72, 0.3);
}

/* 3. STRONA SPONSORZY & PARTNERZY */
.sponsors-tier,
.sponsors-tier.premium,
.sponsors-tier.optimum {
  margin-bottom: 4rem;
}

.sponsors-tier:last-child {
  margin-bottom: 0;
}

.tier-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.optimum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.gold-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.tier-title.gold {
  color: #b45309;
}

.sponsor-tier-section {
  scroll-margin-top: 90px;
}

.sponsor-nav-bar {
  background: var(--color-bg-alt);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.sponsor-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xs);
}

.sponsor-nav-link:hover {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sponsor-nav-link.active-cta {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.sponsor-nav-link.active-cta:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  color: #ffffff !important;
}

.tytularny-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.sponsor-logo-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.sponsor-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.sponsor-logo-card img {
  max-height: 60px;
  max-width: 88%;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.sponsor-logo-card:hover img {
  transform: scale(1.05);
}

/* Wyróżniony Sponsor Tytularny */
.tytularny .sponsor-logo-card {
  border: 2.5px solid var(--color-gold);
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
  padding: 3rem 2rem;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.18);
  border-radius: var(--radius-xl);
}

.tytularny .sponsor-logo-card img {
  max-height: 80px;
  max-width: 320px;
}

.sponsor-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.tier-badge-gold {
  background-color: var(--color-gold-light);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* 4. HARMONOGRAM TRENINGÓW & LOKALIZACJE */
.locations-tabs {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.loc-tab-btn {
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background-color: #ffffff;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.loc-tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.loc-tab-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 82, 165, 0.3);
}

.locations-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location-title {
  font-size: 1.6rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.location-coords {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.coord-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.coord-chip:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.training-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.schedule-group {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.schedule-group:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.schedule-group.selekcyjna {
  background: #fffdf5;
  border-color: rgba(245, 158, 11, 0.4);
  border-left: 4px solid var(--color-gold);
}

.schedule-group.selekcyjna .schedule-group-name {
  color: #92400e;
}

.schedule-group.selekcyjna:hover {
  background: #ffffff;
  border-color: var(--color-gold);
}

.schedule-group-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 0.5rem;
}

.schedule-group-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-navy);
}

.schedule-year {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.schedule-slots {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.schedule-slot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.schedule-time-badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-xs);
}

/* 5. KADRA TRENERSKA */
.coach-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  width: 100%;
  margin-bottom: 1.25rem;
  background-color: var(--color-bg-muted);
  box-shadow: var(--shadow-sm);
}

.coach-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
  display: block;
}

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

.coach-role {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.coach-license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(0, 82, 165, 0.2);
}

/* 6. ODZNAKI GRUP WIEKOWYCH & CECHY */
.badge-skrzat {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-zak {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-orlik {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-mlodzik {
  background-color: #fdf2f8;
  color: #9d174d;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.badge-selekcja {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.group-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.group-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.group-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.group-features li svg {
  color: var(--color-success);
  flex-shrink: 0;
}

/* 7. PROJEKTY, GALERIA, STOPKA */
.project-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.project-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--color-bg-muted);
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.project-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.project-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 33, 66, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
}

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

/* ==========================================================================
   PIRAMIDA SZKOLENIA UI/UX
   ========================================================================== */
.pyramid-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 2.5rem auto 3.5rem;
  max-width: 960px;
}

.pyramid-tier {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-border);
  padding: 1.75rem 2.25rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.pyramid-tier:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-xl);
}

.tier-peak {
  width: 65%;
  border-color: var(--color-gold);
  background: linear-gradient(135deg, #ffffff 0%, #fffdf0 100%);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.2);
}

.tier-elite {
  width: 78%;
  border-color: rgba(0, 82, 165, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.tier-development {
  width: 89%;
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.tier-base {
  width: 100%;
  border-color: var(--color-border);
  background: #ffffff;
}

.tier-connector {
  width: 2px;
  height: 20px;
  background: repeating-linear-gradient(to bottom, var(--color-primary) 0, var(--color-primary) 4px, transparent 4px, transparent 8px);
}

.pyramid-tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pyramid-tier-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
}

.pyramid-tier-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.tier-peak .pyramid-tier-icon { background: #fef3c7; }
.tier-elite .pyramid-tier-icon { background: var(--color-primary-light); }
.tier-development .pyramid-tier-icon { background: #ecfdf5; }
.tier-base .pyramid-tier-icon { background: var(--color-bg-muted); }

.pyramid-tier-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.pyramid-features-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pyramid-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--color-bg-muted);
  color: var(--color-navy);
}

/* ==========================================================================
   GALERIA Z PODZIAŁEM NA WYDARZENIA
   ========================================================================== */
.gallery-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-album-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-album-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.album-cover-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background-color: var(--color-bg-muted);
}

.album-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-album-card:hover .album-cover-wrap img {
  transform: scale(1.06);
}

.album-counter-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(8, 33, 66, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.album-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.album-meta-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.album-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.album-card-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.album-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 1.2rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.gallery-album-card:hover .album-view-btn {
  background: var(--color-primary);
  color: #ffffff;
}

/* Widok szczegółowy albumu */
.event-view-container {
  display: none;
  animation: fadeIn 0.3s ease;
}

.event-view-container.active {
  display: block;
}

.event-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--color-border);
}

.event-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.event-back-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.event-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.event-photo-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--color-bg-muted);
}

.event-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.event-photo-item:hover img {
  transform: scale(1.06);
}

.event-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 33, 66, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.event-photo-item:hover .event-photo-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .tier-peak, .tier-elite, .tier-development, .tier-base {
    width: 100%;
    padding: 1.5rem;
  }
}

.footer-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.footer-sponsor-showcase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  margin: 2.5rem 0 2rem 0;
}

.footer-sponsor-tag {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-sponsor-link {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.footer-sponsor-link:hover {
  transform: translateY(-2px);
}

.footer-sponsor-link img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
}

/* 8. SEKCJA SPONSORÓW NA STRONIE GŁÓWNEJ (SPONSOR STRIP) */
.section-sponsor-strip {
  padding: 4.5rem 0;
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.sponsor-strip-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.sponsor-strip-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--color-navy);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.sponsor-strip-sub {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.title-sponsor-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fffdf5 100%);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.16);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.title-sponsor-banner-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.title-sponsor-banner-body {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2.5rem;
}

.title-sponsor-banner-logo {
  background: #ffffff;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-sponsor-banner-logo img {
  max-height: 65px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
}

.title-sponsor-banner-info h3 {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.title-sponsor-banner-info p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.sponsors-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.sponsor-mini-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.sponsor-mini-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.sponsor-mini-item img {
  max-height: 44px;
  max-width: 85%;
  object-fit: contain;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    padding: 0.8rem 1.35rem;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .title-sponsor-banner-body {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .title-sponsor-banner-logo {
    justify-content: center;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.45rem 1.25rem;
  }

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

  .gold-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .footer-sponsor-showcase {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 1.25rem 1.25rem;
    gap: 0.85rem;
  }

  .footer-sponsor-tag {
    justify-content: center;
  }

  .site-footer {
    padding: 3.5rem 0 0;
  }

  .topbar-partner,
  .topbar-social,
  .topbar-contact .topbar-item:nth-child(2) {
    display: none;
  }

  .topbar-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .faq-button {
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
    gap: 0.75rem;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .faq-answer {
    padding: 0 1.25rem;
    font-size: 0.92rem;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .btn {
    padding: 0.75rem 1.15rem;
    font-size: 0.92rem;
  }

  .brand-logo {
    height: 44px;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
  }

  .page-hero h1,
  .page-hero .page-title {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .stats-bar {
    padding: 1.25rem 1rem;
    margin-top: -2rem;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  .stat-icon {
    width: 46px;
    height: 46px;
    font-size: 1.6rem;
  }

  .event-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .tier-peak, .tier-elite, .tier-development, .tier-base {
    padding: 1.15rem 0.9rem;
  }

  .pyramid-tier-title {
    font-size: 1.12rem;
  }

  .sponsor-card {
    padding: 1.15rem 0.85rem;
  }

  .tytularny .sponsor-logo-card {
    padding: 1.75rem 1.25rem;
  }

  .tytularny .sponsor-logo-card img {
    max-width: min(260px, 90%);
    height: auto;
  }

  .sponsor-nav-link {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .topbar {
    padding: 0.35rem 0;
  }

  .topbar-item {
    font-size: 0.78rem;
  }

  .topbar-title-sponsor {
    padding: 0.2rem 0.55rem;
  }

  .topbar-title-sponsor img {
    height: 17px;
  }

  .topbar-sponsor-label {
    font-size: 0.64rem;
  }
}

/* --------------------------------------------------------------------------
   KRECIKOWE WYDARZENIA & AKTUALNOŚCI (NEWS & EVENTS)
   -------------------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.news-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(8, 33, 66, 0.05);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(8, 33, 66, 0.12);
  border-color: rgba(0, 82, 165, 0.35);
}

.news-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-navy);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.06);
}

.news-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.news-category-badge.badge-primary {
  background: #0052a5 !important;
}

.news-category-badge.badge-accent {
  background: #e11d48 !important;
}

.news-category-badge.badge-gold {
  background: #d97706 !important;
}

.news-category-badge.badge-secondary {
  background: #082142 !important;
}

.news-body {
  padding: 1.5rem 1.6rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 750;
  color: var(--color-primary);
}

.news-location {
  font-weight: 600;
  color: var(--color-text-muted);
}

.news-title {
  font-size: 1.2rem;
  font-weight: 850;
  line-height: 1.35;
  color: var(--color-navy);
  margin-bottom: 0.65rem;
}

.news-title a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-title a:hover {
  color: var(--color-primary);
}

.news-excerpt {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.news-tag-item {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-navy);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  line-height: 1.3;
}

.news-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-link:hover {
  gap: 0.75rem;
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.event-post-item {
  display: flex;
}

.event-open-modal-btn {
  cursor: pointer;
}

/* Filtry kategorii wydarzeń na podstronie */
.filter-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
}

.filter-pill {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 750;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  color: var(--color-navy);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
}

.filter-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 82, 165, 0.3);
}

/* Modal wydarzenia & harmonogramu */
.event-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.event-modal.is-open,
.event-modal:target {
  display: flex !important;
}

.event-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 33, 66, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.event-modal-dialog {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(8, 33, 66, 0.3);
  border: 1px solid var(--color-border);
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.event-modal-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.event-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  text-decoration: none;
}

.event-modal-close:hover {
  background: #e2e8f0;
  color: var(--color-accent);
}

.event-modal-body {
  padding: 1.75rem 2rem;
}

.event-modal-footer {
  padding: 1.25rem 2rem 1.75rem;
  border-top: 1px solid var(--color-border);
  background: #f8fafc;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

/* Rozwijane szczegóły (<details>) */
.event-details-collapse {
  margin-top: 1rem;
  border-top: 1px dashed var(--color-border);
  padding-top: 0.75rem;
}

.event-summary-btn {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.95rem;
  background: var(--color-primary-light);
  border: 1px solid rgba(0, 82, 165, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-weight: 750;
  font-size: 0.86rem;
  transition: all 0.2s ease;
  user-select: none;
}

.event-summary-btn::-webkit-details-marker {
  display: none;
}

.event-summary-btn:hover {
  background: rgba(0, 82, 165, 0.12);
  border-color: var(--color-primary);
}

.event-summary-btn .summary-icon {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.event-details-collapse[open] .event-summary-btn .summary-icon {
  transform: rotate(180deg);
}

.event-details-content {
  padding: 1rem 0.25rem 0.5rem;
}

.schedule-block {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.schedule-bullet-list {
  list-style: none;
  margin: 0.4rem 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.schedule-bullet-list li {
  position: relative;
  padding-left: 1.15rem;
}

.schedule-bullet-list li::before {
  content: "⚽";
  position: absolute;
  left: 0;
  font-size: 0.75rem;
  top: 0.1rem;
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  
  .news-body {
    padding: 1.25rem;
  }

  .event-modal {
    padding: 1rem;
  }

  .event-modal-header,
  .event-modal-body,
  .event-modal-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .filter-pills-bar {
    gap: 0.45rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pill {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
}

/* --------------------------------------------------------------------------
   PREFERS REDUCED MOTION (A11Y)
   -------------------------------------------------------------------------- */
@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;
  }
}
