/* =========================================================
   Jaw LP — style3.css  (wersja 3: żywa, kolorowa, ze zdjęciami)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Nunito:wght@400;600;700&family=Caveat:wght@700&subset=latin-ext&display=swap');

/* ---------- Variables ---------- */
:root {
  --c-orange:  #FF6B2B;
  --c-orange-l:#FFF2EC;
  --c-teal:    #00C4B0;
  --c-teal-l:  #E0FAF7;
  --c-yellow:  #FFD600;
  --c-yellow-l:#FFFBE0;
  --c-pink:    #FF3D8A;
  --c-pink-l:  #FFE8F3;
  --c-mint:    #3DD68C;
  --c-mint-l:  #E6FAF1;
  --c-purple:  #9333EA;
  --c-bg:      #FFFFFF;
  --c-bg-alt:  #FFF8F4;
  --c-dark:    #1A1A2E;
  --c-text:    #1A1A2E;
  --c-muted:   rgba(26,26,46,.6);
  --c-white:   #ffffff;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;

  --shadow-sm: 0 2px 10px rgba(26,26,46,.07);
  --shadow-md: 0 6px 28px rgba(26,26,46,.12);
  --shadow-lg: 0 16px 56px rgba(26,26,46,.18);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font-deco: 'Caveat', cursive;

  --nav-h: 76px;
  --max-w: 1100px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Utilities ---------- */
.container {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--c-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 17px;
  color: var(--c-muted);
  max-width: 600px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #FF6B2B 0%, #FF3D8A 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,43,.4);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(255,107,43,.5); }
.btn-outline {
  background: transparent;
  color: var(--c-orange);
  border: 2px solid var(--c-orange);
}
.btn-outline:hover { background: var(--c-orange-l); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Warianty animacji */
.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.25,.8,.25,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.25,.8,.25,1);
}
.reveal-scale {
  opacity: 0;
  transform: scale(.86);
  transition: opacity .75s ease, transform .75s cubic-bezier(.34,1.5,.64,1);
}
.reveal-card {
  opacity: 0;
  transform: translateY(32px) scale(.96);
  transition: opacity .75s ease, transform .75s cubic-bezier(.34,1.4,.64,1);
}
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible,
.reveal-card.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: .18s; }
.reveal-delay-2 { transition-delay: .38s; }
.reveal-delay-3 { transition-delay: .58s; }
.reveal-delay-4 { transition-delay: .78s; }
.reveal-delay-5 { transition-delay: .98s; }

/* =========================================================
   NAV
   ========================================================= */
#nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease, border-bottom-color .4s ease;
}
#nav.scrolled {
  background: rgba(255,255,255,.42);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  box-shadow: 0 2px 24px rgba(26,26,46,.07);
  border-bottom: 1px solid rgba(255,255,255,.38);
}
#nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--c-dark);
  line-height: 1.1;
}
.nav-logo-text span { color: var(--c-orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--c-text);
  padding: 7px 14px;
  border-radius: 99px;
  transition: background .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active { background: var(--c-orange-l); color: var(--c-orange); }
.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 10px 22px; font-size: 14px; }

/* Przycisk dostępności w navbarze — mały, monochromatyczny */
.wcag-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: var(--c-text);
  border: 3px solid var(--c-text);
  cursor: pointer;
  flex-shrink: 0;
  margin-right: -12px;   /* bliżej przycisku Napisz do nas */
  transition: background .2s, color .2s, border-color .2s;
}
.wcag-nav-btn:hover {
  background: var(--c-orange-l);
  color: var(--c-orange);
  border-color: var(--c-orange);
}
.wcag-nav-btn:focus-visible { outline: 3px solid #FF6B2B; outline-offset: 3px; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  transform: translateX(100%);
  transition: transform .35s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--c-dark);
  padding: 12px 32px;
  border-radius: 99px;
  width: 100%;
  text-align: center;
  transition: background .2s, color .2s;
}
.mobile-menu a:hover { background: var(--c-orange-l); color: var(--c-orange); }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* =========================================================
   HERO
   ========================================================= */
#hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 100px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #FFF8F4 0%, #FFF0FB 50%, #F0FFF9 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding-bottom: 0;
}
.hero-content { padding-bottom: 64px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-orange-l);
  color: var(--c-orange);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: var(--c-dark);
  line-height: 1.08;
  margin-bottom: 8px;
}
.hero-title-accent {
  font-family: var(--font-deco);
  font-size: clamp(36px, 5.5vw, 66px);
  background: linear-gradient(90deg, #FF6B2B 0%, #FF3D8A 60%, #9333EA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero-sub {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--c-teal);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 16px;
  color: var(--c-muted);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(90deg, #FF6B2B, #FF3D8A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat-label { font-size: 13px; color: var(--c-muted); margin-top: 2px; }

/* Hero photo */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  height: 100%;
}
.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 605px;
}
.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
  transition: transform 0s linear;
}
.hero-photo-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--c-dark);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.hero-photo-badge:nth-child(2) { animation-delay: -1.5s; }
.hero-photo-badge:nth-child(3) { animation-delay: -3s; }
.hero-photo-badge-1 { top: 8%;  right: -6%; }
.hero-photo-badge-2 { bottom: 12%; right: -6%; }
.hero-photo-badge-3 { top: 48%; left: -8%; animation-delay: -2.5s; }
.hero-photo-badge-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ---- Hero SVG decorations (on photo) ---- */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.hero-deco-sun {
  position: absolute;
  top: 4%; left: 6%;
  width: 106px; height: 106px;
  animation: float 5s ease-in-out infinite;
}
/* Promienie — animacja długości przez skalę grupy od środka słońca */
.sun-rays {
  transform-origin: 40px 40px;
  animation: raysGrow 2.2s ease-in-out infinite;
}
@keyframes raysGrow {
  0%, 100% { transform: scale(.5);  opacity: .75; }
  50%       { transform: scale(1.3); opacity: 1; }
}

.hero-deco-cloud {
  position: absolute;
  top: 22%; left: 2%;
  width: 168px; height: auto;
  opacity: .92;
  animation: cloudDriftR 7s ease-in-out infinite;
}
.hero-deco-cloud2 {
  position: absolute;
  top: 38%; right: 4%;
  width: 108px; height: auto;
  opacity: .78;
  animation: cloudDriftL 9s ease-in-out infinite;
}
@keyframes cloudDriftR {
  0%   { transform: translateX(-12px); }
  50%  { transform: translateX(28px); }
  100% { transform: translateX(-12px); }
}
@keyframes cloudDriftL {
  0%   { transform: translateX(16px); }
  50%  { transform: translateX(-20px); }
  100% { transform: translateX(16px); }
}

