/* ============================================================
   KOŁO CIEKAWOŚCI – style podstron (o-kanale, ciekawostki, dla-szkol, kontakt)
   Ładowany PO css/style.css – korzysta z jego zmiennych i komponentów.
   ============================================================ */

/* ---------- hero podstrony ---------- */
.page-hero { padding-bottom: 96px; }
.page-hero .wave { height: 80px; }
.page-hero .leaves { z-index: 2; }
.page-hero .leaves-l { width: clamp(150px, 18vw, 280px); }
.page-hero .leaves-r { width: clamp(140px, 17vw, 270px); }
.page-hero-grid {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 10px;
  min-height: 400px; padding-top: 26px;
}
.page-hero-text { position: relative; z-index: 3; align-self: center; padding: 20px 0 40px; animation: rise .9s cubic-bezier(.2, .8, .3, 1) .05s both; }
.page-hero .headline-sticker { margin-left: -30px; }
.page-hero .headline-sticker h1 { white-space: normal; font-size: clamp(1.8rem, 3.2vw, 2.9rem); }
.page-hero .hero-sub { max-width: 520px; font-size: 1.05rem; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.page-hero-art {
  position: relative; z-index: 3; display: flex; justify-content: center; align-items: flex-end; align-self: end;
  animation: slide-in 1s cubic-bezier(.2, .9, .3, 1) .25s both;
  translate: calc(var(--px, 0) * 16px) calc(var(--py, 0) * 8px); transition: translate .25s ease-out;
}
.pg-mascot {
  width: auto; height: auto; max-width: min(300px, 90%); max-height: 430px; margin-bottom: -4px;
  filter: drop-shadow(0 14px 16px rgba(15, 44, 110, .28)); animation: float 4.4s ease-in-out infinite .4s; transform-origin: bottom center;
}
.pg-mascot--square { max-width: min(380px, 96%); }
.page-hero-art .bubble { top: 6%; right: -4%; }
.crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 800 .82rem var(--font-body); color: var(--navy); }
.crumbs a { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); transition: background .2s, transform .2s; }
.crumbs a:hover { background: #fff; transform: translateY(-1px); }
.crumbs span[aria-current] { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .45); }

/* ---------- wspólne ---------- */
.pg { padding: 18px 0 10px; }
.pg + .pg { padding-top: 34px; }
.pg-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.pg-head h2 { font: 800 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--font-head); color: var(--navy); letter-spacing: -.3px; }
.pg-head p { margin-top: 10px; font-weight: 600; color: var(--muted); font-size: 1.05rem; }
.pg-kicker {
  display: inline-block; margin-bottom: 10px; padding: 5px 16px; border-radius: 999px; transform: rotate(-1.5deg);
  font: 800 .8rem var(--font-body); letter-spacing: .6px; text-transform: uppercase; color: var(--navy-deep);
  background: linear-gradient(180deg, #ffe45c, #ffc61a); box-shadow: 0 5px 10px -5px rgba(240, 130, 0, .7);
}
.lead { font-weight: 700; font-size: 1.12rem; line-height: 1.6; color: var(--ink); }
.prose p { font-weight: 600; font-size: 1.02rem; line-height: 1.7; margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); }
.card {
  position: relative; background: #fff; border-radius: 26px; padding: 26px;
  box-shadow: var(--shadow-card), inset 0 0 0 2px #e3efff;
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 12px 24px;
  font: 800 .95rem var(--font-body); color: var(--navy); background: #fff;
  box-shadow: 0 8px 16px -8px rgba(23, 64, 154, .55), inset 0 0 0 2px #cfe3ff; transition: transform .2s, gap .2s;
}
.btn-white:hover { transform: translateY(-2px); gap: 14px; }
.btn-blue--lg, .btn-red--sm { font-size: 1rem; }
.btn-red--sm { padding: 11px 22px 11px 18px; font-size: .95rem; }
.btn-red--sm .ico { font-size: 1.4rem; }
.pg-leaves { position: absolute; pointer-events: none; z-index: 0; opacity: .9; }

