/* Dziki Fotowoltaiki · landing v3 (premium + charakter dzika) */
:root { --ink: #10241C; --ink2: #4A5D55; --ink3: #7C8B84; --las: #123D31; --las2: #1C5443; --slonce: #FFCB2E; --krem: #FFF9EE; --krem2: #F6F0E2; --linia: #ECE4D2; --pom: #F57840; --ok: #1F9D55;
  --cien: 0 1px 2px rgba(16,36,28,.05), 0 14px 34px -16px rgba(16,36,28,.25); --cien-l: 0 2px 6px rgba(16,36,28,.06), 0 40px 70px -30px rgba(16,36,28,.45);
  --f: 'Plus Jakarta Sans', system-ui, sans-serif; --fb: 'Baloo 2', sans-serif; --w: 1200px; --g: clamp(16px, 4vw, 40px); --ease: cubic-bezier(.2,.8,.2,1); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f); color: var(--ink); background: var(--krem); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.w { max-width: var(--w); margin: 0 auto; padding: 0 var(--g); }
h1, h2 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.btn--s { color: var(--ink); background: linear-gradient(180deg, #FFD95A 0%, #FFCB2E 55%, #F3B800 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 3px 0 #C99500, 0 10px 20px -10px rgba(201,149,0,.9); }
.btn--s:hover { transform: translateY(-2px); filter: brightness(1.03); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 5px 0 #C99500, 0 16px 24px -12px rgba(201,149,0,.9); }
.btn--s:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 1px 0 #C99500; }
.btn--xl { height: 58px; padding: 0 26px; font-size: 16.5px; border-radius: 16px; }
.str { font-size: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .str { transform: translate(2px, -2px); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--las2); }
.kropka { width: 7px; height: 7px; border-radius: 50%; background: var(--slonce); box-shadow: 0 0 0 3px rgba(255,203,46,.3); }

/* header */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,249,238,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hd.scrolled { border-color: var(--linia); }
.hd__w { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--las); }
.logo img { width: 46px; height: 46px; transition: transform .35s var(--ease); }
.logo:hover img { transform: rotate(-14deg) scale(1.06); }
.logo b { display: block; font-family: var(--fb); font-size: 30px; line-height: .78; letter-spacing: -.01em; }
.logo b i { font-style: normal; color: #E9A800; }
.logo small { display: block; font-family: var(--fb); font-size: 15.5px; line-height: 1; letter-spacing: .02em; }
.nav { display: none; }
.burger { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--linia); background: #fff; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.hd.otwarte .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.hd.otwarte .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.hd.otwarte .nav { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--krem); padding: 8px var(--g) 22px; border-bottom: 1px solid var(--linia); box-shadow: var(--cien); }
.nav a:not(.btn) { font-weight: 600; font-size: 17px; padding: 13px 0; border-bottom: 1px solid var(--linia); color: var(--ink2); }
.hd.otwarte .nav__cta { margin-top: 16px; }

/* hero */
.hero { position: relative; padding: 26px 0 40px; overflow: hidden; }
.hero__w { display: grid; gap: 10px; }
.hero h1 { font-size: clamp(40px, 10.5vw, 72px); margin-top: 16px; }
.podkr { position: relative; white-space: nowrap; }
.podkr::after { content: ""; position: absolute; left: -2%; right: -3%; bottom: -.05em; height: .22em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14C80 4 200 2 296 9' fill='none' stroke='%23FFCB2E' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; z-index: -1; transform-origin: left; animation: kreska .9s .3s var(--ease) both; }
@keyframes kreska { from { transform: scaleX(0); } }
.lead { font-size: clamp(17px, 4.3vw, 19px); color: var(--ink2); margin: 18px 0 0; max-width: 31em; }
.lead b { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__min { font-size: 13.5px; color: var(--ink3); font-weight: 600; }
.zasady { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.zasady li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--las); }
.zasady i { width: 18px; height: 18px; border-radius: 50%; background: #DDF1E5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231F9D55' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero__dzik { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin: 10px auto 0; }
.orbita { position: absolute; inset: -4%; width: 108%; height: 108%; animation: obrot 60s linear infinite; }
.orbita text { font-family: var(--fb); font-size: 15px; letter-spacing: .22em; fill: var(--las); opacity: .55; }
@keyframes obrot { to { transform: rotate(360deg); } }
.slonce { position: absolute; inset: 13%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE27A, var(--slonce) 55%, #F7B800); box-shadow: 0 30px 60px -30px rgba(201,149,0,.9), inset 0 -10px 30px rgba(220,140,0,.25); }
.dzk { position: absolute; width: 64%; left: 19%; bottom: 4%; filter: drop-shadow(0 18px 20px rgba(16,36,28,.25)); animation: hop 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes hop { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.iskra { position: absolute; color: var(--pom); font-size: 26px; animation: migot 2.6s ease-in-out infinite; }
.iskra--1 { left: 2%; top: 14%; } .iskra--2 { right: 3%; top: 56%; color: var(--las); font-size: 22px; animation-delay: 1.1s; }
@keyframes migot { 50% { transform: scale(1.3) rotate(20deg); opacity: .6; } }
.plakietka { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 9px 14px 9px 10px; box-shadow: var(--cien-l); font-weight: 700; font-size: 13px; line-height: 1.15; white-space: nowrap; }
.plakietka small { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); font-weight: 800; margin-bottom: 2px; }
.plakietka i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 800; }
.plakietka .ok { background: #DDF1E5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231F9D55' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plakietka .sms { background: var(--las); color: var(--slonce); }
.plakietka--a { left: -2%; bottom: 8%; transform: rotate(-3deg); animation: plyw 6s ease-in-out infinite; }
.plakietka--b { right: -2%; top: 10%; transform: rotate(3deg); animation: plyw 6s 1.5s ease-in-out infinite; }
@keyframes plyw { 50% { translate: 0 -6px; } }
.dymek-dzk { display: none; }
.trop { display: none; }

/* sekcja 2: dobór */
.dobor { padding: 20px 0 80px; }
.sek__hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 30px; margin-bottom: 22px; }
.dobor h2 { font-size: clamp(32px, 7.6vw, 48px); margin-top: 12px; }
.sek__bok { margin: 0; max-width: 22em; color: var(--ink2); font-size: 15.5px; }
.quiz { position: relative; background: #fff; border-radius: 28px; padding: 18px; box-shadow: var(--cien-l); border: 1px solid rgba(16,36,28,.05); }
.quiz__hd { display: grid; grid-template-columns: 48px 1fr; gap: 10px 12px; align-items: center; margin-bottom: 16px; }
.quiz__hd img { width: 48px; height: 48px; border-radius: 50%; background: var(--krem2); }
.quiz__dymek { position: relative; background: var(--krem); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.quiz__dymek.pop { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.04); } }
.quiz__post { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.pasek { flex: 1; height: 8px; border-radius: 99px; background: #EEF0EC; overflow: hidden; }
.pasek i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #1F9D55, #3CC777); transition: width .5s var(--ease); }
.krok { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.krok.on { display: block; animation: wjazd .4s var(--ease); }
@keyframes wjazd { from { opacity: 0; transform: translateY(10px); } }
.krok legend:not(.sr) { padding: 0; margin-bottom: 14px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.tematy { display: grid; gap: 12px; }
.temat { position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-areas: "ik nr" "ik b" "ik sm"; gap: 0 14px; align-items: center; padding: 16px; border: 1.5px solid var(--linia); border-radius: 20px; background: #fff; cursor: pointer; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s, background .2s; }
.temat:hover { border-color: var(--las); transform: translateY(-3px); box-shadow: var(--cien); }
.temat input, .opcja input { position: absolute; opacity: 0; pointer-events: none; }
.temat:has(input:checked), .opcja:has(input:checked) { border-color: var(--las); background: #F3F8F5; box-shadow: inset 0 0 0 1px var(--las); }
.temat:has(input:focus-visible), .opcja:has(input:focus-visible) { outline: 3px solid var(--slonce); outline-offset: 2px; }
.temat__nr { grid-area: nr; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.temat__ik { grid-area: ik; width: 64px; height: 64px; border-radius: 16px; background: var(--krem); display: grid; place-items: center; transition: transform .3s var(--ease); }
.temat:hover .temat__ik { transform: rotate(-6deg) scale(1.06); }
.temat__ik svg { width: 46px; height: 46px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.temat__ik .pn { fill: var(--las); stroke: var(--las); stroke-width: 2; } .temat__ik .ln { stroke: #fff; stroke-width: 2.2; }
.temat:nth-child(3) .temat__ik .ln { stroke: var(--las); }
.temat__ik .sl { fill: var(--slonce); stroke: #C99500; stroke-width: 2; } .temat__ik .bt { fill: #fff; stroke: var(--las); stroke-width: 3; } .temat__ik .ln2 { stroke: var(--las); stroke-width: 3; }
.temat b { grid-area: b; display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.temat b span { color: var(--ink3); font-weight: 600; transition: transform .25s var(--ease), color .2s; }
.temat:hover b span { transform: translate(2px, -2px); color: var(--las); }
.temat small { grid-area: sm; font-size: 14px; color: var(--ink2); }
.temat__dol { display: none; }
.temat--nw { grid-template-columns: 40px 1fr; grid-template-areas: "ik b"; background: var(--krem); border-style: dashed; padding: 12px 16px; }
.temat--nw img { width: 40px; height: 40px; }
.temat--nw b { font-size: 16px; }
.lista { display: grid; gap: 10px; }
.opcja { position: relative; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1.5px solid var(--linia); border-radius: 16px; font-weight: 600; font-size: 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.opcja::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #B9C2BD; transition: border .2s; }
.opcja:hover { border-color: var(--las); transform: translateX(3px); }
.opcja:has(input:checked)::before { border: 6px solid var(--las); }
.krok--koniec { text-align: center; padding: 20px 6px; }
.krok--koniec b { font-family: var(--fb); font-size: 30px; color: var(--las); } .krok--koniec p { color: var(--ink2); margin: 4px 0 0; }
.quiz__ft { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--linia); }
.wstecz { font: inherit; font-weight: 700; font-size: 14px; color: var(--ink2); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.kotwice { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--ink3); font-weight: 600; }
.kotwice span { display: inline-flex; align-items: center; gap: 6px; }
.kotwice svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

@media (min-width: 700px) {
  .tematy { grid-template-columns: repeat(3, 1fr); }
  .temat { grid-template-columns: 1fr; grid-template-areas: "nr" "ik" "b" "sm" "dol"; align-items: start; gap: 0; padding: 20px 20px 18px; min-height: 250px; }
  .temat__nr { margin-bottom: 18px; }
  .temat__ik { width: 72px; height: 72px; margin-bottom: 18px; }
  .temat__ik svg { width: 52px; height: 52px; }
  .temat small { margin-top: 4px; }
  .temat__dol { grid-area: dol; display: block; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--linia); font-size: 13.5px; font-weight: 800; color: var(--las); }
  .temat--nw { grid-column: 1 / -1; grid-template-columns: 40px 1fr; grid-template-areas: "ik b"; min-height: 0; align-items: center; gap: 14px; padding: 12px 18px; }
  .lista { grid-template-columns: 1fr 1fr; }
  .quiz { padding: 26px; }
  .quiz__hd { grid-template-columns: 48px auto 1fr; }
  .quiz__post { grid-column: auto; margin-left: 14px; }
  .hero__cta .btn { flex: 0 0 auto; }
}
@media (min-width: 1000px) {
  .burger { display: none; }
  .nav { display: flex; align-items: center; gap: 30px; }
  .nav a:not(.btn) { padding: 0; border: 0; font-size: 15px; font-weight: 600; position: relative; }
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--slonce); border-radius: 2px; transition: right .25s var(--ease); }
  .nav a:not(.btn):hover::after { right: 0; }
  .hero { padding: 40px 0 70px; }
  .hero__w { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .hero__dzik { width: 500px; margin: 0 0 0 auto; }
  .dymek-dzk { display: block; position: absolute; left: -16%; top: 4%; font-family: var(--fb); font-size: 20px; line-height: 1.05; color: var(--las); transform: rotate(-8deg); max-width: 170px; text-align: center; }
  .trop { display: block; position: absolute; left: 47%; bottom: -30px; width: 54px; height: 200px; opacity: .2; }
  .dobor { padding: 30px 0 110px; }
  .quiz { padding: 32px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
