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

:root {
/*  --lime: #c8f000;*/
  --lime: #e5b6c1;
  --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 .45s, backdrop-filter .45s, -webkit-backdrop-filter .45s, border-color .45s, box-shadow .45s;
}
nav.scrolled {
  background: rgba(255,255,255,.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 .4s ease forwards;
  animation-delay: .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 .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 .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 .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 .38s cubic-bezier(.22,.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%);
}

.nav-links .chevron {
  font-size: 10px;
  opacity: .5;
  transition: transform .3s ease;
  flex-shrink: 0;
  vertical-align: middle;
}
.nav-links a:hover .chevron {
  transform: rotate(180deg);
  opacity: .8;
}

/* 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 .2s, transform .15s;
  flex-shrink: 0;
  opacity: 0;
  animation: navFadeInPlace .3s ease forwards;
  animation-delay: .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,.6) 0%, rgba(30,50,80,.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: 640px;
}

.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: .9;
  letter-spacing: -14px;
  color: var(--lime);
}
.hero-pct sup {
  font-size: .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,.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 .2s, transform .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: 14px;
  color: rgba(255,255,255,.7);
}
.hero-partner b {
  color: #fff;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255,255,255,.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, .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 .25s, background .5s ease, box-shadow .3s;
}

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

.art-card--expanded {
  height: auto;
  min-height: 380px;
  box-shadow: 0 8px 40px rgba(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 .5s cubic-bezier(.4,0,.2,1), opacity .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 .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: 10px;
}

.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 .25s cubic-bezier(.4,0,.2,1),
              border-radius .25s cubic-bezier(.4,0,.2,1),
              background .2s, gap .25s, padding .25s;
  padding: 0;
}
.btn-art .btn-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .25s cubic-bezier(.4,0,.2,1), opacity .3s .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 .25s cubic-bezier(.4,0,.2,1),
              border-radius .25s cubic-bezier(.4,0,.2,1),
              background .2s, gap .25s, padding .25s;
  padding: 0;
}
.btn-art-icon .btn-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .25s cubic-bezier(.4,0,.2,1), opacity .3s .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,.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 .25s cubic-bezier(.4,0,.2,1),
              border-radius .25s cubic-bezier(.4,0,.2,1),
              background .2s, gap .25s, padding .25s;
  padding: 0;
}
.btn-collapse .btn-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .25s cubic-bezier(.4,0,.2,1), opacity .2s .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,.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 .6s ease, opacity .6s ease, box-shadow .25s;
}
.fact-card:hover {
  box-shadow: 0 8px 32px rgba(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 .25s;
}
.fact-card-tall:hover {
  box-shadow: 0 8px 32px rgba(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;
}

.virus-img {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 180px;
  height: 180px;
  opacity: .9;
  pointer-events: none;
}

/* ── 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: .2s;
}
.nav-links li:nth-child(2) {
  animation-delay: .25s;
}
.nav-links li:nth-child(3) {
  animation-delay: .3s;
}
.nav-links li:nth-child(4) {
  animation-delay: .35s;
}


.hamburger {
  opacity: 0;
  animation: navFadeIn .4s ease forwards;
  animation-delay: .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 .6s ease, transform .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,.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,.12);
  transition: background .2s;
}
.footer-social-icon:hover {
  background: rgba(255,255,255,.25);
}
.footer-social-icon svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,.65);
  transition: fill .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,.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,.35);
  text-decoration: none;
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

/* bottom bar */
/* ── 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: #4f2731;
  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 .2s, transform .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,.25);
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .15s;
  white-space: nowrap;
}
.cta-btn-outline:hover {
  border-color: var(--black);
  background: rgba(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,.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,.3);
  transition: color .2s;
}
.biblio-toggle:hover {
  color: rgba(255,255,255,.6);
}

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

.biblio-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.4,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: 40px;
}
.biblio-list li {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.25);
}
.biblio-list li a {
  color: rgba(255,255,255,.3);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.biblio-list li a:hover {
  color: rgba(255,255,255,.6);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.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,.3);
  line-height: 1.5;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
}

/* ══════════════════════
   QUIZ
══════════════════════ */
/* ══════════════════════
   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-lead {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.quiz-lead strong {
  color: var(--black);
  font-weight: 600;
}

.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,.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: .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,.6);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .15s;
}
.r-dot:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 10px rgba(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,.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,.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 .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 .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%);
}
.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 .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 .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 .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; }
}

/* ══════════════════════
   RESPONSIVE
══════════════════════ */
/* ── HAMBURGER ── */

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s, opacity .25s, width .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 .35s ease, transform .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 .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%; }
  .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/cover-mobile.jpg) center center / cover no-repeat !important; }
    .hero-partner { font-size: 10px; width: 300px; }
    .partner-logo  { padding-left: 0; }
    .partner-logo:last-child img { width: 34px; }
    .partner-logo 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: .55em; }


}

/* ══════════════════════
   4 KROKI — SCROLL STORY
══════════════════════ */
.steps-story {
  position: relative;
  background: var(--white);
  /* 4 steps × 80vh each */
  min-height: calc(4 * 80vh);
}
.steps-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  margin-top: -90px;
}
.steps-sticky .inner {
  position: relative;
  height: min(680px, calc(100vh - 90px));
  display: flex;
  align-items: center;
}
.steps-line {
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: rgba(0,0,0,.12);
  transform: translateX(-50%);
  z-index: 1;
}
.step-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  --badge-in-y: -50%;
  --badge-out-y: -42%;
  transform: translate(-50%, var(--badge-in-y));
  z-index: 5;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  padding: 13px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 12px 36px rgba(0,0,0,.14);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.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  .6s  cubic-bezier(.4,0,.2,1),
    transform .7s  cubic-bezier(.2,.8,.2,1),
    visibility .6s;
}