/* =========================================================
   PHOTO STRIP
   ========================================================= */
#photo-strip {
  padding: 64px 0;
  background: none;
  position: relative;
}
#photo-strip .container { position: relative; z-index: 1; }
.photo-strip-bg {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 572px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: url('assets/dzieci.png') center 20%/cover no-repeat, var(--c-dark);
  padding: 40px 48px 64px;
}
.photo-strip-label {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--font-deco);
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.2;
  color: #fff;
  padding: 28px 72px 36px;
}
.photo-strip-label::before {
  content: '';
  position: absolute;
  inset: -55% -22%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.68) 30%,
    rgba(0,0,0,.68) 70%,
    transparent 100%
  );
  z-index: -1;
  pointer-events: none;
}
.photo-strip-label span {
  background: linear-gradient(90deg, #FF6B2B, #FF3D8A, #9333EA, #00C4B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Wave — litery powiększają się jak fala w stronę użytkownika ---- */
.photo-strip-label .wave-char {
  display: inline-block;
  padding: 0 0.04em;
  animation: charWave 3.6s ease-in-out infinite;
  will-change: transform;
  transform-origin: 50% 55%;
  -webkit-text-stroke: 1.5px rgba(0,0,0,.65);
  text-shadow:
    0 0 4px rgba(0,0,0,1),
    0 0 12px rgba(0,0,0,1),
    0 0 28px rgba(0,0,0,.9),
    0 0 52px rgba(0,0,0,.7),
    0 0 80px rgba(0,0,0,.4);
}
.photo-strip-label .wave-sp {
  display: inline-block;
  width: .32em;
}
@keyframes charWave {
  0%, 100% { transform: scale(1); }
  12%       { transform: scale(1.6); }
  24%       { transform: scale(1); }
}

/* floating deco */
.ps-float {
  position: absolute;
  font-size: 32px;
  z-index: 1;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.45));
  opacity: .9;
  pointer-events: none;
}
.ps-float-1 { top: 18%;  left: 7%;   animation-delay: 0s;    font-size: 38px; }
.ps-float-2 { top: 20%;  right: 8%;  animation-delay: -2s;   font-size: 30px; }
.ps-float-3 { bottom: 22%; left: 13%; animation-delay: -3.5s; font-size: 26px; }
.ps-float-4 { bottom: 16%; right: 6%; animation-delay: -1s;   font-size: 34px; }

/* =========================================================
   SECTION SHARED
   ========================================================= */
section { padding: 96px 0; }
section:nth-child(even) { background: var(--c-bg-alt); }

/* =========================================================
   SECTION TRANSITIONS — soft gradient bridges
   ========================================================= */

/* Hero (warm gradient) → Photo-strip (white) */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 110px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
  z-index: 2;
}

/* Photo-strip top (white → transparent) */
#photo-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: linear-gradient(to bottom, #ffffff, transparent);
  pointer-events: none;
  z-index: 2;
}
/* Photo-strip bottom (transparent → white) */
#photo-strip::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 72px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
  z-index: 2;
}

/* FAQ (#fff) → Wsparcie (#FFF8F4) */
#faq { position: relative; overflow: hidden; }
#faq::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, #ffffff, #FFF8F4);
  pointer-events: none;
  z-index: 0;
}

/* Wsparcie (#FFF8F4) → Jak (#fff) */
#wsparcie { position: relative; z-index: 3; }
#wsparcie::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, #FFF8F4, #ffffff);
  pointer-events: none;
  z-index: 0;
}

/* Jak (#fff) → Kontakt (#FFF8F4) */
#jak { position: relative; z-index: 2; overflow: hidden; }
#jak::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, #ffffff, #FFF8F4);
  pointer-events: none;
  z-index: 0;
}

/* Kontakt — zwykłe odcięcie do footera */
#kontakt { position: relative; z-index: 1; overflow: hidden; }

/* =========================================================
   FAQ
   ========================================================= */
