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

:root {
  --lime: #c8f000;
  --lime-dark: #b0d800;
  --black: #222121;
  --white: #fff;
  --gray: #555;
  --light-bg: #f4f4f2;
  --peach-bg: #fde8d8;
  --inner: 1200px;
  --pad: clamp(20px, 5vw, 80px);
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Nunito Sans", sans-serif;
  font-stretch: expanded;
  letter-spacing: -2.5px;
}

/* ── INNER CONTAINER ── */
.inner {
  width: 100%;
  max-width: var(--inner);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ══════════════════════
   NAV
══════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 62px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.45s,
    backdrop-filter 0.45s,
    -webkit-backdrop-filter 0.45s,
    border-color 0.45s,
    box-shadow 0.45s;
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
nav.scrolled .nav-links a {
  color: #000;
}
nav.scrolled .nav-links .btn-nav {
  color: #fff;
}
nav.scrolled .nav-links .btn-nav:hover {
  color: #000;
}
nav.scrolled .nav-links a .link-text-clone {
  color: #1a3a6e;
}

/* blur fade strip pinned just below navbar, blurs the hero behind it */
.nav-blur-edge {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 199;
  pointer-events: none;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}
nav .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

/* logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  opacity: 0;
  animation: navFadeIn 0.4s ease forwards;
  animation-delay: 0.1s;
}

.nav-logo-img {
  height: 24px;
  width: auto;
  display: block;
  /* logo is white — visible on transparent/dark hero */
  filter: brightness(0) invert(1);
  transition: filter 0.45s;
}

/* when scrolled (glass bg) — switch to dark logo */
nav.scrolled .nav-logo-img {
  filter: brightness(0);
}

/* mobile logo — hidden on desktop, shown on mobile */
.nav-logo-img-m {
  display: none;
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.45s;
}
nav.scrolled .nav-logo-img-m,
nav:has(.hamburger.open) .nav-logo-img-m,
nav.menu-open .nav-logo-img-m {
  filter: brightness(0);
}

/* mobile CTA btn — hidden on desktop */
.btn-nav-mobile {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: auto;
}
.nav-links li {
  position: relative;
  opacity: 0;
  animation: navFadeIn 0.4s ease forwards;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  position: relative;
}

/* clip only the text area vertically */
.nav-links a .link-wrap {
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  height: 1.2em;
  position: relative;
  padding-right: 2px;
}

.nav-links a .link-text,
.nav-links a .link-text-clone {
  display: block;
  white-space: nowrap;
  line-height: 1.2;
  transition: transform 0.38s cubic-bezier(0.22, 0.68, 0, 1.2);
  will-change: transform;
}

.nav-links a .link-text-clone {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  color: var(--lime);
  font-weight: 200;
  white-space: nowrap;
}

.nav-links a:hover .link-text {
  transform: translateY(-100%);
}
.nav-links a:hover .link-text-clone {
  transform: translateY(-100%);
}

/* cta btn */
.btn-nav {
  background: var(--black);
  color: var(--white);
  padding: 8px 20px !important;
  border-radius: 30px !important;
  font-family: "DM Sans", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.15s;
  flex-shrink: 0;
  opacity: 0;
  animation: navFadeInPlace 0.3s ease forwards;
  animation-delay: 0.5s;
}
.btn-nav:hover {
  background: var(--lime);
  transform: translateY(-1px);
  color: var(--black);
}

/* ══════════════════════
   HERO
══════════════════════ */
.hero {
  width: 100%;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #2a3f5f 0%, #4a6080 35%, #c8d8e4 70%, #e8eef2 100%);
  display: flex;
  align-items: stretch;
}

/* full-bleed background photo */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("img/background.jpg") center center / cover no-repeat;
  z-index: 0;
  animation: heroBgFade 1.2s ease forwards;
}

@keyframes heroBgFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* dark-to-transparent gradient overlay so text stays readable */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(30, 50, 80, 0.6) 0%,
    rgba(30, 50, 80, 0.3) 40%,
    rgba(30, 50, 80, 0) 75%
  );
}

.hero .inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  min-height: 520px;
}

.hero-text {
  max-width: 740px;
}

.hero-kicker {
  font-family: "Nunito Sans", sans-serif;
  font-stretch: expanded;
  font-size: 25px;
  font-weight: 100;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--lime);
}

.hero-headline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

.hero-pct {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 500;
  font-stretch: expanded;
  font-size: clamp(80px, 12vw, 120px);
  line-height: 0.9;
  letter-spacing: -14px;
  color: var(--lime);
}
.hero-pct sup {
  font-size: 0.35em;
  vertical-align: super;
  letter-spacing: -1px;
  color: var(--lime);
}

.hero-subtitle-big {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 400;
  font-stretch: expanded;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--lime);
  align-self: center;
}

.hero-body {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 360px;
  margin-bottom: 28px;
}
.hero-body strong {
  color: var(--white);
  font-weight: 600;
}

.btn-lime {
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 100;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 62px;
  border-radius: 26px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
  border: none;
  cursor: pointer;
  font-stretch: expanded;
  line-height: 1.1;
}
.btn-lime:hover {
  background: #000;
  color: #fff;
}

.hero-partner {
  display: flex;
  align-items: center;
  gap: 0px;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.hero-partner b {
  color: #fff;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  padding-left: 8px;
    padding-right: 4px;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-weight: 600;
}

/* refunded badge — bottom right */
.hero-badge-refund {
  position: absolute;
  bottom: 40px;
  right: var(--pad);
  z-index: 2;
  width: 230px;
  height: 230px;
}
.hero-badge-refund svg {
  width: 100%;
  height: 100%;
}
/* glass badge */
.hero-badge-refund {
  position: absolute;
  bottom: 40px;
  right: var(--pad);
  z-index: 2;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: saturate(100%) blur(10px);
  -webkit-backdrop-filter: saturate(100%) blur(10px);
  /*    box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 8px 40px rgba(0, 0, 0, .15);*/
  padding: 10px;
}

/* ══════════════════════
   BADANIE KTÓRE RATUJE ŻYCIE
══════════════════════ */
.saves-life {
  background: #f9f9f9;
  padding: 80px 0 64px;
  text-align: center;
}
.saves-life h2,
.did-you-know h2,
.quiz-section h2,
.events-section h2 {
  font-family: "Nunito Sans", sans-serif;
  font-stretch: expanded;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.1;
}

.saves-life h2 {
  margin-bottom: 20px;
}
.saves-life .lead {
  font-size: 15.5px;
  color: var(--gray);
  max-width: 860px;
  margin: 0 auto 52px;
  line-height: 1.65;
}

/* article cards */
.article-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
  align-items: start;
}

.art-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition:
    transform 0.25s,
    background 0.5s ease,
    box-shadow 0.3s;
}

.art-card-bg--photo {
  transition: opacity 0.45s ease;
}
.art-card-overlay {
  transition: opacity 0.5s ease;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
}

.art-card--expanded {
  height: auto;
  min-height: 380px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #d6e8f0 0%, #e8f2f6 50%, #f0f6f8 100%);
}

.art-card-full {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  opacity: 0;
  display: block !important;
  /* always in DOM, animated via max-height */
}

.art-card--expanded .art-card-full {
  max-height: 600px;
  opacity: 1;
}

.art-card-short {
  transition: opacity 0.3s ease;
}
.art-card--expanded .art-card-short {
  display: none;
}

.art-card-body {
  position: relative;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.art-card-body-top {
  flex: 1;
  padding-top: 10px;
}

.art-card-body-bottom {
  margin-top: auto;
  padding-top: 20px;
}
.art-card:hover {
  transform: translateY(-4px);
}

/* card bg images — placeholders with tinted backgrounds */
.art-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 380px;
  /* fixed — never grows with card */
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: opacity;
  flex-shrink: 0;
}

.art-card:nth-child(1) .art-card-bg {
  background-color: #a8ccd8;
}
.art-card:nth-child(2) .art-card-bg {
  background-color: #f0b8b8;
}

.art-card h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #2a2a2a;
  margin-bottom: 15px;
}

.art-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #444;
  opacity: 0.8;
  margin-bottom: 20px;
  max-width: 160px;
}

