/*
 * PoppyBio - wyglad strony bio. Czesc 1 przeniesiona ze wzorca strona/index.html (blok <style>, stan 20.11.2026 12:48)
 * w tej samej kolejnosci; pominiete tylko reguly klas nieobecnych w HTML (.chip, .growth, .bento, .skill, .facts, .tape).
 * Nie poprawiac ani nie "ulepszac" - zmiany wygladu tylko na polecenie.
 */
  /* Jeden kolor wiodący: dżins marynarki ze zdjęcia. Żółty tylko jako zakreślacz. */
  :root {
    --ink: #0e1a3a;
    --text: #3a4560;
    --muted: #5b6680;
    --blue: #2a52be;
    --blue-deep: #1b3a8f;
    --mark: #ffc83d;
    --glass: rgba(255, 255, 255, .66);
    --glass-border: rgba(255, 255, 255, .92);
    --hair: rgba(14, 26, 58, .1);
    --shadow-sm: 0 1px 2px rgba(14, 26, 58, .05), 0 6px 18px -8px rgba(14, 26, 58, .14);
    --shadow: 0 1px 2px rgba(14, 26, 58, .05), 0 22px 46px -22px rgba(27, 58, 143, .3);
    --shadow-lg: 0 2px 4px rgba(14, 26, 58, .05), 0 40px 80px -32px rgba(27, 58, 143, .45);
    --r: 26px;
    --display: "Red Hat Display", "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    --sans: "Red Hat Text", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
  body { margin: 0; background: #fff; color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: inherit; }
  a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
  h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.025em; line-height: 1.08; font-weight: 800; }
  p { margin: 0; }
  img { max-width: 100%; height: auto; display: block; }
  .wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; position: relative; }
  .num { font-variant-numeric: tabular-nums; }

  /* Tło góry: siatka punktów i jedna poświata za zdjęciem */
  .backdrop { position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -1; pointer-events: none; overflow: hidden; }
  .backdrop::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(42, 82, 190, .22) 1.2px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 30%, #000 0, transparent 72%); mask-image: radial-gradient(ellipse 70% 70% at 72% 30%, #000 0, transparent 72%); }
  .backdrop::after { content: ""; position: absolute; width: 640px; height: 640px; right: 4%; top: 40px; border-radius: 50%; background: #cddbff; filter: blur(110px); opacity: .7; animation: breathe 9s ease-in-out infinite alternate; }
  @keyframes breathe { to { opacity: .45; transform: scale(1.08) translate(-30px, 20px); } }

  /* Szkło i karty */
  .glass { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border: 1px solid var(--glass-border); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .9); border-radius: var(--r); }
  .card { background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow); border-radius: var(--r); }
  .lift { transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
  .lift:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }

  /* Nawigacja */
  .nav-wrap { position: sticky; top: 14px; z-index: 50; padding-inline: 16px; }
  .nav { max-width: 1112px; margin: 14px auto 0; padding: 9px 9px 9px 24px; border-radius: 999px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .nav .name { font-family: var(--display); font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; }
  .nav nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; }
  .nav nav a { text-decoration: none; color: var(--text); padding: 9px 14px; border-radius: 999px; transition: background .25s, color .25s; }
  .nav nav a:hover { background: rgba(42, 82, 190, .09); color: var(--blue); }
  .nav nav a.cta { background: var(--blue); color: #fff; font-weight: 600; padding-inline: 20px; white-space: nowrap; }
  .nav nav a.cta:hover { background: var(--blue-deep); }

  /* Góra */
  .hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 60px; align-items: center; padding-block: 64px 84px; }
  .who { font-size: 18px; font-weight: 600; color: var(--blue); }
  h1 { font-size: clamp(31px, 3.7vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 14px 0 22px; text-wrap: balance; }
  .lead { font-size: clamp(16.5px, 1.45vw, 18px); line-height: 1.55; max-width: 34em; }
  .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
  .btn { display: inline-block; padding: 15px 28px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; transition: translate .35s var(--ease), box-shadow .35s var(--ease), background .25s; }
  .btn.primary { color: #fff; background: var(--blue); box-shadow: 0 14px 30px -12px rgba(42, 82, 190, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
  .btn.primary:hover { translate: 0 -3px; background: var(--blue-deep); box-shadow: 0 22px 40px -14px rgba(27, 58, 143, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
  .btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .75); border: 1px solid var(--hair); box-shadow: var(--shadow-sm); }
  .btn.ghost:hover { translate: 0 -3px; box-shadow: var(--shadow); }
  .roles { margin-top: 28px; font-size: 15px; color: var(--muted); }

  .portrait { position: relative; }
  .portrait .ph { border-radius: 40px; overflow: hidden; background: #eceef2; border: 6px solid #fff; box-shadow: 0 44px 80px -40px rgba(14, 26, 58, .6), 0 2px 8px rgba(14, 26, 58, .08); aspect-ratio: 1200 / 1077; }
  .portrait .ph img { width: 100%; height: 100%; object-fit: cover; scale: 1.03; transform-origin: 50% 0; }

  @keyframes float { 50% { translate: 0 -10px; } }

  /* Wyniki kanału YouTube: ranking z prawdziwych danych i miniatury z moim udziałem */
  .films { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: stretch; padding-block: 20px 30px; }
  .rank { padding: 30px 30px 22px; }
  .rank h2 { font-size: 26px; letter-spacing: -.02em; }
  .rank .sum { margin-top: 10px; font-size: 16px; color: var(--muted); max-width: 46em; }
  .rank .sum b { color: var(--ink); font-weight: 700; }
  .rank ol { list-style: none; margin: 20px 0 0; padding: 0; }
  .rank li { position: relative; border-top: 1px solid var(--hair); }
  .rank li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: linear-gradient(90deg, rgba(42, 82, 190, .13), rgba(42, 82, 190, .04)); border-radius: 0 10px 10px 0; transform-origin: 0 50%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 90ms + 300ms); }
  .js .rank.reveal li::before { transform: scaleX(0); }
  .rank a { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 10px; text-decoration: none; }
  .rank .t { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
  .rank .v { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--blue); white-space: nowrap; }
  .rank a:hover .t { color: var(--blue); }
  .mine { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; align-content: center; }
  .mine p { grid-column: 1 / -1; font-size: 14.5px; color: var(--muted); }
  .thumb { position: relative; display: block; border-radius: 18px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); transition: translate .4s var(--ease), rotate .4s var(--ease), box-shadow .4s var(--ease); }
  .thumb:nth-child(1) { rotate: -1.4deg; }
  .thumb:nth-child(2) { rotate: 1.2deg; translate: 0 10px; }
  .thumb:nth-child(3) { rotate: 1deg; }
  .thumb:nth-child(4) { rotate: -1.2deg; translate: 0 10px; }
  .thumb:hover { rotate: 0deg; translate: 0 -6px; box-shadow: var(--shadow-lg); z-index: 2; }
  .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .thumb .views { position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .9); }

  /* Liczby */

  /* Sekcje */
  section { padding-block: 66px; }
  h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 900; letter-spacing: -.035em; max-width: 18em; text-wrap: balance; }
  .head { margin-bottom: 38px; }
  .head p { margin-top: 18px; max-width: 38em; font-size: 18px; }

  .pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .pain { padding: 28px; }
  .pain .q { font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.25; }
  .pain p { margin-top: 12px; font-size: 15.5px; line-height: 1.55; }

  /* Dowód */
  .case { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: start; }

  .channels { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .channels li { padding: 16px 18px; border-radius: 20px; background: rgba(42, 82, 190, .07); }
  .channels b { display: block; font-family: var(--display); font-size: 24px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
  .channels span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
  figure { margin: 0; }
  .case-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 26px; }
  .case-steps li { counter-increment: st; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
  .case-steps li::before { content: counter(st); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #fff; background: var(--blue); box-shadow: 0 10px 22px -10px rgba(42, 82, 190, .8); }
  .case-steps h3 { font-size: 21px; line-height: 1.2; margin-bottom: 6px; }
  .case-steps p { font-size: 16px; line-height: 1.55; max-width: 54ch; }

  /* Współpraca */
  .offer { border-radius: 36px; padding: 56px; color: #d6def5; position: relative; overflow: hidden; background: #0e1a3a; box-shadow: 0 50px 100px -40px rgba(14, 26, 58, .7); }
  .offer::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: #2a52be; filter: blur(90px); opacity: .6; pointer-events: none; }
  .offer::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%); pointer-events: none; }
  .offer > * { position: relative; z-index: 1; }
  .offer h2, .offer h3 { color: #fff; }
  .offer .intro { margin-top: 20px; max-width: 37em; font-size: 18px; color: #c5cdea; }
  .offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
  .offer-item { padding: 24px 26px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: translate .45s var(--ease), background .3s, border-color .3s; }
  .offer-item:hover { translate: 0 -5px; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }
  .offer-item h3 { font-size: 21px; margin-bottom: 8px; }
  .offer-item p { font-size: 15.5px; color: #c5cdea; line-height: 1.55; }
  .process-title { margin-top: 46px; font-size: 24px; }
  .process { list-style: none; margin: 22px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: pr; }
  .process li { counter-increment: pr; }
  .process li::before { content: counter(pr); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--mark); }
  .process b { display: block; margin-top: 14px; font-family: var(--display); color: #fff; font-size: 18px; }
  .process span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: #c5cdea; }
  .offer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; }
  .offer-foot p { color: #c5cdea; max-width: 30em; }
  .btn.white { background: #fff; color: var(--ink); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6); }
  .btn.white:hover { translate: 0 -3px; }

  .fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .fit-card { padding: 32px; }
  .fit-card h3 { font-size: 22px; margin-bottom: 16px; }
  .fit-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .fit-card li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.5; }
  .fit-card li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 15px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); rotate: -45deg; }
  .fit-card.no li::before { height: 0; top: 12px; border-left: 0; border-bottom: 3px solid #a3acc2; rotate: 0deg; }

  .xp { display: grid; gap: 16px; }
  .xp-card { padding: 34px 36px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 36px; position: relative; overflow: hidden; }
  .xp-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); opacity: 0; transition: opacity .4s; }
  .xp-card:hover::before { opacity: 1; }
  .xp-meta .years { font-size: 14.5px; font-weight: 700; color: var(--blue); }
  .xp-meta h3 { font-size: 30px; margin: 8px 0 8px; }
  .xp-meta .role { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
  .xp-meta a { display: inline-block; margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid rgba(42, 82, 190, .3); transition: border-color .25s, color .25s; }
  .xp-meta a:hover { color: var(--blue); border-color: var(--blue); }
  .xp-body p { max-width: 62ch; }
  .xp-body p + p { margin-top: 14px; }

  .contact { text-align: center; padding: 64px 32px; position: relative; overflow: hidden; }
  .contact h2 { margin-inline: auto; }
  .contact p { margin: 18px auto 0; max-width: 32em; font-size: 18px; }
  .contact .mail { display: inline-block; margin-top: 28px; font-family: var(--display); font-size: clamp(18px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.02em; text-decoration: none; color: var(--ink); background: linear-gradient(var(--mark), var(--mark)) 0 92% / 100% 8px no-repeat; transition: background-size .35s var(--ease); overflow-wrap: anywhere; }
  .contact .mail:hover { background-size: 100% 100%; }
  .contact .cal .btn { margin-top: 28px; }
  .contact .cal .or { margin-top: 34px; font-size: 15px; color: var(--muted); }
  .contact.has-cal .mail { margin-top: 8px; font-size: clamp(17px, 2.2vw, 24px); }
  .contact.has-cal .mail-only { display: none; }

  footer { padding-block: 30px 46px; font-size: 14px; color: var(--muted); }
  .sticky-cta { display: none; }

  /* Wejścia przy przewijaniu */
  .js .reveal { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; filter: none; }

  @media (max-width: 920px) {
    .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 40px 84px; }
    .portrait { max-width: 440px; }

    .pains { grid-template-columns: 1fr; }
    .case { grid-template-columns: 1fr; gap: 36px; }
    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fit { grid-template-columns: 1fr; }
    .xp-card { grid-template-columns: 1fr; gap: 20px; padding: 28px 26px; }

    .offer { padding: 40px 28px; border-radius: 28px; }
    .nav nav a:not(.cta) { display: none; }
    section { padding-block: 50px; }
    .films { grid-template-columns: 1fr; }
    .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; translate: 0 150%; transition: translate .5s var(--ease); }
    .sticky-cta.on { translate: 0 0; }
    .sticky-cta .btn { display: block; text-align: center; }
    footer { padding-bottom: 110px; }
  }
  @media (max-width: 560px) {
    .wrap { padding-inline: 18px; }
    .offer-grid, .process { grid-template-columns: 1fr; }

    .contact { padding: 44px 20px; }
    .portrait .ph { border-radius: 28px; }

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

  }

  /* --- Po recenzji mobilnej 20.11.2026 --- */
  .backdrop::after { animation: none; }
  .free { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--ink); }
  .roles { margin-top: 10px; }
  .case { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .channels { margin-top: 0; }
  .channels li { padding: 22px 22px; }
  .channels b { font-size: clamp(24px, 2.6vw, 32px); }
  .films { padding-block: 10px 20px; align-items: start; }
  .rank li::before { top: auto; bottom: -1px; height: 4px; border-radius: 4px; background: var(--blue); opacity: .55; }
  .thumb, .thumb:nth-child(n) { rotate: 0deg; translate: 0 0; border: 0; background: #fff; border: 1px solid var(--hair); }
  .thumb:hover { translate: 0 -5px; }
  .thumb .views { position: static; display: block; padding: 9px 12px 10px; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 13.5px; }
  .process li > div { display: block; }
  .xp-card.card { box-shadow: var(--shadow); }
  .more { border-bottom: 1px solid var(--hair); }
  .more details { border-top: 1px solid var(--hair); }
  .more summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 130px 170px minmax(0, 1fr) 24px; gap: 16px; align-items: baseline; padding: 20px 8px 20px 36px; transition: background .25s; }
  .more summary::-webkit-details-marker { display: none; }
  .more summary::after { content: "+"; font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--blue); line-height: 1; justify-self: end; transition: rotate .3s var(--ease); }
  .more details[open] summary::after { rotate: 45deg; }
  .more summary:hover { background: rgba(42, 82, 190, .05); }
  .more .years { font-size: 14.5px; font-weight: 700; color: var(--blue); }
  .more .n { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
  .more .r { font-size: 14.5px; color: var(--muted); }
  .more .d { padding: 0 36px 24px calc(36px + 130px + 16px); }
  .more .d p { max-width: 62ch; }
  .more .d p + p { margin-top: 12px; }
  .more .d a { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid rgba(42, 82, 190, .3); }
  .fit { gap: 48px; }
  .fit-card { padding: 0; }
  .fit-card ul { gap: 0; }
  .fit-card li { padding: 13px 0 13px 34px; border-top: 1px solid var(--hair); }
  .fit-card li::before { top: 20px; }
  .fit-card.no li::before { top: 25px; }
  .contact .write { margin-top: 28px; }
  .contact .addr { margin-top: 14px; font-size: 15px; color: var(--muted); }
  .contact.has-cal .write { background: none; color: var(--ink); box-shadow: none; border: 1px solid var(--hair); margin-top: 10px; }
  @media (max-width: 920px) {
    .nav nav a.cta { display: none; }
    .nav { padding: 14px 24px; justify-content: center; }
    .case { grid-template-columns: 1fr; }
    .more summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 2px 12px; padding: 16px 4px; }
    .more summary .years, .more summary .n, .more summary .r { grid-column: 1; }
    .more summary::after { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
    .more .d { padding: 0 4px 20px; }
    .fit { gap: 36px; }
  }
  @media (max-width: 560px) {
    .cta-row .btn { flex: 1 1 100%; text-align: center; }
    .offer { padding: 32px 20px; }
    .offer-grid { gap: 0; margin-top: 28px; }
    .offer-item { background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .16); border-radius: 0; padding: 18px 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .process { gap: 20px; }
    .process li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; align-items: start; }
    .process b { margin-top: 3px; }
    .mine { grid-template-columns: 1fr 1fr; }
  }

/* ==========================================================================
   PoppyBio: poprawki WordPress (nie zmieniaja wygladu wzorca)
   Pasek administratora (32 px, na telefonie 46 px, ponizej 600 px przewija sie
   razem ze strona) nie moze zaslaniac przyklejonej nawigacji.
   ========================================================================== */
.admin-bar .nav-wrap { top: 46px; }
@media (max-width: 782px) {
  .admin-bar .nav-wrap { top: 60px; }
}
@media (max-width: 600px) {
  .admin-bar .nav-wrap { top: 14px; }
}

/* ==========================================================================
   PoppyBio: formularz Poppy Forms w karcie Kontakt (jedyny nowy element wygladu)
   Zakres: tylko .contact. Kroje Red Hat, kolor #2a52be, promienie i cienie
   jak w reszcie strony. Bez gradientow i gradientowych napisow.
   Uklad: lewa kolumna = dotychczasowa zawartosc karty, prawa = formularz;
   ponizej 800 px formularz pod spodem.
   ========================================================================== */
.contact.has-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto auto 1fr; column-gap: 40px; align-items: start; }
.contact.has-form > * { grid-column: 1; }
.contact.has-form > h2 { grid-column: 1 / -1; }
.contact.has-form > .write { justify-self: center; }
.contact.has-form > .contact-form { grid-column: 2; grid-row: 2 / -1; margin-top: 18px; text-align: left; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow-sm); }
.contact .pfrm-form { font-family: var(--sans); font-size: 16px; color: var(--text); }
.contact .pfrm-form p { margin: 0 0 16px; max-width: none; font-size: 16px; }
.contact .pfrm-form .pfrm-field label { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.contact .pfrm-form .pfrm-field input,
.contact .pfrm-form .pfrm-field select,
.contact .pfrm-form .pfrm-field textarea { display: block; padding: 13px 16px; border: 1px solid rgba(14, 26, 58, .16); border-radius: 14px; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.45; box-shadow: inset 0 1px 2px rgba(14, 26, 58, .04); transition: border-color .25s, box-shadow .25s; }
.contact .pfrm-form .pfrm-field textarea { min-height: 120px; resize: vertical; }
.contact .pfrm-form .pfrm-field input::placeholder,
.contact .pfrm-form .pfrm-field textarea::placeholder { color: #8a93a8; }
.contact .pfrm-form .pfrm-field input:focus,
.contact .pfrm-form .pfrm-field select:focus,
.contact .pfrm-form .pfrm-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42, 82, 190, .14); }
.contact .pfrm-form p.pfrm-consent { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.contact .pfrm-form .pfrm-consent input[type="checkbox"] { accent-color: var(--blue); }
.contact .pfrm-form .pfrm-consent a { color: var(--blue); }
.contact .pfrm-form button.pfrm-submit { margin-top: 10px; padding: 15px 28px; border: 0; border-radius: 999px; font-family: var(--sans); font-size: 16px; font-weight: 700; color: #fff; background: var(--blue); box-shadow: 0 14px 30px -12px rgba(42, 82, 190, .7), inset 0 1px 0 rgba(255, 255, 255, .3); transition: translate .35s var(--ease), box-shadow .35s var(--ease), background .25s; }
.contact .pfrm-form button.pfrm-submit:hover:not([disabled]) { translate: 0 -3px; background: var(--blue-deep); box-shadow: 0 22px 40px -14px rgba(27, 58, 143, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.contact .pfrm-form button.pfrm-submit:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.contact .pfrm-form p.pfrm-status { margin: 12px 0 0; font-size: 15px; font-weight: 600; }
.contact .pfrm-form p.pfrm-nojs { margin: 10px 0 0; font-size: 14px; }
.contact .pfrm-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: left; }
.contact .pfrm-note p { margin: 0 0 6px; max-width: none; font-size: 12.5px; }
@media (max-width: 800px) {
  .contact.has-form { display: block; }
  .contact.has-form > .contact-form { margin-top: 30px; }
}
@media (max-width: 560px) {
  .contact.has-form > .contact-form { padding: 22px 18px; }
}

/* ==========================================================================
   PoppyBio: podstrony (polityka prywatnosci, 404, lista wpisow)
   Ta sama stylistyka co strona glowna; nie dotyczy strony glownej.
   ========================================================================== */
.pbio-page { max-width: 760px; padding-block: 48px 40px; }
.pbio-page h1 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 24px; }
.pbio-page h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; max-width: none; margin: 36px 0 12px; }
.pbio-page h3 { font-size: 19px; margin: 26px 0 8px; }
.pbio-page p, .pbio-page ul, .pbio-page ol { margin: 0 0 16px; }
.pbio-page a:not(.btn) { color: var(--blue); }
.pbio-page .wp-block-post-excerpt { margin-bottom: 28px; }
.pbio-404-cta { margin-top: 28px; }
/* Opakowanie czesci szablonu (div.wp-block-template-part) nie moze ograniczac
   przyklejonej nawigacji: bez wlasnego pudelka nav-wrap klei sie w calej stronie. */
.wp-site-blocks > .wp-block-template-part { display: contents; }
.pbio-page .wp-block-post-date { margin: -12px 0 24px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   PoppyBio: wspolne (strona glowna i podstrony)
   Tekst tylko dla czytnikow ekranu - wp-block-library jest na stronie glownej
   wylaczony, wiec regula musi byc w motywie (Poppy Forms jej nie uzywa).
   ========================================================================== */
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background-color: #fff; clip-path: none; color: var(--ink); display: block; font-size: 14px; font-weight: 600; height: auto; left: 5px; top: 5px; padding: 15px 23px 14px; text-decoration: none; width: auto; z-index: 100000; }

/* ==========================================================================
   PoppyBio: bezpiecznik widocznosci (strona glowna)
   Gdy bio.js nie zadziala (blad, odlozenie przez optymalizator), tresc z klasa
   .reveal nie moze zostac niewidoczna: po 3 s pokazuje ja animacja.
   bio.js na starcie dodaje klase .pbio-js do <html>, co wylacza bezpiecznik,
   wiec normalne wejscia przy przewijaniu dzialaja bez zmian.
   ========================================================================== */
@keyframes pbio-bezpiecznik { to { opacity: 1; transform: none; filter: none; } }
.js:not(.pbio-js) .reveal,
.js:not(.pbio-js) .rank.reveal li::before { animation: pbio-bezpiecznik .6s ease-out 3s forwards; }
@media (prefers-reduced-motion: reduce) {
  .js:not(.pbio-js) .reveal { animation: none; opacity: 1; transform: none; filter: none; }
  .js:not(.pbio-js) .rank.reveal li::before { animation: none; transform: none; }
}

/* ==========================================================================
   PoppyBio: sekcja FAQ (#faq) - wariant .more.faq listy z sekcji "O mnie"
   Te same linie, kroj pytania i znak + co .more; summary ma tylko pytanie,
   wiec dwie kolumny (pytanie, znak +), a odpowiedz bez wciecia pod kolumne lat.
   Pytanie w dwoch liniach: znak + ma wlasna kolumne 24 px, nie nachodzi na tekst.
   ========================================================================== */
.more.faq summary { grid-template-columns: minmax(0, 1fr) 24px; }
.more.faq summary::after { grid-column: 2; grid-row: 1; align-self: center; }
.more.faq .n { line-height: 1.25; }
.more.faq .d { padding: 0 36px 24px; }
@media (max-width: 920px) {
  .more.faq .d { padding: 0 4px 20px; }
}

/* ==========================================================================
   PoppyBio: blog (lista wpisow i wpis)
   Okruszki Yoast, linia autora z datami, obraz wyrozniajacy 1200x630,
   elementy tresci wpisu i boks autora. Nie dotyczy strony glownej.
   ========================================================================== */
.pbio-page .yoast-breadcrumbs { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.pbio-page .pbio-meta { margin: -12px 0 24px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pbio-page .pbio-meta a:not(.btn) { color: inherit; }
.pbio-page .wp-block-post-featured-image { margin: 0 0 28px; }
.pbio-page .wp-block-post-featured-image img { border-radius: var(--r); width: 100%; }
.pbio-page .wp-block-post-content img { border-radius: 14px; }
.pbio-page .wp-block-post-content figure { margin: 0 0 20px; }
.pbio-page .wp-block-post-content figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.pbio-page .wp-block-post-content li { margin-bottom: 6px; }
.pbio-page .wp-block-post-content blockquote { margin: 0 0 20px; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); color: var(--ink); }
.pbio-page .wp-block-post-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pbio-page .wp-block-post-content th, .pbio-page .wp-block-post-content td { border: 1px solid var(--hair); padding: 8px 12px; text-align: left; }
.pbio-page .wp-block-post-content .wp-block-table { overflow-x: auto; }
.pbio-blog .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.pbio-blog .wp-block-post { margin: 0 0 44px; }
.pbio-blog .wp-block-post .wp-block-post-featured-image { margin: 0 0 16px; }
.pbio-blog .wp-block-post-title { margin: 0 0 8px; }
.pbio-blog .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.pbio-blog .wp-block-post-title a:hover { color: var(--blue); }
.pbio-blog .wp-block-post-date { margin: 0 0 10px; }
.pbio-blog .wp-block-query-pagination { display: flex; justify-content: space-between; gap: 16px; }
.pbio-autor { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; margin: 48px 0 0; padding: 24px; border: 1px solid var(--hair); border-radius: var(--r); box-shadow: var(--shadow-sm); background: #fff; }
.pbio-autor img { width: 96px; height: 96px; object-fit: cover; object-position: center top; border-radius: 50%; }
.pbio-page .pbio-autor p { margin: 0 0 10px; }
.pbio-page .pbio-autor .pbio-autor-imie { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); }
.pbio-page .pbio-autor .pbio-autor-imie a { color: inherit; text-decoration: none; }
.pbio-page .pbio-autor .pbio-autor-cta { margin: 16px 0 0; }
@media (max-width: 560px) {
  .pbio-autor { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PoppyBio: strona oferty (/oferta/), link do oferty na stronie glownej,
   linki w stopce, naglowek i pusty stan bloga.
   Strona oferty uzywa komponentow strony glownej (.head, .fit, .offer, .more.faq,
   .contact); ponizej tylko elementy, ktorych strona glowna nie ma.
   ========================================================================== */
.pbio-oferta .pbio-of-hero { padding-block: 56px 20px; max-width: 46em; }
.pbio-oferta .pbio-of-hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.pbio-oferta .pbio-of-hero .lead { margin-top: 22px; }
.pbio-oferta .pbio-of-hero .cta-row { margin-top: 30px; }
.pbio-oferta section { padding-block: 48px; }
.pbio-oferta .head h2, .pbio-oferta .offer h2, .pbio-oferta .contact h2 { font-size: clamp(26px, 3vw, 38px); }
.pbio-of-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pbio-of-karta { padding: 26px; }
.pbio-of-karta h3 { font-size: 20px; margin-bottom: 10px; }
.pbio-of-karta p { font-size: 15.5px; line-height: 1.55; }
.pbio-of-kroki { list-style: none; margin: 0; padding: 0; counter-reset: krok; border-bottom: 1px solid var(--hair); }
.pbio-of-kroki li { counter-increment: krok; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 24px 8px; border-top: 1px solid var(--hair); }
.pbio-of-kroki li::before { content: counter(krok); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--mark); }
.pbio-of-kroki h3 { font-size: 22px; margin-bottom: 8px; }
.pbio-of-kroki p { max-width: 62ch; }
.pbio-of-cena { margin: 0; border-bottom: 1px solid var(--hair); }
.pbio-of-cena > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 24px; padding: 20px 8px; border-top: 1px solid var(--hair); }
.pbio-of-cena dt { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); }
.pbio-of-cena dd { margin: 0; font-size: 18px; }
.pbio-offer-akcje { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.pbio-offer-link { color: #fff; font-weight: 600; text-underline-offset: 4px; }
.pbio-offer-link:hover { color: var(--mark); }
.pbio-stopka-linki { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 14px; font-weight: 600; }
.pbio-stopka-linki a { color: var(--ink); text-decoration: none; }
.pbio-stopka-linki a:hover { color: var(--blue); text-decoration: underline; }
.pbio-page .pbio-blog-opis { margin: -8px 0 36px; font-size: 18px; max-width: 38em; }
.pbio-blog-pusto { padding: 32px; border: 1px solid var(--hair); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.pbio-page .pbio-blog-pusto p:last-child { margin: 0; }
@media (max-width: 920px) {
  .pbio-of-grid { grid-template-columns: 1fr; }
  .pbio-of-cena > div { grid-template-columns: 1fr; }
  .pbio-oferta section { padding-block: 36px; }
}
