/* =========================================================
   STYLE.CSS — WSPÓLNY DLA:
   - index.html
   - wspieraj.html

   Styl zgodny ze stroną index:
   jasnoszare tło, czarny tekst, szarości,
   żółty akcent z logo, jedna czcionka Inter.
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");


/* =========================================================
   1. ZMIENNE KOLORÓW
========================================================= */

:root {
  --black: #111111;
  --graphite: #2b2b2b;
  --gray: #666666;
  --gray-dark: #3d3d3d;

  /* JASNY SZARY JAK NA ZDJĘCIU INDEX */
  --gray-light: #f1f1ef;
  --gray-mid: #e8e8e6;
  --gray-very-light: #f7f7f5;

  --white: #ffffff;

  /* ŻÓŁTY JAK NA LOGO / LINII NA INDEXIE */
  --yellow: #f5b21b;
  --yellow-soft: rgba(245, 178, 27, 0.18);

  --border-light: rgba(0, 0, 0, 0.10);
  --border-medium: rgba(0, 0, 0, 0.18);

  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   2. RESET I USTAWIENIA GLOBALNE
========================================================= */

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family: "Inter", Arial, sans-serif;
  color: var(--black);

  background: var(--gray-light);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}


/* =========================================================
   3. INDEX.HTML — STRONA GŁÓWNA
========================================================= */

.start-page {
  min-height: 100vh;
  background: var(--gray-light);
}

.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 64px);
  overflow: hidden;
  background: var(--gray-light);
}

.hero-image {
  width: 100%;
  height: calc(100vh - 64px);
  object-fit: cover;
  object-position: center top;
}


/* =========================================================
   4. INDEX.HTML — PASEK 6 MINIATUR
   przesunięte bardziej w lewo + aktywne po najechaniu
========================================================= */

.preview-strip {
  position: absolute;

  /* TU JEST PRZESUNIĘCIE W LEWO */
  left: 42%;
  bottom: 102px;
  transform: translateX(-50%);
  z-index: 5;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;

  width: min(900px, calc(100% - 420px));
  padding: 8px;

  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.preview-strip img {
  width: 100%;
  aspect-ratio: 1 / 1.5;
  object-fit: cover;
  object-position: center center;

  filter: grayscale(100%);
  opacity: 0.62;

  transition:
    filter 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.preview-strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.035);
  z-index: 2;
}


/* =========================================================
   5. INDEX.HTML — PRZYCISK WSPIERAJ
========================================================= */

.support-link {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 8;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;

  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);

  transition: 0.2s ease;
}

.support-link:hover {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}


/* =========================================================
   6. INDEX.HTML — LICZNIK ODWIEDZIN
========================================================= */

.visits-box {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 8;

  display: inline-flex;
  align-items: center;
  gap: 16px;

  padding: 10px 14px;

  background: rgba(255, 255, 255, 0.82);
}

.visits-label {
  display: block;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--black);
}

.visits-number {
  display: block;

  font-size: 16px;
  font-weight: 800;
  line-height: 1;

  color: var(--yellow);
}


/* =========================================================
   7. WSPIERAJ.HTML — CAŁA STRONA
========================================================= */

.support-page {
  min-height: 100vh;

  /* TŁO JAK NA ZDJĘCIU INDEX — JASNY CHŁODNY SZARY */
  background:
    linear-gradient(
      90deg,
      var(--gray-very-light) 0%,
      var(--gray-light) 44%,
      var(--gray-mid) 100%
    );
}


/* =========================================================
   8. WSPIERAJ.HTML — NAGŁÓWEK
========================================================= */

.support-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 24px;

  background: transparent;
  border-bottom: 1px solid var(--border-light);
}

.support-header__inner {
  width: 100%;
  margin: 0;
}

.support-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 34px;
  padding: 10px 15px;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;

  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);

  transition: 0.2s ease;
}