.art-card--expanded p.art-card-full {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  opacity: 1;
}

/* ── PILL EXPAND BUTTON ── */
.btn-art {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--lime);
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  overflow: hidden;
  white-space: nowrap;
  transition:
    width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.2s,
    gap 0.25s,
    padding 0.25s;
  padding: 0;
}
.btn-art .btn-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s 0.05s;
  display: inline-block;
}
.btn-art .arrow {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}

.btn-art:hover {
  width: 200px;
  border-radius: 100px;
  background: var(--lime);
  gap: 10px;
  padding: 0 22px;
}
.btn-art:hover .btn-label {
  max-width: 160px;
  opacity: 1;
}

/* same for btn-art-icon (card 2) */
.btn-art-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--lime);
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  overflow: hidden;
  white-space: nowrap;
  transition:
    width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.2s,
    gap 0.25s,
    padding 0.25s;
  padding: 0;
}
.btn-art-icon .btn-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s 0.05s;
  display: inline-block;
}
.btn-art-icon .arrow {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}

.btn-art-icon:hover {
  width: 200px;
  border-radius: 100px;
  background: var(--lime);
  gap: 10px;
  padding: 0 22px;
}
.btn-art-icon:hover .btn-label {
  max-width: 160px;
  opacity: 1;
}

.btn-collapse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(0, 0, 0, 0.1);
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  overflow: hidden;
  white-space: nowrap;
  transition:
    width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.2s,
    gap 0.25s,
    padding 0.25s;
  padding: 0;
}
.btn-collapse .btn-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s 0.03s;
  display: inline-block;
}
.btn-collapse .arrow {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}
.btn-collapse:hover {
  width: 140px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.15);
  gap: 10px;
  padding: 0 22px;
}
.btn-collapse:hover .btn-label {
  max-width: 100px;
  opacity: 1;
}

.art-card--expanded .art-card-bg--photo {
  opacity: 0;
}
.art-card--expanded .art-card-overlay {
  opacity: 0;
}
/* collapsing state — keep bg hidden while card shrinks */
.art-card--collapsing .art-card-bg--photo {
  opacity: 0 !important;
}
.art-card--collapsing .art-card-overlay {
  opacity: 0 !important;
}
.art-card--collapsing .art-card-full {
  opacity: 0;
  max-height: 0;
}
.art-card--collapsing .art-card-short {
  display: none;
}

.art-card--expanded h3 {
  color: var(--black);
}

.art-card--expanded:hover {
  transform: none;
}
#artCard2.art-card--expanded {
  background: linear-gradient(135deg, #fde8e8 0%, #f8f0f0 50%, #fdf6f6 100%);
}

.did-you-know {
  /*  background: var(--light-bg);
  */
  background: #f3f4fb;
  padding: 60px 0 120px;
}
.did-you-know h2 {
  text-align: center;
  margin-bottom: 50px;
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.fact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 36px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease,
    box-shadow 0.25s;
}
.fact-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px) !important;
}

.fact-card h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.fact-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray);
}

/* right column — tall peach card spans both rows */
.fact-card-tall {
  background: var(--peach-bg) url("img/hpv.jpg") center bottom / cover no-repeat;
  border-radius: 20px;
  padding: 48px 36px;
  grid-row: 1 / 3;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s;
}
.fact-card-tall:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px) !important;
}

.fact-card-tall h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.fact-card-tall p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray);
  max-width: 180px;
}

/* ── NAV ENTRANCE ANIMATION ── */
@keyframes navFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navFadeInPlace {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.nav-links li:nth-child(1) {
  animation-delay: 0.2s;
}
.nav-links li:nth-child(2) {
  animation-delay: 0.25s;
}
.nav-links li:nth-child(3) {
  animation-delay: 0.3s;
}
.nav-links li:nth-child(4) {
  animation-delay: 0.35s;
}

.hamburger {
  opacity: 0;
  animation: navFadeIn 0.4s ease forwards;
  animation-delay: 0.2s;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  z-index: 300;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════
   FOOTER
══════════════════════ */
.site-footer {
  background: #2e3f63;
  /*  background-image: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(23,37,65,.55) 0%, transparent 70%);*/
  color: var(--white);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-logo-img {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  display: block;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s;
}
.footer-social-icon:hover {
  background: rgba(255, 255, 255, 0.25);
}
.footer-social-icon svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.65);
  transition: fill 0.2s;
}
.footer-social-icon:hover svg {
  fill: #fff;
}

.footer-col h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul li a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}
/* ── CTA BANNER ── */
.cta-banner {
  background: var(--lime);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.cta-waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-waves svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-banner h2 {
  font-family: "Nunito Sans", sans-serif;
  font-stretch: expanded;
  font-size: clamp(22px, 3.3vw, 32px);
  font-weight: 800;
  color: #2d380e;
  letter-spacing: -2px;
  margin: 0;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cta-btn-dark {
  display: inline-flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
}
.cta-btn-dark:hover {
  background: var(--lime);
  color: #000;
  transform: translateY(-2px);
  /*  border: 1px solid #000;*/
}
.cta-banner .cta-btn-dark:hover {
  background: var(--lime);
  color: #000;
  transform: translateY(-2px);
  border: 1px solid #000;
}

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 100px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
}
.cta-btn-outline:hover {
  border-color: var(--black);
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-btn-dark,
  .cta-btn-outline {
    justify-content: center;
  }
}

/* ── BIBLIOGRAPHY ── */
.footer-biblio {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
}
.footer-biblio .inner {
  padding-top: 0;
  padding-bottom: 0;
}

.biblio-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
}
.biblio-toggle:hover {
  color: rgba(255, 255, 255, 0.6);
}

.biblio-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  display: inline-block;
}
.biblio-arrow.open {
  transform: rotate(180deg);
}

.biblio-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.biblio-content.open {
  max-height: 2000px;
}

.biblio-list {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 8px;
}
.biblio-list li {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.25);
}
.biblio-list li a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.biblio-list li a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.biblio-asterisk {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}
/* ══════════════════════
   QUIZ — TAK / NIE layout
══════════════════════ */
.quiz-section {
  background: var(--white);
  padding: 80px 0 72px;
}
.quiz-section .inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.quiz-header {
  text-align: center;
}

