:root {
  /* Paleta Black & Gold Premium */
  --ivory: #f4f4f2;
  --black-deep: #0a0a0a;
  --black-surface: #121212;
  --black-card: #181818;
  
  --gold-light: #f6e27a;
  --gold-main: #cfb163;
  --gold-dark: #a79058;
  --gold-gradient: linear-gradient(135deg, #a79058 0%, #cfb163 45%, #f6e27a 50%, #cfb163 55%, #a79058 100%);
  
  --border-gold: 1px solid rgba(207, 177, 99, 0.3);
  --shadow-premium: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(207,177,99,0.05);
  
  --radius: 16px;
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background-color: var(--black-deep); }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: transparent;
  color: var(--ivory);
  line-height: 1.6;
}

.site-video-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  pointer-events: none;
}

.site-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.66) 0%, rgba(7, 7, 7, 0.5) 50%, rgba(7, 7, 7, 0.66) 100%),
    radial-gradient(circle at 50% 20%, rgba(246, 226, 122, 0.08), transparent 55%);
}

.site-video-bg__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) saturate(0) contrast(1.02) brightness(0.78);
  background: #090909;
}
body.intro-lock {
  overflow: hidden;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  pointer-events: none;
}
.intro-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(246, 226, 122, 0.55);
  box-shadow: 0 0 14px rgba(246, 226, 122, 0.38);
  z-index: 5;
}
.intro-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 226, 122, 0.06), transparent 55%),
    linear-gradient(180deg, #111111 0%, #070707 100%);
}
.intro-half--left { left: 0; }
.intro-half--right { right: 0; }
.intro-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 226, 122, 0.13), transparent 52%),
    linear-gradient(135deg, rgba(167, 144, 88, 0.2), transparent 45%);
  opacity: 0;
  transform: scale(1.08);
  filter: saturate(1.05);
}
.intro-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  width: min(44vw, 270px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.intro-logo {
  width: 92%;
  height: 92%;
  object-fit: contain;
  object-position: 50% 50%;
  filter: drop-shadow(0 0 16px rgba(207, 177, 99, 0.36));
}
.intro-flare {
  position: absolute;
  inset: -35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 226, 122, 0.26) 0%, rgba(246, 226, 122, 0.07) 35%, transparent 70%);
  transform: scale(0.2);
  opacity: 0;
}
.intro-spark {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7c8 0%, #f6e27a 45%, rgba(246, 226, 122, 0) 75%);
  box-shadow: 0 0 16px rgba(246, 226, 122, 0.65);
  opacity: 0;
}
.intro-spark--1 { left: 16%; top: 54%; }
.intro-spark--2 { right: 18%; top: 42%; }
.intro-spark--3 { left: 48%; bottom: 18%; }
body.intro-playing .intro-logo {
  animation: introLogoCharge 1.25s ease-out forwards;
}
body.intro-playing .intro-flare {
  animation: introFlareBurst 1.2s ease-out forwards;
}
body.intro-playing .intro-half--left {
  animation: introPackLeft 1.45s cubic-bezier(.2,.7,.2,1) forwards;
}
body.intro-playing .intro-half--right {
  animation: introPackRight 1.45s cubic-bezier(.2,.7,.2,1) forwards;
}
body.intro-playing .intro-overlay::before {
  animation: introCenterLineFade 1.45s cubic-bezier(.2,.7,.2,1) forwards;
}
body.intro-playing .intro-overlay::after {
  animation: introEnergyWave 1.8s cubic-bezier(.22,.61,.36,1) forwards;
}
body.intro-playing .intro-spark--1 {
  animation: introSparkA 1.6s ease-out forwards;
}
body.intro-playing .intro-spark--2 {
  animation: introSparkB 1.6s ease-out forwards;
}
body.intro-playing .intro-spark--3 {
  animation: introSparkC 1.6s ease-out forwards;
}
body.intro-finished .intro-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(207, 177, 99, 0.12), transparent 35%),
    radial-gradient(circle at 80% 40%, rgba(246, 226, 122, 0.08), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(207, 177, 99, 0.08), transparent 45%);
  animation: ambientShift 16s ease-in-out infinite alternate;
}