#faq { background: var(--c-bg); }
#faq .section-tag { background: var(--c-teal-l); color: #008F80; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.faq-item {
  background: #fff;
  border: 1.5px solid rgba(26,26,46,.07);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s;
}
section:nth-child(even) .faq-item { background: var(--c-bg); }
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(255,107,43,.2); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-dark);
  transition: color .2s;
}
.faq-item.open .faq-question { color: var(--c-orange); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-orange-l);
  color: var(--c-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--c-orange);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.7;
}
.faq-answer-inner ul {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-answer-inner li::before {
  content: '•';
  color: var(--c-teal);
  margin-right: 8px;
  font-weight: 700;
}

/* =========================================================
   WSPARCIE
   ========================================================= */
#wsparcie { background: var(--c-bg-alt); }
#wsparcie .section-tag { background: var(--c-yellow-l); color: #A06800; }
.wsparcie-intro { position: relative; }

.wsparcie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.wsparcie-card {
  border-radius: var(--r-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s, box-shadow .25s;
}
.wsparcie-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Pastelowe tła kart — inspiracja Figmą */
.wsparcie-card:nth-child(1) { background: #FFF0CB; }
.wsparcie-card:nth-child(2) { background: #FCE4EC; }
.wsparcie-card:nth-child(3) { background: #EBF2FF; }
.wsparcie-card:nth-child(4) { background: #E8F5E9; }
.wsparcie-card:nth-child(5) { background: #FFF9C4; }
.wsparcie-card:nth-child(6) { background: #F3E5F5; }
.wsparcie-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.wsparcie-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.3;
}
.wsparcie-card p { font-size: 14px; color: var(--c-text); opacity: .8; }

.wsparcie-alert {
  margin-top: 40px;
  background: linear-gradient(135deg, #FF6B2B 0%, #FF3D8A 40%, #9333EA 80%, #00C4B0 100%);
  color: #fff;
  border-radius: var(--r-md);
  padding: 36px 40px 36px 40px;
  padding-right: 400px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(255,61,138,.3);
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 240px;
}
.wsparcie-alert-icon { font-size: 40px; flex-shrink: 0; }
.wsparcie-alert h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}
.wsparcie-alert p { font-size: 15px; opacity: .92; line-height: 1.6; }

/* =========================================================
   JAK ZOSTAĆ
   ========================================================= */
#jak { background: var(--c-bg); }
#jak .section-tag { background: var(--c-mint-l); color: #0D7A50; }

.jak-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}
.jak-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.6% + 28px);
  right: calc(16.6% + 28px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(26,26,46,.12) 0, rgba(26,26,46,.12) 8px,
    transparent 8px, transparent 16px
  );
}
/* Animowana linia postępu 1→2→3 */
.jak-steps::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.6% + 28px);
  right: calc(16.6% + 28px);
  height: 2px;
  background: linear-gradient(90deg, #FF6B2B 0%, #FF3D8A 50%, #9333EA 100%);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 0;
}

/* Cykl 6s: linia rośnie → trzyma → zanika → pauza → powtórka */
.jak-steps.steps-active::after {
  animation: progressLine 6s ease-in-out infinite;
}
@keyframes progressLine {
  0%    { transform: scaleX(0); opacity: 1; }
  48%   { transform: scaleX(1); opacity: 1; }
  68%   { transform: scaleX(1); opacity: 1; }
  82%   { transform: scaleX(0); opacity: .3; }
  100%  { transform: scaleX(0); opacity: 0; }
}

/* Pulsowanie numerów — zsynchronizowane z linią (cykl 6s) */
/* Krok 1: linia startuje → puls ~0.5s = 8% */
@keyframes stepNum1 {
  0%, 6%, 80%, 100% { transform: scale(1);    box-shadow: 0 4px 16px rgba(255,61,138,.4); }
  10%               { transform: scale(1.22); box-shadow: 0 0 0 10px rgba(255,61,138,.14), 0 6px 22px rgba(255,61,138,.5); }
}
/* Krok 2: linia w połowie ~1.4s = 24% */
@keyframes stepNum2 {
  0%, 22%, 80%, 100% { transform: scale(1);    box-shadow: 0 4px 16px rgba(255,61,138,.4); }
  26%                { transform: scale(1.22); box-shadow: 0 0 0 10px rgba(255,61,138,.14), 0 6px 22px rgba(255,61,138,.5); }
}
/* Krok 3: linia dochodzi ~2.5s = 42% */
@keyframes stepNum3 {
  0%, 40%, 80%, 100% { transform: scale(1);    box-shadow: 0 4px 16px rgba(255,61,138,.4); }
  44%                { transform: scale(1.22); box-shadow: 0 0 0 10px rgba(255,61,138,.14), 0 6px 22px rgba(255,61,138,.5); }
}
.jak-steps.steps-active .jak-step:nth-child(1) .jak-step-num {
  animation: stepNum1 6s ease-in-out infinite;
}
.jak-steps.steps-active .jak-step:nth-child(2) .jak-step-num {
  animation: stepNum2 6s ease-in-out infinite;
}
.jak-steps.steps-active .jak-step:nth-child(3) .jak-step-num {
  animation: stepNum3 6s ease-in-out infinite;
}
.jak-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.jak-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B2B 0%, #FF3D8A 100%);
  color: #fff;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255,61,138,.4);
  position: relative;
  z-index: 1;
}
.jak-step h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.3;
}
.jak-step p { font-size: 14px; color: var(--c-muted); line-height: 1.65; }

/* Eligibility z zdjęciem w tle */
.jak-eligibility {
  margin-top: 64px;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.jak-elig-photo {
  position: relative;
  overflow: hidden;
}
.jak-elig-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jak-elig-content {
  background: linear-gradient(135deg, #FF6B2B 0%, #FF3D8A 100%);
  color: #fff;
  padding: 48px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.jak-elig-content h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.jak-elig-content p {
  font-size: 15px;
  line-height: 1.7;
  opacity: .92;
}
.jak-elig-content .btn {
  margin-top: 28px;
  background: #fff;
  color: var(--c-orange);
  align-self: flex-start;
}
.jak-elig-content .btn:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

/* =========================================================
   KONTAKT
   ========================================================= */
#kontakt { background: var(--c-bg-alt); }
#kontakt .section-tag { background: var(--c-pink-l); color: #A80052; }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.kontakt-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(26,26,46,.06);
}
.kontakt-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kontakt-card h3 span { font-size: 22px; }
.phones { display: flex; flex-direction: column; gap: 10px; }

/* Grupy Zadzwoń / Napisz */
.phones-group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: 14px;
}
.phones-group-label span { font-size: 22px; }
.phones-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}
.phones-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,26,46,.1), transparent);
}
.phones-divider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-orange), var(--c-pink));
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,107,43,.12);
}
.phone-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--c-orange-l);
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--c-orange);
  transition: background .2s, transform .2s, color .2s;
}
.phone-link:hover {
  background: linear-gradient(135deg, #FF6B2B, #FF3D8A);
  color: #fff;
  transform: translateX(4px);
}
.phone-link svg { width: 16px; height: 16px; flex-shrink: 0; }

.kontakt-info { display: flex; flex-direction: column; gap: 16px; }
.kontakt-row { display: flex; gap: 14px; align-items: flex-start; }
.kontakt-row-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.kontakt-row-text { display: flex; flex-direction: column; gap: 2px; }
.kontakt-row-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.kontakt-row-val {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-dark);
  line-height: 1.45;
}
.kontakt-row-val a { color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; }
.hours-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  font-size: 14px;
  border-radius: 6px;
  padding: 2px 4px;
  transition: background .18s;
  cursor: default;
}
.hours-row:hover { background: var(--c-orange-l); }
.hours-row .day { font-weight: 700; color: var(--c-dark); transition: color .18s; }
.hours-row .time { color: var(--c-muted); text-align: right; transition: font-weight .18s, color .18s; }
.hours-row:hover .day  { color: var(--c-orange); }
.hours-row:hover .time { font-weight: 700; color: var(--c-orange); }

.kontakt-map-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(26,26,46,.06);
  position: relative;
  display: block;
  background: var(--c-teal-l);
  aspect-ratio: 16/7;
  transition: opacity .2s;
}
.kontakt-map-wrap:hover { opacity: .9; }
.kontakt-map-img { width: 100%; height: 100%; object-fit: cover; }
.kontakt-map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--c-teal);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}
.kontakt-map-overlay {
  position: absolute;
  inset: 0;
  transition: background .2s;
  pointer-events: none;
}
.kontakt-map-wrap:hover .kontakt-map-overlay { background: rgba(26,26,46,.06); }
.map-pin-badge {
  background: linear-gradient(135deg, #FF6B2B, #FF3D8A);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 99px;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  transition: transform .2s;
}
.kontakt-map-wrap:hover .map-pin-badge {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,61,138,.4);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.7);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 280px; }
.footer-logo-row { display: flex; align-items: center; gap: 10px; }
.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.footer-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: #fff; }
.footer-logo-text span { color: var(--c-orange); }
.footer-tagline { font-size: 14px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.footer-links a { font-size: 15px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-links a:hover { color: var(--c-orange); }
.footer-social { display: flex; gap: 14px; margin-top: 4px; }
.footer-social a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-social a:hover { color: var(--c-orange); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom .deco {
  font-family: var(--font-deco);
  font-size: 18px;
  color: var(--c-orange);
}

/* =========================================================
   DEKORACYJNE OBRAZKI PRZEŹROCZYSTE
   ========================================================= */
.deco-img {
  position: absolute;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  animation: decoFloat 9s ease-in-out infinite;
}
@keyframes decoFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-9px) rotate(.6deg); }
}