.quiz-wrap {
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

/* LEFT */
.quiz-questions-col {
  background: #eeeef8;
  padding: 34px 48px;
  display: flex;
  flex-direction: column;
}
.quiz-col-headers {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.quiz-col-lbl {
  width: 52px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-align: center;
  flex-shrink: 0;
}
.quiz-col-lbl b {
  font-family: Arial, sans-serif;
}
.quiz-col-lbl-spacer {
  flex: 1;
}

.q-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.q-row {
  display: flex;
  align-items: center;
}
.radios {
  display: flex;
  flex-shrink: 0;
}
.r-wrap {
  width: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.r-wrap input {
  display: none;
}
.r-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s,
    box-shadow 0.15s;
}
.r-dot:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.nie input:checked + .r-dot {
  background: var(--black);
  border-color: var(--black);
  transform: scale(1.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.tak input:checked + .r-dot {
  background: var(--lime);
  border-color: var(--lime-dark);
  transform: scale(1.1);
  box-shadow: 0 2px 12px rgba(200, 240, 0, 0.4);
}
.r-wrap label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.q-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #222;
  padding-left: 12px;
}

.quiz-progress-wrap {
  height: 3px;
  border-radius: 3px;
  margin-top: auto;
  padding-top: 28px;
  overflow: visible;
}
.quiz-progress-fill {
  height: 3px;
  background: var(--lime);
  border-radius: 3px;
  width: 0%;
  transition: width 0.4s ease;
}

/* RIGHT */
.quiz-result-col {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 52px;
  /*  background: linear-gradient(0deg, #aecdd8 0%, #d6e8f0 100%);
  */
  background: url(img/test.jpg) center center / cover no-repeat;
  transition: background 0.6s ease;
}
.quiz-result-col.state-0 {
  background: linear-gradient(0deg, #f4c5c8 0%, #fff8f7 100%);
}
.quiz-result-col.state-1 {
  background: linear-gradient(0deg, #f9e1c7 0%, #fffbec 100%); justify-content: left;
}
.quiz-result-col.state-2 {
  background: linear-gradient(0deg, #aecdd8 0%, #f3fcff 100%);
}
.quiz-result-col.state-3 {
  background: linear-gradient(0deg, #aecdd8 0%, #f3fcff 100%);
}

.quiz-result-col::after {
  content: "";
  position: absolute;
  inset: 0;
  bottom: -90px;
  background: url("img/tile-bg.png") center center / 596px 375px no-repeat;
  opacity: 1;
  pointer-events: none;
}

.quiz-result {
  display: none;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
  animation: qrIn 0.4s ease both;
}
.quiz-result.active {
  display: flex;
}
@keyframes qrIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.qr-title {
  font-family: "Nunito Sans", sans-serif;
  font-stretch: expanded;
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--black);
}
.qr-msg {
  font-size: 15px;
  color: #333;
  line-height: 1.65;
  max-width: 320px;
}

@media (max-width: 767px) {
  .quiz-wrap {
    grid-template-columns: 1fr;
  }
  .quiz-questions-col {
    padding: 28px 24px;
  }
  .quiz-result-col {
    padding: 32px 28px;
    min-height: 220px;
  }
  .qr-title {
    font-size: 26px;
  }
}

/* ══════════════════════
   EVENTS SECTION
══════════════════════ */
.events-section {
  background: var(--white);
  padding: 80px 0 72px;
  text-align: center;
}

.events-section h2 {
  margin-bottom: 56px;
  /*  max-width: 800px;
  */
  margin-left: auto;
  margin-right: auto;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s;
}
/*.event-card:hover { transform: translateY(-4px); }*/

.event-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e8e8;
  position: relative;
}
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.event-card:hover .event-img img {
  transform: scale(1.04);
}

/* placeholder bg when no image */
.event-img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.event-img-ph.ph1 {
  background: linear-gradient(135deg, #f0e8e8 0%, #e0d0d0 100%);
}
.event-img-ph.ph2 {
  background: linear-gradient(135deg, #e8e8f4 0%, #d0d0e8 100%);
}
.event-img-ph.ph3 {
  background: linear-gradient(135deg, #e8f0f4 0%, #d0e0e8 100%);
}

.event-desc {
  font-size: 14px;
  line-height: 1.35;
  color: #262220;
}
.event-desc-min {
  font-size: 10px;
  line-height: 1.45;
  color: #55514f;
}

@media (max-width: 767px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .events-section h2 {
    font-size: 28px;
  }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .events-grid {
    gap: 20px;
  }
  .event-desc {
    font-size: 13.5px;
  }
}
/* ── HAMBURGER ── */

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.35s,
    opacity 0.25s,
    width 0.25s;
  transform-origin: center;
}
nav.scrolled .hamburger span {
  background: var(--black);
}
.hamburger.open span {
  background: var(--black);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE OVERLAY ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--white);
  flex-direction: column;
  padding: 90px var(--pad) 48px;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(100%);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #eee;
}
.mobile-menu ul li {
  border-bottom: 1px solid #eee;
}
.mobile-menu ul li a {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  font-stretch: expanded;
  font-size: 20px;
  letter-spacing: -1px;
  color: var(--black);
  text-decoration: none;
  padding: 18px 0;
  transition: color 0.2s;
}
.mobile-menu ul li a:hover {
  color: #555;
}
.mobile-menu .mobile-cta {
  margin-top: 36px;
}
.mobile-menu .mobile-cta .btn-nav {
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 15px;
  border-radius: 12px;
}

/* ── TABLET 768–1023 ── */
@media (max-width: 1023px) {
  .hero-pct {
    font-size: 90px;
  }
  .quiz-wrap {
    grid-template-columns: 1fr;
  }
  .quiz-result-col {
    min-height: 280px;
    padding: 40px 40px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

/* ── MOBILE ≤767px ── */
@media (max-width: 767px) {
  /* nav */
  .hamburger {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .nav-links {
    display: none;
  }
  .btn-nav {
    display: none;
  }
/*
  .nav-logo-img {
    display: none;
  }
  .nav-logo-img-m {
    display: block;
  }
*/
  .btn-nav-mobile {
    display: inline-block;
    margin-left: auto;
    font-size: 12.5px;
    padding: 9px 16px !important;
    border-radius: 26px !important;
    background: none;
    border: 1px solid #fff;
    margin-right: 10px;
  }
  nav.scrolled .btn-nav-mobile {
    color: #000;
    border: 1px solid #000;
  }
  .hider {
    width: 100%;
      margin-bottom: 10px;
  }
  .hamburger {
    margin-left: 0;
  }
  /* hero */
  .hero {
    min-height: 100svh;
  }
  .hero .inner {
    padding-top: 90px;
    padding-bottom: 48px;
    min-height: auto;
    align-items: flex-start;
  }
  .hero-bg {
    background-position: center bottom;
  }
  .hero-kicker {
    font-size: 18px;
  }
  .hero-pct {
    font-size: 80px;
    letter-spacing: -8px;
  }
  .hero-subtitle-big {
    font-size: 25px;
    line-height: 27px;
  }
  .hero-headline {
    gap: 10px;
  }
  .hero-body {
    font-size: 13.5px;
  }
  .btn-lime {
    padding: 18px 50px;
    font-size: 13px;
  }
  .hero-badge-refund {
    width: 150px;
    height: 150px;
    bottom: 16px;
    right: 16px;
  }
  .hero-bg {
    background: url(img/background-m.jpg) center center / cover no-repeat;
  }
  .hero-partner {
    font-size: 12px;
    width: 300px;
  }
  .partner-logo {
    padding-left: 0;
      padding-right: 0;
  }
  .partner-logo img.niedaj {
          width: 28px;
    }
  .partner-logo img.alivia {
    width: 90px; flex-basis: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8px;
  }
  .partner-logo img {
    width: 38px;
  }
    .partner-logo:first-of-type img {
  width: 38px;
}
  #bezplatny {
    background: url(img/background-bezplatny-test-m.jpg) center center / cover no-repeat !important;
  }
  #naukowo {
    background: url(img/background-naukowo2-m.jpg) center center / cover no-repeat !important;
  }
  #placowki {
    background: url(img/background-placowki-m.jpg) center center / cover no-repeat !important;
  }
  #rozmowy {
    background: url(img/background-rozmowy-m.jpg) center center / cover no-repeat !important;
  }
  #rozmowy .hero-badge-refund {
    background: url(img/background-rozmowy-m.jpg) center center / cover no-repeat !important;
  }

  /* saves life */
  .saves-life {
    padding: 56px 0 48px;
  }
  .saves-life h2 {
    font-size: 26px;
  }
  .saves-life .lead {
    font-size: 14px;
    margin-bottom: 36px;
  }
  .article-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .art-card {
    height: 300px;
  }
  .art-card--expanded {
    height: auto;
  }
  .art-card-bg {
    height: 300px;
  }
  .art-card-body {
    padding: 20px;
  }
  .art-card-body-bottom {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: auto;
    z-index: 3;
    padding-top: 0;
    margin-top: 0;
  }
  .art-card--expanded .art-card-body-bottom {
    position: static;
    padding-top: 20px;
  }

  /* quiz */
  .quiz-section {
    padding: 56px 0 48px;
  }
  .quiz-wrap {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .quiz-questions-col {
    padding: 28px 24px;
  }
  .quiz-col-lbl {
    width: 44px;
  }
  .r-wrap {
    width: 44px;
  }
  .r-dot {
    width: 28px;
    height: 28px;
  }
  .q-text {
    font-size: 13px;
  }
  .quiz-result-col {
    padding: 32px 28px;
    min-height: 240px;
  }
  .qr-title {
    font-size: 24px;
  }
  .qr-msg {
    font-size: 14px;
  }

  /* facts */
  .did-you-know {
    padding: 56px 0 72px;
  }
  .did-you-know h2 {
    font-size: 26px;
    margin-bottom: 32px;
  }
  .facts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fact-card {
    padding: 32px 24px;
    min-height: auto;
  }
  .fact-card-tall {
    grid-row: none;
    grid-column: auto;
    min-height: 240px;
    padding: 32px 24px;
  }
  .fact-card-tall {
    min-height: 440px;
  }
  .fact-card h3,
  .fact-card-tall h3 {
    font-size: 24px;
  }

  /* events */
  .events-section {
    padding: 56px 0 48px;
  }
  .events-section h2 {
    font-size: 26px;
    margin-bottom: 36px;
  }
  .events-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* cta */
  .cta-banner {
    padding: 48px 0;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-btn-dark,
  .cta-btn-outline {
    justify-content: center;
    padding: 14px;
  }

  /* footer */
  .mobile-hidden {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-brand .footer-desc {
    font-size: 13px;
    max-width: 100%;
  }
  .footer-col h4 {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .footer-col ul li a {
    font-size: 14px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-note,
  .footer-copy {
    font-size: 11px;
  }
  .biblio-toggle {
    font-size: 11px;
  }
}
@media (max-width: 479px) {
  :root {
    --pad: 16px;
  }
  .hero-pct {
    font-size: 78px;
    letter-spacing: -7px;
  }
  .hero-kicker {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .hero-subtitle-big {
    font-size: 26px;
  }
  .hero-body {
    font-size: 13px;
    max-width: 100%;
    font-weight: 100;
  }
  .hero-partner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-badge-refund {
    width: 155px;
    height: 155px;
  }
  .art-card {
    height: 260px;
  }
  .art-card--expanded {
    height: auto;
  }
  .art-card-bg {
    height: 260px;
  }
  .art-card h3 {
    font-size: 19px;
  }
  .quiz-questions-col {
    padding: 24px 16px;
  }
  .quiz-result-col {
    padding: 28px 20px;
  }
  .qr-title {
    font-size: 20px;
    letter-spacing: -1px;
  }
  .fact-card h3,
  .fact-card-tall h3 {
    font-size: 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .hero-pct sup {
    font-size: 0.55em;
  }
}

/* ══════════════════════
   4 KROKI — SCROLL STORY
══════════════════════ */
.steps-story {
  position: relative;
  background: var(--white);
  /* 4 steps × 80vh each */
  min-height: calc(4 * 80vh);
}
.step-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(72px, 9vw, 140px);
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* default hidden state — below viewport, ready to come up */
  transform: translateY(48px) scale(1);
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.6s;
}

/* active — fully visible, centred */
.step-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* outgoing — fade up + shrink slightly */
.step-panel.is-leaving {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-32px) scale(0.96);
  transition:
    opacity 0.5s cubic-bezier(0.4, 0, 0.6, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.6, 1),
    visibility 0.5s;
}

@media (max-width: 900px) {
  .steps-story {
    min-height: calc(4 * 80svh);
    padding: 0;
  }
  .step-panel {
    position: absolute;
    inset: 0 var(--pad);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(210px, 42svh) auto;
    gap: 22px;
    align-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(40px) scale(1);
    margin-bottom: 0;
    transition:
      opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0.6s;
  }
  .step-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .step-panel.is-leaving {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-24px) scale(0.97);
    transition:
      opacity 0.5s cubic-bezier(0.4, 0, 0.6, 1),
      transform 0.6s cubic-bezier(0.4, 0, 0.6, 1),
      visibility 0.5s;
  }
  .step-panel::before {
    content: none;
  }
}

@media (max-width: 420px) {
  .step-panel {
    grid-template-rows: minmax(180px, 36svh) auto;
    gap: 18px;
  }
}

/* ── CZY WIESZ ŻE — naukowo.html ── */
.facts-grid--two {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}
.fact-card--teal {
  background: linear-gradient(0deg, #bfdfe6 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

/* ══════════════════════════════════════
     PAGE-SPECIFIC STYLES - naukowo.html
  ══════════════════════════════════════ */

/* ── NAUKOWO HERO OVERRIDE ── */

/* ── INTRO TEXT ── */
.intro-text-section {
  background: var(--white);
  padding: 96px 0 0;
  text-align: center;
}
.intro-text-section h2 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: -2.5px;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 28px;
}
.intro-text-section p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--gray);
  max-width: 860px;
  margin: 0 auto;
}
.steps-lead-title {
  margin-bottom: 0;
}

/* ── INTRO SLIDER ── */
.slider-section {
  background: var(--white);
  padding: 80px 0 72px;
  overflow: hidden;
}
.slider-section .inner {
  position: relative;
}
.slider-header {
  text-align: center;
  margin-bottom: 56px;
}
.slider-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 14px;
}
.slider-track-wrap {
  position: relative;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── SLIDE LAYOUT ── */
.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 480px;
}

/* LEFT - image */
.slide-img {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 380px;
  background: #e0e8f0;
}
.slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  margin-left: 3px;
  margin: 0;
}
.slide-img-ph {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

/* RIGHT - content */
.slide-content {
  padding: 42px 0 48px 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* big slide number */
.slide-num {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: 100px;
  line-height: 1;
  letter-spacing: -6px;
  color: #f0f0f0;
  position: absolute;
  top: 24px;
  right: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.slide-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  width: fit-content;
}
.slide-content h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(22px, 2.8vw, 34px);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.slide-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  max-width: 420px;
}

/* ── CONTROLS ── */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-left: 4px;
}
.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.15s;
  color: var(--black);
  flex-shrink: 0;
}
.slider-btn:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}
.slider-btn:disabled {
  opacity: 0.25;
  cursor: default;
  transform: none;
  background: var(--white);
  color: var(--black);
  border-color: #ddd;
}

/* progress bar + counter */
.slider-progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.slider-progress-bar {
  flex: 1;
  height: 2px;
  background: #e8e8e8;
  border-radius: 2px;
  overflow: hidden;
}
.slider-progress-fill {
  height: 100%;
  background: var(--black);
  border-radius: 2px;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  width: 33.33%;
}
.slider-counter {
  font-size: 13px;
  color: #aaa;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.slider-counter strong {
  color: var(--black);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }
  .slide-img {
    min-height: 260px;
    border-radius: 16px 16px 0 0;
  }
  .slide-img-ph {
    min-height: 260px;
  }
  .slide-content {
    padding: 32px 24px;
  }
  .slide-num {
    font-size: 64px;
    top: 16px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
  .slider-controls {
    gap: 12px;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
}
/* ── PROGRAMS SLIDER ── */

/* clip window - shows ~1.3 slides so next is peeking */

.pslide {
  flex: 0 0 100%;
  min-width: 0;
  padding-right: 48px;
}

/* ── CONTROLS ── */

@media (max-width: 767px) {
  .pslide {
    flex: 0 0 85%;
    padding-right: 24px;
  }
}

/* ── FAQ SECTION ── */
.faq-section {
  background: #f7f7f5;
  padding: 96px 0;
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-left {
  position: sticky;
  top: 90px;
}
.faq-left h2 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(22px, 3vw, 42px);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--black);
}
.faq-left p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  max-width: 380px;
}

/* accordion */
.faq-list {
  width: 100%;
}
.faq-item {
  border-bottom: 1px solid #ddd;
}
.faq-item:first-child {
  border-top: 1px solid #ddd;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  font-stretch: expanded;
  font-size: clamp(15px, 1.4vw, 17px);
  letter-spacing: -0.5px;
  color: var(--black);
  transition: color 0.2s;
}
.faq-trigger:hover {
  color: #333;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--black);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s;
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
  opacity: 0;
}
.faq-item.open .faq-body {
  max-height: 600px;
  opacity: 1;
}
.faq-body-inner {
  padding: 0 0 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}
.faq-body-inner p {
  margin-bottom: 10px;
}
.faq-body-inner p:last-child {
  margin-bottom: 0;
}
.faq-body-inner strong {
  color: var(--black);
  font-weight: 600;
}

@media (max-width: 900px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
  .faq-left h2 {
    font-size: 32px;
  }
}
@media (max-width: 600px) {
  .faq-section {
    padding: 64px 0;
  }
  .faq-left h2 {
    font-size: 26px;
  }
  .faq-trigger {
    font-size: 15px;
    padding: 18px 0;
  }
}

/* ── WAŻNE DLA CIEBIE ── */
.important-section {
  background: var(--white);
  padding: 80px 0;
}
.important-card {
  background: url("img/wazne-dla-ciebie.jpg") center center / cover no-repeat;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.important-text {
  padding: 40px 60px;
  max-width: 600px;
}
.important-text h2 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 20px;
}
.important-text p {
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.7;
  color: #473718;
  margin-bottom: 16px;
}
.important-text strong {
  color: var(--black) !important;
  font-weight: 700;
}
.important-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .important-card {
    border-radius: 20px;
    min-height: 360px;
    position: relative;
  }
  .important-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
    border-radius: inherit;
  }
  .important-text {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 479px) {
  .important-text {
    padding: 32px 20px;
  }
}

/* ══════════════════════════════════════
     PAGE-SPECIFIC STYLES - naukowo.html
  ══════════════════════════════════════ */

/* ── NAUKOWO HERO OVERRIDE ── */

/* ── PLACÓWKI HERO ── */
.placowki-hero .hero-subtitle-big {
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--lime);
  margin-bottom: 0;
  align-self: auto;
}
.placowki-hero .hero-headline {
  display: none;
}
.placowki-hero .hero-kicker {
  display: none;
}
.placowki-hero .hero-body {
  display: none;
}
.placowki-hero .hero-partner {
  display: none;
}