/* --- TYPOGRAFIA --- */
h1, h2, h3 { text-transform: uppercase; letter-spacing: 2px; margin-top: 0; }
.gold-text {
  background: var(--gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-size: 30px;
}

/* --- HERO & STATS --- */
.hero {
  position: relative; min-height: 95vh; display: grid; place-items: center;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.85)), url('assets/img/tloCzarnoBiale.jpg') center/cover no-repeat;
  text-align: center; padding: 150px 20px 70px;
}
.hero-inner { max-width: 900px; transform: translateY(2rem); }
.hero h1.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  line-height: 1;
  filter: drop-shadow(0 0 28px rgba(246, 226, 122, 0.18));
}
.hero-title__line {
  display: block;
  font-weight: 900;
  background: linear-gradient(
    110deg,
    var(--gold-dark) 0%,
    var(--gold-main) 22%,
    var(--gold-light) 42%,
    #fff8d0 50%,
    var(--gold-light) 58%,
    var(--gold-main) 78%,
    var(--gold-dark) 100%
  );
  background-size: 280% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: heroGoldShimmer 4.5s ease-in-out infinite;
}
.hero-title__line--top {
  font-size: clamp(2.5rem, 8vw, 5rem);
  transform: translateY(-0.35rem);
}
.hero-title__line--bottom {
  font-size: clamp(1.8rem, 7.6vw, 4.6rem);
  margin-top: clamp(0.55rem, 2.2vw, 1.15rem);
  transform: translateY(0.45rem);
}
.kicker { color: var(--gold-main); font-weight: 700; text-transform: uppercase; letter-spacing: 4px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px;
}
.stat {
  background: rgba(255,255,255,0.03); border: var(--border-gold);
  padding: 18px 16px; border-radius: var(--radius); backdrop-filter: blur(5px);
}
.stat-num {
  display: block;
  font-size: clamp(0.95rem, 1.4vw, 1.28rem);
  line-height: 1.3;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.stat > span:not(.stat-num) {
  display: block;
  font-size: clamp(0.84rem, 1.05vw, 0.94rem);
  line-height: 1.45;
  color: rgba(244, 244, 242, 0.82);
}
.hero-inner .kicker,
.hero-inner > p {
  animation: heroRise 0.9s ease both;
}
.hero-inner h1.hero-title {
  animation: heroTitleRise 0.9s ease 0.12s both;
}
.hero-inner > p { animation-delay: 0.22s; }

/* --- KALENDARZ (Harmonogram) --- */
.calendar-wrap {
  background: var(--black-surface); border: var(--border-gold);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-premium);
}
.calendar-stack {
  display: grid;
  gap: 22px;
}
.week-panel {
  display: none;
}
.week-panel.is-active {
  display: block;
}
.week-range-label {
  text-align: center;
  margin: 0 0 12px;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.calendar-switch {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.calendar-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: var(--border-gold);
  background: rgba(24, 24, 24, 0.9);
  color: var(--gold-light);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.calendar-arrow:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(207, 177, 99, 0.3);
}
.calendar-arrow:disabled {
  opacity: 0.45;
  cursor: default;
}
.calendar-week-indicator {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 0.84rem;
}
.week-head {
  display: grid;
  grid-template-columns: 90px repeat(7, minmax(120px, 1fr));
}
.time-col-head,
.day-head {
  background: var(--gold-gradient); color: var(--black-deep);
  padding: 15px; font-weight: 800; text-align: center; border-right: 1px solid rgba(0,0,0,0.1);
}
.time-col-head {
  border-right: 1px solid rgba(0,0,0,0.2);
}
.day-head:last-child {
  border-right: 0;
}

.week-body {
  display: grid;
  grid-template-columns: 90px repeat(7, minmax(120px, 1fr));
  height: 720px;
}

.time-col {
  display: grid;
  grid-template-rows: repeat(12, 1fr);
  border-right: 1px solid rgba(207,177,99,0.2);
}

.time-label {
  font-size: 0.8rem;
  color: rgba(244, 244, 242, 0.85);
  padding: 6px 10px 0;
  border-bottom: 1px solid rgba(207,177,99,0.12);
}

.day-col {
  position: relative;
  display: grid;
  grid-template-rows: repeat(12, 1fr);
  border-right: 1px solid rgba(207,177,99,0.12);
}

.day-col:last-child {
  border-right: 0;
}

.hour-cell {
  border-bottom: 1px solid rgba(207,177,99,0.1);
}

.event-block {
  position: absolute;
  left: 1px;
  right: 1px;
  z-index: 2;
  background: rgba(207,177,99,0.16);
  border-left: 3px solid var(--gold-main);
  border-radius: 10px;
  padding: 8px;
  font-size: 0.8rem;
  line-height: 1.35;
  overflow: hidden;
  box-sizing: border-box;
}

.event-block strong {
  color: var(--gold-light);
  display: block;
  font-size: 0.85rem;
}

/* Tylko dla wydarzeń nakładających się czasowo */
.event-block.event-block--overlap {
  font-size: 0.66rem;
  line-height: 1.12;
  padding: 5px 6px 4px;
}

.event-block.event-block--overlap strong {
  font-size: 0.69rem;
  margin-bottom: 1px;
}

@media (min-width: 701px) {
  .event-block {
    padding: 6px 7px;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .event-block strong {
    font-size: 0.77rem;
    margin-bottom: 1px;
  }
}

.event-block.event-block--special {
  background: linear-gradient(135deg, rgba(167, 144, 88, 0.35) 0%, rgba(207, 177, 99, 0.5) 45%, rgba(246, 226, 122, 0.38) 100%);
  border-left: 4px solid var(--gold-light);
  border-right: 1px solid rgba(246, 226, 122, 0.45);
  box-shadow: 0 10px 25px rgba(207, 177, 99, 0.25), inset 0 0 0 1px rgba(246, 226, 122, 0.2);
}

.event-block.event-block--special strong {
  color: #fff7c9;
  text-shadow: 0 0 8px rgba(207, 177, 99, 0.45);
}

/* --- SEKCJE OGÓLNE --- */
.section { padding: 100px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.92) 0%, rgba(10, 10, 10, 0.92) 100%);
}
.container { width: min(92%, var(--container)); margin-inline: auto; }