.support-back:hover {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.support-eyebrow {
  margin: 0 0 14px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;

  color: var(--yellow);
}

.support-header h1 {
  margin: 0;

  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;

  color: var(--black);
}

.support-lead {
  max-width: 790px;
  margin: 22px 0 0;

  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.6;
  font-weight: 400;

  color: var(--graphite);
}


/* =========================================================
   9. WSPIERAJ.HTML — GŁÓWNA SEKCJA
========================================================= */

.support-section {
  width: min(1180px, calc(100% - 48px));
  margin: 34px auto 48px;
}

.support-card {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 42px;

  padding: 0;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}


/* =========================================================
   10. WSPIERAJ.HTML — LEWA KOLUMNA Z LOGO
========================================================= */

.support-logo-box {
  align-self: start;

  padding: 0 0 22px;

  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  box-shadow: none;
}

.support-logo-box img {
  width: 100%;
  max-width: 220px;
  margin: 0 0 22px;

  background: var(--white);
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.support-logo-box p {
  margin: 0;

  font-size: 14px;
  line-height: 1.65;
  color: var(--graphite);
}

.support-logo-box strong {
  font-weight: 700;
  color: var(--black);
}


/* =========================================================
   11. WSPIERAJ.HTML — PRAWA KOLUMNA Z TREŚCIĄ
========================================================= */

.support-content {
  min-width: 0;
}

.support-section-label {
  display: inline-block;

  margin: 0 0 16px;
  padding: 0;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;

  color: var(--yellow);
  background: transparent;
  border: none;
  border-radius: 0;
}

.support-content h2 {
  max-width: 920px;
  margin: 0 0 24px;

  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;

  color: var(--black);
}

.support-content p {
  max-width: 880px;
  margin: 0 0 18px;

  font-size: 16px;
  line-height: 1.78;
  font-weight: 400;

  color: var(--graphite);
}

.support-content strong {
  font-weight: 700;
  color: var(--black);
}


/* =========================================================
   12. WSPIERAJ.HTML — DANE DO PRZELEWU
========================================================= */

.donation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;

  max-width: 920px;
  margin: 34px 0 28px;

  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.donation-item {
  padding: 16px 18px;

  background: rgba(255, 255, 255, 0.48);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.donation-item--full {
  grid-column: 1 / -1;
}

.donation-item span {
  display: block;
  margin-bottom: 8px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--yellow);
}

.donation-item strong {
  display: block;

  font-size: 16px;
  line-height: 1.42;
  font-weight: 700;
  overflow-wrap: anywhere;

  color: var(--black);
}


/* =========================================================
   13. WSPIERAJ.HTML — DELIKATNA NOTATKA
========================================================= */

.support-note {
  max-width: 880px;

  margin-top: 28px !important;
  padding: 18px 20px;

  font-weight: 500;
  background: rgba(255, 255, 255, 0.58);
  color: var(--graphite) !important;

  border-left: 4px solid var(--yellow);
}


/* =========================================================
   14. STOPKA — WSPÓLNA DLA INDEX I WSPIERAJ
========================================================= */

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;

  min-height: 64px;
  width: 100%;
  margin: 0;
  padding: 18px 24px;

  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;

  color: var(--gray);
  background: var(--gray-light);
  border-top: 1px solid var(--border-light);
}

.site-footer a {
  color: var(--gray);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--yellow);
}


/* =========================================================
   15. RESPONSYWNOŚĆ — TABLETY
========================================================= */

@media (max-width: 900px) {
  .hero {
    min-height: calc(100vh - 64px);
  }

  .hero-image {
    height: calc(100vh - 64px);
  }

  .preview-strip {
    left: 50%;
    width: min(760px, calc(100% - 40px));
    grid-template-columns: repeat(3, 1fr);
    bottom: 94px;
  }

  .support-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .support-logo-box {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 24px;
    align-items: center;
  }

  .support-logo-box img {
    margin: 0;
  }

  .donation-grid {
    grid-template-columns: 1fr;
  }

  .donation-item {
    grid-column: 1 / -1;
  }
}


/* =========================================================
   16. RESPONSYWNOŚĆ — TELEFONY
========================================================= */

@media (max-width: 640px) {
  .hero {
    min-height: calc(100vh - 64px);
  }

  .hero-image {
    height: calc(100vh - 64px);
    object-position: center top;
  }

  .preview-strip {
    left: 50%;
    width: calc(100% - 28px);
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 6px;
    bottom: 78px;
  }

  .support-link {
    left: 14px;
    bottom: 16px;

    padding: 10px 13px;

    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .visits-box {
    right: 14px;
    bottom: 16px;

    gap: 10px;
    padding: 9px 11px;
  }

  .visits-label {
    font-size: 9px;
  }

  .visits-number {
    font-size: 15px;
  }

  .support-header {
    width: calc(100% - 32px);
    padding: 28px 0 20px;
  }

  .support-back {
    margin-bottom: 26px;
    font-size: 10px;
  }

  .support-eyebrow {
    font-size: 10px;
    letter-spacing: 0.26em;
  }

  .support-header h1 {
    font-size: 32px;
    letter-spacing: 0.08em;
  }

  .support-lead {
    font-size: 16px;
    line-height: 1.6;
  }

  .support-section {
    width: calc(100% - 32px);
    margin-top: 28px;
  }

  .support-card {
    gap: 30px;
  }

  .support-logo-box {
    display: block;
  }

  .support-logo-box img {
    max-width: 210px;
    margin: 0 0 18px;
    padding: 18px;
  }

  .support-content h2 {
    font-size: 24px;
    line-height: 1.22;
  }

  .support-content p {
    font-size: 15.5px;
    line-height: 1.72;
  }

  .donation-item {
    padding: 15px 14px;
  }

  .donation-item strong {
    font-size: 15px;
  }

  .site-footer {
    gap: 8px;
    padding: 16px 14px;

    font-size: 10px;
    line-height: 1.6;
  }
}


/* =========================================================
   17. BARDZO MAŁE TELEFONY
========================================================= */

@media (max-width: 420px) {
  .support-link {
    max-width: 150px;
    line-height: 1.15;
    text-align: center;
  }

  .preview-strip {
    bottom: 76px;
  }

  .support-header h1 {
    font-size: 29px;
  }

  .support-lead {
    font-size: 15.5px;
  }

  .support-content h2 {
    font-size: 22px;
  }
}