/* ── FINDER SECTION ── */
.finder-section {
  background: #f5f6fa;
  padding: 96px 0 80px;
}
.finder-header {
  text-align: center;
  margin-bottom: 64px;
}
.finder-header h2 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(26px, 3.3vw, 46px);
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 20px;
}
.finder-header p {
  font-size: 16px;
  line-height: 1.7;
  color: #413c3c;
  max-width: 860px;
  margin: 0 auto;
}

/* grid: steps left, mockup right */
.finder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* steps */
.finder-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  margin-top: 120px;
}
.finder-steps a {
  text-decoration: none;
  color: #19375f;
}
.finder-steps a:hover {
  text-decoration: none;
  color: #3967a3;
}
.finder-step {
}
.finder-step-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a3a6e;
  margin-bottom: 10px;
}
.finder-step h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(18px, 2vw, 17px);
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 12px;
}
.finder-step p {
  font-size: 15px;
  line-height: 1.4;
  color: #212229;
}
.finder-step a {
  text-decoration: none;
  color: #243150;
}
.finder-step a:hover {
  text-decoration: none;
  color: #4870b1;
}
.finder-step strong {
  color: var(--black);
  font-weight: 600;
}

/* mockup screenshot */
.finder-mockup {
  position: sticky;
  top: 100px;
}
.finder-mockup-inner {
  /*    background: linear-gradient(135deg, #dce8f4 0%, #e8f0f8 100%);
  */
  border-radius: 20px;
}
.finder-mockup-inner img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