#zapis {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96) 0%, rgba(10, 10, 10, 0.96) 100%);
  border-top: 1px solid rgba(207, 177, 99, 0.22);
  border-bottom: 1px solid rgba(207, 177, 99, 0.16);
}

.premium-card {
  background: var(--black-card); border: var(--border-gold);
  padding: 30px; border-radius: var(--radius); transition: 0.4s;
}
.premium-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-premium); }
.premium-card,
.stat,
.calendar-wrap,
.news-item,
.post-card {
  position: relative;
  overflow: hidden;
}
.premium-card::after,
.stat::after,
.calendar-wrap::after,
.news-item::after,
.post-card::after {
  content: "";
  position: absolute;
  inset: -130% 60% auto auto;
  width: 40%;
  height: 320%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(246, 226, 122, 0.08), transparent);
  pointer-events: none;
  animation: surfaceSweep 10s linear infinite;
}

/* --- O NAS / TRENERZY / ZAJĘCIA SPORTOWE --- */
.about-grid {
  display: grid;
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto;
}

#o-nas .container {
  width: min(96%, 1480px);
}

.about-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.about-row--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
}

.about-tile {
  border: var(--border-gold);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(12, 12, 12, 0.74);
}

.about-tile--text {
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.86) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.about-tile--text h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  color: #f2f6ff;
  letter-spacing: 1.4px;
}

.about-tile--text p {
  margin: 0;
  color: rgba(244, 244, 242, 0.9);
  font-size: 1rem;
  line-height: 1.52;
}