/* incoming — starts below, scale normal */

/* 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(.96);
  transition:
    opacity  .5s  cubic-bezier(.4,0,.6,1),
    transform .6s  cubic-bezier(.4,0,.6,1),
    visibility .5s;
}
.step-visual {
  border-radius: 22px;
  overflow: hidden;
  height: 440px;
  width: 100%;
  flex-shrink: 0;
  background: #eef2f7;
  box-shadow: 0 18px 70px rgba(29,44,75,.08);
}
.step-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.step-content {
  padding-left: clamp(14px, 2vw, 34px);
}
.step-content h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-stretch: expanded;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 28px;
}
.step-content p,
.step-content li {
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.55;
  color: #6a6c70;
}
.step-content p {
  max-width: 520px;
  margin-bottom: 24px;
}
.step-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-content li {
  position: relative;
  padding-left: 24px;
}
.step-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .67em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1b3765;
}

@media (max-width: 900px) {
  .steps-story {
    min-height: calc(4 * 80svh);
    padding: 0;
  }
  .steps-sticky {
    position: sticky;
    top: 0;
/*    height: 100svh;*/
    min-height: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 72px 0 42px;
  }
  .steps-sticky .inner {
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .steps-line {
    display: block;
    left: 28px;
    top: 72px;
    bottom: 42px;
    transform: none;
    opacity: .18;
  }
  .step-badge {
    display: inline-flex;
    left: var(--pad);
    top: 78px;
    --badge-in-y: 0px;
    --badge-out-y: 10px;
    transform: translate(0, var(--badge-in-y));
    padding: 10px 18px;
    font-size: 13px;
  }
  .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 .6s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.2,.8,.2,1), visibility .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(.97);
    transition: opacity .5s cubic-bezier(.4,0,.6,1), transform .6s cubic-bezier(.4,0,.6,1), visibility .5s;
  }
  .step-panel::before { content: none; }
  .step-visual { min-height: 0; height: 100%; border-radius: 18px; }
  .step-visual img { min-height: 0; height: 100%; }
  .step-content { padding-left: 0; }
  .step-content h2 { font-size: clamp(22px, 8vw, 34px); letter-spacing: -1.7px; margin-bottom: 16px; }
  .step-content p, .step-content li { font-size: 15px; line-height: 1.5; }
  .step-content p { margin-bottom: 14px; }
  .step-content ul { gap: 7px; }
}

@media (max-width: 420px) {
  .steps-sticky { padding-top: 64px; padding-bottom: 28px; }
  .step-badge { top: 68px; }
  .step-panel {
    grid-template-rows: minmax(180px, 36svh) auto;
    gap: 18px;
  }
  .step-content h2 { font-size: 27px; }
  .step-content p, .step-content li { font-size: 14px; }
}

/* ══════════════════════
   naukowo.html — page styles
══════════════════════ */

