/* Poppins (SIL OFL 1.1), hostowany lokalnie — bez zapytań do Google Fonts. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-400.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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-ext-400.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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600.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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-ext-600.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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700.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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-ext-700.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; }

/* Kolory z wizualizacji klienta (Canva). Strona tylko w wersji jasnej, jak projekt. */
:root {
  --bg: #f5f5f5;
  --text: #111111;
  --muted: #555555;
  --rule: #dcdcdc;
  --card-new: #ffffff;
  --card-old: #e2e2e2;
  --btn-new: #0a62b3;
  --btn-new-hover: #084f91;
  --btn-old: #6e6e6e;
  --btn-old-hover: #5a5a5a;
  --radius: 22px;
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 "Poppins", system-ui, "Segoe UI", sans-serif;
}

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

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

hr {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.project-note {
  margin: 0;
  padding: 16px 0 24px;
  text-align: center;
  font-size: 0.95rem;
}

h1 {
  margin: 20px 0 32px;
  text-align: center;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
}

/* Karty */
.cards {
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 10vw, 140px);
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
}

.card--old { background: var(--card-old); }
.card--new { background: var(--card-new); }

.card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 44px;
  text-align: center;
}

.card-logos {
  width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.card--old .card-logos { max-width: 300px; mix-blend-mode: multiply; }
.card--new .card-logos { max-width: 420px; }

.card-title {
  margin: 24px 0 20px;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.4;
}

.card--old .card-title { font-weight: 400; color: var(--muted); }
.card--new .card-title { font-weight: 700; }

/* Przyciski */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 228px;
  min-height: 38px;
  margin-top: auto;
  padding: 6px 64px;
  border-radius: 9px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.15s;
}

.btn:focus-visible {
  outline: 3px solid var(--btn-new);
  outline-offset: 3px;
}

.btn--old { background: var(--btn-old); }
.btn--old:hover { background: var(--btn-old-hover); }

.btn--new { background: var(--btn-new); font-weight: 600; }
.btn--new:hover { background: var(--btn-new-hover); }

.btn-arrows {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 50px;
  height: 25px;
  transform: translateY(-50%);
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linejoin: miter;
}

/* Stopka (wzorowana na stronie logowania platformy) */
.site-footer {
  max-width: 1160px;
  padding-bottom: 24px;
  text-align: center;
}

.footer-logos {
  width: 100%;
  max-width: 720px;
  margin: 32px auto 24px;
}

.footer-funding {
  margin: 0 0 16px;
  font-size: 1rem;
}

.footer-rule { max-width: 700px; margin: 0 auto; }

.footer-copy {
  margin: 0;
  padding: 24px 0 8px;
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; gap: 28px; }
  .btn { min-width: 0; width: 100%; max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
