/* ==========================================================================
   KKS Górnik Zabrze – arkusz stylów
   ========================================================================== */

/* Fonty (hostowane lokalnie – bez zapytań do Google) */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/oswald-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Barwy z herbu */
  --navy-900: #0d1a3d;
  --navy-800: #14275a;
  --navy: #274495;
  --blue: #1f54a7;
  --red: #e3202d;
  --red-bright: #ee2935;
  --gold: #c99212;
  --pink: #e0197a;

  --ink: #121a2e;
  --muted: #55607a;
  --line: #dfe4ee;
  --bg: #ffffff;
  --bg-alt: #f3f5fa;

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

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(13, 26, 61, .25);
  --header-h: 68px;
  --gutter: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--navy-800); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

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

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 28px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 8px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-lg { width: 2rem; height: 2rem; }
.icon-xl { width: 3rem; height: 3rem; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 .4rem;
}
.lead { font-size: 1.15rem; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.5em;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-bright); color: #fff; }
.btn-blue { background: var(--navy); color: #fff; }
.btn-blue:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy-800); }

.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Nagłówek i nawigacja
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px -10px rgba(13,26,61,.35); border-color: var(--line); }

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

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-800); }
.brand img { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-small { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.brand-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; color: var(--red); }
.brand:hover { color: var(--navy-800); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; cursor: pointer; color: var(--navy-800);
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 26px; height: 3px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; }

/* Menu mobilne */
@media (max-width: 959px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--navy-800);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav li + li { border-top: 1px solid rgba(255,255,255,.12); }
  .site-nav ul a {
    display: block; padding: 14px 4px;
    font-family: var(--font-head); font-size: 1.35rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .05em; color: #fff;
  }
  .site-nav ul a:hover { color: var(--gold); }
  .nav-social { display: flex; gap: 12px; margin-top: 16px; }
  .nav-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff;
  }
}

/* Menu desktop */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 24px; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav ul a {
    display: block; padding: 8px 12px; border-radius: 8px;
    font-family: var(--font-head); font-size: 1.02rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .06em; color: var(--navy-800);
  }
  .site-nav ul a:hover, .site-nav ul a.is-active { color: var(--red); }
  .nav-social { display: flex; gap: 6px; padding-left: 16px; border-left: 1px solid var(--line); }
  .nav-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%; color: var(--navy);
  }
  .nav-social a:hover { background: var(--bg-alt); color: var(--red); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 85% 20%, rgba(39,68,149,.85), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 70%);
}
.hero::after {
  /* delikatna "murawa" */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background: repeating-linear-gradient(90deg, #fff 0 60px, transparent 60px 120px);
}
.hero-stripes, .footer-stripes {
  position: absolute; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg,
    transparent 0 40%, var(--red) 40% 47%, #fff 47% 50%, var(--gold) 50% 51%,
    transparent 51% 100%);
}
.hero-stripes { right: -120px; bottom: -120px; width: 520px; height: 520px; opacity: .9; }

.hero-inner {
  display: grid; gap: 32px; align-items: center;
  padding-top: 48px; padding-bottom: 64px;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: .95; margin-bottom: .3em;
}
.hero h1 span { color: var(--red-bright); }
.hero-lead { font-size: 1.15rem; max-width: 34em; color: rgba(255,255,255,.88); }
.hero-shout {
  display: inline-block; margin: .5em 0 1.6em;
  font-family: var(--font-head); font-size: clamp(1.3rem, 3.5vw, 1.8rem); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  padding: .15em .6em; background: var(--red); transform: rotate(-2deg);
  box-shadow: 6px 6px 0 rgba(0,0,0,.25);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo { display: flex; justify-content: center; }
.hero-logo img { width: min(220px, 55vw); filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }

@media (max-width: 767px) {
  .hero-logo { order: -1; }
  .hero-logo img { width: 130px; }
  .hero-inner { padding-top: 32px; padding-bottom: 48px; gap: 20px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { flex: 1 1 180px; }
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1.4fr 1fr; padding-top: 80px; padding-bottom: 96px; }
  .hero-logo img { width: min(320px, 100%); }
}

/* Baner klubowy (z projektu 9250×1200 mm) */
.banner-strip { background: #2a3f8f; line-height: 0; }
.banner-strip img { width: 100%; max-width: 2400px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Sekcje
   -------------------------------------------------------------------------- */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy-800); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--gold); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head-left { text-align: left; margin: 0 0 24px; }
.section-head h2 { margin-bottom: .25em; }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 5px; margin: .35em auto 0;
  background: linear-gradient(90deg, var(--red) 0 60%, var(--gold) 60% 100%);
}
.section-head-left h2::after { margin-left: 0; }
.section-lead { color: var(--muted); font-size: 1.08rem; }