/* ── 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;
}
/*
.fact-card--teal::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 220px; height: 180px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 120 Q60 60 120 100 Q180 140 220 80 L220 180 L0 180 Z' fill='rgba(255,255,255,0.35)'/%3E%3Cpath d='M0 150 Q80 90 160 130 Q190 145 220 110 L220 180 L0 180 Z' fill='rgba(255,255,255,0.25)'/%3E%3C/svg%3E") center/cover no-repeat;
  pointer-events: none;
}
*/

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

  /* ── PAGE HERO ── */

  /* ── 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 .55s cubic-bezier(.4,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: 48px 0 48px 64px;
  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.7;
  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 .2s, background .2s, transform .15s;
  color: var(--black);
  flex-shrink: 0;
}
  .slider-btn:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}
  .slider-btn:disabled {
  opacity: .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 .55s cubic-bezier(.4,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 ── */
  .programs-slider-section {
  position: relative;
  background: url('img/background_pattern.jpg') center center / cover no-repeat;
  padding: 80px 0 64px;
  overflow: hidden;
}

  .programs-inner {
  position: relative;
  z-index: 1;
  calc(100% - 2px)
/*    max-width: var(--inner);
  */
    margin: 0 auto;
  padding: 0 var(--pad);
  max-width: var(--inner);
  margin: 0 auto;
}

  /* clip window - shows ~1.3 slides so next is peeking */
  .programs-track-clip {
  overflow: hidden;
  margin-right: calc(-1 * var(--pad));
  /* let right slide peek */
    padding-right: var(--pad);
}

  .programs-track {
  display: flex;
  gap: 48px;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

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

  .pslide-kicker {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-stretch: expanded;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: -0.5px;
  color: var(--black);
  opacity: .55;
  margin-bottom: 20px;
}

  .pslide-heading {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -2px;
  line-height: 1.12;
  color: var(--black);
  margin: 0;
}
.pslide-heading ul li {
    display: inline;
}
h2.pslide-heading  {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600; font-stretch: expanded;
    font-size: clamp(22px, 3vw, 22px);
    letter-spacing: -1px;
    line-height: 1.32;
color: #1a263d;
    margin: 0;
}

  /* ── CONTROLS ── */
  .programs-controls {
  display: flex;
  gap: 8px;
  margin-top: 48px;
}

  .pctr-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .15s;
  flex-shrink: 0;
}
  .pctr-prev {
  background: var(--lime);
  color: var(--black);
}
  .pctr-prev:hover {
  background: var(--lime-dark);
  transform: scale(1.06);
}
  .pctr-prev:disabled {
  background: rgba(200,240,0,.35);
  cursor: default;
  transform: none;
}

  .pctr-next {
  background: var(--black);
  color: var(--white);
}
  .pctr-next:hover {
  background: #333;
  transform: scale(1.06);
}
  .pctr-next:disabled {
  background: #ccc;
  cursor: default;
  transform: none;
}

  @media (max-width: 767px) {
    .pslide { flex: 0 0 85%; padding-right: 24px; }
    .pslide-heading { font-size: 22px; letter-spacing: -1px; }
    .programs-track { gap: 24px; }
    .programs-slider-section { padding: 60px 0 48px; }
  }

  /* ── 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: -2.0px;
  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 .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 .35s cubic-bezier(.4,0,.2,1), color .2s;
  line-height: 1;
}
  .faq-item.open .faq-icon {
  transform: rotate(45deg);
}

  .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .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,.5);
      z-index: 0;
      border-radius: inherit;
    }
    .important-text {
      position: relative;
      z-index: 1;
    }
  }

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


/* ══════════════════════
   placowki.html — page styles
══════════════════════ */

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

  /* ── PAGE HERO ── */

  /* ── 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;
  clip-path: inset(0 2px 0 0);
}
  .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 TEXT ── */





  /* ── INTRO SLIDER ── */




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




  /* ── SLIDE LAYOUT ── */


  /* LEFT - image */




  /* RIGHT - content */


  /* big slide number */






  /* ── CONTROLS ── */





  /* 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; }
  }
  /* ── PROGRAMS SLIDER ── */




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










  /* ── CONTROLS ── */











  @media (max-width: 767px) {
    .pslide { flex: 0 0 85%; padding-right: 24px; }
    .pslide-heading { font-size: 22px; letter-spacing: -1px; }
    .programs-track { gap: 24px; }
    .programs-slider-section { padding: 60px 0 48px; }
  }

  /* ── FAQ SECTION ── */






  /* 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,.5);
      z-index: 0;
      border-radius: inherit;
    }
    .important-text {
      position: relative;
      z-index: 1;
    }
  }


  }


/* ══════════════════════
   bezplatny-test-hpv.html — page styles
══════════════════════ */

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

  /* ── PAGE HERO ── */

  /* ── NAUKOWO HERO OVERRIDE ── */

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




  /* ── INTRO SLIDER ── */








  /* ── SLIDE LAYOUT ── */


  /* LEFT - image */




  /* RIGHT - content */


  /* big slide number */






  /* ── CONTROLS ── */





  /* 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; }
  }
  /* ── PROGRAMS SLIDER ── */




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










  /* ── CONTROLS ── */











  @media (max-width: 767px) {
    .pslide { flex: 0 0 85%; padding-right: 24px; }
    .pslide-heading { font-size: 22px; letter-spacing: -1px; }
    .programs-track { gap: 24px; }
    .programs-slider-section { padding: 60px 0 48px; }
  }

  /* ── FAQ SECTION ── */






  /* 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,.5);
      z-index: 0;
      border-radius: inherit;
    }
    .important-text {
      position: relative;
      z-index: 1;
    }
  }


  }


/* ══════════════════════
   rozmowy-o-zdrowiu.html — page styles
══════════════════════ */

/* ── VIDEO PLAY BUTTON ── */
.event-card--video .event-img {
  cursor: pointer;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 56px;
  height: 56px;
  transition: transform .2s ease, opacity .2s;
  pointer-events: none;
  z-index: 3;
}
.event-card--video .event-img:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
}

/* ── 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 .25s, transform .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,.82);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn .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 .3s cubic-bezier(.2,.8,.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: .7;
  transition: opacity .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.7; 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: 820px;
}
.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: -.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: -.5px;
  margin-bottom: 12px;
}
.legal-links-row {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}
.legal-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  color: var(--black);
  background: var(--lime);
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s;
}
.legal-link-btn:hover {
  background: var(--lime-dark);
}

@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; }
}

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

.article-hero {
  background: var(--black);
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
}
.article-hero-files {
  background: #2e3f63;
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
}
.article-hero-files h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 900; font-stretch: expanded;
  font-size: 38px;
  letter-spacing: -1.0px; line-height: 1.2;
  color: var(--white);
  max-width: 820px; margin-bottom: 36px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: opacity .2s;
}
.article-back:hover {
  opacity: .75;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.article-tag {
  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;
}
.article-date {
  font-size: 13px;
  color: #888;
}
.article-hero h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 900;
  font-stretch: expanded;
  font-size: clamp(26px, 4vw, 52px);
  letter-spacing: -2.5px;
  line-height: 1.08;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 16px;
}
.article-author {
  font-size: 14px;
  color: #888;
  margin-bottom: 48px;
}
.article-hero-img {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  margin-top: 48px;
}
.article-hero-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.article-content {
  background: #f7f7f5;
  padding: 72px 0 96px;
}
.article-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}
.article-body h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--black);
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid #e0e0e0;
}
.article-body h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.article-lead {
  font-size: 18px;
  line-height: 1.75;
  color: #333;
  font-weight: 500;
  margin-bottom: 28px;
}
.article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-body li {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 8px;
}
.article-body blockquote, 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,.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-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.article-sidebar-box {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e8e8e8;
}
.article-sidebar-box--dark {
  background: var(--black);
  border-color: var(--black);
}
.article-sidebar-box--dark h3 {
  color: var(--white);
}
.article-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}
.article-sidebar-box--dark .article-sidebar-label {
  color: #666;
}
.article-sidebar-box h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: 18px;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--black);
  margin: 0;
}

.article-next {
  background: var(--white);
  padding: 40px 0;
  border-top: 1px solid #eee;
}
.article-next-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 10px;
}
.article-next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: -1px;
  color: var(--black);
  text-decoration: none;
  transition: color .2s;
}
.article-next-link:hover {
  color: #333;
}
.article-next-arrow {
  font-size: 28px;
  flex-shrink: 0;
  transition: transform .2s;
}
.article-next-link:hover .article-next-arrow {
  transform: translateX(6px);
}

@media (max-width: 900px) {
  .article-inner { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; flex-direction: row; }
  .article-sidebar-box { flex: 1; }
}
@media (max-width: 600px) {
  .article-hero { padding: 100px 0 0; }
  .article-hero-img { max-height: 260px; }
  .article-hero-img img { height: 260px; }
  .article-sidebar { flex-direction: column; }
  .article-content { padding: 48px 0 64px; }
}

/* article single-column override */
.article-content .inner > .article-body {
  max-width: 780px;
  margin: 0 auto;
}