@media (max-width: 900px) {
  .finder-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .finder-mockup {
    position: static;
  }
}
@media (max-width: 600px) {
  .finder-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .finder-section {
    padding: 64px 0;
  }
  .finder-header h2 {
    font-size: 28px;
  }
}

/* ── INTRO SLIDER ── */

.slider-header p {
  font-size: 15.5px;
  color: var(--gray);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.65;
}

/* LEFT - image */

/* big slide number */

/* progress bar + counter */

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }
  .slide-img {
    min-height: 260px;
    border-radius: 16px 16px 0 0;
  }
  .slide-img-ph {
    min-height: 260px;
  }
  .slide-content {
    padding: 32px 24px;
  }
  .slide-num {
    font-size: 64px;
    top: 16px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
  .slider-controls {
    gap: 12px;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
}

/* clip window - shows ~1.3 slides so next is peeking */

/* ── CONTROLS ── */

@media (max-width: 767px) {
  .pslide {
    flex: 0 0 85%;
    padding-right: 24px;
  }
}

/* accordion */

@media (max-width: 900px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
  .faq-left h2 {
    font-size: 32px;
  }
}
@media (max-width: 600px) {
  .faq-section {
    padding: 64px 0;
  }
  .faq-left h2 {
    font-size: 26px;
  }
  .faq-trigger {
    font-size: 15px;
    padding: 18px 0;
  }
}

/* ── WAŻNE DLA CIEBIE ── */

@media (max-width: 767px) {
  .important-card {
    border-radius: 20px;
    min-height: 360px;
    position: relative;
  }
  .important-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
    border-radius: inherit;
  }
  .important-text {
    position: relative;
    z-index: 1;
  }
}

/* ══════════════════════════════════════
     PAGE-SPECIFIC STYLES - naukowo.html
  ══════════════════════════════════════ */

/* ── NAUKOWO HERO OVERRIDE ── */

/* ── INTRO TEXT ── */
.intro-text-section {
  background: var(--white);
  padding: 96px 0 0;
  text-align: center;
}

/* ── SLIDE LAYOUT ── */

/* RIGHT - content */

/* ── CONTROLS ── */

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }
  .slide-img {
    min-height: 260px;
    border-radius: 16px 16px 0 0;
  }
  .slide-img-ph {
    min-height: 260px;
  }
  .slide-content {
    padding: 32px 24px;
  }
  .slide-num {
    font-size: 64px;
    top: 16px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
  .slider-controls {
    gap: 12px;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
}

/* clip window - shows ~1.3 slides so next is peeking */

/* ── CONTROLS ── */

@media (max-width: 767px) {
  .pslide {
    flex: 0 0 85%;
    padding-right: 24px;
  }
}

/* accordion */

@media (max-width: 900px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
  .faq-left h2 {
    font-size: 32px;
  }
}
@media (max-width: 600px) {
  .faq-section {
    padding: 64px 0;
  }
  .faq-left h2 {
    font-size: 26px;
  }
  .faq-trigger {
    font-size: 15px;
    padding: 18px 0;
  }
}

/* ── WAŻNE DLA CIEBIE ── */

@media (max-width: 767px) {
  .important-card {
    border-radius: 20px;
    min-height: 360px;
    position: relative;
  }
  .important-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
    border-radius: inherit;
  }
  .important-text {
    position: relative;
    z-index: 1;
  }
}

/* ── VIDEO PLAY BUTTON ── */

/* ── CLICKABLE ARTICLE CARD ── */
a.event-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.event-card--link:hover {
  transform: none;
}
a.event-card--link:hover .event-img img {
  transform: scale(1.04);
}

/* btn-art positioned over image on hover */

.btn-art-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  opacity: 1;
  transform: scale(0.85);
  transition:
    opacity 0.25s,
    transform 0.25s;
  z-index: 3;
}
.event-card:hover .btn-art-overlay,
a.event-card--link:hover .btn-art-overlay {
  opacity: 1;
  transform: scale(1);
  width: 200px;
  border-radius: 100px;
  gap: 10px;
  padding: 0 22px;
}
a.event-card--link:hover .btn-art-overlay .btn-label {
  max-width: 160px;
  opacity: 1;
}

/* ── VIDEO MODAL ── */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.82);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn 0.25s ease;
}
.video-modal.open {
  display: flex;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  animation: modalSlideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes modalSlideUp {
  from {
    transform: translateY(32px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.video-modal-close:hover {
  opacity: 1;
}
.video-modal-frame {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.slide-content ul {
  margin-left: 20px;
}
.slide-content ul li {
  font-size: 15px;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 1.55;
  color: var(--gray);
}

/* ══════════════════════
   STRONY PRAWNE (legal)
══════════════════════ */

.legal-hero {
  background: linear-gradient(-90deg, #aecdd8, #2a3f5f);
  padding: 140px 0 60px;
}
.legal-hero-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}
.legal-hero h1 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 900;
  font-stretch: expanded;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -3px;
  line-height: 1;
  color: var(--white);
}
.legal-content {
  background: #f7f7f5;
  padding: 72px 0 96px;
}
.legal-inner {
  max-width: var(--inner);
}
.legal-lead {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  padding: 28px 32px;
  background: var(--white);
  border-left: 4px solid var(--lime);
  border-radius: 0 8px 8px 0;
  margin-bottom: 8px;
}
.legal-body h2 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -1px;
  color: var(--black);
  margin: 48px 0 14px;
  padding-top: 48px;
  border-top: 1px solid #e0e0e0;
}
.legal-body h2:first-of-type {
  margin-top: 40px;
}
.legal-body p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}
.legal-body ol,
.legal-body ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-body li {
  font-size: 15.5px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 8px;
}
.legal-body a {
  color: #1a3a6e;
  text-decoration: underline;
}
.legal-body a:hover {
  color: var(--black);
}
.legal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0 24px;
}
.legal-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 28px;
  border: 1px solid #e8e8e8;
}
.legal-card h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--black);
  margin-bottom: 10px;
}
.legal-card p {
  font-size: 14px;
  margin: 0;
}
.legal-contact-box {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 36px;
  margin: 40px 0 32px;
  border: 1px solid #e8e8e8;
}
.legal-contact-box h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: 18px;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .legal-hero {
    padding: 120px 0 48px;
  }
  .legal-cards {
    grid-template-columns: 1fr;
  }
  .legal-contact-box {
    padding: 24px 20px;
  }
  .legal-lead {
    padding: 20px;
  }
}