/* wsparcie-alert — dzieci na bankach, prawa strona pełna wysokość */
.deco-alert-kids {
  top: 0;
  bottom: 0;
  right: 0;
  width: auto;
  height: 100%;
  opacity: 0.42;
  animation: none;
  object-fit: cover;
}

/* FAQ — dzieci czytające, prawy dolny narożnik sekcji */
.deco-faq-kids {
  bottom: 40px;
  right: -10px;
  width: 420px;
  opacity: 0.15;
  animation-duration: 12s;
  animation-delay: -4s;
}

/* jak-eligibility — dzieci skaczące, prawy dolny narożnik karty */
.deco-jak-kids {
  bottom: -22px;
  right: -8px;
  width: 300px;
  opacity: 0.32;
  animation-duration: 8s;
  animation-delay: -2s;
}

/* wsparcie section — przypinka, lewo od tytułu, nie wypycha layoutu */
.deco-przypinka {
  position: absolute;
  top: 50%;
  left: -195px;
  transform: translateY(-50%);
  width: 168px;
  opacity: 1;
  mix-blend-mode: normal;
  animation: decoFloat 7s ease-in-out infinite;
  animation-delay: -1s;
}

/* kontakt section — dzieci w zabawie, lewy dolny narożnik */
.deco-kontakt-kids {
  bottom: 20px;
  left: -30px;
  width: 360px;
  opacity: 0.13;
  animation-duration: 11s;
  animation-delay: -6s;
}

@media (max-width: 1480px) {
  .deco-przypinka { display: none; }
}
@media (max-width: 900px) {
  .deco-faq-kids, .deco-kontakt-kids { display: none; }
  .deco-alert-kids { width: auto; height: 100%; opacity: 0.28; }
  .wsparcie-alert { padding-right: 280px; min-height: 200px; }
  .deco-jak-kids   { width: 200px; opacity: 0.22; }
}
@media (max-width: 680px) {
  .deco-img { display: none; }
}

/* =========================================================
   WCAG — Panel dostępności
   ========================================================= */

/* Floating button (dół strony) */
#wcag-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100002;
}
#wcag-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B2B 0%, #FF3D8A 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255,107,43,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
#wcag-toggle:hover  { transform: scale(1.09); box-shadow: 0 6px 24px rgba(255,107,43,.6); }
#wcag-toggle:focus-visible { outline: 3px solid #FF6B2B; outline-offset: 3px; }