.art-backer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 48px;
    transition: color .2s;
}


/* ── INNER CONTAINER ── */


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







/* blur fade strip pinned just below navbar, blurs the hero behind it */


/* logo */


/* when scrolled (glass bg) — switch to dark logo */


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


/* mobile CTA btn — hidden on desktop */


/* clip only the text area vertically */


/* cta btn */


/* ══════════════════════
   HERO
══════════════════════ */


/* full-bleed background photo */


@keyframes heroBgFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* dark-to-transparent gradient overlay so text stays readable */


/* refunded badge — bottom right */


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


/* article cards */


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


/* ── PILL EXPAND BUTTON ── */


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


/* collapsing state — keep bg hidden while card shrinks */


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


/* ── 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; }
}


/* ══════════════════════
   FOOTER
══════════════════════ */


/* bottom bar */
/* ── 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; }
}

/* ── BIBLIOGRAPHY ── */


/* ══════════════════════
   QUIZ
══════════════════════ */
/* ══════════════════════
   QUIZ — TAK / NIE layout
══════════════════════ */


/* LEFT */


/* RIGHT */


@keyframes qrIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}


@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
══════════════════════ */


/*.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; }
}

/* ══════════════════════
   RESPONSIVE
══════════════════════ */
/* ── HAMBURGER ── */


/* ── MOBILE OVERLAY ── */


/* ── 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; }
  .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; }
}

/* ══════════════════════
   4 KROKI — SCROLL STORY
══════════════════════ */


/* incoming — starts below, scale normal */

/* active — fully visible, centred */


/* outgoing — fade up + shrink slightly */


@media (max-width: 900px) {
  .steps-story {
    min-height: calc(4 * 80svh);
    padding: 0;
  }
  .steps-sticky {
    position: sticky;
    top: 0;
/*    height: 100svh;*/
    min-height: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 72px 0 42px;
  }
  .steps-sticky .inner {
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .steps-line {
    display: block;
    left: 28px;
    top: 72px;
    bottom: 42px;
    transform: none;
    opacity: .18;
  }
  .step-badge {
    display: inline-flex;
    left: var(--pad);
    top: 78px;
    --badge-in-y: 0px;
    --badge-out-y: 10px;
    transform: translate(0, var(--badge-in-y));
    padding: 10px 18px;
    font-size: 13px;
  }
  .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 .6s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.2,.8,.2,1), visibility .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(.97);
    transition: opacity .5s cubic-bezier(.4,0,.6,1), transform .6s cubic-bezier(.4,0,.6,1), visibility .5s;
  }
  .step-panel::before { content: none; }
  .step-visual { min-height: 0; height: 100%; border-radius: 18px; }
  .step-visual img { min-height: 0; height: 100%; }
  .step-content { padding-left: 0; }
  .step-content h2 { font-size: clamp(22px, 8vw, 34px); letter-spacing: -1.7px; margin-bottom: 16px; }
  .step-content p, .step-content li { font-size: 15px; line-height: 1.5; }
  .step-content p { margin-bottom: 14px; }
  .step-content ul { gap: 7px; }
}

@media (max-width: 420px) {
  .steps-sticky { padding-top: 64px; padding-bottom: 28px; }
  .step-badge { top: 68px; }
  .step-panel {
    grid-template-rows: minmax(180px, 36svh) auto;
    gap: 18px;
  }
  .step-content h2 { font-size: 27px; }
  .step-content p, .step-content li { font-size: 14px; }
}

/* ══════════════════════
   naukowo.html — page styles
══════════════════════ */

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


