/* ==========================================================================
   Klub Akrobatyki Stal Rzeszów — style
   Kolorystyka: biało-niebieska
   ========================================================================== */

:root {
  --navy: #0a2463;
  --navy-900: #061842;
  --blue: #1d5bd8;
  --blue-600: #1748ad;
  --blue-300: #7fa6f0;
  --sky: #e8f0ff;
  --ice: #f5f8ff;
  --white: #ffffff;
  --ink: #0f1b33;
  --muted: #56637f;
  --line: #dbe4f5;

  --gold: #d99a00;
  --silver: #8d9bb0;
  --bronze: #b8692d;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(10, 36, 99, .08);
  --shadow-lg: 0 24px 60px rgba(10, 36, 99, .16);
  --container: 1160px;
  --header-h: 76px;
}

/* ---------- Reset / baza ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; border-radius: 4px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(29, 91, 216, .3); }
.btn--primary:hover { background: var(--blue-600); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 36, 99, .08); border-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand__mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25);
}
.brand__logo { height: 60px; width: auto; flex: none; }
@media (max-width: 480px) { .brand__logo { height: 46px; } }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.brand__text small { font-size: .74rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block; padding: .55em .9em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav__link:hover { background: var(--sky); color: var(--navy); }
.nav__link.is-active,
.nav__link[aria-current="page"] { color: var(--blue); background: var(--sky); }
.nav__link--pro { color: var(--blue); }
.nav__cta { margin-left: 8px; padding: .6em 1.2em; font-size: .92rem; }

.nav__social { display: flex; align-items: center; gap: 12px; margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--line); }
.nav-social { display: inline-flex; border-radius: 12px; text-decoration: none; transition: transform .2s; }
.nav-social:hover { transform: translateY(-2px); }
.nav-social__label { display: none; }

/* Ikona dyscypliny z plakietką Facebooka */
.sicon {
  position: relative; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--sky); color: var(--blue);
  transition: background-color .2s, color .2s, transform .3s;
}
.sicon > svg { width: 22px; height: 22px; }
.sicon__fb {
  position: absolute; right: -5px; bottom: -5px;
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1877f2; color: #fff;
  border: 2px solid #fff;
}
.sicon__fb svg { width: 11px; height: 11px; }
.nav-social:hover .sicon { background: var(--blue); color: #fff; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
  position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(10, 36, 99, .12);
    padding: 12px 20px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: .85em 1em; border-radius: 10px; font-size: 1.05rem; }
  .nav__cta { margin: 10px 0 0; width: 100%; }
  .nav__list > li:has(.nav__cta) { order: 1; }
  .nav__social {
    order: 2;
    justify-content: center; gap: 10px;
    margin: 14px 0 0; padding: 14px 0 0;
    border-left: 0; border-top: 1px solid var(--line);
  }
  .nav-social {
    align-items: center; gap: 12px;
    padding: 6px 16px 6px 6px; border-radius: 14px;
    background: var(--ice); border: 1px solid var(--line);
    color: var(--navy); font-weight: 600;
  }
  .nav-social__label { display: inline; }
}

