/* ============================================================
   KOŁO CIEKAWOŚCI – style strony
   ============================================================ */
:root {
  --navy: #17409a;
  --navy-deep: #0f2c6e;
  --blue: #1f7ae0;
  --blue-light: #3ec3ff;
  --yellow: #ffd23a;
  --orange: #ff8a1f;
  --orange-deep: #f05a0a;
  --red: #ff2f2f;
  --ink: #1a2f66;
  --muted: #6a7794;
  --font-head: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1240px;
  --shadow-card: 0 10px 24px -10px rgba(23, 64, 154, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
.container { width: min(var(--container), 92%); margin-inline: auto; }
.ico { width: 1em; height: 1em; display: inline-block; flex: none; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* ================= HERO ================= */
.hero {
  position: relative; z-index: 30;
  background: #3cb8f5 url('../assets/img/hero-bg.webp') center top / cover no-repeat;
  padding-top: 92px;
  padding-bottom: 150px;
  isolation: isolate;
  overflow: hidden;
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.noscript-note { text-align: center; padding: 14px; font-weight: 800; color: var(--navy); background: #fff6cf; }

/* ---- nagłówek / nawigacja ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 18px 0 6px;
  transition: background .3s, box-shadow .3s, padding .3s, backdrop-filter .3s;
}
.site-header.is-stuck {
  padding: 8px 0;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 24px -14px rgba(23, 64, 154, .5);
}
.site-header.is-stuck .brand { width: 58px; margin-bottom: 0; }
.site-header.is-stuck .nav-pill { box-shadow: 0 6px 16px -8px rgba(23, 64, 154, .45), inset 0 0 0 2px #e3efff; background: #fff; }
.header-inner { display: flex; align-items: center; gap: 22px; }
.brand { flex: none; width: 104px; margin-bottom: -30px; filter: drop-shadow(0 6px 8px rgba(15, 44, 110, .25)); transition: transform .3s, width .3s, margin .3s; }
.brand:hover { transform: rotate(-4deg) scale(1.05); }

.nav-pill {
  flex: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 6px 8px 6px 8px;
  box-shadow: 0 8px 20px -8px rgba(23, 64, 154, .35), inset 0 0 0 2px rgba(255, 255, 255, .8);
  max-width: 940px;
}
.nav-list { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: space-around; }
.nav-link {
  display: block; padding: 8px 16px; border-radius: 999px;
  font-weight: 800; font-size: .91rem; color: var(--navy); white-space: nowrap;
  transition: background .25s, color .25s, transform .2s;
}
.nav-link:hover { background: rgba(31, 122, 224, .12); transform: translateY(-1px); }
.nav-link.is-active {
  background: linear-gradient(180deg, #2f8dff, #1566d6);
  color: #fff; box-shadow: 0 4px 10px -3px rgba(21, 102, 214, .7);
}

.search { display: flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 2px #cfe3ff; }
.search-input {
  width: 0; padding: 0; border: 0; background: none; outline: none; font: 700 .9rem var(--font-body); color: var(--navy);
  transition: width .3s, padding .3s;
}
.search.is-open .search-input { width: 170px; padding: 0 6px 0 16px; }
.search-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--blue);
  display: grid; place-items: center; font-size: 1.25rem; cursor: pointer; transition: transform .2s;
}
.search-btn:hover { transform: scale(1.12); }

/* desktop: pigułka z linkami + osobny okrągły przycisk lupy + Subskrybuj (jak na wizualizacji) */
@media (min-width: 901px) {
  .nav-pill { display: contents; }
  .nav-list {
    flex: 1 1 auto; min-width: 0; padding: 7px 8px; gap: 2px;
    background: rgba(255, 255, 255, .88); backdrop-filter: blur(6px); border-radius: 999px;
    box-shadow: 0 8px 20px -8px rgba(23, 64, 154, .35), inset 0 0 0 2px rgba(255, 255, 255, .8);
  }
  .site-header.is-stuck .nav-list { background: #fff; box-shadow: 0 6px 16px -8px rgba(23, 64, 154, .45), inset 0 0 0 2px #e3efff; }
  .search {
    position: relative; flex: none; width: 46px; height: 46px; justify-content: center;
    background: rgba(255, 255, 255, .92); box-shadow: 0 8px 20px -8px rgba(23, 64, 154, .35), inset 0 0 0 2px rgba(255, 255, 255, .8);
  }
  .site-header.is-stuck .search { background: #fff; box-shadow: 0 6px 16px -8px rgba(23, 64, 154, .45), inset 0 0 0 2px #e3efff; }
  .search-btn { width: 46px; height: 46px; }
  /* pole wyszukiwania rozwija się pod lupą, nie rozpycha nagłówka */
  .search-input {
    position: absolute; top: calc(100% + 10px); right: 0; z-index: 5;
    width: 260px; height: 46px; padding: 0 20px; border-radius: 999px; background: #fff;
    box-shadow: 0 12px 26px -10px rgba(23, 64, 154, .55), inset 0 0 0 2px #cfe3ff;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .search.is-open .search-input { width: 260px; padding: 0 20px; opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 1021px) and (max-width: 1100px) {
  .header-inner { gap: 16px; }
  .header-inner .nav-link { padding: 8px 10px; }
}
@media (min-width: 901px) and (max-width: 1020px) {
  .header-inner { gap: 14px; }
  .header-inner .nav-link { padding: 8px 8px; font-size: .8rem; }
  .header-inner .btn-sub-pill { padding-right: 6px; }
  .header-inner .btn-sub-pill > span:last-of-type { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.btn-sub-pill {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #ffe45c, #ffc61a);
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 999px; padding: 5px 20px 5px 6px;
  font: 800 .98rem var(--font-body); color: var(--navy-deep);
  box-shadow: 0 8px 18px -8px rgba(240, 130, 0, .8);
  transition: transform .2s, box-shadow .2s;
}
.btn-sub-pill:hover { transform: translateY(-2px) scale(1.03); }
.yt-box {
  display: grid; place-items: center; width: 40px; height: 30px; border-radius: 9px;
  background: linear-gradient(180deg, #ff4b4b, #e01414); color: #fff; font-size: 1.4rem;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
}

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; margin-left: auto; padding: 0; place-content: center; gap: 5px; box-shadow: 0 6px 14px -6px rgba(23, 64, 154, .5); }
.burger span { display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--navy); margin-inline: auto; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- siatka hero ---- */
.hero-grid {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1.05fr 1.05fr 1fr; align-items: center; gap: 10px;
  min-height: 560px; padding-top: 28px;
}

.hero-left { position: relative; z-index: 3; padding-top: 30px; }
.headline-sticker {
  position: relative; display: inline-block; transform: rotate(-4deg);
  padding: 34px 54px 38px 44px; margin-left: -34px;
  background: url('../assets/img/brush-yellow.webp') center / 100% 100% no-repeat;
  filter: drop-shadow(0 8px 10px rgba(15, 80, 160, .18));
}
.headline-sticker h1 {
  font: 800 clamp(1.7rem, 2.7vw, 2.6rem)/1.02 var(--font-head);
  color: var(--navy); letter-spacing: -.5px; white-space: nowrap;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .45);
}
.hero-sub { margin: 16px 0 26px 6px; font-weight: 700; font-size: .98rem; color: var(--navy); line-height: 1.45; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }

.btn-orange {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, #ff9f2e 0%, #f25a0b 100%);
  color: #fff; border-radius: 999px; padding: 15px 32px 15px 24px;
  font: 800 1.02rem var(--font-body); letter-spacing: .5px; text-transform: uppercase;
  border: 3px solid rgba(255, 255, 255, .55);
  box-shadow: 0 10px 20px -8px rgba(240, 90, 10, .85), inset 0 2px 0 rgba(255, 255, 255, .45);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-orange .ico { font-size: 1.5rem; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .15)); }
.btn-orange:hover { transform: translateY(-3px) scale(1.03); filter: saturate(1.15); box-shadow: 0 16px 24px -10px rgba(240, 90, 10, .9), inset 0 2px 0 rgba(255, 255, 255, .45); }

.btn-orange, .btn-red, .btn-sub-pill { position: relative; overflow: hidden; }
.btn-orange::after, .btn-red::after, .btn-sub-pill::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite 1.2s; pointer-events: none;
}
.btn-red::after { animation-delay: 2.4s; }
.btn-sub-pill::after { animation-delay: 3.4s; }

.hero-left { animation: rise .9s cubic-bezier(.2, .8, .3, 1) .05s both; }
.hero-center { position: relative; display: grid; place-items: center; z-index: 2; animation: pop-in 1s cubic-bezier(.2, 1.3, .4, 1) .15s both; translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -8px); transition: translate .25s ease-out; }
.halo {
  position: absolute; width: min(560px, 118%); aspect-ratio: 1;
  background: url('../assets/img/halo-yellow.webp') center / contain no-repeat;
  filter: drop-shadow(0 12px 20px rgba(255, 180, 0, .35));
  animation: halo-spin 60s linear infinite;
}
.hero-logo { position: relative; width: min(500px, 100%); filter: drop-shadow(0 12px 14px rgba(15, 44, 110, .3)); animation: float 5s ease-in-out infinite; }

.hero-right { 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) .3s both; translate: calc(var(--px, 0) * 16px) calc(var(--py, 0) * 8px); transition: translate .25s ease-out; }
.hero-mascot { width: min(310px, 92%); margin-bottom: -4px; filter: drop-shadow(0 14px 16px rgba(15, 44, 110, .28)); animation: float 4.2s ease-in-out infinite .4s; transform-origin: bottom center; }
.bubble {
  position: absolute; top: 2%; right: -2%; z-index: 4; transform: rotate(7deg);
  background: linear-gradient(180deg, #1b4dac, #0f2c6e);
  color: #fff; border-radius: 22px 22px 22px 6px; padding: 14px 26px 14px 24px;
  font: 800 clamp(1.05rem, 1.7vw, 1.5rem)/1.1 var(--font-head); text-align: center;
  border: 3px solid rgba(255, 255, 255, .85);
  box-shadow: 0 10px 20px -8px rgba(15, 44, 110, .6);
}
.bubble::after {
  content: ''; position: absolute; left: 18px; bottom: -17px; width: 26px; height: 22px;
  background: #0f2c6e; clip-path: polygon(0 0, 100% 0, 20% 100%);
}

/* iskierki */
.spark { position: absolute; width: 8px; height: 38px; border-radius: 8px; background: linear-gradient(180deg, #ffe45c, #ffbd00); box-shadow: 0 2px 4px rgba(200, 120, 0, .35); animation: twinkle 2.6s ease-in-out infinite; }
.spark.s1 { left: 6%; top: 28%; transform: rotate(-35deg); }
.spark.s2 { left: 2%; top: 44%; transform: rotate(-70deg); height: 30px; animation-delay: .5s; }
.spark.s3 { right: 6%; top: 40%; transform: rotate(40deg); height: 30px; animation-delay: 1s; }

.leaves { position: absolute; pointer-events: none; z-index: 6; }
.leaves-l { left: -3%; bottom: 0; width: clamp(200px, 29vw, 440px); transform: translateY(10%); transform-origin: 0 100%; animation: sway 7s ease-in-out infinite; translate: calc(var(--px, 0) * 22px) 0; transition: translate .25s ease-out; }
.leaves-r { right: -3%; bottom: 0; width: clamp(180px, 25vw, 400px); transform: translateY(10%); transform-origin: 100% 100%; animation: sway 8s ease-in-out infinite reverse; translate: calc(var(--px, 0) * 26px) 0; transition: translate .25s ease-out; }

/* fale */
.wave { position: absolute; left: 0; right: 0; height: 90px; background-size: 100% 100%; background-repeat: no-repeat; pointer-events: none; }
.wave-white {
  bottom: -1px; z-index: 4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path d='M0 48 C 180 12 330 78 560 48 S 960 6 1160 40 S 1360 70 1440 34 V90 H0 Z' fill='%23ffffff'/></svg>");
}
.wave-footer {
  top: -88px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path d='M0 90 V48 C 200 8 360 78 600 44 S 980 4 1180 40 S 1380 66 1440 30 V90 Z' fill='%2314449a'/></svg>");
}

/* ================= SEKCJE ================= */
.section { padding: 34px 0 20px; position: relative; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section h2 { font: 800 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--font-head); color: var(--navy); letter-spacing: -.3px; }

.link-all { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--blue); transition: gap .2s; }
.link-all:hover { gap: 14px; }
.circle-arrow { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, #2f8dff, #1566d6); color: #fff; display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 5px 10px -4px rgba(21, 102, 214, .8); }

/* ---- filmy ---- */
.videos { margin-top: -14px; }
.carousel { position: relative; }
.car-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 6px; scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.video-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; min-width: 240px; }
.video-card[hidden] { display: none; }
.video-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-card); background: #cfe3ff;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card:hover .video-thumb img { transform: scale(1.07); }
.video-thumb::after {
  content: ''; position: absolute; inset: 0; background: rgba(15, 44, 110, .0); transition: background .3s;
}
.video-card:hover .video-thumb::after { background: rgba(15, 44, 110, .18); }
.play-badge {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255, 47, 47, .94); color: #fff; display: grid; place-items: center; font-size: 1.7rem;
  transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: .3s; box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
}
.video-card:hover .play-badge { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.duration {
  position: absolute; right: 8px; bottom: 8px; z-index: 3; background: rgba(10, 20, 45, .82); color: #fff;
  font-weight: 800; font-size: .78rem; padding: 2px 8px; border-radius: 6px;
}
.sticker {
  position: absolute; z-index: 3; font: 800 clamp(.95rem, 1.45vw, 1.28rem)/1.05 var(--font-head);
  text-align: center; max-width: 62%;
}
.sticker--yellow {
  left: 3%; top: 8%; transform: rotate(-6deg); color: var(--navy-deep);
  padding: 14px 26px; background: url('../assets/img/brush-yellow.webp') center / 100% 100% no-repeat;
}
.sticker--navy {
  right: 3%; bottom: 10%; transform: rotate(-5deg); color: #fff; background: linear-gradient(180deg, #1b4dac, #0f2c6e);
  padding: 8px 16px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .6);
}
.video-card h3 { font: 800 1.04rem/1.25 var(--font-body); color: var(--navy-deep); margin: 12px 4px 2px; }
.video-card .meta { margin: 0 4px; font-size: .85rem; color: var(--muted); font-weight: 600; }

.car-btn {
  position: absolute; top: 38%; z-index: 8; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: #fff; color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; cursor: pointer;
  box-shadow: 0 6px 14px -4px rgba(23, 64, 154, .5); transition: transform .2s, background .2s, color .2s;
}
.car-btn:hover { transform: scale(1.12); background: var(--blue); color: #fff; }
.car-btn:disabled { opacity: .45; cursor: default; transform: none; background: #fff; color: var(--navy); }
.car-prev { left: -19px; }
.car-next { right: -19px; }
.car-track.is-nudge-r { animation: nudge-r .5s ease; }
.car-track.is-nudge-l { animation: nudge-l .5s ease; }
.video-empty { text-align: center; font-weight: 800; color: var(--navy); background: #eef6ff; border-radius: 16px; padding: 26px 16px; margin-top: 6px; }
.video-empty[hidden] { display: none; }
.video-empty button { margin-left: 8px; border: 0; background: none; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---- kategorie ---- */
.categories { padding-top: 26px; }
.tag-yellow {
  display: inline-flex; align-items: center; gap: 10px; transform: rotate(-2deg);
  font: 800 1.12rem var(--font-head); color: var(--navy-deep);
  padding: 12px 34px 12px 40px; background: url('../assets/img/brush-yellow.webp') center / 100% 100% no-repeat;
}
.tag-yellow .ico { font-size: 1.1rem; }
.cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.cat {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  aspect-ratio: 1 / 1.08; border-radius: 16px; padding: 12px 6px 10px; color: #fff; overflow: hidden;
  background: var(--g); box-shadow: 0 10px 18px -10px var(--gs), inset 0 0 0 2px rgba(255, 255, 255, .35), inset 0 -8px 14px rgba(0, 0, 0, .08);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s;
}
.cat::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; }
.cat img { position: relative; width: 66%; height: auto; flex: 1; object-fit: contain; min-height: 0; margin-top: 2px; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .2)); transition: transform .3s; }
.cat span { position: relative; font: 800 .94rem/1.1 var(--font-body); text-align: center; text-shadow: 0 2px 3px rgba(0, 0, 0, .3); margin-top: 6px; }
.cat:hover { transform: translateY(-8px) rotate(-2deg); box-shadow: 0 18px 22px -10px var(--gs), inset 0 0 0 2px rgba(255, 255, 255, .55); }
.cat:hover img { transform: scale(1.12) rotate(4deg); }
.cat.is-active { transform: translateY(-6px); box-shadow: 0 18px 22px -10px var(--gs), 0 0 0 4px #fff, 0 0 0 7px var(--navy), inset 0 0 0 2px rgba(255, 255, 255, .55); }
.cat:active { transform: translateY(-2px) scale(.97); }
.c-green  { --g: linear-gradient(160deg, #a2dd5d, #5fb02b); --gs: rgba(80, 150, 30, .8); }
.c-yellow { --g: linear-gradient(160deg, #ffe25a, #ffb800); --gs: rgba(230, 150, 0, .8); }
.c-blue   { --g: linear-gradient(160deg, #54cbff, #1c8ee8); --gs: rgba(20, 120, 220, .8); }
.c-orange { --g: linear-gradient(160deg, #ffa447, #f26a1b); --gs: rgba(230, 100, 20, .8); }
.c-purple { --g: linear-gradient(160deg, #a77bff, #6a3fe0); --gs: rgba(100, 60, 220, .8); }
.c-coral  { --g: linear-gradient(160deg, #ff8d7e, #f0483b); --gs: rgba(230, 70, 60, .8); }
.c-teal   { --g: linear-gradient(160deg, #4fe8c0, #14b389); --gs: rgba(20, 170, 130, .8); }
.c-pink   { --g: linear-gradient(160deg, #ff8fce, #e84aa0); --gs: rgba(230, 70, 160, .8); }

/* ---- blog ---- */
.blog { padding: 36px 0 20px; }
.section-sub { font-size: 1rem; color: var(--muted); font-weight: 600; margin-top: 4px; max-width: 620px; line-height: 1.45; }
.section-title-wrap { flex: 1; min-width: 280px; }

/* Poziomy baner wprowadzający z maskotką Zbyszka */
.blog-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, #e8f4ff 0%, #f4f9ff 55%, #fff7e6 100%);
  border: 2px solid #d4e8ff;
  border-radius: 26px;
  padding: 16px 28px 16px 18px;
  margin-bottom: 26px;
  box-shadow: 0 10px 24px -10px rgba(23, 64, 154, .18);
  overflow: hidden;
}
.blog-banner-mascot-wrap {
  flex: none;
  width: 105px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.blog-banner-mascot {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(15, 44, 110, .22));
  transition: transform .35s cubic-bezier(.3, 1.5, .5, 1);
}
.blog-banner:hover .blog-banner-mascot {
  transform: rotate(-4deg) scale(1.08);
}
.blog-banner-content {
  flex: 1;
  min-width: 220px;
}
.blog-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(31, 122, 224, .12);
  color: var(--navy-deep);
  font: 800 .82rem var(--font-body);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.blog-banner-pill .ico { font-size: 1rem; color: var(--blue); }
.blog-banner-title {
  font: 800 clamp(1.2rem, 1.8vw, 1.45rem)/1.2 var(--font-head);
  color: var(--navy);
  margin-bottom: 4px;
}
.blog-banner-desc {
  font-size: .94rem;
  color: var(--ink);
  font-weight: 600;
  max-width: 680px;
  line-height: 1.4;
}
.blog-banner-badge {
  flex: none;
  background: linear-gradient(180deg, #ffb800, #ff8a1f);
  color: #fff;
  border-radius: 20px;
  padding: 10px 18px;
  text-align: center;
  box-shadow: 0 8px 16px -6px rgba(240, 90, 10, .5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotate(3deg);
  transition: transform .25s ease;
}
.blog-banner:hover .blog-banner-badge {
  transform: rotate(0deg) scale(1.05);
}
.blog-counter-num {
  font: 800 1.25rem/1 var(--font-head);
  letter-spacing: .5px;
}
.blog-counter-label {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* Układ siatki kart bloga */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  border: 2px solid #e6f0fc;
  box-shadow: 0 10px 24px -12px rgba(23, 64, 154, .2);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .9, .3, 1), box-shadow .3s, border-color .3s;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 32px -12px rgba(23, 64, 154, .3);
  border-color: #bad9ff;
}
.blog-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #dbeafe;
  overflow: hidden;
}
.blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.blog-card:hover .blog-thumb {
  transform: scale(1.07);
}
.blog-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font: 800 .8rem var(--font-body);
  color: #fff;
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
  background: var(--g, linear-gradient(160deg, #54cbff, #1c8ee8));
}
.blog-read-time {
  position: absolute;
  bottom: 10px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 44, 110, .82);
  color: #fff;
  font-weight: 800;
  font-size: .76rem;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.blog-read-time .ico { font-size: .88rem; }
.blog-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-deep);
}
.blog-author img {
  border-radius: 50%;
  width: 18px;
  height: 18px;
}
.blog-dot {
  opacity: .5;
}
.blog-title {
  font: 800 1.15rem/1.25 var(--font-head);
  color: var(--navy-deep);
  margin-bottom: 8px;
  transition: color .2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card:hover .blog-title {
  color: var(--blue);
}
.blog-excerpt {
  font-size: .92rem;
  color: #435479;
  line-height: 1.45;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #edf4fc;
}
.blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: .88rem;
  color: var(--blue);
  transition: gap .2s, color .2s;
}
.blog-card:hover .blog-cta {
  color: var(--navy);
  gap: 12px;
}
.circle-arrow-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2f8dff, #1566d6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .85rem;
  box-shadow: 0 4px 8px -2px rgba(21, 102, 214, .7);
  transition: transform .2s;
}
.blog-card:hover .circle-arrow-sm {
  transform: scale(1.12);
}
.blog-status-tag {
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--orange-deep);
  background: #fff4ea;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #ffd6b8;
}

/* ---- baner CTA ---- */
.cta-wrap { padding: 30px 0 14px; }
.cta {
  position: relative; display: grid; grid-template-columns: minmax(220px, .8fr) 1.5fr auto; align-items: center; gap: 10px;
  min-height: 170px; border-radius: 30px; overflow: hidden; padding: 12px 40px 12px 0;
  background: #48bff7 url('../assets/img/hero-bg.webp') 30% 60% / 160% auto no-repeat;
  box-shadow: 0 16px 30px -16px rgba(23, 100, 200, .6), inset 0 0 0 3px rgba(255, 255, 255, .65);
}
.cta-mascot { position: relative; z-index: 3; width: min(215px, 100%); margin: 6px 0 -22px 30px; filter: drop-shadow(0 10px 10px rgba(15, 44, 110, .3)); transition: transform .4s; }
.cta:hover .cta-mascot { transform: rotate(-4deg) scale(1.04); }
.cta-text { position: relative; z-index: 3; text-align: center; }
.cta-sticker { display: inline-block; transform: rotate(-3deg); padding: 24px 52px 26px; background: url('../assets/img/brush-yellow.webp') center / 100% 100% no-repeat; }
.cta-title { font: 800 clamp(1.45rem, 2.5vw, 2.15rem)/1.05 var(--font-head); color: var(--navy); }
.cta-sub { margin-top: 6px; font-weight: 800; color: var(--navy-deep); font-size: .95rem; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.cta-actions { position: relative; z-index: 7; display: flex; align-items: center; gap: 14px; }
.btn-red {
  display: inline-flex; align-items: center; gap: 12px; color: #fff; border-radius: 999px; padding: 15px 34px 15px 26px;
  font: 800 1.2rem var(--font-body); letter-spacing: .5px;
  background: linear-gradient(180deg, #ff5a3a, #e8201a);
  border: 3px solid rgba(255, 255, 255, .7);
  box-shadow: 0 12px 22px -8px rgba(200, 20, 20, .8), inset 0 2px 0 rgba(255, 255, 255, .35);
  transition: transform .2s, box-shadow .2s;
}
.btn-red .ico { font-size: 1.9rem; }
.btn-red:hover { transform: translateY(-3px) scale(1.04); }
.bell {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 8px 16px -6px rgba(23, 64, 154, .55); transition: transform .2s;
}
.bell:hover { animation: ring .6s; background: var(--yellow); color: var(--navy); }
.cta-leaves { position: absolute; right: -40px; bottom: -34px; width: 280px; z-index: 5; pointer-events: none; transform: scaleX(1); }
.spark.s4 { left: 21%; top: 16%; transform: rotate(-30deg); z-index: 4; }
.spark.s5 { left: 19%; top: 34%; transform: rotate(-65deg); height: 28px; z-index: 4; animation-delay: .8s; }

/* ---- o kanale ---- */
.about { padding: 40px 0 70px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { margin-bottom: 12px; }
.about-text p { max-width: 520px; font-weight: 600; color: var(--ink); font-size: 1rem; margin-bottom: 20px; }
.btn-blue {
  display: inline-flex; align-items: center; gap: 10px; color: #fff; border-radius: 999px; padding: 11px 24px;
  font: 800 .95rem var(--font-body); background: linear-gradient(180deg, #2f8dff, #1566d6);
  box-shadow: 0 8px 16px -6px rgba(21, 102, 214, .8), inset 0 2px 0 rgba(255, 255, 255, .35);
  transition: transform .2s, gap .2s;
}
.btn-blue:hover { transform: translateY(-2px); gap: 14px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; font: 800 1rem/1.2 var(--font-head); color: var(--navy); gap: 10px; transition: transform .3s; }
.feat:hover { transform: translateY(-6px); }
.feat img { width: 96px; height: 80px; object-fit: contain; }
.spark.s6 { left: 10%; top: -4px; width: 5px; height: 20px; transform: rotate(-30deg); }

/* ================= STOPKA ================= */
.footer { position: relative; margin-top: 40px; }
.footer-body {
  position: relative;
  background: linear-gradient(180deg, #14449a 0%, #0e2f78 100%);
  color: #fff;
  overflow: hidden;
  padding: 34px 0 24px;
}
.footer-inner {
  position: relative;
  z-index: 3;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-logo {
  flex: none;
  width: 105px;
  transition: transform .3s;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
}
.footer-logo:hover {
  transform: rotate(-4deg) scale(1.08);
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  font: 800 .93rem var(--font-body);
  color: #fff;
  opacity: .92;
  white-space: nowrap;
  transition: color .2s, opacity .2s, transform .2s;
}
.footer-links a:hover {
  color: var(--yellow);
  opacity: 1;
  transform: translateY(-2px);
}
.socials {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.45rem;
}
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.socials a { --flap: #fff; }
.socials a:hover {
  transform: translateY(-3px) scale(1.1);
  background: #fff;
  color: var(--navy);
  --flap: #14449a;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
}
.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.copy {
  font-size: .84rem;
  opacity: .75;
  font-weight: 600;
  margin: 0;
}
.footer-tagline {
  font-size: .82rem;
  opacity: .65;
  font-weight: 600;
  margin: 0;
}
.f-leaves-l { left: -30px; bottom: -70px; width: 220px; z-index: 2; pointer-events: none; }
.f-leaves-r { right: -30px; bottom: -80px; width: 190px; z-index: 2; pointer-events: none; }

/* ================= ANIMACJE ================= */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes halo-spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .55; scale: .85; } }
@keyframes ring { 0%, 100% { rotate: 0deg; } 20% { rotate: 18deg; } 40% { rotate: -16deg; } 60% { rotate: 10deg; } 80% { rotate: -8deg; } }
@keyframes sway { 0%, 100% { rotate: 0deg; } 50% { rotate: 1.8deg; } }
@keyframes shine { 0%, 55% { left: -60%; } 80%, 100% { left: 130%; } }
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.82) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes nudge-r { 0%, 100% { transform: none; } 40% { transform: translateX(-18px); } }
@keyframes nudge-l { 0%, 100% { transform: none; } 40% { transform: translateX(18px); } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= RESPONSYWNOŚĆ ================= */
@media (max-width: 1180px) {
  .nav-link { padding: 7px 11px; font-size: .84rem; }
  .nav-pill { max-width: 860px; }
  .footer-links { gap: 14px; }
  .footer-links a { font-size: .86rem; }
  .footer-row { gap: 16px; }
  .footer-logo { width: 90px; }
}

@media (max-width: 1050px) {
  .footer-links { gap: 10px; }
  .footer-links a { font-size: .82rem; }
  .footer-row { gap: 12px; }
  .footer-logo { width: 85px; }
}

@media (max-width: 1100px) {
  .nav-link { padding: 7px 10px; font-size: .82rem; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card:nth-child(3) { grid-column: 1 / -1; }
  .cta { grid-template-columns: minmax(180px, .7fr) 1.4fr; padding-right: 24px; }
  .cta-actions { grid-column: 1 / -1; justify-content: center; padding: 6px 0 22px; }
  .cta-mascot { margin-bottom: 0; }
  .cta-text { padding-right: 70px; }
  .cta-leaves { width: 210px; right: -46px; bottom: -40px; }
}

@media (max-width: 900px) {
  .hero { padding-top: 88px; padding-bottom: 110px; }
  .burger { display: grid; }
  .btn-sub-pill { display: none; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .brand { width: 84px; margin-bottom: -14px; }
  .nav-pill {
    display: none; order: 3; flex: 1 1 100%; max-width: none; border-radius: 26px; flex-direction: column; align-items: stretch; padding: 12px;
  }
  .nav-pill.is-open { display: flex; max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav-list { flex-direction: column; gap: 4px; align-items: stretch; }
  .nav-link { text-align: center; padding: 11px 14px; font-size: 1rem; }
  .blog-banner { flex-wrap: wrap; text-align: center; justify-content: center; padding: 20px; }
  .blog-banner-mascot-wrap { width: 90px; }
  .blog-banner-content { text-align: center; }
  .blog-banner-pill { justify-content: center; }
  .blog-banner-badge { display: none; }
  .search.is-open .search-input { width: 100%; }
  .search { justify-content: space-between; }

  .hero-grid { grid-template-columns: 1fr 1fr; gap: 6px 10px; text-align: center; min-height: 0; padding-top: 12px; align-items: end; }
  .hero-left { order: 2; padding-top: 0; align-self: center; }
  .headline-sticker { margin-left: 0; padding: 28px 38px 30px; }
  .hero-sub { margin-left: 0; }
  .hero-center { order: 1; grid-column: 1 / -1; }
  .hero-logo { width: min(340px, 78%); }
  .halo { width: min(400px, 100%); }
  .hero-right { order: 3; margin-top: 0; }
  .hero-mascot { width: min(250px, 90%); }
  .bubble { right: 2%; top: -4%; }
  .car-prev { left: -8px; } .car-next { right: -8px; }
  .video-card { flex-basis: calc((100% - 22px) / 2); }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-text p { margin-inline: auto; }
  .footer-row {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-logo { margin: 0 auto; width: 90px; }
  .footer-links { justify-content: center; gap: 10px 18px; }
  .socials { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 8px;
  }
  .f-leaves-l, .f-leaves-r { opacity: .85; width: 140px; }
}

@media (max-width: 600px) {
  .hero-grid { grid-template-columns: 1fr; gap: 6px; padding-top: 20px; }
  .hero-left { align-self: auto; }
  .hero-center { grid-column: auto; }
  .hero-right { margin-top: 14px; }
  .hero-mascot { width: min(230px, 70%); }
  .bubble { right: 8%; top: 0; }
  .video-card { flex-basis: 82%; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card:nth-child(3) { grid-column: auto; }
  .cta-text { padding-right: 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat { aspect-ratio: 1 / .9; }
  .footer-links { flex-wrap: wrap; }
  .cta { grid-template-columns: 1fr; text-align: center; padding: 0 16px 8px; background-size: cover; }
  .cta-mascot { margin: 0 auto -10px; width: 190px; }
  .cta-sticker { padding: 22px 34px 24px; }
  .cta-leaves { width: 180px; right: -50px; opacity: .9; }
  .features { grid-template-columns: 1fr; gap: 22px; }
  .section-head { justify-content: center; text-align: center; }
  .btn-red { font-size: 1.05rem; padding: 13px 24px 13px 20px; }
  .spark.s4, .spark.s5 { display: none; }
}