.about-tile--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-tile--image {
  position: relative;
  min-height: 100%;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 290px));
  justify-content: center;
  gap: 42px 34px;
  align-items: start;
}

.coach-item {
  min-width: 0;
}

.coach-card {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(207, 177, 99, 0.38);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(246, 226, 122, 0.12);
}

.coach-video,
.coach-photo {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: 460px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  background: #080808;
}

.coach-item--photo .coach-photo {
  transition: transform 0.45s ease;
}

.coach-item--photo:hover .coach-photo,
.coach-item--photo:focus-within .coach-photo {
  transform: scale(1.03);
}

.coach-soon {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(246, 226, 122, 0.2), transparent 55%),
    linear-gradient(180deg, #111111 0%, #060606 100%);
  text-align: center;
}

.coach-soon__brand {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 5px;
  background: var(--gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(246, 226, 122, 0.24);
}

.coach-soon__text {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.coach-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 13px 12px;
  background: #070707;
  border-top: 1px solid rgba(246, 226, 122, 0.26);
  box-shadow: inset 0 1px 0 rgba(246, 226, 122, 0.1);
}

.coach-info h3 {
  margin: 0;
  font-size: 0.96rem;
  letter-spacing: 1.1px;
  color: var(--gold-light);
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(246, 226, 122, 0.18);
  text-align: center;
}

.coach-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: var(--border-gold);
  background: rgba(8, 8, 8, 0.9);
  color: var(--gold-light);
  font-size: 0.74rem;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.coach-item:hover .coach-toggle,
.coach-item:focus-within .coach-toggle,
.coach-item.is-open .coach-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.coach-details {
  position: absolute;
  inset: 0;
  z-index: 4;
  margin: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.97) 0%, rgba(6, 6, 6, 0.99) 100%);
  border-radius: 16px;
  padding: 56px 18px 58px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  overflow: auto;
}

.coach-details p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(244, 244, 242, 0.9);
}

.coach-item.is-open .coach-details {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.coach-item.is-open .coach-video,
.coach-item.is-open .coach-photo,
.coach-item.is-open .coach-soon,
.coach-item.is-open .coach-info {
  opacity: 0;
  visibility: hidden;
}

.coach-video,
.coach-photo,
.coach-soon,
.coach-info {
  transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.45s ease;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.offer-section {
  max-width: 1180px;
}

.offer-head {
  max-width: 860px;
  margin: 0 auto 30px;
  text-align: center;
}

.offer-head h2 {
  margin-bottom: 12px;
}

.offer-head p {
  margin: 0 auto;
  color: rgba(244, 244, 242, 0.82);
  font-size: 1rem;
  max-width: 70ch;
}

.offer-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.offer-tag {
  border: 1px solid rgba(207, 177, 99, 0.45);
  color: var(--gold-light);
  background: rgba(207, 177, 99, 0.08);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-card h3 {
  margin: 0;
  color: var(--gold-light);
}

.offer-card p {
  margin: 0;
  color: rgba(244, 244, 242, 0.86);
}

.offer-list {
  margin: 2px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: rgba(244, 244, 242, 0.92);
}

.offer-list li::marker {
  color: var(--gold-main);
}

.offer-card--featured {
  border-color: rgba(246, 226, 122, 0.65);
  box-shadow: 0 16px 34px rgba(207, 177, 99, 0.16), inset 0 0 0 1px rgba(246, 226, 122, 0.18);
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 2px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(246, 226, 122, 0.14);
  border: 1px solid rgba(246, 226, 122, 0.38);
  color: #fff6bf !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

/* --- GALERIA --- */
.gallery-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  border: var(--border-gold);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-strip.is-dragging {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  gap: 14px;
  padding: 16px;
  width: max-content;
}

.g-item {
  flex: 0 0 430px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  border: var(--border-gold);
  cursor: pointer;
  position: relative;
}

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

.g-item:hover img {
  transform: scale(1.08);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(4px);
  padding: 24px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-image {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  border: var(--border-gold);
  box-shadow: var(--shadow-premium);
}

.gallery-lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--border-gold);
  background: rgba(18, 18, 18, 0.9);
  color: var(--gold-light);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* --- AKTUALNOSCI --- */
.news-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-item {
  background: var(--black-card);
  border: var(--border-gold);
  border-radius: 12px;
  overflow: hidden;
}

.news-item-content {
  padding: 14px 16px 16px;
}

.news-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(207,177,99,0.25);
}

.news-item h3 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: 1px;
  color: var(--gold-light);
}

.news-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 8px;
}

.news-date {
  color: var(--gold-light);
  font-size: 0.82rem;
  white-space: nowrap;
}

.news-item p {
  margin: 0;
  color: rgba(244, 244, 242, 0.84);
  line-clamp: 3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.7em;
}

.news-excerpt {
  line-clamp: 3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.7em;
}

.news-expand-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
}