/* ---------- Sekcje ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--ice {
  background:
    radial-gradient(rgba(29, 91, 216, .07) 1px, transparent 1.5px) 0 0 / 24px 24px,
    var(--ice);
}
.section--navy { background: var(--navy); color: #dfe7fb; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #b9c8ee; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-300); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: #dfe7fb;
  background: var(--navy-900);
  min-height: min(calc(100svh - var(--header-h)), 920px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(48px, 8vw, 96px) 0 calc(clamp(28px, 4vw, 44px) + 56px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%;
}
.hero__slide.is-active img { animation: heroZoom 9s ease-out both; }

.hero__caption {
  position: absolute; right: max(20px, calc((100vw - var(--container)) / 2 + 20px)); top: 28px; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(6, 24, 66, .45); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.hero__caption-dots { display: inline-flex; gap: 5px; }
.hero__caption-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: background-color .4s, transform .4s; }
.hero__caption-dots i.is-active { background: #fff; transform: scale(1.25); }
.hero__caption-text { transition: opacity .4s; }
@media (max-width: 700px) { .hero__caption { top: 16px; right: 16px; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 24, 66, .96) 0%, rgba(6, 24, 66, .82) 34%, rgba(10, 36, 99, .25) 64%, rgba(10, 36, 99, 0) 80%),
    linear-gradient(0deg, rgba(6, 24, 66, .92) 0%, rgba(6, 24, 66, 0) 38%),
    radial-gradient(700px 400px at 12% 20%, rgba(29, 91, 216, .35), transparent 70%);
}
.hero__inner { position: relative; }
.hero__content { max-width: 640px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 14px; margin-bottom: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: .86rem; font-weight: 600; text-decoration: none; letter-spacing: .02em;
  transition: background-color .2s, transform .2s;
  animation: fadeUp .8s .1s both;
}
.hero__badge:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }
.hero__badge-more { padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--navy); font-size: .8rem; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #5ee08a; }
.pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid #5ee08a; opacity: 0;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.hero h1 { color: #fff; text-transform: uppercase; margin-bottom: .45em; line-height: .86; letter-spacing: -.005em; }
.hero__kicker {
  display: block; margin-bottom: .55em;
  font-family: var(--font-body); font-size: clamp(.9rem, 1.4vw, 1.05rem); font-weight: 700;
  letter-spacing: .32em; color: var(--blue-300);
  animation: fadeUp .8s .2s both;
}
.hero__big { display: block; font-size: clamp(4.2rem, 12vw, 9.5rem); font-weight: 800; animation: fadeUp .9s .3s both; }
.hero__big--outline {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  animation-delay: .42s;
}
@supports not (-webkit-text-stroke: 2px #fff) { .hero__big--outline { color: #fff; } }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 540px; color: #c8d5f5; margin-bottom: 2em; animation: fadeUp .9s .55s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp .9s .7s both; }
.btn--lg { padding: 1em 1.8em; font-size: 1.02rem; }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__stats {
  list-style: none; margin: clamp(40px, 7vw, 72px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  animation: fadeUp 1s .85s both;
}
.hero__stats li { padding: 22px 24px; border-right: 1px solid rgba(255, 255, 255, .12); }
.hero__stats li:last-child { border-right: 0; }
.hero__stats strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hero__stats span { display: block; margin-top: 6px; font-size: .86rem; line-height: 1.35; color: #b9c8ee; }

@media (max-width: 900px) {
  .hero__shade {
    background: linear-gradient(180deg, rgba(6, 24, 66, .55) 0%, rgba(6, 24, 66, .78) 45%, rgba(6, 24, 66, .96) 100%);
  }
  .hero__media img { object-position: 72% 30%; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats li:nth-child(2) { border-right: 0; }
  .hero__stats li:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 700px) {
  .hero { padding-top: 250px; }
  .hero__media { bottom: auto; height: 440px; }
  .hero__media img { object-position: 78% 38%; }
  .hero__slide:first-child img { object-position: 92% 30%; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(6, 24, 66, .2) 0, rgba(6, 24, 66, .35) 150px, rgba(6, 24, 66, .92) 330px, var(--navy-900) 440px);
  }
}
@media (max-width: 480px) {
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%); padding-bottom: 72px; }
  .hero__stats li { padding: 16px; }
  .hero__big--outline { -webkit-text-stroke-width: 1.5px; }
}

/* ---------- Wstęga (marquee) ---------- */
.ribbon-wrap { overflow: hidden; margin-top: -34px; padding: 10px 0 24px; position: relative; z-index: 3; }
.ribbon {
  width: 104%; margin-left: -2%;
  transform: rotate(-2deg);
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(29, 91, 216, .28);
  overflow: hidden;
  padding: 16px 0;
}
.ribbon__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 38s linear infinite;
}
.ribbon span {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  text-transform: uppercase; letter-spacing: .04em; color: #fff; white-space: nowrap;
}
.ribbon i { font-style: normal; color: var(--blue-300); font-size: 1.1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 14px)); } }
@media (max-width: 480px) { .ribbon-wrap { margin-top: -22px; } .ribbon { padding: 12px 0; } }