/* ══════════════════════
   COOKIE BANNER
══════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 820px;
  background: var(--black);
  color: var(--white);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  z-index: 9000;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.28);
  animation: cookieSlideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cookie-banner.hidden {
  display: none;
}
@keyframes cookieSlideUp {
  from {
    transform: translateX(-50%) translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}
.cookie-banner-text {
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}
.cookie-banner-text a {
  color: var(--lime);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn-accept {
  background: var(--lime);
  color: var(--black);
  border: none;
  border-radius: 100px;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-btn-accept:hover {
  background: var(--lime-dark);
}
.cookie-btn-reject {
  background: transparent;
  color: #aaa;
  border: 1.5px solid #444;
  border-radius: 100px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.cookie-btn-reject:hover {
  border-color: #888;
  color: var(--white);
}
.cookie-btn-settings {
  background: transparent;
  color: #888;
  border: none;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  align-self: center;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    transform: none;
    animation: cookieSlideUpMobile 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @keyframes cookieSlideUpMobile {
    from {
      transform: translateY(24px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn-accept,
  .cookie-btn-reject {
    flex: 1;
    text-align: center;
  }
}

/* ── COOKIE PREFERENCES MODAL ── */
#cookiePrefsModal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 601px) {
  #cookiePrefsModal {
    align-items: center;
    padding: 24px;
  }
}
.cprefs-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}
.cprefs-box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 560px;
  max-height: 92svh;
  overflow-y: auto;
  animation: cprefsUp 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 601px) {
  .cprefs-box {
    border-radius: 20px;
  }
}
@keyframes cprefsUp {
  from {
    transform: translateY(32px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cprefs-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.cprefs-close:hover {
  background: #f0f0f0;
  color: var(--black);
}
.cprefs-title {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: 22px;
  letter-spacing: -1px;
  color: var(--black);
  margin-bottom: 10px;
}
.cprefs-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #666;
  margin-bottom: 28px;
}
.cprefs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cprefs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cprefs-row:last-child {
  border-bottom: none;
}
.cprefs-row-info {
  flex: 1;
}
.cprefs-row-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
}
.cprefs-row-info span {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}
.cprefs-toggle--disabled .cprefs-toggle-label {
  font-size: 12px;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
/* Toggle switch */
.cprefs-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.cprefs-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cprefs-slider {
  position: absolute;
  inset: 0;
  background: #ddd;
  border-radius: 100px;
  transition: background 0.25s;
}
.cprefs-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.cprefs-switch input:checked + .cprefs-slider {
  background: var(--lime);
}
.cprefs-switch input:checked + .cprefs-slider::before {
  transform: translateX(20px);
}

.cprefs-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.cprefs-btn-save {
  flex: 1;
  padding: 13px;
  border: 1.5px solid var(--black);
  background: var(--white);
  color: var(--black);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.cprefs-btn-save:hover {
  background: var(--black);
  color: var(--white);
}
.cprefs-btn-all {
  flex: 1;
  padding: 13px;
  background: var(--lime);
  color: var(--black);
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.cprefs-btn-all:hover {
  background: var(--lime-dark);
}
.cprefs-policy {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: #aaa;
}
.cprefs-policy a {
  color: #888;
  text-decoration: underline;
}

/* ══════════════════════
   ARTICLE PAGE
══════════════════════ */

blockquote {
  border-left: 4px solid var(--lime);
  margin: 32px 0;
  padding: 16px 24px;
  background: #f9faf2;
  border-radius: 0 8px 8px 0;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  font-style: italic;
}

.article-video {
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}
.article-video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.article-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* article single-column override */

/* ══════════════════════
   NAV
══════════════════════ */

/* logo */

/* mobile logo — hidden on desktop, shown on mobile */

/* clip only the text area vertically */

/* ══════════════════════
   HERO
══════════════════════ */
/* dark-to-transparent gradient overlay so text stays readable */

/* ══════════════════════
   BADANIE KTÓRE RATUJE ŻYCIE
══════════════════════ */

/* card bg images — placeholders with tinted backgrounds */

/* same for btn-art-icon (card 2) */

/* right column — tall peach card spans both rows */

/* ══════════════════════
   FOOTER
══════════════════════ */
/* ── CTA BANNER ── */

@media (max-width: 600px) {
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-btn-dark,
  .cta-btn-outline {
    justify-content: center;
  }
}

/* ══════════════════════
   QUIZ
══════════════════════ */

/* LEFT */

/* RIGHT */

@media (max-width: 767px) {
  .quiz-wrap {
    grid-template-columns: 1fr;
  }
  .quiz-questions-col {
    padding: 28px 24px;
  }
  .quiz-result-col {
    padding: 32px 28px;
    min-height: 220px;
  }
  .qr-title {
    font-size: 26px;
  }
}

/*.event-card:hover { transform: translateY(-4px); }*/

/* placeholder bg when no image */

@media (max-width: 767px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .events-section h2 {
    font-size: 28px;
  }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .events-grid {
    gap: 20px;
  }
  .event-desc {
    font-size: 13.5px;
  }
}
/* ── HAMBURGER ── */

/* ── TABLET 768–1023 ── */
@media (max-width: 1023px) {
  .hero-pct {
    font-size: 78px;
  }
  .quiz-wrap {
    grid-template-columns: 1fr;
  }
  .quiz-result-col {
    min-height: 280px;
    padding: 40px 40px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

/* ── MOBILE ≤767px ── */
@media (max-width: 767px) {
  /* nav */
  .hamburger {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .nav-links {
    display: none;
  }
  .btn-nav {
    display: none;
  }
/*
  .nav-logo-img {
    display: none;
  }
  .nav-logo-img-m {
    display: block;
  }
*/
  .btn-nav-mobile {
    display: inline-block;
    margin-left: auto;
    font-size: 12.5px;
    padding: 9px 16px !important;
    border-radius: 26px !important;
  }
  .hamburger {
    margin-left: 0;
  }
  /* hero */
  .hero {
    min-height: 100svh;
  }
  .hero .inner {
    padding-top: 90px;
    padding-bottom: 48px;
    min-height: auto;
    align-items: flex-start;
  }
  .hero-bg {
    background-position: center bottom;
  }
  .hero-kicker {
    font-size: 18px;
  }
  .hero-pct {
    font-size: 72px;
    letter-spacing: -8px;
  }
  .hero-subtitle-big {
    font-size: 25px;
  }
  .hero-headline {
    gap: 10px;
  }
  .hero-body {
    font-size: 13.5px;
  }
  .btn-lime {
    padding: 13px 36px;
    font-size: 13px;
  }
  .hero-badge-refund {
    width: 150px;
    height: 150px;
    bottom: 16px;
    right: 16px;
  }

  /* saves life */
  .saves-life {
    padding: 56px 0 48px;
  }
  .saves-life h2 {
    font-size: 26px;
  }
  .saves-life .lead {
    font-size: 14px;
    margin-bottom: 36px;
  }
  .article-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .art-card {
    height: 300px;
  }
  .art-card--expanded {
    height: auto;
  }
  .art-card-bg {
    height: 300px;
  }
  .art-card-body {
    padding: 20px;
  }
  .art-card-body-bottom {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: auto;
    z-index: 3;
    padding-top: 0;
    margin-top: 0;
  }
  .art-card--expanded .art-card-body-bottom {
    position: static;
    padding-top: 20px;
  }

  #artCard1 .art-card-bg--photo {
    background-image: url("img/card-bg-1-mobile.jpg");
  }

  #artCard2 .art-card-bg--photo {
    background-image: url("img/card-bg-2-mobile.jpg");
  }

  /* quiz */
  .quiz-section {
    padding: 56px 0 48px;
  }
  .quiz-wrap {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .quiz-questions-col {
    padding: 28px 24px;
  }
  .quiz-col-lbl {
    width: 44px;
  }
  .r-wrap {
    width: 44px;
  }
  .r-dot {
    width: 28px;
    height: 28px;
  }
  .q-text {
    font-size: 13px;
  }
  .quiz-result-col {
    padding: 32px 28px;
    min-height: 240px;
  }
  .qr-title {
    font-size: 24px;
  }
  .qr-msg {
    font-size: 14px;
  }

  /* facts */
  .did-you-know {
    padding: 56px 0 72px;
  }
  .did-you-know h2 {
    font-size: 26px;
    margin-bottom: 32px;
  }
  .facts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fact-card {
    padding: 32px 24px;
    min-height: auto;
  }
  .fact-card-tall {
    grid-column: auto;
    min-height: 440px;
    padding: 32px 24px;
  }
  .fact-card h3,
  .fact-card-tall h3 {
    font-size: 24px;
  }

  /* events */
  .events-section {
    padding: 56px 0 48px;
  }
  .events-section h2 {
    font-size: 26px;
    margin-bottom: 36px;
    letter-spacing: -0.5;
  }
  .events-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* cta */
  .cta-banner {
    padding: 48px 0;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-btn-dark,
  .cta-btn-outline {
    justify-content: center;
    padding: 14px;
  }

  /* footer */
  .mobile-hidden {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-brand .footer-desc {
    font-size: 13px;
    max-width: 100%;
  }
  .footer-col h4 {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .footer-col ul li a {
    font-size: 14px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-note,
  .footer-copy {
    font-size: 11px;
  }
  .biblio-toggle {
    font-size: 11px;
  }
}
@media (max-width: 479px) {
  :root {
    --pad: 16px;
  }
  .hero-pct {
    font-size: 78px;
    letter-spacing: -6px;
  }
  .hero-kicker {
    font-size: 15px;
  }
  .hero-subtitle-big {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0px;
    color: var(--lime);
    margin-bottom: 0;
    align-self: auto;
  }
  .hero-body {
    font-size: 13px;
    max-width: 100%;
  }
  .hero-partner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-badge-refund {
    width: 150px;
    height: 150px;
  }
  .hero-partner > span:nth-of-type(3) {
  flex-basis: 100%;
  height: 0;
  }
  .hero-partner .partner-logo:last-child {
    margin-top: -18px;
    }
  .art-card {
    height: 260px;
  }
  .art-card--expanded {
    height: auto;
  }
  .art-card-bg {
    height: 260px;
  }
  .art-card h3 {
    font-size: 20px;
    line-height: 1.2;
  }
  .quiz-questions-col {
    padding: 24px 16px;
  }
  .quiz-result-col {
    padding: 28px 20px;
  }
  .qr-title {
    font-size: 20px;
  }
  .fact-card h3,
  .fact-card-tall h3 {
    font-size: 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
}

/* incoming — starts below, scale normal */

/* outgoing — fade up + shrink slightly */

@media (max-width: 900px) {
  .steps-story {
    min-height: calc(4 * 80svh);
    padding: 0;
  }
  .step-panel {
    position: absolute;
    inset: 0 var(--pad);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(210px, 42svh) auto;
    gap: 22px;
    align-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(40px) scale(1);
    margin-bottom: 0;
    transition:
      opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0.6s;
  }
  .step-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .step-panel.is-leaving {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-24px) scale(0.97);
    transition:
      opacity 0.5s cubic-bezier(0.4, 0, 0.6, 1),
      transform 0.6s cubic-bezier(0.4, 0, 0.6, 1),
      visibility 0.5s;
  }
  .step-panel::before {
    content: none;
  }
}

@media (max-width: 420px) {
  .step-panel {
    grid-template-rows: minmax(180px, 36svh) auto;
    gap: 18px;
  }
}

/* ── CZY WIESZ ŻE — naukowo.html ── */

/* ══════════════════════════════════════
     PAGE-SPECIFIC STYLES - naukowo.html
  ══════════════════════════════════════ */

/* ── NAUKOWO HERO OVERRIDE ── */

/* ── INTRO SLIDER ── */

/* LEFT - image */

/* big slide number */

/* progress bar + counter */

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }
  .slide-img {
    min-height: 260px;
    border-radius: 16px 16px 0 0;
  }
  .slide-img-ph {
    min-height: 260px;
  }
  .slide-content {
    padding: 32px 24px;
  }
  .slide-num {
    font-size: 64px;
    top: 16px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
  .slider-controls {
    gap: 12px;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
}

/* clip window - shows ~1.3 slides so next is peeking */

/* ── CONTROLS ── */

@media (max-width: 767px) {
  .pslide {
    flex: 0 0 85%;
    padding-right: 24px;
  }
}

/* accordion */

@media (max-width: 900px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
  .faq-left h2 {
    font-size: 32px;
  }
}
@media (max-width: 600px) {
  .faq-section {
    padding: 64px 0;
  }
  .faq-left h2 {
    font-size: 26px;
  }
  .faq-trigger {
    font-size: 15px;
    padding: 18px 0;
  }
}

/* ── WAŻNE DLA CIEBIE ── */

@media (max-width: 767px) {
  .important-card {
    border-radius: 20px;
    min-height: 360px;
    position: relative;
  }
  .important-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
    border-radius: inherit;
  }
  .important-text {
    position: relative;
    z-index: 1;
  }
}

/* grid: steps left, mockup right */

/* mockup screenshot */

@media (max-width: 900px) {
  .finder-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .finder-mockup {
    position: static;
  }
}
@media (max-width: 600px) {
  .finder-steps {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 0;
  }
  .finder-section {
    padding: 64px 0;
  }
  .finder-header h2 {
    font-size: 28px;
  }
}

/* ── INTRO SLIDER ── */

/* LEFT - image */

/* big slide number */

/* progress bar + counter */

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }
  .slide-img {
    min-height: 260px;
    border-radius: 16px 16px 0 0;
  }
  .slide-img-ph {
    min-height: 260px;
  }
  .slide-content {
    padding: 32px 24px;
  }
  .slide-num {
    font-size: 64px;
    top: 16px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
  .slider-controls {
    gap: 12px;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
}

/* clip window - shows ~1.3 slides so next is peeking */

/* ── CONTROLS ── */

@media (max-width: 767px) {
  .pslide {
    flex: 0 0 85%;
    padding-right: 24px;
  }
}

/* accordion */

@media (max-width: 900px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
  .faq-left h2 {
    font-size: 32px;
  }
}
@media (max-width: 600px) {
  .faq-section {
    padding: 64px 0;
  }
  .faq-left h2 {
    font-size: 26px;
  }
  .faq-trigger {
    font-size: 15px;
    padding: 18px 0;
  }
}

/* ── WAŻNE DLA CIEBIE ── */

@media (max-width: 767px) {
  .important-card {
    border-radius: 20px;
    min-height: 360px;
    position: relative;
  }
  .important-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
    border-radius: inherit;
  }
  .important-text {
    position: relative;
    z-index: 1;
  }
}

/* ── SLIDE LAYOUT ── */

/* RIGHT - content */

/* ── CONTROLS ── */

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }
  .slide-img {
    min-height: 260px;
    border-radius: 16px 16px 0 0;
  }
  .slide-img-ph {
    min-height: 260px;
  }
  .slide-content {
    padding: 32px 24px;
  }
  .slide-num {
    font-size: 64px;
    top: 16px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
  .slider-controls {
    gap: 12px;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .slider-section {
    padding: 56px 0;
  }
}

/* clip window - shows ~1.3 slides so next is peeking */

/* ── CONTROLS ── */

@media (max-width: 767px) {
  .pslide {
    flex: 0 0 85%;
    padding-right: 24px;
  }
}

/* accordion */

@media (max-width: 900px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
  .faq-left h2 {
    font-size: 32px;
  }
}
@media (max-width: 600px) {
  .faq-section {
    padding: 64px 0;
  }
  .faq-left h2 {
    font-size: 26px;
  }
  .faq-trigger {
    font-size: 15px;
    padding: 18px 0;
  }
}

/* ── WAŻNE DLA CIEBIE ── */

@media (max-width: 767px) {
  .important-card {
    border-radius: 20px;
    min-height: 360px;
    position: relative;
  }
  .important-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
    border-radius: inherit;
  }
  .important-text {
    position: relative;
    z-index: 1;
  }
}

/* btn-art positioned over image on hover */

/* ══════════════════════
   STRONY PRAWNE (legal)
══════════════════════ */

@media (max-width: 600px) {
  .legal-hero {
    padding: 120px 0 48px;
  }
  .legal-cards {
    grid-template-columns: 1fr;
  }
  .legal-contact-box {
    padding: 24px 20px;
  }
  .legal-lead {
    padding: 20px;
  }
}

/* ══════════════════════
   COOKIE BANNER
══════════════════════ */

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    transform: none;
    animation: cookieSlideUpMobile 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn-accept,
  .cookie-btn-reject {
    flex: 1;
    text-align: center;
  }
}

/* ── COOKIE PREFERENCES MODAL ── */

@media (min-width: 601px) {
  #cookiePrefsModal {
    align-items: center;
    padding: 24px;
  }
}

@media (min-width: 601px) {
  .cprefs-box {
    border-radius: 20px;
  }
}

/* ══════════════════════
   ARTICLE PAGE
══════════════════════ */

/* ══════════════════════
   STATIC STEPS (bezplatny-test-hpv)
══════════════════════ */

.steps-static {
  background: var(--white);
  padding: -20px 0 96px;
}

.step-static {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
  /* animation start state */
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.step-static:first-child {
  border-top: none;
  padding-top: 0;
}
.step-static.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* image left on --right, right on --left */
.step-static--right .step-static-img {
  order: -1;
  transform: translateX(-24px);
}
.step-static--left .step-static-img {
  order: 1;
  transform: translateX(24px);
}

.step-static-img {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eef2f7;
  box-shadow: 0 16px 60px rgba(29, 44, 75, 0.1);
  /* extra image entrance */
  transition:
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s,
    box-shadow 0.4s;
}

.step-static.in-view .step-static-img {
  transform: translateX(0) !important;
}
.step-static-img:hover {
  box-shadow: 0 24px 80px rgba(29, 44, 75, 0.15);
}

.step-static-img img {
  width: 100%;
/*  height: 100%;*/
  object-fit: cover;
  display: block;
}

/* content */
.step-static-content {
  position: relative;
}

.step-static-num {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 900;
  font-stretch: expanded;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -8px;
  color: #f0f0f0;
  margin-bottom: -24px;
  margin-left: -6px;
  user-select: none;
  pointer-events: none;
}

.step-static-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--lime);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.step-static-content h2 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 900;
  font-stretch: expanded;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
}

.step-static-content p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 14px;
}
.step-static-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.step-static-content li {
  font-size: 15.5px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}

/* result boxes */

/* responsive */
@media (max-width: 900px) {
  .step-static {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  .step-static--right .step-static-img,
  .step-static--left .step-static-img {
    order: -1;
    transform: none !important;
  }
  .step-static-num {
    font-size: 64px;
    letter-spacing: -5px;
  }
}
@media (max-width: 600px) {
  .steps-static {
    padding: 48px 0 64px;
  }
  .step-static {
    padding: 40px 0;
    gap: 24px;
  }
  .step-static-content h2 {
    font-size: 22px;
  }
}

.registration-grid {
  padding: 48px;
  background: #f5f6fa;
  background-image: url("img/background_pattern.jpg");
  background-size: cover;
}
.reg-header {
  margin-bottom: 32px;
}
.reg-header-kicker {
  font-size: 19px;
  font-weight: 400;
  color: #1a3a6e;
  letter-spacing: 0.3px;
  margin-bottom: 11px;
  margin-top: 12px;
  text-align: center;
}
.reg-header-title {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: -1px;
  color: var(--black);
  margin: 0;
  text-align: center;
  line-height: 23px;
}
.reg-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reg-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  /*  border: 1px solid rgba(255,255,255,.8);*/
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.reg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(29, 44, 75, 0.1);
}
.reg-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
}
.reg-text {
  font-size: 15px;
  line-height: 1.3;
  color: #1a2a4a;
  margin: 0;
}
.reg-text a {
  font-size: 15px;
  line-height: 1.45;
  color: #1a2a4a;
}
.reg-text a:hover {
  color: #2b4984;
}
.reg-text b {
  color: #1a2a4a;
}

@media (max-width: 767px) {
  .registration-grid {
    padding: 28px 20px;
  }
  .reg-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .reg-card {
    flex-direction: row;
    text-align: left;
    gap: 16px;
    align-items: center;
    padding: 20px;
  }
  .reg-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
}

.logo {
  opacity: 0.5;
  transition:
    opacity 0.3s,
    filter 0.3s;
}

.logo:hover {
  opacity: 1;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.7));
}