.news-item.is-hidden {
  display: none;
}

/* --- MAPA --- */
#map {
  height: 500px; width: 100%; border-radius: var(--radius);
  border: var(--border-gold);/* filter: grayscale(1) invert(1) contrast(1.2); /* Styl ciemnej mapy */
  box-shadow: var(--shadow-premium);
}

/* --- STOPKA --- */
.site-footer {
  border-top: var(--border-gold);
  background: linear-gradient(180deg, #0b0b0b 0%, #070707 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 46px 0 34px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-brand .brand-logo-img {
  height: 200px;
}

.footer-text {
  margin: 0;
  color: rgba(244, 244, 242, 0.72);
  font-size: 0.94rem;
  max-width: 34ch;
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: var(--gold-light);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-list li,
.footer-list a {
  color: rgba(244, 244, 242, 0.82);
  text-decoration: none;
  font-size: 0.93rem;
}

.footer-list a:hover {
  color: var(--gold-light);
}

.footer-contact {
  gap: 14px;
}

.footer-contact-person {
  display: grid;
  gap: 3px;
}

.footer-contact-person strong {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.footer-contact-email {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(207, 177, 99, 0.22);
}

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

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: var(--border-gold);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(207, 177, 99, 0.25);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(207, 177, 99, 0.18);
}

.footer-bottom p {
  margin: 0;
  padding: 12px 0 16px;
  font-size: 0.8rem;
  color: rgba(244, 244, 242, 0.56);
  text-align: center;
}

/* --- FORMULARZ --- */
.form-group { margin-bottom: 20px; }
input, select, textarea {
  width: 100%; background: #000; border: 1px solid #333; color: #fff;
  padding: 15px; border-radius: 8px; font-family: inherit;
}
input:focus { border-color: var(--gold-main); outline: none; }

.signup-links {
  display: grid;
  gap: 14px;
}

.signup-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 14px 20px;
  line-height: 1.35;
}

.btn-gold {
  background: var(--gold-gradient); color: var(--black-deep);
  border: none; padding: 18px 40px; border-radius: 50px;
  font-weight: 800; text-transform: uppercase; cursor: pointer; transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-gold:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(207,177,99,0.4); }
.btn-gold::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -40%;
  width: 35%;
  height: 380%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transition: left 0.45s ease;
}
.btn-gold:hover::after {
  left: 120%;
}

.site-header {
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.main-header {
  position: fixed;
  width: 100%;
  z-index: 999;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-gold);
}

.main-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  gap: 24px;
}

.main-header__brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  padding: 0;
  border: 0;
  background: transparent;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold-light);
  background: transparent;
}

.main-nav__cta.btn-gold {
  padding: 10px 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(246, 226, 122, 0.75);
  box-shadow: 0 0 0 1px rgba(207, 177, 99, 0.3), 0 8px 18px rgba(207, 177, 99, 0.25);
  animation: navCtaPulse 2.4s ease-in-out infinite;
}