/*
.fact-card--teal::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 220px; height: 180px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 120 Q60 60 120 100 Q180 140 220 80 L220 180 L0 180 Z' fill='rgba(255,255,255,0.35)'/%3E%3Cpath d='M0 150 Q80 90 160 130 Q190 145 220 110 L220 180 L0 180 Z' fill='rgba(255,255,255,0.25)'/%3E%3C/svg%3E") center/cover no-repeat;
  pointer-events: none;
}
*/

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

  /* ── PAGE HERO ── */

  /* ── NAUKOWO HERO OVERRIDE ── */

  /* ── INTRO TEXT ── */





  /* ── INTRO SLIDER ── */







  /* ── SLIDE LAYOUT ── */


  /* LEFT - image */




  /* RIGHT - content */


  /* big slide number */






  /* ── CONTROLS ── */





  /* 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; }
  }
  /* ── PROGRAMS SLIDER ── */




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










  /* ── CONTROLS ── */











  @media (max-width: 767px) {
    .pslide { flex: 0 0 85%; padding-right: 24px; }
    .pslide-heading { font-size: 22px; letter-spacing: -1px; }
    .programs-track { gap: 24px; }
    .programs-slider-section { padding: 60px 0 48px; }
  }

  /* ── FAQ SECTION ── */






  /* 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,.5);
      z-index: 0;
      border-radius: inherit;
    }
    .important-text {
      position: relative;
      z-index: 1;
    }
  }








  /* ── FINDER SECTION ── */





  /* grid: steps left, mockup right */


  /* steps */







  /* 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 TEXT ── */





  /* ── INTRO SLIDER ── */









  /* ── SLIDE LAYOUT ── */


  /* LEFT - image */




  /* RIGHT - content */


  /* big slide number */






  /* ── CONTROLS ── */





  /* 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; }
  }
  /* ── PROGRAMS SLIDER ── */




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










  /* ── CONTROLS ── */











  @media (max-width: 767px) {
    .pslide { flex: 0 0 85%; padding-right: 24px; }
    .pslide-heading { font-size: 22px; letter-spacing: -1px; }
    .programs-track { gap: 24px; }
    .programs-slider-section { padding: 60px 0 48px; }
  }

  /* ── FAQ SECTION ── */






  /* 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,.5);
      z-index: 0;
      border-radius: inherit;
    }
    .important-text {
      position: relative;
      z-index: 1;
    }
  }







  /* ── INTRO SLIDER ── */








  /* ── SLIDE LAYOUT ── */


  /* LEFT - image */




  /* RIGHT - content */


  /* big slide number */






  /* ── CONTROLS ── */





  /* 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; }
  }
  /* ── PROGRAMS SLIDER ── */




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










  /* ── CONTROLS ── */











  @media (max-width: 767px) {
    .pslide { flex: 0 0 85%; padding-right: 24px; }
    .pslide-heading { font-size: 22px; letter-spacing: -1px; }
    .programs-track { gap: 24px; }
    .programs-slider-section { padding: 60px 0 48px; }
  }

  /* ── FAQ SECTION ── */






  /* 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,.5);
      z-index: 0;
      border-radius: inherit;
    }
    .important-text {
      position: relative;
      z-index: 1;
    }
  }





/* ── CLICKABLE ARTICLE CARD ── */


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


/* ── VIDEO MODAL ── */


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