.art-related {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid #eee;
}
.art-related-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 20px;
}
.art-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.rel-card {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.rel-card:hover {
  border-color: #ccc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.rel-card:hover .rel-img-inner {
  transform: scale(1.04);
}
.rel-card:hover .rel-arrow {
  opacity: 1;
  transform: translateX(0);
}
.rel-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}
.rel-img-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.rel-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rel-body {
  padding: 12px 16px 16px;
}
.rel-title {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #222;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* maksymalnie 2 linie */
  -webkit-box-orient: vertical;
}
.rel-meta {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: #999;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rel-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #2e3f63;
}
.rel-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
@media (max-width: 900px) {
  .art-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .art-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Źródła (zwijana, stonowana sekcja) ── */
.art-sources {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}
.art-sources-summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b3b3b3;
  user-select: none;
  transition: color 0.2s;
}
.art-sources-summary::-webkit-details-marker {
  display: none;
}
.art-sources-summary:hover {
  color: #888;
}
.art-sources-arrow {
  font-size: 10px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.art-sources[open] .art-sources-arrow {
  transform: rotate(180deg);
}
.art-sources-list {
  margin: 16px 0 0;
  padding-left: 22px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  line-height: 1.65;
  color: #a0a0a0;
}
.art-sources-list li {
  margin-bottom: 7px;
}
.art-sources-list a {
  color: #97a0b5;
  text-decoration: none;
  word-break: break-word;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.art-sources-list a:hover {
  color: #2e3f63;
  border-bottom-color: #2e3f63;
}

#artCard1 .art-card-bg--photo {
  background-image: url("img/card-bg-1.jpg");
}

#artCard2 .art-card-bg--photo {
  background-image: url("img/card-bg-2.jpg");
}

@media (max-width: 768px) {
  #artCard1 .art-card-bg--photo {
    background-image: url("img/card-bg-1m.jpg");
  }

  #artCard2 .art-card-bg--photo {
    background-image: url("img/card-bg-2m.jpg");
  }
}

/* ════════════════════════════════════════════════
   INTRO SLIDER – ukrycie obrazkow obok slajdow (mobile)
   ════════════════════════════════════════════════ */
@media (max-width: 460px) {
  .slider-section .slide {
    grid-template-columns: 1fr;
  }
  .slider-section .slide-img {
    display: none;
  }
  .slider-section .slide-content {
    border-radius: 16px;
  }
}

    /* pozwala na pionowe przewijanie strony, a poziomy gest obsluguje swipe */
    .slider-section .slider-track { touch-action: pan-y; }

    @media (max-width: 600px) {
      .slider-controls .slider-btn {
        width: 54px;
        height: 54px;
        font-size: 22px;
      }
    }