/* ---------- Tło z dużym napisem ---------- */
.section--watermark { position: relative; overflow: hidden; }
.section--watermark::before {
  content: attr(data-watermark);
  position: absolute; right: -2%; top: 40px;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(6rem, 17vw, 15rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
  pointer-events: none; white-space: nowrap; z-index: 0;
}
.section--watermark > .container { position: relative; z-index: 1; }

/* ---------- Dyscypliny ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative; overflow: hidden;
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  border: 26px solid var(--sky);
}
.card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #c3d3f3; }
.card::before {
  content: attr(data-num);
  position: absolute; right: 28px; bottom: 6px; z-index: 0;
  font-family: var(--font-head); font-weight: 800; font-size: 7.5rem; line-height: 1;
  color: var(--sky); transition: color .35s, transform .35s;
}
.card:hover::before { color: #d6e3fd; transform: translateY(-6px); }
.card::after { transition: transform .5s; }
.card:hover::after { transform: scale(1.25); }
.card__icon {
  position: relative; z-index: 1;
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff;
  margin-bottom: 20px;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }
.card__icon svg { width: 30px; height: 30px; }
.card h3 { position: relative; z-index: 1; font-size: 1.8rem; }
.card p { color: var(--muted); margin: 0; position: relative; z-index: 1; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } .card { padding: 28px 24px; } }

/* ---------- Nabory ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.levels { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; counter-reset: level; position: relative; }
.levels::before {
  content: ""; position: absolute; left: 33px; top: 26px; bottom: 26px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--blue-300), var(--navy));
}
.levels li {
  position: relative;
  counter-increment: level;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  font-weight: 600; color: var(--navy);
  transition: transform .25s, box-shadow .25s;
}
.levels li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.levels li::before {
  content: counter(level);
  position: relative; z-index: 1;
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dot, var(--blue-300));
  color: #fff; box-shadow: 0 0 0 4px #fff;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
}
.levels li:nth-child(1) { --dot: #7fa6f0; }
.levels li:nth-child(2) { --dot: #5a8ae6; }
.levels li:nth-child(3) { --dot: #3a6fdc; }
.levels li:nth-child(4) { --dot: #1d5bd8; }
.levels li span { flex: 1; }
.levels li small { font-size: .8rem; font-weight: 500; color: var(--muted); text-align: right; }
.levels li:last-child { background: linear-gradient(135deg, var(--blue), var(--navy)); border-color: transparent; color: #fff; box-shadow: 0 12px 28px rgba(10, 36, 99, .25); }
.levels li:last-child small { color: #c8d5f5; }
.levels li:last-child::before { background: #fff; color: var(--navy); box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }

.skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.skills li {
  padding: 6px 14px; border-radius: 999px;
  background: var(--sky); color: var(--navy);
  font-size: .9rem; font-weight: 600;
}

.join-box {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 28px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #dfe7fb;
  box-shadow: var(--shadow-lg);
}
.join-box::before, .join-box::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .14);
}
.join-box::before { width: 220px; height: 220px; right: -70px; top: -90px; }
.join-box::after { width: 340px; height: 340px; right: -130px; top: -150px; border-color: rgba(255, 255, 255, .07); }
.join-box h3 { color: #fff; font-size: 1.9rem; margin-bottom: .25em; }
.join-box p { color: #c8d5f5; }
.join-box__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.join-box small { display: block; margin-top: 14px; color: #a9bbe8; font-size: .82rem; }

/* ---------- Klub PRO teaser ---------- */
.pro-teaser {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center;
}
.section--pro { position: relative; overflow: hidden; }
.section--pro::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(29, 91, 216, .45), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.5px) 0 0 / 22px 22px;
  pointer-events: none;
}
.section--pro .container { position: relative; }
.pro-teaser__img {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
  display: block;
  transform: perspective(1200px) rotateY(6deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .6s ease;
}
.pro-teaser__img img { border-radius: var(--radius-lg); }
.pro-teaser__img:hover { transform: perspective(1200px) translateY(-6px); }
.js .pro-teaser__img.reveal { transform: perspective(1200px) rotateY(18deg) translateY(18px); }
.js .pro-teaser__img.reveal.is-visible { transform: perspective(1200px) rotateY(6deg) rotateX(2deg); }
.js .pro-teaser__img.reveal.is-visible:hover { transform: perspective(1200px) translateY(-6px); }
.pro-teaser__tag {
  position: absolute; z-index: 2; right: -14px; top: -18px;
  padding: 10px 18px; border-radius: 14px;
  background: #fff; color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  transform: rotate(6deg);
}
.section--pro p { color: #c8d5f5; }
@media (max-width: 900px) { .pro-teaser__tag { right: 10px; } }
@media (max-width: 900px) { .pro-teaser { grid-template-columns: 1fr; } }

/* ---------- Osiągnięcia / historia ---------- */
.timeline { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }

.year {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(10, 36, 99, .04);
  overflow: hidden;
}
.year[open] { box-shadow: var(--shadow); border-color: #c8d6f2; }
.year summary {
  list-style: none;
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}
.year summary::-webkit-details-marker { display: none; }
.year summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .25s;
}
.year[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.year summary:hover .year__num { background: var(--blue); }
.year__num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1;
  color: #fff; background: var(--navy);
  padding: 8px 14px; border-radius: 10px;
  transition: background-color .2s;
}
.year__label { font-weight: 600; color: var(--navy); }
.year__body { padding: 4px 22px 22px; display: grid; gap: 18px; }
@media (max-width: 480px) {
  .year summary { padding: 14px 16px; }
  .year__label { display: none; }
  .year__body { padding: 0 16px 18px; }
}

.comp { padding-top: 16px; border-top: 1px solid var(--line); }
.comp__name { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.result { display: flex; align-items: flex-start; gap: 12px; font-size: .97rem; }
.place {
  flex: none;
  min-width: 34px; height: 34px; padding: 0 6px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  background: var(--sky); color: var(--navy);
}
.result--gold .place { background: var(--gold); color: #fff; }
.result--silver .place { background: var(--silver); color: #fff; }
.result--bronze .place { background: var(--bronze); color: #fff; }
.result__text { padding-top: 5px; color: var(--ink); }
.result__text strong { color: var(--navy); font-weight: 600; }
.result__text em { color: var(--muted); font-style: normal; font-size: .9em; }

.tally {
  list-style: none; margin: 0 auto 40px; padding: 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.tally__item {
  position: relative; overflow: hidden;
  padding: 22px 20px 20px;
  border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(10, 36, 99, .05);
}
.tally__item::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c, var(--blue));
}
.tally__item--gold { --c: var(--gold); }
.tally__item--silver { --c: var(--silver); }
.tally__item--bronze { --c: var(--bronze); }
.tally__item--world { --c: var(--blue); }
.tally .medal {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 12px;
  background: var(--c); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.tally .medal svg { width: 18px; height: 18px; }
.tally strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.tally span:last-child { font-size: .86rem; color: var(--muted); }
@media (max-width: 720px) { .tally { grid-template-columns: repeat(2, 1fr); } }

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: -18px 0 32px; font-size: .88rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.contact-card { transition: transform .3s, box-shadow .3s, opacity .6s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--sky); color: var(--blue);
  margin-bottom: 18px;
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.contact-card address { font-style: normal; color: var(--ink); }
.contact-card address strong { color: var(--navy); }
.contact-card .muted { color: var(--muted); font-size: .9rem; }
.contact-card__link { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .92rem; }

.schedule { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 6px; }
.schedule li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--ice); border: 1px solid var(--line);
  font-size: .94rem;
}
.schedule strong { color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }

.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.board li { display: flex; flex-direction: column; }
.board .role { font-size: .82rem; color: var(--muted); }
.board .name { font-weight: 600; color: var(--navy); }
.board a { font-weight: 600; text-decoration: none; }
.board a:hover { text-decoration: underline; }

.contact-mail {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: var(--navy); color: #c8d5f5;
}
.contact-mail strong { display: block; color: #fff; font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.9rem); word-break: break-word; }

@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } .contact-mail { padding: 22px; } }

/* ---------- Podstrona: page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #c8d5f5;
  padding: clamp(48px, 8vw, 88px) 0 clamp(96px, 12vw, 150px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 24, 66, .97) 0%, rgba(6, 24, 66, .86) 45%, rgba(10, 36, 99, .55) 100%),
    url("../img/hero-1920.jpg") 70% 35% / cover no-repeat;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; text-transform: uppercase; }
.page-hero p { max-width: 640px; font-size: 1.1rem; }
.breadcrumbs { font-size: .88rem; margin-bottom: 18px; color: #9fb3e6; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.page-banner { margin-top: calc(-1 * clamp(72px, 10vw, 120px)); position: relative; z-index: 2; }
.page-banner img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.prose { max-width: 760px; font-size: 1.06rem; }
.prose p { color: #26324d; }
.prose .lead { font-size: 1.22rem; color: var(--navy); font-weight: 500; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.6em; }
.page-banner + .section { padding-top: clamp(40px, 6vw, 64px); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.info-box { padding: 26px; border-radius: var(--radius); background: var(--ice); border: 1px solid var(--line); }
.info-box h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.info-box p { margin: 0; color: var(--navy); font-weight: 600; }
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Pasek postępu i „do góry” ---------- */
.progress {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--blue-300), var(--blue));
  transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  box-shadow: 0 10px 24px rgba(10, 36, 99, .3);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Stopka ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: -1px;
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(29, 91, 216, .35), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--navy-900);
  color: #a9bbe8; font-size: .94rem;
  padding: calc(clamp(56px, 8vw, 88px) + 48px) 0 0;
  clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%);
}
.site-footer::before {
  content: "STAL";
  position: absolute; z-index: -1; right: -1%; bottom: 40px;
  font-family: var(--font-head); font-weight: 800; line-height: .8;
  font-size: clamp(8rem, 24vw, 20rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .06);
  pointer-events: none;
}
.site-footer a { color: #fff; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--blue-300); }

.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1.15fr; gap: 40px; padding-bottom: 48px; }
.footer-col h4 {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-col h4::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--blue); }