.main-nav__cta.btn-gold:hover {
  box-shadow: 0 0 0 1px rgba(246, 226, 122, 0.55), 0 10px 22px rgba(207, 177, 99, 0.35);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.9) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(246, 226, 122, 0.38) !important;
}

.reveal-up {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.7s cubic-bezier(.22,.61,.36,1),
    transform 0.7s cubic-bezier(.22,.61,.36,1),
    filter 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes ambientShift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 1%, 0) scale(1.05); }
}
@keyframes introLogoCharge {
  0% { transform: scale(0.78); opacity: 0; }
  35% { transform: scale(1.02); opacity: 1; }
  62% { transform: scale(0.96); opacity: 1; }
  74% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 24px rgba(246, 226, 122, 0.58)); }
  100% { transform: scale(0.18); opacity: 0; filter: drop-shadow(0 0 34px rgba(246, 226, 122, 0.62)); }
}
@keyframes introFlareBurst {
  0% { transform: scale(0.15); opacity: 0; }
  52% { transform: scale(0.15); opacity: 0; }
  72% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes introPackLeft {
  0%, 56% { transform: translateX(0); }
  100% { transform: translateX(-115%); }
}
@keyframes introPackRight {
  0%, 56% { transform: translateX(0); }
  100% { transform: translateX(115%); }
}
@keyframes introCenterLineFade {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}
@keyframes introEnergyWave {
  0%, 24% {
    opacity: 0;
    transform: scale(1.14);
    filter: saturate(1);
  }
  40% {
    opacity: 0.6;
    transform: scale(1.08);
  }
  66% {
    opacity: 0.95;
    transform: scale(1.02);
    filter: saturate(1.18);
  }
  100% {
    opacity: 0;
    transform: scale(1);
    filter: saturate(1.02);
  }
}
@keyframes introSparkA {
  0%, 40% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translate(-90px, -140px) scale(1.1); }
}
@keyframes introSparkB {
  0%, 42% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  52% { opacity: 1; }
  100% { opacity: 0; transform: translate(110px, -120px) scale(1.2); }
}
@keyframes introSparkC {
  0%, 46% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  56% { opacity: 1; }
  100% { opacity: 0; transform: translate(10px, -170px) scale(1); }
}
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes heroTitleRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroGoldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes surfaceSweep {
  from { transform: translateX(-220%) rotate(24deg); }
  to { transform: translateX(580%) rotate(24deg); }
}

@keyframes navCtaPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(207, 177, 99, 0.3), 0 8px 18px rgba(207, 177, 99, 0.2);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(246, 226, 122, 0.55), 0 10px 24px rgba(207, 177, 99, 0.34);
  }
}