/* ---------- O KANALE ---------- */
.story { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.story h2 { font: 800 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--font-head); color: var(--navy); margin-bottom: 14px; }
.mission {
  position: relative; margin-top: 22px; padding: 18px 22px 18px 64px; border-radius: 20px;
  background: linear-gradient(160deg, #fff6cf, #ffeaa0); box-shadow: 0 10px 18px -12px rgba(230, 150, 0, .9), inset 0 0 0 2px rgba(255, 255, 255, .8);
  font: 800 1.2rem/1.25 var(--font-head); color: var(--navy-deep);
}
.mission::before { content: '“'; position: absolute; left: 18px; top: -4px; font: 800 4.2rem/1 var(--font-head); color: var(--orange); }
.stats { display: grid; grid-template-columns: 1fr; gap: 16px; }
.stat {
  display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-radius: 22px; color: #fff;
  background: var(--g); box-shadow: 0 12px 20px -12px var(--gs), inset 0 0 0 2px rgba(255, 255, 255, .35);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.stat:hover { transform: translateX(-6px) rotate(-1deg); }
.stat b { font: 800 2.5rem/1 var(--font-head); text-shadow: 0 2px 3px rgba(0, 0, 0, .22); min-width: 92px; text-align: center; }
.stat span { font-weight: 800; font-size: .98rem; line-height: 1.25; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { text-align: center; padding-top: 0; overflow: hidden; }
.pillar:hover { transform: translateY(-8px) rotate(-.6deg); }
.pillar-top { margin: 0 -26px 18px; padding: 22px 0 14px; background: var(--g); position: relative; overflow: hidden; }
.pillar-top::before { content: ''; position: absolute; left: -20%; top: -40%; width: 140%; height: 90%; background: radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, .5), transparent 65%); }
.pillar-top img { position: relative; width: 84px; height: 84px; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .22)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.pillar:hover .pillar-top img { transform: scale(1.14) rotate(-6deg); }
.pillar h3 { font: 800 1.3rem/1.15 var(--font-head); color: var(--navy); margin-bottom: 8px; }
.pillar p { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.6; }

.meet { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: center; padding: 0 40px; border-radius: 34px; overflow: hidden;
  background: #48bff7 url('../assets/img/hero-bg.webp') center 40% / cover no-repeat;
  box-shadow: 0 16px 30px -16px rgba(23, 100, 200, .6), inset 0 0 0 3px rgba(255, 255, 255, .65); }
.meet-art { position: relative; display: flex; justify-content: center; align-items: flex-end; align-self: end; min-height: 380px; }
.meet-art .halo { width: min(380px, 100%); }
.meet-art img.m { position: relative; max-height: 440px; width: auto; max-width: 100%; margin-bottom: -3px; filter: drop-shadow(0 12px 14px rgba(15, 44, 110, .3)); animation: float 4.6s ease-in-out infinite; }
.meet-body { position: relative; z-index: 2; padding: 38px 0; }
.meet-body h2 { font: 800 clamp(1.7rem, 2.8vw, 2.4rem)/1.1 var(--font-head); color: var(--navy-deep); margin-bottom: 10px; text-shadow: 0 2px 0 rgba(255, 255, 255, .5); }
.meet-body > p { font-weight: 700; color: var(--navy-deep); margin-bottom: 18px; max-width: 560px; }
.facts-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.facts-list li { background: rgba(255, 255, 255, .9); border-radius: 18px; padding: 12px 16px; box-shadow: 0 8px 14px -10px rgba(15, 44, 110, .6); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.facts-list li:hover { transform: translateY(-3px) rotate(-1deg); }
.facts-list small { display: block; font: 800 .72rem var(--font-body); letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.facts-list b { font: 800 1.08rem/1.2 var(--font-head); color: var(--navy); }
.meet .spark { z-index: 3; }

.cta-count { margin-top: 8px; display: inline-block; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-weight: 800; font-size: .88rem; color: var(--navy); }

/* ---------- CIEKAWOSTKI ---------- */
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; border-radius: 999px; padding: 8px 18px 8px 10px;
  font: 800 .92rem var(--font-body); color: var(--navy); background: #fff; box-shadow: inset 0 0 0 2px #cfe3ff, 0 6px 12px -8px rgba(23, 64, 154, .5);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background .2s, color .2s, box-shadow .2s;
}
.chip img { width: 28px; height: 28px; object-fit: contain; }
.chip .dot { width: 28px; height: 28px; display: grid; place-items: center; font-size: 1rem; }
.chip:hover { transform: translateY(-3px) rotate(-1.5deg); }
.chip[aria-pressed="true"] { background: linear-gradient(180deg, #2f8dff, #1566d6); color: #fff; box-shadow: 0 8px 16px -6px rgba(21, 102, 214, .8), inset 0 2px 0 rgba(255, 255, 255, .35); }
.fact-search { position: relative; }
.fact-search input {
  width: min(280px, 100%); border: 0; border-radius: 999px; padding: 11px 18px 11px 44px; font: 700 .95rem var(--font-body); color: var(--navy);
  background: #fff; box-shadow: inset 0 0 0 2px #cfe3ff; transition: box-shadow .2s, width .3s;
}
.fact-search input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--blue), 0 8px 16px -8px rgba(21, 102, 214, .6); width: min(340px, 100%); }
.fact-search .ico { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--blue); font-size: 1.2rem; pointer-events: none; }
.fact-count { font-weight: 800; color: var(--muted); font-size: .9rem; margin-bottom: 14px; text-align: center; }

.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fact { perspective: 1400px; }
.fact[hidden] { display: none; }
.fact-inner { position: relative; display: grid; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.3, 1.35, .5, 1); }
.fact.is-flipped .fact-inner { transform: rotateY(180deg); }
.fact-face {
  grid-area: 1 / 1; min-height: 310px; border-radius: 26px; padding: 22px; display: flex; flex-direction: column;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; text-align: left;
}
.fact-front {
  position: relative; overflow: hidden; border: 0; cursor: pointer; color: #fff; background: var(--g);
  box-shadow: 0 14px 22px -12px var(--gs), inset 0 0 0 2px rgba(255, 255, 255, .4), inset 0 -10px 18px rgba(0, 0, 0, .08);
  font-family: inherit; transition: box-shadow .3s;
}
.fact-front::before { content: ''; position: absolute; left: -20%; top: -30%; width: 140%; height: 70%; background: radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, .45), transparent 65%); pointer-events: none; }
.fact-front::after { content: '?'; position: absolute; right: 14px; bottom: -34px; font: 800 11rem/1 var(--font-head); color: rgba(255, 255, 255, .16); pointer-events: none; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.fact:hover .fact-front::after { transform: rotate(-10deg) scale(1.08); }
.fact:hover .fact-front { box-shadow: 0 22px 26px -12px var(--gs), inset 0 0 0 2px rgba(255, 255, 255, .6); }
.fact-tag {
  position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 4px 14px 4px 6px;
  font: 800 .78rem var(--font-body); letter-spacing: .4px; text-transform: uppercase; background: rgba(255, 255, 255, .28); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5);
}
.fact-tag img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .2)); }
.fact-q { position: relative; z-index: 2; margin: 18px 0 14px; font: 800 clamp(1.3rem, 1.9vw, 1.6rem)/1.15 var(--font-head); text-shadow: 0 2px 3px rgba(0, 0, 0, .25); }
.fact-hint { position: relative; z-index: 2; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 800 .9rem var(--font-body); align-self: flex-start; padding: 7px 16px; border-radius: 999px; background: #fff; color: var(--navy); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .45); }
.fact-hint .ico { font-size: 1.1rem; transition: transform .4s; }
.fact:hover .fact-hint .ico { transform: rotate(180deg); }
.fact-back {
  transform: rotateY(180deg); background: #fff; gap: 12px; box-shadow: 0 14px 22px -12px var(--gs), inset 0 0 0 4px var(--gc);
}
.fact-back .fact-tag { background: var(--g); color: #fff; box-shadow: none; }
.fact-a { font-weight: 700; font-size: 1.04rem; line-height: 1.55; color: var(--ink); flex: 1; }
.fact-a strong { color: var(--navy); }
.fact-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fact-yt { font-size: .86rem; padding: 9px 16px 9px 12px; }
.fact-yt .ico { font-size: 1.3rem; }
.fact-back-btn { border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; background: #eef6ff; color: var(--blue); display: grid; place-items: center; font-size: 1.15rem; transition: transform .3s, background .2s, color .2s; }
.fact-back-btn:hover { transform: rotate(180deg); background: var(--blue); color: #fff; }
.fact[hidden], .fact-empty[hidden] { display: none; }
.fact-empty { text-align: center; padding: 34px 16px; border-radius: 22px; background: #eef6ff; font-weight: 800; color: var(--navy); margin-top: 10px; }
.fact-empty button { border: 0; background: none; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; margin-left: 8px; }
/* żółta karta: biały tekst byłby nieczytelny */
.fact-front.c-yellow { color: var(--navy-deep); }
.fact-front.c-yellow .fact-q { text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.fact-front.c-yellow::after { color: rgba(120, 70, 0, .12); }
.fact-back.c-yellow .fact-tag { color: var(--navy-deep); }
.fact-back .fact-tag { background: var(--g); }
.fact-back .fact-actions .btn-blue { font-size: .86rem; padding: 9px 16px; }

/* ---------- DLA SZKÓŁ ---------- */
.info-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info { display: flex; gap: 16px; align-items: flex-start; }
.info:hover { transform: translateY(-6px) rotate(-.5deg); }
.info img { width: 74px; height: 74px; flex: none; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(23, 64, 154, .25)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.info:hover img { transform: scale(1.12) rotate(-6deg); }
.info h3 { font: 800 1.2rem/1.15 var(--font-head); color: var(--navy); margin-bottom: 6px; }
.info p { font-weight: 600; font-size: .96rem; line-height: 1.55; }

.steps { counter-reset: st; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.steps li { counter-increment: st; position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: #f4f9ff; box-shadow: inset 0 0 0 2px #dcebff; }
.steps li::before {
  content: counter(st); flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 1.35rem var(--font-head);
  background: linear-gradient(180deg, #ffa447, #f26a1b); box-shadow: 0 6px 10px -4px rgba(230, 100, 20, .8), inset 0 2px 0 rgba(255, 255, 255, .4);
}
.steps b { display: block; font: 800 1.08rem var(--font-head); color: var(--navy); }
.steps span { font-weight: 600; font-size: .95rem; line-height: 1.5; }

.ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.idea { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.idea:hover { transform: translateY(-8px) rotate(-.6deg); }
.idea-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #cfe3ff; }
.idea-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.idea:hover .idea-thumb img { transform: scale(1.07); }
.idea-thumb .play-badge { opacity: 1; transform: translate(-50%, -50%) scale(.82); }
.idea:hover .idea-thumb .play-badge { transform: translate(-50%, -50%) scale(1); }
.idea-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.idea-body .pg-kicker { align-self: flex-start; margin: 0 0 2px; transform: rotate(-1deg); font-size: .72rem; }
.idea-body h3 { font: 800 1.3rem/1.15 var(--font-head); color: var(--navy); }
.idea-body p { font-weight: 600; font-size: .96rem; line-height: 1.55; }
.idea-body ul { list-style: none; margin: 2px 0 6px; padding: 0; display: grid; gap: 6px; }
.idea-body li { position: relative; padding-left: 26px; font-weight: 700; font-size: .93rem; line-height: 1.4; }
.idea-body li::before { content: ''; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--g) ; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.idea-body .link-all { margin-top: auto; padding-top: 6px; }

.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dl { display: flex; gap: 20px; align-items: center; background: linear-gradient(160deg, #fffaf0, #fff3d6); box-shadow: 0 10px 18px -12px rgba(230, 150, 0, .8), inset 0 0 0 2px #ffe9a8; }
.dl:hover { transform: translateY(-5px) rotate(.4deg); }
.dl img { width: 96px; height: 96px; flex: none; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(120, 80, 0, .25)); }
.dl h3 { font: 800 1.25rem/1.15 var(--font-head); color: var(--navy); margin-bottom: 4px; }
.dl p { font-weight: 600; font-size: .94rem; line-height: 1.5; margin-bottom: 10px; }
.soon { display: inline-block; margin-bottom: 6px; padding: 3px 12px; border-radius: 999px; font: 800 .72rem var(--font-body); letter-spacing: .6px; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #a77bff, #6a3fe0); }

/* ---------- KONTAKT / FORMULARZE ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: start; }
.form-card { padding: 30px 30px 28px; }
.form-card h2 { font: 800 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--font-head); color: var(--navy); margin-bottom: 6px; }
.form-card > p { font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 800 .88rem var(--font-body); color: var(--navy); }
.field label i { color: var(--orange-deep); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-radius: 16px; padding: 13px 16px; font: 700 1rem var(--font-body); color: var(--navy-deep);
  background: #f4f9ff; box-shadow: inset 0 0 0 2px #dcebff; transition: box-shadow .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background: #f4f9ff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m6 9 6 6 6-6' fill='none' stroke='%231f7ae0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") right 14px center / 20px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 3px var(--blue), 0 8px 16px -10px rgba(21, 102, 214, .7); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 3px #ff6a5c; background-color: #fff5f4; }
.field .err { min-height: 1.1em; font: 800 .8rem var(--font-body); color: #e0301f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label.consent { display: flex; gap: 12px; align-items: flex-start; font: 600 .86rem/1.45 var(--font-body); color: var(--ink); cursor: pointer; }
.field label.consent input { width: 22px; height: 22px; flex: none; margin-top: 1px; padding: 0; border-radius: 7px; accent-color: var(--blue); cursor: pointer; }
.field label.consent input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-foot small { flex: 1 1 240px; color: var(--muted); font-weight: 600; font-size: .82rem; line-height: 1.45; }
.btn-send { border: 0; cursor: pointer; }
.form-ok {
  display: none; margin-top: 20px; padding: 18px 20px; border-radius: 20px; background: linear-gradient(160deg, #e7ffe0, #c9f3b5);
  box-shadow: inset 0 0 0 2px #9bdc7b; color: #1d5a0e; font-weight: 700; line-height: 1.5;
}
.form-ok.is-on { display: block; animation: pop-in .5s cubic-bezier(.2, 1.3, .4, 1) both; }
.form-ok b { display: block; font: 800 1.2rem var(--font-head); margin-bottom: 4px; }
.form-ok .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form-ok button, .form-ok a.mini { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 9px 16px; font: 800 .86rem var(--font-body); color: #1d5a0e; background: #fff; box-shadow: inset 0 0 0 2px #9bdc7b; }
.form-ok button:hover, .form-ok a.mini:hover { background: #1d5a0e; color: #fff; }

.side { display: grid; gap: 18px; }
.tile { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.tile:hover { transform: translateY(-4px) rotate(-.5deg); }
.tile-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 1.7rem; background: var(--g); box-shadow: 0 8px 14px -8px var(--gs), inset 0 0 0 2px rgba(255, 255, 255, .4); --flap: transparent; }
.tile-ico .ico { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .2)); }
.tile small { display: block; font: 800 .72rem var(--font-body); letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.tile b { font: 800 1.1rem/1.2 var(--font-head); color: var(--navy); word-break: break-word; }
.kids-box { position: relative; overflow: hidden; text-align: center; padding: 22px 22px 0; border-radius: 28px; background: linear-gradient(160deg, #fff6cf, #ffe58a); box-shadow: 0 12px 20px -14px rgba(230, 150, 0, .9), inset 0 0 0 3px rgba(255, 255, 255, .8); }
.kids-box h3 { font: 800 1.45rem/1.1 var(--font-head); color: var(--navy-deep); margin-bottom: 8px; }
.kids-box p { font-weight: 700; font-size: .95rem; line-height: 1.5; color: var(--navy-deep); }
.kids-box img { width: min(210px, 70%); margin: 10px auto -4px; filter: drop-shadow(0 8px 10px rgba(15, 44, 110, .28)); animation: float 4.4s ease-in-out infinite; }

/* ---------- animacje wejścia podstron ---------- */
.pg-hero-in { animation: rise .8s cubic-bezier(.2, .8, .3, 1) both; }

/* ---------- RESPONSYWNOŚĆ ---------- */
@media (max-width: 1100px) {
  .fact-grid, .ideas { grid-template-columns: repeat(2, 1fr); }
  .info-trio { grid-template-columns: 1fr; }
  .meet { padding: 0 24px; }
}
@media (max-width: 900px) {
  .page-hero { padding-top: 88px; padding-bottom: 80px; }
  .page-hero-grid { grid-template-columns: 1fr; text-align: center; min-height: 0; gap: 0; padding-top: 12px; }
  .page-hero-text { padding: 10px 0 8px; }
  .page-hero .headline-sticker { margin-left: 0; padding: 28px 38px 30px; }
  .page-hero .hero-sub { margin-inline: auto; }
  .hero-actions, .crumbs { justify-content: center; }
  .page-hero-art { margin-top: 10px; }
  .pg-mascot { max-width: min(230px, 62%); max-height: 330px; }
  .pg-mascot--square { max-width: min(280px, 80%); }
  .page-hero-art .bubble { right: 4%; top: 0; }
  .story, .contact-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .meet { grid-template-columns: 1fr; padding: 0 20px; text-align: center; }
  .meet-art { order: 2; min-height: 300px; }
  .meet-body { padding: 30px 0 0; }
  .meet-body > p { margin-inline: auto; }
  .steps, .downloads { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fact-grid, .ideas { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .facts-list { grid-template-columns: 1fr; text-align: left; }
  .tools { justify-content: center; }
  .chips { justify-content: center; }
  .stat b { font-size: 2.1rem; min-width: 78px; }
  .form-card { padding: 22px 18px; }
  .dl { flex-direction: column; text-align: center; }
  .info { flex-direction: column; align-items: center; text-align: center; }
  .fact-face { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .fact-inner { transition: none !important; }
}

/* ============================================================
   BLOG – HUB (LISTA ARTYKUŁÓW) & PODSTRONY ARTYKUŁÓW
   ============================================================ */

/* ---------- FILTRY KATEGORII BLOGA ---------- */
.blog-filters-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 36px;
  max-width: 900px;
}
.filter-chip {
  border: 0;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 999px;
  font: 800 .92rem var(--font-body);
  color: var(--navy);
  background: #fff;
  box-shadow: 0 4px 12px -4px rgba(23, 64, 154, .25), inset 0 0 0 2px #dcebff;
  transition: all .25s cubic-bezier(.2, .9, .3, 1);
}
.filter-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -6px rgba(23, 64, 154, .35), inset 0 0 0 2px var(--blue);
  color: var(--blue);
}
.filter-chip.is-active {
  background: linear-gradient(160deg, #1f7ae0, #135fc4);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(19, 95, 196, .6), inset 0 0 0 2px rgba(255, 255, 255, .35);
  transform: translateY(-2px) scale(1.02);
}

/* ---------- BLOG HUB GRID ---------- */
.blog-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
.blog-hub-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-card), inset 0 0 0 2px #e3efff;
  transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), box-shadow .35s;
}
.blog-hub-card:hover {
  transform: translateY(-8px) rotate(-.4deg);
  box-shadow: 0 22px 34px -14px rgba(15, 50, 120, .28), inset 0 0 0 2px #cbe1ff;
}
.blog-hub-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d6e8ff;
  display: block;
}
.blog-hub-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .9, .3, 1);
}
.blog-hub-card:hover .blog-hub-thumb {
  transform: scale(1.06);
}
.blog-hub-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-hub-title {
  font: 800 1.25rem/1.22 var(--font-head);
  color: var(--navy);
  margin: 10px 0 12px;
}
.blog-hub-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.blog-hub-title a:hover {
  color: var(--blue);
}
.blog-hub-excerpt {
  font-weight: 600;
  font-size: .94rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-hub-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 2px dashed #e8f1fc;
}
.blog-hub-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 .92rem var(--font-body);
  color: var(--blue);
  text-decoration: none;
  transition: gap .2s, color .2s;
}
.blog-hub-cta:hover {
  gap: 12px;
  color: var(--orange-deep);
}

/* ---------- ARTYKUŁ PODSTRONA (LAYOUT) ---------- */
.article-hero {
  padding-bottom: 80px;
}
.article-hero-grid {
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
}
.article-meta-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  font: 800 .82rem var(--font-body);
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9);
}
.meta-pill .ico {
  font-size: 1rem;
  color: var(--blue);
}
.article-headline {
  margin-left: -20px;
  margin-bottom: 18px;
}
.article-headline h1 {
  font-size: clamp(1.8rem, 2.9vw, 2.7rem);
  line-height: 1.15;
}

.article-page-layout {
  padding: 30px 0 60px;
}
.article-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* ---------- TREŚĆ ARTYKUŁU (PROSE) ---------- */
.article-prose-content {
  min-width: 0;
}
.article-prose-content p {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 18px;
}
.article-prose-content h2 {
  font: 800 clamp(1.6rem, 2.5vw, 2.2rem)/1.15 var(--font-head);
  color: var(--navy);
  margin: 40px 0 18px;
  letter-spacing: -.3px;
}
.article-prose-content h3 {
  font: 800 1.35rem/1.2 var(--font-head);
  color: var(--navy-deep);
  margin: 30px 0 14px;
}
.article-prose-content a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.article-prose-content a:hover {
  color: var(--orange-deep);
}
.article-prose-content strong {
  color: var(--navy-deep);
}

/* FIGURY / OBRAZKI W ARTYKULE */
.article-hero-fig,
.article-edu-fig {
  margin: 28px 0 34px;
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 30px -12px rgba(15, 45, 110, .2), inset 0 0 0 2px #dcebff;
}
.article-hero-img,
.article-edu-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.article-hero-cap,
.article-edu-cap {
  padding: 12px 20px;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--muted);
  background: #f8fbff;
  border-top: 1.5px solid #edf4fc;
  text-align: center;
}
.article-edu-cap strong {
  color: var(--navy);
}

/* ODPOWIEDŹ W 30 SEKUND */
.quick-answer-card {
  position: relative;
  background: linear-gradient(135deg, #f2f9ff 0%, #fffbf0 100%);
  border-radius: 26px;
  padding: 26px 30px;
  margin: 20px 0 32px;
  box-shadow: 0 12px 24px -10px rgba(31, 122, 224, .25), inset 0 0 0 2.5px #cbe3ff;
}
.qa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 999px;
  font: 800 .82rem var(--font-body);
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(160deg, #ff7a18, #e85500);
  box-shadow: 0 6px 14px -5px rgba(232, 85, 0, .6);
  margin-bottom: 14px;
}
.qa-badge .ico {
  font-size: 1.1rem;
}
.qa-text {
  font-size: 1.14rem !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
  color: var(--navy-deep) !important;
  margin-bottom: 0 !important;
}

/* CIEKAWOSTKA OD ZBYSZKA */
.zbyszek-callout {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #fff9e6 0%, #fff2f6 100%);
  border-radius: 28px;
  padding: 24px 28px;
  margin: 34px 0;
  box-shadow: 0 14px 26px -12px rgba(255, 180, 0, .45), inset 0 0 0 2.5px #ffe08a;
  position: relative;
  overflow: hidden;
}
.callout-avatar-wrap {
  flex: none;
  width: 90px;
  display: flex;
  justify-content: center;
}
.callout-avatar {
  width: 86px;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(15, 44, 110, .25));
  animation: float 4.2s ease-in-out infinite;
}
.callout-content {
  flex: 1;
}
.callout-badge {
  display: inline-block;
  font: 800 .84rem var(--font-body);
  color: var(--navy-deep);
  padding: 4px 14px;
  border-radius: 999px;
  background: #ffea79;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7);
  margin-bottom: 8px;
  transform: rotate(-1deg);
}
.callout-content p {
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--navy-deep);
  margin-bottom: 0;
}

/* DOMOWY EKSPERYMENT */
.experiment-card {
  background: linear-gradient(160deg, #f0fdf4 0%, #e8f9ee 100%);
  border-radius: 28px;
  padding: 32px 36px;
  margin: 38px 0;
  box-shadow: 0 16px 30px -14px rgba(34, 197, 94, .35), inset 0 0 0 2.5px #99f6b4;
}
.exp-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  font: 800 .82rem var(--font-body);
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #065f46;
  background: #a7f3d0;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8);
  margin-bottom: 12px;
}
.experiment-card h2 {
  color: #065f46 !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}
.exp-content ol {
  margin: 18px 0 22px;
  padding-left: 0;
  list-style: none;
  counter-reset: exp-step;
  display: grid;
  gap: 12px;
}
.exp-content li {
  position: relative;
  padding-left: 44px;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  counter-increment: exp-step;
}
.exp-content li::before {
  content: counter(exp-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(160deg, #10b981, #059669);
  color: #fff;
  font: 800 .9rem/30px var(--font-head);
  text-align: center;
  box-shadow: 0 4px 8px -3px rgba(5, 150, 105, .6);
}

/* FAQ AKORDEON W ARTYKULE */
.article-faq-section {
  margin: 44px 0 36px;
}
.faq-section-head {
  margin-bottom: 22px;
}
.faq-section-head h2 {
  margin: 6px 0 0 !important;
}
.faq-accordion {
  display: grid;
  gap: 14px;
}
.faq-item {
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px -4px rgba(23, 64, 154, .12), inset 0 0 0 2px #e3efff;
  transition: all .25s ease;
}
.faq-item[open] {
  box-shadow: 0 10px 22px -8px rgba(23, 64, 154, .22), inset 0 0 0 2px #bde0fe;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  font: 800 1.15rem var(--font-head);
  color: var(--navy);
  user-select: none;
  background: #fff;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-arrow {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef6ff;
  color: var(--blue);
  transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), background .2s;
}
.faq-item[open] .faq-arrow {
  transform: rotate(90deg);
  background: var(--blue);
  color: #fff;
}
.faq-a {
  padding: 0 24px 20px;
  background: #fff;
}
.faq-a p {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 0;
}

/* KOLEJNA WYPRAWA */
.next-expedition-card {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-radius: 28px;
  padding: 30px 34px;
  margin: 36px 0;
  box-shadow: 0 14px 28px -12px rgba(124, 58, 237, .3), inset 0 0 0 2.5px #ddd6fe;
}
.expedition-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  font: 800 .82rem var(--font-body);
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #5b21b6;
  background: #ddd6fe;
  margin-bottom: 10px;
}
.next-expedition-card h2 {
  color: #5b21b6 !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

/* ---------- PASEK BOCZNY (SIDEBAR) ---------- */
.sidebar-sticky {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 24px;
}
.sidebar-card {
  padding: 24px;
  border-radius: 24px;
}
.author-box {
  text-align: center;
  background: linear-gradient(160deg, #f0f7ff, #e3f0ff);
  box-shadow: 0 10px 22px -10px rgba(31, 122, 224, .3), inset 0 0 0 2px #cbe3ff;
}
.author-mascot {
  width: 90px;
  height: auto;
  margin: -10px auto 10px;
  filter: drop-shadow(0 6px 8px rgba(15, 45, 110, .2));
}
.author-box h3 {
  font: 800 1.25rem var(--font-head);
  color: var(--navy);
  margin-bottom: 6px;
}
.author-box p {
  font-weight: 600;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 16px;
}

.toc-box h3,
.related-box h3 {
  font: 800 1.15rem var(--font-head);
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #e5f0fc;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 .9rem var(--font-body);
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f7faff;
  transition: all .2s;
}
.toc-list a:hover {
  background: #eef6ff;
  color: var(--blue);
  transform: translateX(4px);
}
.toc-list .ico {
  font-size: 1.1rem;
  color: var(--blue);
}

.sidebar-articles-list {
  display: grid;
  gap: 14px;
}
.sidebar-article-card {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 10px;
  border-radius: 16px;
  background: #f7faff;
  transition: all .25s ease;
}
.sidebar-article-card:hover {
  background: #edf5ff;
  transform: translateY(-2px);
}
.sidebar-article-card img {
  width: 80px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}
.sidebar-article-card h4 {
  font: 800 .86rem/1.3 var(--font-head);
  color: var(--navy);
  margin: 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 800 .76rem var(--font-body);
  color: var(--muted);
}
.read-more-link .ico {
  font-size: .9rem;
}

/* ---------- RESPONSYWNOŚĆ DLA BLOGA ---------- */
@media (max-width: 1024px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sidebar-sticky {
    position: static;
  }
  .article-sidebar {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .blog-hub-grid {
    grid-template-columns: 1fr;
  }
  .article-headline {
    margin-left: 0;
  }
  .zbyszek-callout {
    flex-direction: column;
    text-align: center;
  }
  .callout-avatar-wrap {
    width: auto;
  }
  .experiment-card {
    padding: 24px 20px;
  }
}