/* --------------------------------------------------------------------------
   Aktualności (Facebook)
   -------------------------------------------------------------------------- */
.news-grid {
  display: grid; gap: 16px; align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
/* Posty z fanpage'a */
.news-feed { margin-bottom: 40px; }
.posts {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.post { display: flex; }
.post-link {
  display: flex; flex-direction: column; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  color: var(--ink); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-link:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 36px -14px rgba(13,26,61,.35); }
.post-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media.is-video::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px;
  margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(13,26,61,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 34px no-repeat;
  border: 2px solid rgba(255,255,255,.85);
}
.post-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.post-date {
  font-family: var(--font-head); font-size: .9rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 8px;
}
.post-text { margin: 0 0 14px; white-space: pre-line; overflow-wrap: anywhere; font-size: .95rem; }
.post-more { margin-top: auto; font-weight: 600; color: var(--blue); font-size: .92rem; }
.post-link:hover .post-more { color: var(--red); }
.news-more { text-align: center; margin: 28px 0 0; }

.social-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: var(--radius);
  color: #fff; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.social-card:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--shadow); }
.social-card span { display: flex; flex-direction: column; min-width: 0; }
.social-card strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.social-card small { opacity: .85; overflow-wrap: anywhere; }
.social-fb { background: linear-gradient(135deg, #1877f2, var(--navy)); }
.social-ig { background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 80%); }

.info-card {
  padding: 22px; border-radius: var(--radius);
  background: var(--bg-alt); border-left: 5px solid var(--red);
}
.info-card h3 { color: var(--navy-800); font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   O klubie
   -------------------------------------------------------------------------- */
.about-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(var(--navy), var(--red));
}
.timeline li { position: relative; padding: 0 0 28px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 21px; height: 21px;
  border-radius: 50%; background: #fff; border: 5px solid var(--navy);
}
.timeline li:last-child::before { border-color: var(--red); }
.timeline-date {
  display: block; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--navy);
}
.timeline-text { color: var(--ink); }

/* --------------------------------------------------------------------------
   Drużyny
   -------------------------------------------------------------------------- */
.teams {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
.teams > li { flex: 1 1 300px; max-width: 380px; }
@media (max-width: 659px) { .teams > li { max-width: none; } }
.team {
  --accent: var(--navy);
  position: relative; overflow: hidden;
  padding: 28px 24px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  border-top: 6px solid var(--accent);
  transition: transform .15s ease;
}
.team:hover { transform: translateY(-4px); }
.team::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px;
  background: url("../img/logo-kks-zabrze.svg") center / contain no-repeat; opacity: .07;
}
.team-pink { --accent: var(--pink); }
.team-red { --accent: var(--red); }
.team-tag {
  display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--accent);
}
.team h3 { font-size: 1.7rem; color: var(--navy-800); margin-bottom: .3em; }
.team p { color: var(--muted); margin: 0; }

.team-schedule {
  list-style: none; margin: 16px 0 0; padding: 12px 0 0;
  border-top: 1px dashed var(--line); display: grid; gap: 6px;
}
.team-schedule li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.team-schedule span { color: var(--ink); font-size: .92rem; }
.team-schedule strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--accent); letter-spacing: .02em; }