@media (max-width: 900px) {
  .calendar-wrap {
    overflow-x: auto;
  }
  .week-head,
  .week-body {
    min-width: 1040px;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .offer-head {
    margin-bottom: 24px;
  }
  .about-grid {
    gap: 14px;
  }
  .about-row,
  .about-row--reverse {
    grid-template-columns: 1fr;
  }
  .about-tile {
    min-height: 220px;
  }
  .about-tile--image img {
    min-height: 220px;
  }
  .coach-grid {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: 28px 20px;
  }
  .coach-video,
  .coach-photo {
    height: 380px;
  }
  .coach-soon {
    height: 380px;
  }
  .news-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .news-list {
    grid-template-columns: 1fr;
  }
  .g-item {
    flex-basis: 320px;
    height: 220px;
  }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .hero-stats {
    display: none;
  }

  .main-header__inner {
    height: auto !important;
    padding: 10px 0 !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .main-nav {
    width: 100%;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 10px !important;
    transition: transform 0.2s ease;
  }

  .main-header__brand {
    max-height: 64px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.2s ease, opacity 0.2s ease, margin 0.2s ease;
  }

  .main-nav a {
    font-size: 0.82rem !important;
  }

  .main-nav__cta.btn-gold {
    padding: 9px 14px !important;
    font-size: 0.74rem !important;
  }

  .brand-logo-img {
    height: 54px;
  }

  .site-header.is-scrolled .main-header__brand {
    max-height: 0;
    opacity: 0;
    margin: 0;
    pointer-events: none;
  }

  .site-header.is-scrolled .main-header__inner {
    gap: 4px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .gold-text {
    font-size: 24px;
  }

  .hero {
    min-height: 88vh;
    padding: 220px 16px 60px;
  }

  .hero-inner {
    transform: translateY(1.25rem);
  }

  .hero-title__line--top {
    font-size: clamp(2rem, 10vw, 3rem);
    transform: translateY(-0.2rem);
  }

  .hero-title__line--bottom {
    font-size: clamp(1.55rem, 8.5vw, 2.35rem);
    margin-top: 0.65rem;
    transform: translateY(0.35rem);
  }

  .hero-title__line {
    animation-duration: 5.5s;
  }

  .hero-inner h1.hero-title {
    animation: heroTitleRise 0.9s ease 0.12s both;
  }

  .section {
    padding: 72px 0;
  }

  #zapis .container {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  #map {
    height: 360px;
  }

  .premium-card {
    padding: 22px;
  }
  .coach-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .coach-item.is-inview .coach-toggle,
  .coach-item.is-open .coach-toggle {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .about-row--reverse .about-tile--text {
    order: 1;
  }
  .about-row--reverse .about-tile--image {
    order: 2;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 36px 0 24px;
  }

  .footer-brand .brand-logo-img {
    height: 145px;
  }

  .footer-text {
    max-width: 100%;
  }

  /* Mobile calendar mode: day cards instead of wide grid */
  .calendar-wrap {
    overflow: visible;
  }

  .week-head {
    display: none;
  }

  .week-body {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    min-width: 0;
    gap: 10px;
    padding: 10px;
  }

  .time-col {
    display: none;
  }

  .day-col {
    display: block;
    border: var(--border-gold);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    min-height: 0;
    padding: 10px;
  }

  .day-col::before {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--gold-light);
    text-transform: uppercase;
    font-size: 0.8rem;
  }

  .day-col[data-day="poniedzialek"]::before { content: "Poniedziałek"; }
  .day-col[data-day="wtorek"]::before { content: "Wtorek"; }
  .day-col[data-day="sroda"]::before { content: "Środa"; }
  .day-col[data-day="czwartek"]::before { content: "Czwartek"; }
  .day-col[data-day="piatek"]::before { content: "Piątek"; }
  .day-col[data-day="sobota"]::before { content: "Sobota"; }
  .day-col[data-day="niedziela"]::before { content: "Niedziela"; }

  .hour-cell {
    display: none;
  }

  .event-block {
    position: static;
    top: auto !important;
    left: auto;
    right: auto;
    height: auto !important;
    margin: 0 0 8px;
    border-radius: 10px;
  }

  .event-block:last-child {
    margin-bottom: 0;
  }
  .event-block.event-block--overlap {
    font-size: 0.8rem;
    line-height: 1.35;
    padding: 8px;
  }
  .event-block.event-block--overlap strong {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  .calendar-switch {
    margin-top: 10px;
  }

  .gallery-strip {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    border-left: var(--border-gold);
    border-right: var(--border-gold);
    border-radius: 12px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .gallery-track {
    display: flex;
    width: max-content;
    gap: 12px;
    padding: 12px;
  }

  .g-item {
    flex: 0 0 82vw;
    width: 82vw;
    height: 220px;
    scroll-snap-align: start;
  }
}

.brand-logo-img {
  height: 70px;      /* Zmień tę wartość, aby logo było większe lub mniejsze */
  width: auto;       /* To utrzyma poprawne proporcje Twojego logo */
   /* Jeśli Twoje logo nie jest kwadratem, możesz usunąć zaokrąglenie */
  border: none;      /* Usuń, jeśli nie chcesz złotej obwódki wokół własnego logo */
  box-shadow: none;  /* Usuń, jeśli nie chcesz poświaty wokół logo */
}