/* Menu — pozycja ustawiana przez JS (getBoundingClientRect) */
#wcag-menu {
  position: fixed;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(26,26,46,.18);
  padding: 20px;
  min-width: 280px;
  z-index: 100001;
  animation: wcagSlideIn .18s ease;
}
#wcag-menu[hidden] { display: none; }
@keyframes wcagSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wcag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(26,26,46,.08);
}
#wcag-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--c-muted);
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, background .15s;
  flex-shrink: 0;
}
#wcag-close:hover { color: var(--c-dark); background: rgba(26,26,46,.07); }
#wcag-close:focus-visible { outline: 3px solid #FF6B2B; outline-offset: 2px; }
.wcag-section { margin-bottom: 16px; }
.wcag-label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.wcag-btns { display: flex; gap: 8px; }
.wcag-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 2px solid rgba(26,26,46,.12);
  background: #f9fafb;
  color: var(--c-dark);
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.wcag-btn sup { font-size: 10px; }
.wcag-btn:hover            { border-color: #FF6B2B; background: #FFF2EC; color: #FF6B2B; }
.wcag-btn[aria-pressed="true"] {
  border-color: #FF6B2B;
  background: #FFF2EC;
  color: #FF6B2B;
  box-shadow: 0 0 0 3px rgba(255,107,43,.15);
}
.wcag-btn:focus-visible { outline: 3px solid #FF6B2B; outline-offset: 2px; }

/* Swatche kontrastu */
.wcag-swatch {
  width: 38px; height: 38px;
  padding: 0;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wcag-swatch::after { font-size: 14px; font-weight: 800; content: 'A'; }
.wcag-sw-default { background: #fff; border-color: rgba(26,26,46,.2); }
.wcag-sw-default::after { color: #1A1A2E; }
.wcag-sw-bw      { background: #fff; border-color: #000; }
.wcag-sw-bw::after { color: #000; }
.wcag-sw-wb      { background: #000; border-color: #555; }
.wcag-sw-wb::after { color: #fff; }
.wcag-sw-yb      { background: #000; border-color: #FFD600; }
.wcag-sw-yb::after { color: #FFD600; }
.wcag-swatch[aria-pressed="true"] {
  outline: 3px solid #FF6B2B;
  outline-offset: 2px;
  border-color: transparent;
  box-shadow: none;
}

#wcag-reset {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid rgba(26,26,46,.12);
  background: transparent;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
#wcag-reset:hover  { border-color: var(--c-dark); color: var(--c-dark); background: rgba(26,26,46,.04); }
#wcag-reset:focus-visible { outline: 3px solid #FF6B2B; outline-offset: 2px; }

/* =========================================================
   WCAG — Tryby dostępności
   ========================================================= */

/* --- Rozmiar tekstu (×1.12 i ×1.27) ---
   Wszystkie wartości px na stronie są jawne, dlatego
   zmiana html font-size nie działa — nadpisujemy każdą. */

/* == A+ (×1.12) == */
html.wcag-font-lg body,
html.wcag-font-lg .section-lead,
html.wcag-font-lg .nav-logo-text,
html.wcag-font-lg .jak-step h3,
html.wcag-font-lg .phone-link            { font-size: 19px !important; }

html.wcag-font-lg .btn,
html.wcag-font-lg .hero-desc,
html.wcag-font-lg .wsparcie-card h3,
html.wcag-font-lg .faq-question          { font-size: 18px !important; }

html.wcag-font-lg .nav-links a,
html.wcag-font-lg .faq-answer-inner,
html.wcag-font-lg .wsparcie-alert p,
html.wcag-font-lg .jak-elig-content p,
html.wcag-font-lg .kontakt-row-val,
html.wcag-font-lg .footer-links a,
html.wcag-font-lg .kontakt-map-placeholder { font-size: 17px !important; }

html.wcag-font-lg .nav-cta .btn,
html.wcag-font-lg .wsparcie-card p,
html.wcag-font-lg .jak-step p,
html.wcag-font-lg .hours-row,
html.wcag-font-lg .footer-tagline        { font-size: 16px !important; }

html.wcag-font-lg .section-tag,
html.wcag-font-lg .hero-badge,
html.wcag-font-lg .hero-stat-label,
html.wcag-font-lg .footer-links h4,
html.wcag-font-lg .footer-bottom,
html.wcag-font-lg .map-pin-badge         { font-size: 15px !important; }

html.wcag-font-lg .kontakt-row-label     { font-size: 13px !important; }

html.wcag-font-lg .wsparcie-alert h3,
html.wcag-font-lg .kontakt-card h3,
html.wcag-font-lg .phones-group-label,
html.wcag-font-lg .footer-bottom .deco,
html.wcag-font-lg .kontakt-row-icon      { font-size: 20px !important; }

html.wcag-font-lg .mobile-menu a,
html.wcag-font-lg .kontakt-card h3 span,
html.wcag-font-lg .phones-group-label span { font-size: 25px !important; }

html.wcag-font-lg .jak-elig-content h3   { font-size: 27px !important; }
html.wcag-font-lg .hero-stat-num         { font-size: 34px !important; }
html.wcag-font-lg .wsparcie-alert-icon   { font-size: 36px !important; }

html.wcag-font-lg .section-title  { font-size: clamp(29px, 4.5vw, 47px) !important; }
html.wcag-font-lg .hero-title     { font-size: clamp(36px, 5.6vw, 67px) !important; }
html.wcag-font-lg .hero-title-accent { font-size: clamp(40px, 6.2vw, 74px) !important; }
html.wcag-font-lg .hero-sub       { font-size: clamp(20px, 2.8vw, 27px) !important; }
html.wcag-font-lg .photo-strip-label { font-size: clamp(29px, 3.9vw, 49px) !important; }

/* == A++ (×1.27) == */
html.wcag-font-xl body,
html.wcag-font-xl .section-lead,
html.wcag-font-xl .nav-logo-text,
html.wcag-font-xl .jak-step h3,
html.wcag-font-xl .phone-link            { font-size: 22px !important; }

html.wcag-font-xl .btn,
html.wcag-font-xl .hero-desc,
html.wcag-font-xl .wsparcie-card h3,
html.wcag-font-xl .faq-question          { font-size: 20px !important; }

html.wcag-font-xl .nav-links a,
html.wcag-font-xl .faq-answer-inner,
html.wcag-font-xl .wsparcie-alert p,
html.wcag-font-xl .jak-elig-content p,
html.wcag-font-xl .kontakt-row-val,
html.wcag-font-xl .footer-links a,
html.wcag-font-xl .kontakt-map-placeholder { font-size: 19px !important; }

html.wcag-font-xl .nav-cta .btn,
html.wcag-font-xl .wsparcie-card p,
html.wcag-font-xl .jak-step p,
html.wcag-font-xl .hours-row,
html.wcag-font-xl .footer-tagline        { font-size: 18px !important; }

html.wcag-font-xl .section-tag,
html.wcag-font-xl .hero-badge,
html.wcag-font-xl .hero-stat-label,
html.wcag-font-xl .footer-links h4,
html.wcag-font-xl .footer-bottom,
html.wcag-font-xl .map-pin-badge         { font-size: 17px !important; }

html.wcag-font-xl .kontakt-row-label     { font-size: 15px !important; }

html.wcag-font-xl .wsparcie-alert h3,
html.wcag-font-xl .kontakt-card h3,
html.wcag-font-xl .phones-group-label,
html.wcag-font-xl .footer-bottom .deco,
html.wcag-font-xl .kontakt-row-icon      { font-size: 23px !important; }

html.wcag-font-xl .mobile-menu a,
html.wcag-font-xl .kontakt-card h3 span,
html.wcag-font-xl .phones-group-label span { font-size: 28px !important; }

html.wcag-font-xl .jak-elig-content h3   { font-size: 30px !important; }
html.wcag-font-xl .hero-stat-num         { font-size: 38px !important; }
html.wcag-font-xl .wsparcie-alert-icon   { font-size: 41px !important; }

html.wcag-font-xl .section-title  { font-size: clamp(33px, 5.1vw, 53px) !important; }
html.wcag-font-xl .hero-title     { font-size: clamp(41px, 6.4vw, 76px) !important; }
html.wcag-font-xl .hero-title-accent { font-size: clamp(46px, 7vw, 84px) !important; }
html.wcag-font-xl .hero-sub       { font-size: clamp(23px, 3.2vw, 30px) !important; }
html.wcag-font-xl .photo-strip-label { font-size: clamp(33px, 4.4vw, 56px) !important; }

/* ---- Kontrast: Czarny na białym (bw) ---- */
html.wcag-contrast-bw body { background: #fff !important; color: #000 !important; }
html.wcag-contrast-bw #hero { background: #fff !important; }
html.wcag-contrast-bw #faq, html.wcag-contrast-bw #jak { background: #fff !important; }
html.wcag-contrast-bw #wsparcie, html.wcag-contrast-bw #kontakt { background: #f2f2f2 !important; }
html.wcag-contrast-bw #hero::after,
html.wcag-contrast-bw #photo-strip::before, html.wcag-contrast-bw #photo-strip::after,
html.wcag-contrast-bw #faq::after, html.wcag-contrast-bw #wsparcie::after,
html.wcag-contrast-bw #jak::after { display: none !important; }
html.wcag-contrast-bw #nav,
html.wcag-contrast-bw #nav.scrolled {
  background: #fff !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  border-bottom: 2px solid #000 !important; box-shadow: none !important;
}
html.wcag-contrast-bw .mobile-menu { background: #fff !important; backdrop-filter: none !important; }
html.wcag-contrast-bw .mobile-menu a,
html.wcag-contrast-bw .nav-links a,
html.wcag-contrast-bw .hamburger span { color: #000 !important; background-color: #000 !important; }
html.wcag-contrast-bw .nav-links a { background-color: transparent !important; }
html.wcag-contrast-bw .hamburger span { color: transparent !important; }
html.wcag-contrast-bw .section-title, html.wcag-contrast-bw .section-lead,
html.wcag-contrast-bw h1, html.wcag-contrast-bw h2, html.wcag-contrast-bw h3,
html.wcag-contrast-bw p, html.wcag-contrast-bw li,
html.wcag-contrast-bw .faq-question, html.wcag-contrast-bw .kontakt-row-val,
html.wcag-contrast-bw .day, html.wcag-contrast-bw .time,
html.wcag-contrast-bw .hero-sub,
html.wcag-contrast-bw .hero-desc { color: #000 !important; }
html.wcag-contrast-bw .hero-title-accent {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #000 !important;
  background-clip: unset !important;
  color: #000 !important;
}
html.wcag-contrast-bw .hero-stat-num {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #000 !important;
  background-clip: unset !important;
}
html.wcag-contrast-bw .wave-char { color: #000 !important; -webkit-text-fill-color: #000 !important; }
html.wcag-contrast-bw .section-tag { background: #000 !important; color: #fff !important; }
html.wcag-contrast-bw .wsparcie-card, html.wcag-contrast-bw .kontakt-card,
html.wcag-contrast-bw .faq-item {
  background: #fff !important;
  border: 2px solid #000 !important;
  box-shadow: none !important;
}
html.wcag-contrast-bw .faq-icon { background: #000 !important; color: #fff !important; }
html.wcag-contrast-bw .wsparcie-alert {
  background: #000 !important;
  border: 2px solid #000 !important;
  box-shadow: none !important;
}
html.wcag-contrast-bw .wsparcie-alert h3,
html.wcag-contrast-bw .wsparcie-alert p { color: #fff !important; }
html.wcag-contrast-bw .jak-step-num {
  background: #000 !important;
  box-shadow: none !important;
}
html.wcag-contrast-bw .jak-eligibility { box-shadow: none !important; }
html.wcag-contrast-bw .jak-elig-content { background: #000 !important; }
html.wcag-contrast-bw .jak-elig-content h3,
html.wcag-contrast-bw .jak-elig-content p { color: #fff !important; }
html.wcag-contrast-bw .jak-elig-content .btn { background: #fff !important; color: #000 !important; border: 2px solid #000 !important; box-shadow: none !important; }
html.wcag-contrast-bw .btn-primary { background: #000 !important; color: #fff !important; box-shadow: none !important; }
html.wcag-contrast-bw .btn-outline  { border-color: #000 !important; color: #000 !important; }
html.wcag-contrast-bw .phone-link   { background: #f2f2f2 !important; color: #000 !important; border: 1.5px solid #000 !important; }
html.wcag-contrast-bw .map-pin-badge { background: #000 !important; box-shadow: none !important; }
html.wcag-contrast-bw footer { background: #000 !important; border-top: 2px solid #fff !important; }
html.wcag-contrast-bw .footer-links a,
html.wcag-contrast-bw .footer-tagline { color: #fff !important; }
html.wcag-contrast-bw .footer-bottom .deco { color: #fff !important; }
html.wcag-contrast-bw .hero-badge { background: #000 !important; color: #fff !important; }
html.wcag-contrast-bw .hero-badge svg { stroke: #fff !important; fill: #fff !important; }
html.wcag-contrast-bw .deco-img,
html.wcag-contrast-bw .hero-deco,
html.wcag-contrast-bw .hero-photo-badge,
html.wcag-contrast-bw .ps-float { display: none !important; }

/* ---- Wspólna baza trybów ciemnych (wb + yb) ---- */
html.wcag-contrast-wb body,
html.wcag-contrast-yb body { background: #000 !important; }
html.wcag-contrast-wb #hero,
html.wcag-contrast-yb #hero { background: #000 !important; }
html.wcag-contrast-wb #faq, html.wcag-contrast-wb #jak,
html.wcag-contrast-yb #faq, html.wcag-contrast-yb #jak { background: #000 !important; }
html.wcag-contrast-wb #wsparcie, html.wcag-contrast-wb #kontakt,
html.wcag-contrast-yb #wsparcie, html.wcag-contrast-yb #kontakt { background: #111 !important; }
html.wcag-contrast-wb #hero::after, html.wcag-contrast-yb #hero::after,
html.wcag-contrast-wb #photo-strip::before, html.wcag-contrast-yb #photo-strip::before,
html.wcag-contrast-wb #photo-strip::after,  html.wcag-contrast-yb #photo-strip::after,
html.wcag-contrast-wb #faq::after,  html.wcag-contrast-yb #faq::after,
html.wcag-contrast-wb #wsparcie::after, html.wcag-contrast-yb #wsparcie::after,
html.wcag-contrast-wb #jak::after,  html.wcag-contrast-yb #jak::after { display: none !important; }
html.wcag-contrast-wb #nav,  html.wcag-contrast-wb #nav.scrolled,
html.wcag-contrast-yb #nav,  html.wcag-contrast-yb #nav.scrolled {
  background: rgba(0,0,0,.95) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #333 !important; box-shadow: none !important;
}
html.wcag-contrast-wb .mobile-menu, html.wcag-contrast-yb .mobile-menu {
  background: #000 !important; backdrop-filter: none !important;
}
html.wcag-contrast-wb .wsparcie-card, html.wcag-contrast-yb .wsparcie-card,
html.wcag-contrast-wb .kontakt-card,  html.wcag-contrast-yb .kontakt-card,
html.wcag-contrast-wb .faq-item,      html.wcag-contrast-yb .faq-item {
  background: #111 !important; border: 1px solid #444 !important; box-shadow: none !important;
}
html.wcag-contrast-wb .wsparcie-alert, html.wcag-contrast-yb .wsparcie-alert {
  background: #111 !important; border: 1px solid #555 !important; box-shadow: none !important;
}
html.wcag-contrast-wb .jak-eligibility, html.wcag-contrast-yb .jak-eligibility { box-shadow: none !important; }
html.wcag-contrast-wb .jak-elig-content, html.wcag-contrast-yb .jak-elig-content { background: #111 !important; }
html.wcag-contrast-wb footer, html.wcag-contrast-yb footer {
  background: #000 !important; border-top: 1px solid #333 !important;
}
html.wcag-contrast-wb .jak-step-num, html.wcag-contrast-yb .jak-step-num { box-shadow: none !important; }
html.wcag-contrast-wb .deco-img,  html.wcag-contrast-yb .deco-img,
html.wcag-contrast-wb .hero-deco, html.wcag-contrast-yb .hero-deco,
html.wcag-contrast-wb .hero-photo-badge, html.wcag-contrast-yb .hero-photo-badge,
html.wcag-contrast-wb .ps-float,  html.wcag-contrast-yb .ps-float { display: none !important; }
html.wcag-contrast-wb .photo-strip-label, html.wcag-contrast-yb .photo-strip-label {
  background: rgba(0,0,0,.85) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html.wcag-contrast-wb .kontakt-map-wrap, html.wcag-contrast-yb .kontakt-map-wrap {
  background: #111 !important; border-color: #444 !important;
}

/* ---- Kontrast: Biały na czarnym (wb) ---- */
html.wcag-contrast-wb,
html.wcag-contrast-wb body { color: #fff !important; }
html.wcag-contrast-wb .section-title, html.wcag-contrast-wb .section-lead,
html.wcag-contrast-wb h1, html.wcag-contrast-wb h2, html.wcag-contrast-wb h3,
html.wcag-contrast-wb p, html.wcag-contrast-wb li,
html.wcag-contrast-wb .faq-question, html.wcag-contrast-wb .kontakt-row-val,
html.wcag-contrast-wb .day, html.wcag-contrast-wb .hero-sub,
html.wcag-contrast-wb .hero-desc,
html.wcag-contrast-wb .wsparcie-alert h3, html.wcag-contrast-wb .wsparcie-alert p,
html.wcag-contrast-wb .jak-elig-content h3, html.wcag-contrast-wb .jak-elig-content p,
html.wcag-contrast-wb .nav-links a, html.wcag-contrast-wb .mobile-menu a,
html.wcag-contrast-wb .footer-links a, html.wcag-contrast-wb .footer-tagline { color: #fff !important; }
html.wcag-contrast-wb .time, html.wcag-contrast-wb .section-lead,
html.wcag-contrast-wb .hero-desc, html.wcag-contrast-wb .jak-step p,
html.wcag-contrast-wb .kontakt-row-label { color: rgba(255,255,255,.75) !important; }
html.wcag-contrast-wb .hero-title-accent {
  background: none !important; -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #fff !important; background-clip: unset !important; color: #fff !important;
}
html.wcag-contrast-wb .hero-stat-num {
  background: none !important; -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #fff !important; background-clip: unset !important;
}
html.wcag-contrast-wb .wave-char { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html.wcag-contrast-wb .section-tag { background: #333 !important; color: #fff !important; }
html.wcag-contrast-wb .faq-icon    { background: #333 !important; color: #fff !important; }
html.wcag-contrast-wb .jak-step-num { background: #333 !important; }
html.wcag-contrast-wb .btn-primary { background: #fff !important; color: #000 !important; box-shadow: none !important; }
html.wcag-contrast-wb .btn-outline  { border-color: #fff !important; color: #fff !important; }
html.wcag-contrast-wb .jak-elig-content .btn { background: #fff !important; color: #000 !important; box-shadow: none !important; }
html.wcag-contrast-wb .phone-link   { background: #222 !important; color: #fff !important; border: 1px solid #555 !important; }
html.wcag-contrast-wb .map-pin-badge { background: #333 !important; box-shadow: none !important; }
html.wcag-contrast-wb .hamburger span { background: #fff !important; }
html.wcag-contrast-wb .hours-row:hover { background: #222 !important; }
html.wcag-contrast-wb .footer-logo-text { color: #fff !important; }
html.wcag-contrast-wb .footer-bottom .deco { color: #fff !important; }
html.wcag-contrast-wb .hero-badge { background: #222 !important; color: #fff !important; }
html.wcag-contrast-wb .hero-badge svg { stroke: #fff !important; fill: #fff !important; }

/* ---- Kontrast: Żółty na czarnym (yb) ---- */
html.wcag-contrast-yb,
html.wcag-contrast-yb body { color: #FFD600 !important; }
html.wcag-contrast-yb .section-title, html.wcag-contrast-yb .section-lead,
html.wcag-contrast-yb h1, html.wcag-contrast-yb h2, html.wcag-contrast-yb h3,
html.wcag-contrast-yb p, html.wcag-contrast-yb li,
html.wcag-contrast-yb .faq-question, html.wcag-contrast-yb .kontakt-row-val,
html.wcag-contrast-yb .day, html.wcag-contrast-yb .hero-sub,
html.wcag-contrast-yb .hero-desc,
html.wcag-contrast-yb .wsparcie-alert h3, html.wcag-contrast-yb .wsparcie-alert p,
html.wcag-contrast-yb .jak-elig-content h3, html.wcag-contrast-yb .jak-elig-content p,
html.wcag-contrast-yb .nav-links a, html.wcag-contrast-yb .mobile-menu a,
html.wcag-contrast-yb .footer-links a, html.wcag-contrast-yb .footer-tagline { color: #FFD600 !important; }
html.wcag-contrast-yb .time, html.wcag-contrast-yb .jak-step p,
html.wcag-contrast-yb .kontakt-row-label { color: rgba(255,214,0,.75) !important; }
html.wcag-contrast-yb .hero-title-accent {
  background: none !important; -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #FFD600 !important; background-clip: unset !important; color: #FFD600 !important;
}
html.wcag-contrast-yb .hero-stat-num {
  background: none !important; -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #FFD600 !important; background-clip: unset !important;
}
html.wcag-contrast-yb .wave-char { color: #FFD600 !important; -webkit-text-fill-color: #FFD600 !important; }
html.wcag-contrast-yb .section-tag { background: #1a1200 !important; color: #FFD600 !important; border: 1px solid #FFD600 !important; }
html.wcag-contrast-yb .faq-icon    { background: #1a1200 !important; color: #FFD600 !important; border: 1px solid #FFD600 !important; }
html.wcag-contrast-yb .jak-step-num { background: #1a1200 !important; color: #FFD600 !important; border: 2px solid #FFD600 !important; }
html.wcag-contrast-yb .btn-primary { background: #FFD600 !important; color: #000 !important; box-shadow: none !important; }
html.wcag-contrast-yb .btn-outline  { border-color: #FFD600 !important; color: #FFD600 !important; }
html.wcag-contrast-yb .jak-elig-content .btn { background: #FFD600 !important; color: #000 !important; box-shadow: none !important; }
html.wcag-contrast-yb .phone-link   { background: #1a1200 !important; color: #FFD600 !important; border: 1px solid #FFD600 !important; }
html.wcag-contrast-yb .map-pin-badge { background: #1a1200 !important; border: 1px solid #FFD600 !important; box-shadow: none !important; }
html.wcag-contrast-yb .hamburger span { background: #FFD600 !important; }
html.wcag-contrast-yb .hours-row:hover { background: #1a1200 !important; }
html.wcag-contrast-yb .footer-logo-text { color: #FFD600 !important; }
html.wcag-contrast-yb .footer-bottom .deco { color: #FFD600 !important; }
html.wcag-contrast-yb .hero-badge { background: #1a1200 !important; color: #FFD600 !important; }
html.wcag-contrast-yb .faq-icon svg,
html.wcag-contrast-yb .hero-badge svg { stroke: #FFD600 !important; fill: #FFD600 !important; }

/* Panel WCAG sam w sobie — zawsze czytelny niezależnie od trybu */
html.wcag-contrast-wb #wcag-menu,
html.wcag-contrast-yb #wcag-menu { background: #111 !important; border: 1px solid #444 !important; }
html.wcag-contrast-wb .wcag-header,
html.wcag-contrast-wb .wcag-label { color: #fff !important; }
html.wcag-contrast-yb .wcag-header,
html.wcag-contrast-yb .wcag-label { color: #FFD600 !important; }
html.wcag-contrast-wb .wcag-btn:not(.wcag-swatch) { background: #222 !important; border-color: #555 !important; color: #fff !important; }
html.wcag-contrast-yb .wcag-btn:not(.wcag-swatch) { background: #1a1200 !important; border-color: #FFD600 !important; color: #FFD600 !important; }
html.wcag-contrast-wb .wcag-btn[aria-pressed="true"],
html.wcag-contrast-yb .wcag-btn[aria-pressed="true"] { border-color: #FF6B2B !important; box-shadow: 0 0 0 3px rgba(255,107,43,.3) !important; }
html.wcag-contrast-wb #wcag-reset { color: rgba(255,255,255,.6) !important; border-color: #444 !important; }
html.wcag-contrast-yb #wcag-reset { color: rgba(255,214,0,.6) !important; border-color: #444 !important; }
html.wcag-contrast-wb #wcag-reset:hover { color: #fff !important; border-color: #888 !important; }
html.wcag-contrast-yb #wcag-reset:hover { color: #FFD600 !important; border-color: #FFD600 !important; }
html.wcag-contrast-bw #wcag-menu { border: 2px solid #000 !important; box-shadow: none !important; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: 2; justify-content: center; }
  .hero-photo-wrap { max-width: 508px; }
  .hero-photo-badge-1 { left: -2%; }
  .hero-photo-badge-2 { right: -2%; }
  .hero-content { padding-bottom: 40px; }

  .faq-grid { grid-template-columns: 1fr; }
  .wsparcie-grid { grid-template-columns: 1fr 1fr; }
  .jak-steps { grid-template-columns: 1fr; }

  /* Pionowa linia bazowa (przerywana) */
  .jak-steps::before {
    display: block;
    top: 28px;
    left: 43px;
    right: auto;
    bottom: var(--steps-line-bottom, 28px);
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(
      180deg,
      rgba(26,26,46,.12) 0, rgba(26,26,46,.12) 8px,
      transparent 8px, transparent 16px
    );
  }
  /* Pionowa linia animowana */
  .jak-steps::after {
    top: 28px;
    left: 43px;
    right: auto;
    bottom: var(--steps-line-bottom, 28px);
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #FF6B2B 0%, #FF3D8A 50%, #9333EA 100%);
    transform: scaleY(0);
    transform-origin: top center;
    animation: none;
  }
  .jak-steps.steps-active::after {
    animation: progressLineV 6s ease-in-out infinite;
  }
  @keyframes progressLineV {
    0%    { transform: scaleY(0); opacity: 1; }
    48%   { transform: scaleY(1); opacity: 1; }
    68%   { transform: scaleY(1); opacity: 1; }
    82%   { transform: scaleY(0); opacity: .3; }
    100%  { transform: scaleY(0); opacity: 0; }
  }

  .jak-step {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    padding-left: 16px;
  }
  .jak-step > div:not(.jak-step-num) {
    flex: 1;
    min-width: 0;
  }
  .jak-eligibility { grid-template-columns: 1fr; }
  .jak-elig-photo { height: 240px; }
  .kontakt-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .wcag-nav-btn { width: 34px; height: 34px; }

  /* WCAG menu — pełna szerokość na mobile, większe elementy */
  #wcag-menu {
    top: var(--nav-h) !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 0 16px 16px;
    padding: 20px 20px 24px;
    min-width: 0;
    box-shadow: 0 6px 32px rgba(26,26,46,.2);
  }
  .wcag-header { font-size: 17px; margin-bottom: 20px; padding-bottom: 14px; }
  .wcag-label  { font-size: 13px; margin-bottom: 10px; }
  .wcag-btns   { gap: 10px; }
  .wcag-btn {
    font-size: 18px;
    padding: 12px 20px;
    min-height: 52px;
    border-radius: 10px;
  }
  .wcag-btn sup { font-size: 12px; }
  .wcag-swatch  { width: 52px; height: 52px; }
  .wcag-swatch::after { font-size: 17px; }
  .wcag-section { margin-bottom: 20px; }
  #wcag-reset   { padding: 13px 16px; font-size: 15px; }
  #wcag-close   { padding: 6px; }
  #wcag-close svg { width: 20px; height: 20px; }
  .mobile-menu { display: flex; }

  .hero-stats { gap: 16px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-photo-badge { display: none; }

  /* Photo-strip — mobile: biały tekst, minimalny padding, podział na 2 linie */
  .photo-strip-label {
    padding: 20px 8px 24px;
    line-height: 1.35;
    font-size: clamp(28px, 7.5vw, 36px);
  }
  .photo-strip-label::before {
    inset: -10% -3%;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0,0,0,.90) 18%,
      rgba(0,0,0,.90) 82%,
      transparent 100%
    );
  }
  .photo-strip-label .wave-char {
    -webkit-text-stroke: 1px rgba(0,0,0,.7);
    text-shadow:
      0 0 6px rgba(0,0,0,1),
      0 0 16px rgba(0,0,0,1),
      0 0 34px rgba(0,0,0,1),
      0 0 60px rgba(0,0,0,.9),
      0 0 100px rgba(0,0,0,.6);
  }

  .wsparcie-grid { grid-template-columns: 1fr; }
  .wsparcie-alert { flex-direction: column; gap: 12px; padding-right: 40px; min-height: auto; }
  .wsparcie-alert-icon { font-size: 24px; }

  .jak-step { gap: 12px; }
  .jak-elig-content { padding: 32px 24px; }

  .kontakt-card { padding: 24px 20px; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: row; flex-wrap: wrap; column-gap: 32px; }
}