/* Plan tygodnia */
.week {
  margin-top: 56px; padding: 28px var(--gutter); border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--line);
}
@media (min-width: 768px) { .week { padding: 36px 32px; } }
.week-title { text-align: center; color: var(--navy-800); font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin-bottom: .2em; }
.week-place { text-align: center; color: var(--muted); margin-bottom: 24px; }
.week-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); }
.week-day { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 6px 18px -12px rgba(13,26,61,.35); }
.week-day h4 {
  margin: 0 0 12px; padding-bottom: 8px; border-bottom: 3px solid var(--red);
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; color: var(--navy-800);
}
.week-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chip {
  --c: var(--navy);
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; font-size: .92rem; font-weight: 600;
  background: color-mix(in srgb, var(--c) 10%, #fff); border-left: 4px solid var(--c); color: var(--ink);
}
.chip strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--c); min-width: 3.1em; }
@media (min-width: 1000px) {
  /* 5 dni w rzędzie – godzina nad nazwą grupy, żeby nazwy się nie łamały */
  .week-day { padding: 14px 12px; }
  .chip { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.3; white-space: nowrap; }
  .chip strong { min-width: 0; }
}
.chip-ks { --c: var(--pink); }
.chip-u11 { --c: var(--navy); }
.chip-u13 { --c: #0f7a8a; }
.chip-u16 { --c: #a77508; }
.chip-sen { --c: var(--red); }

/* --------------------------------------------------------------------------
   Dołącz
   -------------------------------------------------------------------------- */
.join-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .join-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.join-copy .lead { color: rgba(255,255,255,.9); }

.join-card {
  margin: 24px 0; padding: 22px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-left: 5px solid var(--pink);
}
.join-card h3 { font-size: 1.25rem; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; }
.facts dt { font-weight: 700; color: var(--gold); text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; padding-top: 3px; }
.facts dd { margin: 0; }
.join-more { margin: 14px 0 0; font-size: .92rem; color: rgba(255,255,255,.8); }
.join-more a { color: var(--gold); font-weight: 600; }

.join-call { font-weight: 600; margin-bottom: 12px; }
.phones { display: flex; flex-wrap: wrap; gap: 12px; }
.phone {
  flex: 1 1 200px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 999px;
  background: var(--red); color: #fff; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.phone:hover { background: var(--red-bright); color: #fff; transform: translateY(-2px); }
.phone .icon { width: 26px; height: 26px; }
.phone span { display: flex; flex-direction: column; line-height: 1.15; }
.phone strong { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: .04em; }
.phone small { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }

.posters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.poster, .partner-img {
  display: block; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  transition: transform .2s ease;
}
.poster:nth-child(1) { transform: rotate(-2deg); }
.poster:nth-child(2) { transform: rotate(2deg) translateY(24px); }
.poster:hover { transform: rotate(0) scale(1.03); }

/* --------------------------------------------------------------------------
   Partnerzy
   -------------------------------------------------------------------------- */
.partners { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .partners { grid-template-columns: 1.3fr 1fr; } }
.partner { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.partner-img { width: 100%; border-radius: 0; box-shadow: none; }
.partner-img img { width: 100%; }
.partner-img:hover { transform: none; }
.partner figcaption { display: flex; flex-direction: column; padding: 16px 20px; }
.partner figcaption strong { font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; color: var(--navy-800); }
.partner figcaption span { color: var(--muted); font-size: .95rem; }

.partner-cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-800) 100%); color: #fff;
  position: relative; overflow: hidden; isolation: isolate;
}
.partner-cta::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; z-index: -1;
  background: url("../img/logo-kks-proporczyk.svg") center / contain no-repeat; opacity: .12; transform: rotate(12deg);
}
.partner-cta h3 { font-size: 1.7rem; }
.partner-cta p { color: rgba(255,255,255,.85); }
.partner-cta .btn-blue { background: #fff; color: var(--navy-800); }
.partner-cta .btn-blue:hover { background: var(--gold); color: var(--navy-900); }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.contact-card {
  padding: 28px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-card .icon-lg { color: var(--red); margin-bottom: 12px; }
.contact-card h3 { color: var(--navy-800); }
.contact-card address { font-style: normal; margin-bottom: 1em; }
.contact-card p a { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; text-decoration: none; color: var(--navy-800); letter-spacing: .03em; }
.contact-card p a:hover { color: var(--red); }
.contact-card .contact-email a { font-size: 1.1rem; overflow-wrap: anywhere; }
.partner-cta p a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.partner-cta p a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: rgba(255,255,255,.8);
  padding: 48px 0 32px;
}
.footer-stripes { left: -160px; top: -200px; width: 480px; height: 480px; opacity: .5; transform: scaleX(-1); }
.footer-inner { display: grid; gap: 20px; justify-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; text-align: left; }
.footer-brand img { width: 64px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand strong { display: block; font-family: var(--font-head); font-size: 1.4rem; text-transform: uppercase; color: #fff; }
.footer-brand span { font-size: .9rem; }
.footer-shout { font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; color: var(--gold); letter-spacing: .05em; margin: 0; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
}
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-meta { font-size: .85rem; margin: 0; }
.footer-meta a { color: rgba(255,255,255,.8); }
.footer-meta a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  padding: 0; border: 0; background: transparent;
  max-width: min(96vw, 1100px); max-height: 94dvh; overflow: visible;
}
.lightbox::backdrop { background: rgba(5, 10, 25, .88); }
.lightbox img { max-width: 100%; max-height: 90dvh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox-close {
  position: fixed; top: 12px; right: 12px;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  font-size: 2rem; line-height: 1; color: var(--navy-900); background: #fff;
}

/* --------------------------------------------------------------------------
   Podstrony (polityka prywatności, 404)
   -------------------------------------------------------------------------- */
.page { padding: 56px 0 80px; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(2rem, 6vw, 3rem); color: var(--navy-800); }
.page h2 { font-size: 1.5rem; margin-top: 1.6em; }
.page-404 { text-align: center; padding: 80px 0 100px; }
.page-404 img { width: 140px; margin: 0 auto 24px; }
.page-404 h1 { font-size: clamp(4rem, 18vw, 8rem); color: var(--red); margin: 0; }
