/* Farmacja Tarchomin. Mobile first, układ komputerowy od 768 px. */

:root {
  --bg: #0B1033;
  --navy: #141B4D;
  --deep: #070A24;
  --hero: #0C1247;
  --acc: #2AA4F4;
  --acc-1: #63C8FF;
  --acc-2: #2A8CF4;
  --sky: #7CC8FA;
  --sky-2: #4DB6F7;
  --muted: #C9D0EE;
  --light: #F2F5FB;
  --grad: linear-gradient(135deg, #63C8FF 0%, #2A8CF4 100%);
  --card-grad: linear-gradient(160deg, #1D2875 0%, #10163F 100%);
  --line: rgba(255, 255, 255, 0.14);
  --font: 'Exo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --stripes:
    url(../images/plaster-miodu.svg),
    linear-gradient(128deg, rgba(4, 6, 24, 0) 0%, rgba(4, 6, 24, 0) 26%, rgba(4, 6, 24, 0.8) 38%, rgba(4, 6, 24, 0) 50%, rgba(52, 92, 230, 0.42) 62%, rgba(52, 92, 230, 0) 78%),
    radial-gradient(60% 70% at 100% 100%, rgba(42, 164, 244, 0.32) 0%, rgba(42, 164, 244, 0) 70%);
  --pad-x: 20px;
  --pad-y: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--acc-1); outline-offset: 3px; }
.sec--light :focus-visible { outline-color: #0B6FB8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.stripes { background-image: var(--stripes); }
.fade-top {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
}

/* Pole do uzupełnienia: wszystko w nawiasach kwadratowych */
.pole {
  background: rgba(255, 196, 61, 0.18);
  box-shadow: inset 0 -2px 0 #FFC43D;
  border-radius: 4px;
  padding: 0 0.2em;
}

/* ---------- typografia ---------- */
.h-display, .h-sec, .h-club, .h-staff, .h-tax, .h-sponsor, .brand__name, .team__name, .vs__big {
  font-style: italic;
  text-transform: uppercase;
}
.h-display { font-weight: 900; font-size: 38px; line-height: 0.92; max-width: 1200px; }
.h-sec { font-weight: 900; font-size: 34px; line-height: 1; }
.accent { color: var(--acc); }
.accent-soft { color: var(--sky-2); }

.eyebrow {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
}
.eyebrow--dark { color: #0B6FB8; }
.eyebrow--plain { display: inline; }
.desk-only { display: none; }
.hero__loc { display: none; }

.label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
}

.ghost {
  position: absolute;
  font-style: italic;
  font-weight: 900;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.1);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.ghost--match { right: -20px; top: 40px; font-size: 80px; text-transform: uppercase; }

/* ---------- układ ---------- */
.wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: var(--pad-y) var(--pad-x); }
.stack { display: flex; flex-direction: column; gap: 36px; }
.stack--40 { gap: 40px; }
.stack--32 { gap: 32px; }
.sec { position: relative; overflow: hidden; }
.sec--base { background-color: var(--bg); }
.sec--navy { background-color: var(--navy); }
.sec--deep { background-color: var(--deep); }
.sec--gallery { background: linear-gradient(180deg, #070A24 0%, #0B1033 100%); }
.sec--light { background: var(--light); color: var(--navy); }
.sec-head { display: flex; flex-direction: column; gap: 8px; }
.sec-head--split { flex-direction: column; align-items: stretch; gap: 24px; }
.sec-head__txt { display: flex; flex-direction: column; gap: 8px; }
.note { color: var(--muted); font-size: 15px; }
.lead-muted { color: var(--muted); max-width: 380px; }

.scroll-x {
  display: flex;
  overflow-x: auto;
  gap: 14px;
  margin: 0 calc(var(--pad-x) * -1);
  padding: 0 var(--pad-x) 8px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--pad-x);
  -webkit-overflow-scrolling: touch;
}
.scroll-x::-webkit-scrollbar { display: none; }
.scroll-x > * { scroll-snap-align: start; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn span { display: inline-block; }
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.98); }
.btn--primary { padding: 18px 34px; background: var(--grad); color: var(--bg); }
.btn--primary:hover { box-shadow: 0 10px 28px rgba(42, 140, 244, 0.45); }
.btn--ghost { padding: 10px 20px; border: 2px solid var(--acc); color: #fff; }
.btn--ghost:hover { background: rgba(42, 164, 244, 0.18); }
.btn--white { padding: 16px 32px; border-color: #fff; }
.btn--white-solid { padding: 12px 24px; background: #fff; color: var(--navy); font-size: 16px; }
.btn--white-solid:hover { box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25); }
.btn--dark { padding: 18px 34px; background: var(--navy); color: #fff; }
.btn--dark:hover { background: #0B6FB8; box-shadow: 0 10px 26px rgba(11, 111, 184, 0.35); }
.btn--outline { min-height: 48px; padding: 0 24px; border: 2px solid #fff; background: transparent; color: #fff; font-size: 16px; }
.btn--outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn--outline.is-done { background: var(--grad); border-color: transparent; color: var(--bg); }

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  border-radius: 999px;
}
.badge--accent { align-self: flex-start; background: var(--grad); color: var(--bg); }

/* ---------- nagłówek i menu ---------- */
.site-header { position: relative; z-index: 60; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 51, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  z-index: -1;
}
.site-header__in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { position: relative; z-index: 3; display: flex; align-items: center; gap: 14px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand__name { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap; }
.brand { min-width: 0; }

.burger {
  position: relative;
  z-index: 3;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-self: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.burger:hover { background: rgba(255, 255, 255, 0.08); }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.menu-open .burger { border-color: var(--acc); }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* telefon: pełnoekranowa lista */
.menu {
  position: fixed;
  inset: 0;
  z-index: 2;
  background-color: var(--bg);
  background-image: var(--stripes);
  padding: 104px 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  overflow-y: auto;
}
.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu a:not(.btn) {
  padding: 8px 0;
  font-style: italic;
  font-weight: 900;
  font-size: 38px;
  line-height: 1.1;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}
.menu a:not(.btn):hover { color: var(--sky); transform: translateX(6px); }
.menu__cta { margin-top: 24px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--hero);
  margin: 8px;
  border-radius: 28px;
}
.hero__text {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__lead { font-size: 22px; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 10px; }
.hero__photo { position: relative; height: 270px; }
.hero__photo picture { position: absolute; inset: 0; display: block; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }

/* ---------- dzień meczowy ---------- */
.match-hero {
  background-color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.match-hero__row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.team { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.crest { width: 84px; height: 84px; border-radius: 50%; }
svg.crest { border-radius: 0; }
.team__name { font-weight: 800; font-size: 15px; line-height: 1.15; }
.team__role { font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.vs { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vs__big { font-weight: 900; font-size: 44px; line-height: 0.8; color: var(--acc); }
.vs__when { font-weight: 700; font-size: 12px; letter-spacing: 0.04em; white-space: nowrap; }
.match-hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 24px;
  text-align: center;
}

.match-more { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; }
.match-more::-webkit-scrollbar { display: none; }
.match-more > * { flex: 0 0 auto; }
.card-match {
  background: var(--card-grad);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card-match__when { font-weight: 700; font-size: 15px; letter-spacing: 0.14em; color: var(--sky); }
.card-match__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crest--s { width: 72px; height: 72px; flex: 0 0 auto; }
.card-match__vs { font-style: italic; font-weight: 900; font-size: 34px; color: var(--acc); }
.card-match__title { font-weight: 700; font-size: 20px; text-transform: uppercase; }
.card-result {
  background: var(--grad);
  color: var(--bg);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.card-result__label { font-weight: 700; font-size: 15px; letter-spacing: 0.14em; }
.card-result__score { font-style: italic; font-weight: 900; font-size: 71px; line-height: 0.9; }
.card-result__title { font-weight: 700; font-size: 20px; text-transform: uppercase; }

/* ---------- kadra ---------- */
.filters { margin-bottom: 0; }
.chip {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.chip:hover { border-color: #fff; }
.chip:active { transform: scale(0.96); }
.chip.is-active { background: var(--grad); color: var(--bg); border-color: var(--acc); }

.squad > * { flex: 0 0 236px; }
@media (max-width: 749px) {
  .squad.scroll-x { display: grid; grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 0; }
  .squad > * { flex: none; }
  .filters.scroll-x { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; margin: 0; padding: 0; }
  .chip { padding: 8px 14px; font-size: 14px; letter-spacing: 0.04em; }
  .benefits.scroll-x { display: flex; flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .benefits > * { flex: 0 0 auto; }
}
.pcard {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #26328A 0%, #0B1033 62%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.2s ease, border-color 0.2s ease;
  animation: pop 0.35s ease both;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pcard__media { position: absolute; inset: 0; overflow: hidden; }
.pcard__sil { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 300px; }
.pcard__photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 51, 0) 42%, rgba(11, 16, 51, 0.96) 78%); }
.pcard__nr { position: absolute; top: 6px; left: 16px; font-style: italic; font-weight: 900; font-size: 94px; line-height: 1; text-shadow: 0 2px 18px rgba(11, 16, 51, 0.5); }
.pcard__info { position: relative; padding: 0 20px 14px; display: flex; flex-direction: column; }
.pcard__poz { font-weight: 700; font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky-2); }
.pcard__name { font-style: italic; font-weight: 800; font-size: 29px; line-height: 1.05; text-transform: uppercase; }
.pcard__link {
  position: relative;
  display: block;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.pcard__link:hover { color: var(--sky); padding-left: 26px; }

/* ---------- galeria ---------- */
.gallery > .g { flex: 0 0 290px; height: 300px; border-radius: 32px; object-fit: cover; }
.g2 { object-position: 60% center; }
.g3 { object-position: center 70%; }
.g4 { object-position: center 45%; }
.g5 { object-position: center 18%; }
.g6 { object-position: center 40%; }
.g7 { object-position: center 40%; }

/* ---------- klub ---------- */
.club__crest {
  position: absolute;
  right: -120px;
  top: -60px;
  width: 620px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  opacity: 0.07;
  mix-blend-mode: screen;
  pointer-events: none;
}
.club__grid { display: flex; flex-wrap: wrap; gap: 48px; }
.club__intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.club__est { font-weight: 700; font-size: 18px; letter-spacing: 0.3em; }
.club__year { font-style: italic; font-weight: 900; font-size: 90px; line-height: 0.8; color: var(--acc); }
.h-club { margin-top: 12px; font-weight: 800; font-size: 28px; line-height: 1; }
.timeline { flex: 1 1 420px; min-width: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.timeline__row { display: flex; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.timeline__year { flex: 0 0 90px; font-style: italic; font-weight: 800; font-size: 27px; color: var(--sky); }
.staff {
  flex: 1 1 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  background: var(--card-grad);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 28px;
}
.staff__col { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.h-staff { font-weight: 800; font-size: 26px; line-height: 1.05; }
.staff__people { display: flex; flex-direction: column; gap: 12px; }
.person { display: block; font-weight: 600; font-size: 20px; }

/* ---------- 1,5% ---------- */
.wrap--tax { --pad-y: 8px; padding: 8px 12px 48px; }
.tax {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--grad);
  color: var(--bg);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 56px;
}
.tax__ghost { position: absolute; right: -10px; bottom: -50px; font-style: italic; font-weight: 900; font-size: 160px; line-height: 0.8; color: rgba(255, 255, 255, 0.28); pointer-events: none; }
.tax__txt { position: relative; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tax__eyebrow { font-weight: 700; font-size: 17px; letter-spacing: 0.18em; text-transform: uppercase; }
.h-tax { font-weight: 900; font-size: 32px; line-height: 1; }
.tax__lead { max-width: 520px; font-size: 19px; font-weight: 500; }
.krs { position: relative; flex: 0 1 420px; min-width: 0; background: var(--bg); color: #fff; border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.krs__nr { font-style: italic; font-weight: 900; font-size: clamp(34px, 9vw, 52px); line-height: 1; letter-spacing: 0.02em; }
.krs__label2 { margin-top: 10px; font-size: 15px; letter-spacing: 0.18em; }
.krs .label { font-size: 15px; letter-spacing: 0.18em; }
.krs__note { font-style: italic; font-weight: 800; font-size: 26px; line-height: 1.1; }
.krs__btn { margin-top: 14px; }

/* ---------- sponsorzy ---------- */
.h-sponsor { font-weight: 900; font-size: 32px; line-height: 0.92; max-width: 960px; }
.logos { display: flex; gap: 10px; }
.logo-box {
  flex: 1 1 90px;
  min-width: 0;
  padding: 6px;
  height: 84px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #D5DBEC;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #4A5380;
}
.logo-box--empty { background: transparent; border: 2px dashed #8A93BA; }
.benefits > * { flex: 0 0 240px; }
.benefit { display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: 28px; padding: 24px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.benefit__nr { font-style: italic; font-weight: 900; font-size: 47px; line-height: 1; color: #0B6FB8; }
.benefit h3 { font-weight: 700; font-size: 24px; text-transform: uppercase; }
.benefit p { color: #2E3660; }

/* ---------- dołącz ---------- */
.join { position: relative; overflow: hidden; background: var(--bg); }
.join__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.join__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 16, 51, 0.95) 0%, rgba(11, 16, 51, 0.8) 55%, rgba(11, 16, 51, 0.6) 100%); }
.join__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.join__txt { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.join__lead { max-width: 480px; }
.form {
  flex: 1 1 400px;
  min-width: 0;
  background: rgba(20, 27, 77, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea {
  min-height: 48px;
  padding: 0 14px;
  color: var(--bg);
  background: #fff;
  border: 2px solid transparent;
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { padding: 12px 14px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1033' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--acc-1);
  box-shadow: 0 0 0 4px rgba(99, 200, 255, 0.35);
}
.form__submit {
  min-height: 56px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--bg);
  border: 0;
  font-style: italic;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.form__submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(42, 140, 244, 0.45); }
.form__submit:active { transform: scale(0.98); }
.contact-form-message:empty { display: none; }
.contact-form-message { font-weight: 600; color: var(--muted); }

/* ---------- stopka ---------- */
.site-footer { background: var(--deep); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer__in { max-width: 1280px; margin: 0 auto; padding: 32px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { width: 64px; height: 64px; border-radius: 50%; }
.foot-brand__txt { display: flex; flex-direction: column; }
.foot-brand__name { font-style: italic; font-weight: 800; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; }
.foot-brand__sub { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot-links a, .foot-links__off { padding: 12px 0; transition: color 0.2s ease; }
.foot-links a:hover { color: var(--sky); }
.humbak-credit { color: var(--muted); font-size: 15px; }

/* ---------- komputer i tablet ---------- */
@media (min-width: 768px) {
  :root { --pad-x: 32px; --pad-y: 96px; }

  .desk-only { display: inline; }
  .hero__loc { display: inline; }
  .eyebrow { display: flex; align-items: center; gap: 16px; }
  .eyebrow--plain { display: inline; }
  .eyebrow:not(.eyebrow--plain)::before { content: ''; flex: 0 20 48px; min-width: 0; height: 1px; background: currentColor; opacity: 0.8; }
  .eyebrow:not(.eyebrow--plain)::after { content: ''; flex: 0 20 200px; min-width: 0; height: 1px; background: currentColor; opacity: 0.8; }
  .eyebrow--dark { align-items: center; }
  .sec-head--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
  .h-sec { font-size: clamp(34px, 5.2vw, 72px); }
  .h-display { font-size: clamp(38px, 7vw, 100px); }

  .scroll-x { overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .ghost--match { right: -20px; top: 40px; font-size: clamp(80px, 14vw, 210px); }

  .site-header__in { padding: 14px 32px; flex-wrap: wrap; gap: 16px 32px; }
  .brand img { width: 52px; height: 52px; }
  .brand__name { font-size: 22px; }
  .burger { display: none; }
  .menu {
    position: static;
    inset: auto;
    z-index: auto;
    background: none;
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 28px;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .menu a:not(.btn) { padding: 12px 0; font-style: normal; font-weight: 600; font-size: 16px; line-height: 1.5; }
  .menu a:not(.btn):hover { transform: none; }
  .menu__cta { margin-top: 0; font-size: 16px; }

  .hero { margin: 16px; border-radius: 40px; }
  .hero__text { padding: 64px 32px 0; }
  .hero__photo { height: clamp(300px, 42vw, 600px); }

  .match-hero { border-radius: 40px; padding: 44px 32px; gap: 32px; }
  .match-hero__row { flex-wrap: wrap; gap: 24px 48px; }
  .team { flex: 1 1 220px; gap: 14px; }
  .crest { width: clamp(120px, 15vw, 190px); height: clamp(120px, 15vw, 190px); }
  .team__name { font-size: 29px; line-height: 1; }
  .team__role { font-size: 16px; letter-spacing: 0.18em; }
  .vs__big { font-size: clamp(72px, 10vw, 140px); }
  .vs__when { font-size: 22px; letter-spacing: 0.06em; }

  .match-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .match-more > * { flex: none; }

  .filters { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { padding: 8px 20px; }
  .squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
  .squad > * { flex: none; }


  .gallery { display: flex; flex-wrap: wrap; gap: 16px; }
  .gallery > .g { min-width: 0; height: 320px; flex: 1 1 auto; scroll-snap-align: none; }
  .gallery > .g1 { flex: 2 1 520px; height: 420px; }
  .gallery > .g2 { flex: 1 1 300px; height: 420px; }
  .gallery > .g3 { flex: 2 1 420px; }
  .gallery > .g4 { flex: 1 1 260px; }
  .gallery > .g5 { flex: 1 1 240px; }
  .gallery > .g6 { flex: 1 1 280px; }
  .gallery > .g7 { flex: 2 1 480px; }

  .club__year { font-size: clamp(90px, 14vw, 200px); }
  .h-club { font-size: clamp(28px, 3.8vw, 44px); }
  .h-staff { font-size: clamp(26px, 3.4vw, 40px); }

  .wrap--tax { padding: 24px 32px 96px; }
  .tax { border-radius: 40px; padding: clamp(32px, 5vw, 64px); }
  .tax__ghost { font-size: clamp(160px, 26vw, 380px); }
  .h-tax { font-size: clamp(32px, 4.8vw, 64px); }
  .krs__nr { font-size: clamp(34px, 4.4vw, 52px); }

  .h-sponsor { font-size: clamp(32px, 4.8vw, 64px); }
  .logos { flex-wrap: wrap; gap: 16px; }
  .logo-box { flex: 1 1 240px; height: 120px; font-size: 20px; padding: 0; }
  .benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
  .benefits > * { flex: none; }
  .benefit { padding: 28px; }

  .form { padding: 32px; }
  .site-footer__in { padding: 40px 32px; }
}

@media (min-width: 768px) and (hover: hover) {
  .pcard:hover { transform: translateY(-8px); border-color: var(--acc); }
  .card-match:hover { transform: translateY(-4px); border-color: rgba(99, 200, 255, 0.5); }
  .benefit:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 27, 77, 0.12); }
}

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

/* ---------- 2026-11: tabela ligowa, terminarz, legendy, partnerzy ---------- */
.feed-wait { color: var(--muted); text-align: center; padding: 8px 0; }
.feed-wait a, .feed-src a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
abbr[title] { text-decoration: none; cursor: help; }

.league__scroll { overflow-x: auto; border-radius: 28px; border: 1px solid var(--line); background: var(--card-grad); }
.league__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.league__table th, .league__table td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.league__table thead th { font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.league__table tbody tr:last-child > * { border-bottom: 0; }
.league__table .c-team { text-align: left; font-weight: 600; white-space: normal; min-width: 140px; }
.league__table .c-pos { width: 44px; color: var(--muted); }
.league__table .c-pts { font-weight: 800; }
.league__table .is-us > * { background: rgba(42, 164, 244, 0.22); color: #fff; }
.league__table .is-us .c-team { font-weight: 800; box-shadow: inset 4px 0 0 var(--acc); }
.league__table .is-us .c-pos { box-shadow: inset 4px 0 0 var(--acc); color: #fff; }
.league__table .is-us .c-team { box-shadow: none; }
@media (max-width: 599px) {
  .league__table .c-wdl { display: none; }
  .league__table th, .league__table td { padding: 11px 6px; font-size: 15px; }
}

.fixtures { border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 255, 255, 0.03); }
.fixtures summary { cursor: pointer; padding: 18px 22px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; min-height: 44px; }
.fixtures summary:hover { color: var(--sky); }
.fixtures__list { list-style: none; margin: 0; padding: 0 22px 14px; }
.fx { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.fx__round { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); }
.fx__when { grid-column: 1; font-size: 14px; color: var(--muted); }
.fx__teams { grid-column: 1; font-weight: 600; }
.fx__teams b { display: inline-block; min-width: 2.6em; text-align: center; color: var(--acc); font-weight: 800; }
.fx__o { grid-column: 2; grid-row: 1 / span 3; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.fx__o--W { background: #2BB673; color: #04170C; }
.fx__o--R { background: #C9D0EE; color: var(--bg); }
.fx__o--P { background: #F0552B; color: #fff; }
@media (min-width: 768px) {
  .fx { grid-template-columns: 110px 200px 1fr auto; }
  .fx__round, .fx__when, .fx__teams { grid-column: auto; }
  .fx__o { grid-column: auto; grid-row: auto; }
}

.pcard { height: 400px; }
.pcard__age { margin-top: 4px; color: var(--muted); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }

.club__photo { flex: 1 1 100%; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.club__photo img { width: 100%; height: clamp(220px, 40vw, 520px); object-fit: cover; object-position: center 60%; border-radius: 32px; }
.club__photo figcaption { color: var(--muted); font-size: 15px; }
.legends { flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.legends__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .legends__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.legend-card { background: var(--card-grad); border: 1px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.legend-card h3 { font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; color: #fff; }
.legend-card p { color: var(--muted); }
.staff { align-items: flex-start; }

.logo-box img { max-width: 78%; max-height: 72%; width: auto; height: auto; object-fit: contain; }
.logo-box--dark { background: #000; border-color: #000; }

/* Krój nagłówków: kanciasty, wąski, z polskimi znakami (zbliżony do liternictwa w logo klubu) */
:root { --display: 'Big Shoulders Display', 'Exo 2', sans-serif; }
.h-display, .h-sec, .h-club, .h-staff, .h-tax, .h-sponsor, .brand__name, .team__name, .vs__big,
.club__year, .timeline__year, .pcard__nr, .pcard__name, .krs__nr, .krs__note, .card-result__score,
.card-match__vs, .card-match__title, .card-result__title, .benefit__nr, .benefit h3, .ghost, .tax__ghost,
.foot-brand__name, .form__submit, .legend-card h3, .menu a:not(.btn) {
  font-family: var(--display);
  font-style: normal;
}
.h-display { font-weight: 900; font-size: 46px; line-height: 0.9; letter-spacing: 0.005em; }
.h-sec { font-size: 42px; line-height: 0.95; }
.pcard__name { font-size: 32px; }
.team__name { font-size: 18px; }
@media (min-width: 768px) {
  .h-display { font-size: clamp(46px, 8.4vw, 124px); }
  .h-sec { font-size: clamp(42px, 6.2vw, 88px); }
  .team__name { font-size: 34px; }
}
@media (min-width: 768px) {
  .crest.crest--s { width: clamp(72px, 7vw, 104px); height: clamp(72px, 7vw, 104px); }
}

/* ---------- Aktualności (Facebook po kliknięciu) ---------- */
.news { display: grid; gap: 32px; align-items: start; }
.news__text .eyebrow span { white-space: nowrap; }
.news__feed { width: 100%; max-width: 500px; }
.news__gate {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  min-height: 260px; justify-content: center;
  padding: 32px 28px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card-grad);
}
.news__gate-title { font-family: var(--display, var(--font)); font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.news__gate-note { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 400px; }
.news__frame { display: block; width: 100%; max-width: 500px; border: 0; border-radius: 12px; background: #fff; }
@media (min-width: 900px) {
  .news { grid-template-columns: 1fr minmax(0, 500px); gap: 64px; }
}

/* ---------- Polityka prywatności ---------- */
.form__note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form__note a, .news__gate-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.legal { background: var(--bg); padding: 16px 0 40px; }
.legal__in { max-width: 760px; }
.legal__lead { margin: 16px 0 8px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.legal h2 { margin: 36px 0 12px; font-family: var(--display, var(--font)); font-weight: 800; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0; padding-left: 20px; list-style: disc; display: grid; gap: 10px; }
.legal strong { color: #fff; }
.legal a { color: var(--acc-1); text-decoration: underline; text-underline-offset: 2px; }
.legal__date { margin-top: 28px; font-size: 14px; }
.legal__back { margin-left: auto; padding: 8px 16px; font-size: 14px; white-space: nowrap; }

/* ---------- Gdzie gramy (zawsze widoczne) ---------- */
.venue {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card-grad);
}
.venue__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.venue__label { color: var(--sky); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.venue__place { font-family: var(--display, var(--font)); font-weight: 800; font-size: 22px; line-height: 1.15; text-transform: uppercase; }
.venue__note { color: var(--muted); font-size: 15px; }