@keyframes modalSlideUp {
  from { transform: translateY(32px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}


/* ══════════════════════
   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; }
}


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


@media (max-width: 900px) {
  .article-inner { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; flex-direction: row; }
  .article-sidebar-box { flex: 1; }
}
@media (max-width: 600px) {
  .article-hero { padding: 100px 0 0; }
  .article-hero-img { max-height: 260px; }
  .article-hero-img img { height: 260px; }
  .article-sidebar { flex-direction: column; }
  .article-content { padding: 48px 0 64px; }
}

/* article single-column override */


/* ══════════════════════
   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: 30px 0;
  border-top: 1px solid #f0f0f0;
  /* animation start state */
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity .7s cubic-bezier(.2,.8,.2,1),
    transform .7s cubic-bezier(.2,.8,.2,1);
}
.step-static:first-child { border-top: none; padding-top: 0; }
.step-static.in-view { opacity: 1; transform: translateY(0); }
.steps-static .step-static:nth-child(4) {
  padding-bottom: 100px;
}

/* 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: 1 / 1;
  background: #eef2f7;
  box-shadow: 0 16px 60px rgba(29,44,75,.1);
  /* extra image entrance */
  transition: transform .7s cubic-bezier(.2,.8,.2,1) .1s, box-shadow .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,.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: #e7e6e6;
  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 */
.step-result {
  display: flex; align-items: flex-start;
  gap: 14px; padding: 16px 20px;
  border-radius: 12px; margin-bottom: 12px;
}
.step-result--neg { background: #e8f5f0; }
.step-result--pos { background: #fff3f0; }
.step-result-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; line-height: 1;
}
.step-result--neg .step-result-icon { background: #22c55e; color: #fff; }
.step-result--pos .step-result-icon { background: #f97316; color: #fff; }
.step-result strong { display: block; font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.step-result p { font-size: 14px; color: #555; margin: 0; line-height: 1.6; }

/* 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: 16px; font-weight: 400;
  color: #999; letter-spacing: .3px;
  margin-bottom: 6px;
    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,.4);
  border-radius: 16px;
/*  border: 1px solid rgba(255,255,255,.8);*/
  transition: transform .25s, box-shadow .25s;
}
.reg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(29,44,75,.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 .2s, box-shadow .2s; }
    .rel-card:hover { border-color: #ccc; box-shadow: 0 4px 16px rgba(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 .35s cubic-bezier(.4,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: .5px; text-transform: uppercase; color: #2e3f63; }
    .rel-arrow { opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .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 .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 .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 .2s, border-color .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');
  }
}
/* ^ domknięcie wiszącego @media (max-width:768px) z bazowego pliku */

/* ════════════════════════════════════════════════
   DLA LEKARZY — rozszerzenia (sekcja dla profesjonalistów)
   ════════════════════════════════════════════════ */

/* ── BRAMKA / OŚWIADCZENIE ── */
.gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(34,33,33,.55);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  opacity: 1;
  transition: opacity .45s ease;
}
.gate.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.gate-card {
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 40px 120px rgba(0,0,0,.35);
}
.gate-eyebrow {
  font-family: 'Nunito Sans', sans-serif;
  font-stretch: expanded;
  font-weight: 900;
  letter-spacing: -1px;
  font-size: 22px;
  color: var(--black);
  margin-bottom: 18px;
}
.gate-logo-link { display: inline-block; margin-bottom: 22px; }
.gate-logo {
  height: 31px;
  width: 58px;
  display: block;
}
.gate-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
}
.gate-statement {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: #444 !important;
}
.gate-actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.gate-actions .btn-lime,
.gate-actions .gate-no {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}
.gate-no {
  display: inline-block;
  background: transparent;
  color: var(--black);
  border: 1.5px solid #ddd;
  border-radius: 26px;
  padding: 14px 40px;
  font-family: 'Nunito Sans', sans-serif;
  font-stretch: expanded;
  font-weight: 100;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.gate-no:hover { border-color: var(--black); }
body.gate-locked { overflow: hidden; }

/* ── NAV DROPDOWN (Nasze produkty) ── */
.nav-links li.has-dropdown > .dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: rgba(255,255,255, 1);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(0%) blur(20px);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(29,44,75,.16);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-links li.has-dropdown:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links li.has-dropdown .dropdown li { opacity: 1; animation: none; }
.nav-links li.has-dropdown .dropdown a {
  display: block;
  color: #1a3a6e !important;
  font-weight: 400;
  font-size: 13.5px;
  padding: 10px 14px;
  border-radius: 9px;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav-links li.has-dropdown .dropdown a:hover {
  background: var(--lime);
  color: #000 !important;
}

/* ── STAT CARDS (Czy wiesz, że…) ── */
.facts-section {
  background: var(--light-bg);
  padding: clamp(64px, 9vw, 110px) 0;
}
.facts-section .facts-head {
  font-family: 'Nunito Sans', sans-serif;
  font-stretch: expanded;
  font-weight: 800;
  letter-spacing: -2px;
  font-size: clamp(26px, 4.4vw, 44px);
  color: var(--black);
  margin-bottom: 48px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fact-card {
  background: var(--white);
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: 0 16px 50px rgba(29,44,75,.07);
  border-top: 4px solid var(--lime);
}
.fact-num {
  font-family: 'Nunito Sans', sans-serif;
  font-stretch: expanded;
  font-weight: 900;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--black);
  margin-bottom: 14px;
}
.fact-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #555;
}
.fact-card sup { color: #a3bf7d; }
.facts-cta { margin-top: 44px; }

/* ── PORTFOLIO / INTRO PRODUKTY ── */
.portfolio-section { padding: clamp(64px, 9vw, 100px) 0; background: var(--white); }
.portfolio-section h2 {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-stretch: expanded;
    font-size: clamp(22px, 2.8vw, 32px);
    letter-spacing: -1px;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 18px;
    text-align: center;
}
.portfolio-section p {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--gray);
    margin-bottom: 68px;
        text-align: center;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.portfolio-text h2 {
font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-stretch: expanded;
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: -1px;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 12px;
}
.portfolio-grid p { text-align: left; }
.portfolio-text p {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--gray);
}
.portfolio-text ul { list-style: none; margin: 4px 0 16px; }
.portfolio-text ul li {
  position: relative; padding-left: 26px;
  font-size: 15.5px; line-height: 1.7; color: #444; margin-bottom: 12px;
}
.portfolio-text ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--lime);
}
.portfolio-img {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 70px rgba(29,44,75,.12); background: #eef2f7; width: 395px;
}
.portfolio-img img { width: 100%; height: auto; display: block; }

/* ── LEAD nad ścieżką diagnostyczną ── */
.path-lead { background: var(--light-bg); padding: clamp(56px,8vw,90px) 0 60px; }
.path-lead h2 {
  font-family: 'Nunito Sans', sans-serif; font-stretch: expanded; font-weight: 900;
  font-size: clamp(24px, 3.6vw, 40px); letter-spacing: -2px; line-height: 1.12;
  color: var(--black);  margin-bottom: 18px; text-align: center;
}
.path-lead h2 .hl { color: #1a3a6e; }
.path-lead p { font-size: 16px; line-height: 1.7; color: #555; text-align: center; }
.path-lead p strong { color: var(--black); }
.steps-static.on-light { background: var(--light-bg); }

/* ── KARTY PRODUKTÓW (strona Nasze produkty) ── */
.products-section { padding: clamp(56px,8vw,96px) 0; background: var(--white); }
.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px;
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid #eee; border-radius: 22px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(29,44,75,.13); border-color: transparent;
}
.product-card-img { aspect-ratio: 16/10; background: #eef2f7; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 26px 26px 30px; }
.product-card .tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--black); background: var(--lime);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.product-card h3 {
  font-family: 'Nunito Sans', sans-serif; font-stretch: expanded; font-weight: 900;
  font-size: 22px; letter-spacing: -1px; line-height: 1.15; color: var(--black); margin-bottom: 10px;
}
.product-card p { font-size: 14.5px; line-height: 1.6; color: #666; margin-bottom: 18px; }
.product-card .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 13px; color: #2e3f63; letter-spacing: .5px;
}
.product-card .read-more svg { width: 16px; height: 16px; transition: transform .3s ease; }
.product-card:hover .read-more svg { transform: translateX(5px); }

/* ── SEKCJA TREŚCI PODSTRONY (generyczny content) ── */
.page-hero {
  position: relative; padding: 140px 0 70px;
  background: linear-gradient(135deg, #1a3a6e 0%, #11264a 100%);
}
.page-hero h1 {
  font-family: 'Nunito Sans', sans-serif; font-stretch: expanded; font-weight: 900;
  font-size: clamp(30px, 5vw, 56px); letter-spacing: -2.5px; line-height: 1.05;
  color: var(--white); max-width: 900px;
}
.page-hero p { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.6; margin-top: 16px; max-width: 640px; }
.page-hero p.full-width { max-width: none; }
.page-hero .hero-pct, .page-hero .hero-subtitle-big { color: var(--lime); }
.content-section { padding: clamp(56px,8vw,90px) 0; background: var(--white); }
.content-narrow { max-width: 820px; }
.text-center { text-align: center; }
.content-section h2 {
  font-family: 'Nunito Sans', sans-serif; font-stretch: expanded; font-weight: 900;
  font-size: clamp(22px,3vw,34px); letter-spacing: -2px; line-height: 1.15;
  color: var(--black); margin: 36px 0 18px;
}
.content-section h2:first-child { margin-top: 0; }
.content-section p { font-size: 16px; line-height: 1.8; color: #555; margin-bottom: 16px; }
.content-section ul { padding-left: 4px; margin: 6px 0 20px; list-style: none; }
.content-section ul li {
  position: relative; padding-left: 28px; font-size: 16px; line-height: 1.7; color: #444; margin-bottom: 12px;
}
.content-section ul li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--lime);
}
.content-section ol { list-style-position: inside; padding-left: 0; margin: 6px 0 20px; }
.content-section ol li { font-size: 16px; line-height: 1.8; color: #444; margin-bottom: 12px; }
.content-section .feature-figure {
  border-radius: 20px; overflow: hidden; background: #eef2f7; margin: 26px 0;
  box-shadow: 0 16px 50px rgba(29,44,75,.1);
}
.content-section .feature-figure img { width: 100%; height: auto; display: block; }

/* ── KONTAKT / FORMULARZ ── */
.contact-section { padding: clamp(56px,8vw,90px) 0; background: var(--light-bg); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px,5vw,70px); }
.contact-info h2 {
  font-family: 'Nunito Sans', sans-serif; font-stretch: expanded; font-weight: 900;
  font-size: clamp(24px,3.4vw,38px); letter-spacing: -2px; color: var(--black); margin-bottom: 18px;
}
.contact-info p { font-size: 15.5px; line-height: 1.7; color: #555; margin-bottom: 14px; }
.contact-info a { color: #1a3a6e; font-weight: 600; }
.contact-form {
  background: var(--white); border-radius: 24px; padding: clamp(26px,3.5vw,40px);
  box-shadow: 0 18px 60px rgba(29,44,75,.08);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 7px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; border: 1.5px solid #e3e3e0; border-radius: 12px;
  padding: 13px 15px; font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--black);
  background: #fafafa; transition: border-color .2s, background .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--lime); background: #fff;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 22px; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.form-check label { font-size: 12.5px; line-height: 1.5; color: #777; }
.contact-form .btn-lime { width: 100%; }
.form-note { font-size: 12px; color: #999; margin-top: 14px; line-height: 1.5; }
.form-alert { border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.form-alert[hidden] { display: none; }
.form-alert-ok { background: #eaf7e9; color: #1e6b2c; border: 1px solid #bfe6bd; }
.form-alert-error { background: #fdecec; color: #a02020; border: 1px solid #f3c2c2; }
.form-alert-error a { color: #a02020; text-decoration: underline; }
.form-result[hidden], #contactForm[hidden] { display: none; }
.form-retry-btn {
  display: inline-block; background: transparent; 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; border: 1.5px solid var(--black); cursor: pointer;
  font-stretch: expanded; line-height: 1.1; width: 100%; transition: background .2s, color .2s;
}
.form-retry-btn:hover { background: var(--black); color: #fff; }

/* ── SUBMIT BUTTON LOADER ── */
.btn-lime .btn-spinner {
  display: none; width: 16px; height: 16px; margin-right: 10px;
  border: 2px solid rgba(0,0,0,.25); border-top-color: var(--black);
  border-radius: 50%; vertical-align: -3px;
  animation: btn-spin .7s linear infinite;
}
.btn-lime.is-loading { opacity: .75; cursor: default; pointer-events: none; }
.btn-lime.is-loading .btn-spinner { display: inline-block; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ── GDZIE ZLECIĆ BADANIE ── */
.locate-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.locate-step {
  background: var(--white); border-radius: 20px; padding: 30px 26px;
  box-shadow: 0 14px 44px rgba(29,44,75,.07); border-top: 4px solid var(--lime);
}
.locate-step .ls-num {
  font-family: 'Nunito Sans', sans-serif; font-stretch: expanded; font-weight: 900;
  font-size: 40px; letter-spacing: -3px; color: var(--lime); line-height: 1; margin-bottom: 12px;
}
.locate-step h3 { font-family: 'Nunito Sans', sans-serif; font-stretch: expanded; font-weight: 800; font-size: 18px; letter-spacing: -1px; color: var(--black); margin-bottom: 8px; }
.locate-step p { font-size: 14.5px; line-height: 1.6; color: #666; }

/* ── PROFESSIONAL FOOTER NOTE ── */
.footer-prof-note {
  font-size: 12px; line-height: 1.6; color: #8a8a8a; max-width: 760px; margin-top: 8px;
}

/* ════════════ RESPONSIVE — Dla lekarzy ════════════ */
@media (max-width: 900px) {
  .facts-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .locate-steps { grid-template-columns: 1fr; }
}

/* ── MAPA placówek (Gdzie zlecić badanie) ── */
.poi-map {
  position: relative;
  width: 100%;
  height: clamp(360px, 52vh, 560px);
  margin: 28px 0 8px;
  border-radius: 24px;
  overflow: hidden;
  background: #e5e3df;
  box-shadow: 0 16px 60px rgba(29,44,75,.12);
}
.poi-map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 14px;
  color: #888;
  font-family: 'DM Sans', sans-serif;
}
.poi-map.is-loaded .poi-map-placeholder { display: none; }
.poi-map .gm-style img { max-width: none; }
.poi-map .gm-style-iw h3,
.poi-map .gm-style-iw strong { font-family: 'Nunito Sans', sans-serif; }


/* DID YOU KNOW */

.did-you-know{
  background:#f3f4fb;
  padding:60px 0 120px;
}
.did-you-know h2{
  text-align:center;
  margin-bottom:50px;
}

/* układ 3 kolumn */
.dyk-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(24px,3vw,40px);
  align-items:start;
}

.dyk-col{
  display:flex;
  flex-direction:column;
}

/* górny kafel z ilustracją */
.dyk-visual{
  position:relative;
  border-radius:24px;
  aspect-ratio:1/1;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:36px;
  margin-bottom:28px;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
        background-size: cover !important;
}
.dyk-col:hover .dyk-visual{
  transform:translateY(-4px);
  box-shadow:0 16px 50px rgba(29,44,75,.12);
}
.dyk-visual svg{width:100%;height:auto;max-width:320px;display:block}
/* wariant ze zdjęciem — fotografia jako tło wypełnia cały kafelek wizualny */
.dyk-visual--photo{background-size:cover;background-position:center;background-repeat:no-repeat}

/* trzy odcienie tła (kolejność kolumn) */
.dyk-visual--a{background:linear-gradient(160deg,#e9e3fb 0%,#f6f4fd 70%);}
.dyk-visual--b{background:linear-gradient(160deg,#e8f5a8 0%,#f7fce0 70%);}
.dyk-visual--c{background:linear-gradient(160deg,#dde4ec 0%,#f1f4f7 70%);}

/* tytuł + opis pod kaflem */
.dyk-title{
  font-family:'Nunito Sans',sans-serif;
  font-weight:800;
  font-stretch:expanded;
  font-size:clamp(22px,2.4vw,28px);
  letter-spacing:-1px;
  line-height:1.1;
  color:var(--black);
  margin-bottom:12px;
}
.dyk-text{
  font-size:15.5px;
  line-height:1.65;
  color:var(--gray);
  max-width:30ch;
}

@media (max-width:900px){
  .dyk-grid{grid-template-columns:1fr;gap:40px;max-width:520px;margin:0 auto}
  .dyk-visual{aspect-ratio:16/10}
}
@media (prefers-reduced-motion:reduce){
  .dyk-col:hover .dyk-visual{transform:none}
}



/* ── O ROCHE: trzy kolumny z ikonami (dlaczego-my) ── */
.roche-cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(28px,4vw,64px);
  align-items:start;
  margin:44px 0 12px;
  background:var(--white);
}
.roche-col{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
/* nadpisuje .content-section p (16px / #555 / margin-bottom) */
.roche-col p{
  font-size:15.5px;
  line-height:1.75;
  font-weight:400;
  color:#555;
  margin:0;
}
.roche-col-photo{
  width:100%;
  aspect-ratio:4/3;
  border-radius:20px;
  overflow:hidden;
  margin-bottom:18px;
  background:#eef2f7;
  box-shadow:0 12px 40px rgba(29,44,75,.10);
}
.roche-col-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media (max-width:900px){
  .roche-cols{
    grid-template-columns:1fr;
    gap:48px;
    max-width:520px;
    margin-left:auto;
    margin-right:auto;
  }
}


/* ── O ROCHE: liczniki (dlaczego-my) ── */
.roche-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(28px,4vw,64px);
  align-items:start;
  margin:56px 0 8px;
}
.roche-stat{text-align:center}
.rs-num{
  font-family:'Nunito Sans', sans-serif;
  font-weight:300;
  font-size:clamp(48px,5.5vw,76px);
  line-height:1.05;
  letter-spacing:-5px;
  color:#3a4d7a;
  margin-bottom:22px;
  font-variant-numeric:tabular-nums;
    font-stretch: expanded;
}
.roche-stat p{
  font-weight:400;
  font-size:18px;
  line-height:1.3;
  color:var(--black);
  margin:0;
    letter-spacing: 0px;
}
@media (max-width:900px){
  .roche-stats{grid-template-columns:1fr;gap:44px;max-width:520px;margin-left:auto;margin-right:auto}
}


/* ── O ROCHE: sekcje dwukolumnowe (dlaczego-my) ── */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(32px,4vw,68px);
  align-items:center;
  margin:60px 0;
}
.split--shaded{
  background:#f3f4fb;
  border-radius:20px;
  padding:clamp(28px,4vw,48px);
}
.split-media{
  border-radius:20px;
  overflow:hidden;
  background:#eef2f7;
  box-shadow:0 12px 40px rgba(29,44,75,.10);
}
.split-media img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
}
.split-text h2{margin-top:0}
.split-text p:last-child{margin-bottom:0}

@media (max-width:900px){
  .split{grid-template-columns:1fr;gap:24px;margin:44px 0}
  /* na mobile zdjęcie zawsze nad tekstem, niezależnie od kolejności w DOM */
  .split-media{order:-1}
}