.footer-logo {
  display: inline-block; padding: 10px 12px; margin-bottom: 18px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  transition: transform .3s;
}
.footer-logo:hover { transform: rotate(-3deg) scale(1.03); }
.footer-logo img { height: 72px; width: auto; }
.footer-claim { max-width: 340px; line-height: 1.6; margin-bottom: 22px; }
.footer-claim strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }

.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social__link {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 18px 7px 7px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .25s, border-color .25s, transform .25s;
}
.social .sicon { background: linear-gradient(135deg, var(--blue), var(--blue-600)); color: #fff; }
.social .sicon__fb { border-color: var(--navy-900); }
.social__text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; color: #fff; }
.social__text small { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); }
.site-footer .social__link:hover { color: #fff; background: rgba(29, 91, 216, .25); border-color: var(--blue); transform: translateY(-3px); }
.social__link:hover .sicon { transform: rotate(-6deg) scale(1.05); }

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
  transition: transform .2s, background-color .2s;
}
.footer-links a:hover::before { transform: scale(1.5); background: var(--blue-300); }

.footer-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.footer-info li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.footer-info strong { display: block; color: #fff; font-weight: 600; }
.footer-info__icon {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: var(--blue-300);
}
.footer-info__icon svg { width: 17px; height: 17px; }
.footer-info a { align-self: center; word-break: break-word; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  font-size: .85rem;
}
.footer-pro {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}
.footer-pro svg { width: 13px; height: 13px; }
.site-footer .footer-pro:hover { border-color: var(--blue-300); }
.credit { font-size: .74rem; opacity: .6; }
.site-footer .credit a { color: #a9bbe8; }
.site-footer .credit a:hover { color: #fff; }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Animacje wejścia ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Telefon – wyśrodkowany układ
   ========================================================================== */
@media (max-width: 700px) {
  /* Nagłówki sekcji i „eyebrow” z kreską po obu stronach */
  .section-head { text-align: center; margin-left: auto; margin-right: auto; }
  .eyebrow { justify-content: center; }
  .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }

  /* Hero */
  .hero__content { text-align: center; margin: 0 auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { flex-direction: column; align-items: stretch; max-width: 360px; margin: 0 auto; }
  .hero__actions .btn { width: 100%; }
  .hero__stats li { text-align: center; }

  /* Napis w tle sekcji „O klubie” */
  .section--watermark::before { top: 18px; right: 50%; transform: translateX(50%); font-size: 5.5rem; opacity: .7; }

  /* Karty dyscyplin */
  .card { text-align: center; padding: 30px 22px 34px; }
  .card__icon { margin-left: auto; margin-right: auto; }
  .card::before { right: 50%; transform: translateX(50%); bottom: -8px; font-size: 6rem; opacity: .7; }
  .card:hover::before { transform: translateX(50%) translateY(-6px); }

  /* Nabory */
  #nabory .split > div { text-align: center; }
  .skills { justify-content: center; }
  .levels { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
  .levels li { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 12px 16px; }
  .levels li::before { grid-row: span 2; }
  .levels li small { grid-column: 2; text-align: left; }
  .levels::before { left: 31px; }
  .join-box { text-align: center; padding: 28px 22px; }
  .join-box__actions { flex-direction: column; align-items: stretch; }
  .join-box__actions .btn { width: 100%; }

  /* Klub PRO – zapowiedź */
  .pro-teaser > div { text-align: center; }
  .pro-teaser__img { transform: none; }
  .js .pro-teaser__img.reveal, .js .pro-teaser__img.reveal.is-visible { transform: none; }

  /* Osiągnięcia – kafelki medali */
  .tally__item { text-align: center; }
  .tally .medal { margin-left: auto; margin-right: auto; }

  /* Kontakt */
  .contact-card { text-align: center; align-items: center; padding: 26px 20px; }
  .contact-card__icon { margin-left: auto; margin-right: auto; }
  .contact-card .schedule { width: 100%; text-align: left; }
  .board li { align-items: center; }
  .contact-card__link { align-self: center; }
  .contact-mail { flex-direction: column; text-align: center; }
  .contact-mail .btn { width: 100%; }

  /* Stopka */
  .site-footer { clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%); padding-top: 84px; }
  .site-footer::before { right: 50%; transform: translateX(50%); bottom: 90px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .footer-claim { margin-left: auto; margin-right: auto; }
  .social { justify-content: center; }
  .footer-col h4 { justify-content: center; }
  .footer-col h4::after { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--blue); }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .footer-links a { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
  .footer-links a::before { display: none; }
  .footer-info { justify-items: center; gap: 18px; }
  .footer-info li { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .footer-info a { align-self: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .social { gap: 8px; }
  .social__link { padding: 6px 14px 6px 6px; gap: 10px; }
  .social .sicon { width: 36px; height: 36px; border-radius: 10px; }
  .footer-info { gap: 14px; }
  .footer-info li { gap: 6px; }
  .footer-info__icon { width: 30px; height: 30px; border-radius: 9px; }
  .footer-info__icon svg { width: 15px; height: 15px; }

  /* Podstrony */
  .page-hero .container { text-align: center; }
  .page-hero p { margin-left: auto; margin-right: auto; }
  .page-hero .hero__actions { margin-top: 28px; }
  .page-hero .eyebrow::before, .page-hero .eyebrow::after { display: none; }
  .prose h2, .prose .lead { text-align: center; }

  /* Menu mobilne */
  .nav__list { text-align: center; }
  .nav__cta { justify-content: center; }
  .info-box { text-align: center; }
}
.nowrap { white-space: nowrap; }
