/* =========================================================
   Podaj Drzewko!: arkusz stylów (baza)
   Paleta: mięta, ciemnozielone świerki, koral, krem, brąz
   i drewno. Nadpisania dla scen 3D są w style-3d.css.
   ========================================================= */

/* ---------- Fonty na własnym serwerze (licencja SIL OFL) ----------
   nunito.woff2:       Nunito, zmienna grubość 400-900, znaki łacińskie
                       z polskimi (U+0020-017F oraz typografia)
   baloo2-800.woff2:   Baloo 2 800, przycięty do znaków użytych na stronie
                       (nowe znaki w nagłówkach trzeba dodać do podzbioru)
   lobster-logo.woff2: Lobster, tylko litery napisu „Podaj Drzewko!” */
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lobster";
  src: url("../fonts/lobster-logo.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+20-21, U+44, U+50, U+61, U+64-65, U+6A-6B, U+6F, U+72, U+77, U+7A;
}

:root {
  --sky: #e9f7f2;
  --mint-50: #f1faf7;
  --mint-100: #dcf1ea;
  --mint-200: #b9e3d7;
  --mint-300: #8fd4c3;
  --teal: #57c1ae;
  --teal-600: #3fa894;
  --teal-700: #2f8a78;
  --green: #1e6b58;
  --green-800: #17574a;
  --green-900: #0f3d34;
  --coral: #f25f5c;
  --coral-600: #e04a47;
  --coral-700: #c63d3a;
  --yellow: #ffdd63;
  --yellow-600: #f4c534;
  --yellow-700: #d9a91c;
  --cream: #f4f3e3;
  --cream-2: #ebe9d2;
  --paper: #fffdf3;
  --brown: #4e4038;
  --brown-700: #5d4b41;
  --brown-300: #a89385;
  --wood: #a8744f;
  --wood-700: #8a5a3b;
  --terracotta: #d9774b;
  --ink: #40322b;
  --ink-soft: #6a5a50;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 14px 34px -16px rgba(23, 60, 52, .45);
  --shadow-sm: 0 6px 16px -8px rgba(23, 60, 52, .35);

  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Lobster", "Baloo 2", cursive;

  --nav-h: 72px;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16' viewBox='0 0 32 16'%3E%3Cpath d='M0 10 Q8 2 16 10 T32 10 V16 H0 Z'/%3E%3C/svg%3E");
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
html.modal-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: inherit; }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--coral-600); }
button { font: inherit; color: inherit; }
strong { font-weight: 800; }

.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.field--chips label, .roles label, .tip label { position: relative; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--yellow); color: var(--ink); padding: .6em 1em; border-radius: 10px; font-weight: 800;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow-600); outline-offset: 3px; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.opt { font-weight: 600; color: var(--ink-soft); font-size: .88em; }

/* ---------- Sekcje + falowana krawędź ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; background: var(--bg); }
.section--cream { --bg: var(--cream); }
.section--teal { --bg: var(--teal); color: #fff; }
.section--brown { --bg: var(--brown); color: #f4efe8; }
.section--mint { --bg: var(--mint-100); }

.wave-top::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -15px; height: 16px;
  background: var(--bg-top, var(--bg));
  -webkit-mask: var(--wave) repeat-x left bottom / 32px 16px;
          mask: var(--wave) repeat-x left bottom / 32px 16px;
  pointer-events: none;
  z-index: 1;
}

/* Wydajność: treść sekcji poza ekranem nie jest liczona ani rysowana,
   dopóki nie zbliży się do widoku (falowana krawędź zostaje na sekcji). */
.section > .container { content-visibility: auto; contain-intrinsic-size: auto 760px; }
/* Animacje w blokach poza ekranem są wstrzymywane (klasę dodaje main.js) */
.is-paused, .is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-head h2 { margin-bottom: 0; }
.eyebrow {
  display: inline-block;
  font: 900 .8rem/1 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral-600);
  margin: 0 0 .9em;
}
.eyebrow--light { color: var(--yellow); }

/* ---------- Przyciski i linki ---------- */
.btn {
  --b: var(--coral); --t: #fff; --s: var(--coral-700);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em .8em;
  border: 0; border-radius: 14px;
  background: var(--b); color: var(--t);
  font: 800 1.05rem/1.1 var(--font-head);
  text-decoration: none; text-align: center;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--s);
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--s); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--s); }
.btn[disabled] { opacity: .75; cursor: progress; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--coral { --b: var(--coral); --t: #fff; --s: var(--coral-700); }
.btn--yellow { --b: var(--yellow); --t: var(--ink); --s: var(--yellow-700); }
.btn--white { --b: #fff; --t: var(--green); --s: #cfe3dc; }
.btn--lg { font-size: 1.18rem; padding: 1em 1.8em .9em; }
.btn--sm { font-size: .95rem; padding: .72em 1.1em .62em; border-radius: 12px; box-shadow: 0 4px 0 var(--s); }
.btn--block { width: 100%; }

.link {
  font-weight: 800; color: inherit;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.link:hover { text-decoration-style: wavy; }
.link--light { color: #fff; }
.link--yellow { color: var(--yellow); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 800; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link-btn:hover { text-decoration-style: wavy; }

/* ---------- Pasek ogłoszeń ---------- */
.topbar { background: var(--yellow); text-align: center; position: relative; z-index: 60; }
.topbar__link {
  display: inline-flex; align-items: center; gap: .6em;
  background: none; border: 0; cursor: pointer;
  padding: .7em 1em;
  font: 800 .98rem/1.3 var(--font-body); color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.topbar__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex: none; }
/* pulsujący pierścień: tylko transform i opacity, więc animację liczy karta graficzna */
.topbar__dot::after, .status__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; pointer-events: none;
  animation: ring 2s ease-out infinite;
}

/* ---------- Nawigacja ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  margin-bottom: calc(var(--nav-h) * -1);
  transition: background-color .3s, box-shadow .3s;
}
.nav.is-solid, .nav.is-open { background: rgba(255, 253, 243, .97); box-shadow: 0 6px 24px -14px rgba(23, 60, 52, .5); }
.nav__inner {
  height: 100%;
  width: min(1200px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; color: var(--green); }
.brand__icon { width: 34px; height: 42px; flex: none; transition: transform .3s; }
.brand:hover .brand__icon { transform: rotate(-8deg) scale(1.06); }
/* serce na czubku choinki „bije” po najechaniu na logo */
.brand__heart { transform-box: fill-box; transform-origin: 50% 80%; }
.brand:hover .brand__heart { animation: heartBeat .9s ease-in-out; }
@keyframes heartBeat { 0%, 100% { transform: scale(1); } 25% { transform: scale(1.28); } 45% { transform: scale(.94); } 65% { transform: scale(1.14); } }
.brand__name { font: 400 1.65rem/1 var(--font-script); color: var(--green); white-space: nowrap; }
.brand--light, .brand--light .brand__name { color: var(--paper); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: .5em .8em; border-radius: 10px;
  font: 800 1rem/1 var(--font-head); color: var(--green-800); text-decoration: none;
}
.nav__links a::after {
  content: ""; position: absolute; left: .8em; right: .8em; bottom: .15em; height: 3px; border-radius: 3px;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { flex: none; }
.nav__burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--coral); cursor: pointer;
  padding: 12px 11px; flex-direction: column; justify-content: space-between;
  box-shadow: 0 4px 0 var(--coral-700);
}
.nav__burger span { display: block; height: 3px; border-radius: 3px; background: #fff; transition: transform .25s, opacity .25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.nav__drawer {
  background: rgba(255, 253, 243, .98);
  padding: 8px 16px 20px;
  display: grid; gap: 4px;
  box-shadow: 0 16px 24px -16px rgba(23, 60, 52, .5);
}
.nav__drawer[hidden] { display: none; }
.nav__drawer a { font: 800 1.15rem/1 var(--font-head); color: var(--green-800); text-decoration: none; padding: .8em .4em; border-bottom: 2px dashed var(--mint-200); }
.nav__drawer .btn { margin-top: 12px; }

/* =========================================================
   HERO
   ========================================================= */

.hero__brand { position: relative; z-index: 3; text-align: center; width: 100%; }
.pill {
  display: inline-block;
  margin: 0 0 6px;
  padding: .5em 1.1em .45em;
  border-radius: 999px;
  background: var(--coral); color: #fff;
  font: 900 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 4px 0 var(--coral-700);
  rotate: -2deg;
  animation: rise .8s .1s both;
}
.wordmark {
  display: block; margin: 0 auto;
  width: min(620px, 92vw); height: auto;
  overflow: visible;
  animation: popIn .9s .15s cubic-bezier(.34, 1.4, .6, 1) both;
}
.wordmark text {
  font-family: var(--font-script);
  font-size: 96px;
  text-anchor: middle;
  paint-order: stroke fill;
  stroke-linejoin: round;
  stroke-width: 16px;
}
.wordmark .wm__big { font-size: 150px; }
.wm__main text { fill: var(--green); stroke: #fff; }
.wm__main .wm__bang { fill: var(--coral); }
.wm__shadow text { fill: rgba(15, 61, 52, .2); stroke: rgba(15, 61, 52, .2); }
.wm__deco { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 4s ease-in-out infinite; }

/* Drogowskaz z odliczaniem */
.sign {
  position: absolute; z-index: 3;
  left: clamp(16px, 6vw, 120px); bottom: clamp(36px, 4vw, 60px);
  width: 196px;
  rotate: -4deg; transform-origin: 50% 100%;
  animation: rise .9s .6s both;
}
.sign__board {
  position: relative; z-index: 1;
  background:
    repeating-linear-gradient(180deg, transparent 0 30px, rgba(0, 0, 0, .12) 30px 32px),
    var(--wood-700);
  border-radius: 10px;
  padding: 14px 12px 10px;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .18), 0 6px 0 rgba(15, 61, 52, .18);
  text-align: center;
}
.sign__board::before, .sign__board::after {
  content: ""; position: absolute; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #5e3d28;
}
.sign__board::before { left: 8px; }
.sign__board::after { right: 8px; }
.sign__tiles { display: flex; gap: 6px; justify-content: center; }
.tile {
  position: relative;
  width: 42px; height: 54px; border-radius: 7px;
  background: #fff; color: var(--coral);
  font: 800 2.3rem/58px var(--font-head);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .1);
  overflow: hidden;
}
.tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(0, 0, 0, .08); }
.tile.is-flip { animation: flip .6s cubic-bezier(.3, 1.3, .6, 1) both; }
.sign__label {
  margin: 8px 0 0;
  font: 800 1.08rem/1.05 var(--font-head); text-transform: uppercase; letter-spacing: .03em;
  color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.sign__post { width: 16px; height: 86px; margin: -4px auto 0; background: #6b4630; border-radius: 0 0 4px 4px; box-shadow: inset -4px 0 0 rgba(0, 0, 0, .15); }
.sticker {
  position: absolute; z-index: 4;
  left: calc(clamp(16px, 6vw, 120px) + 168px); bottom: clamp(14px, 1.6vw, 26px);
  width: 98px; height: 98px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--yellow); color: var(--coral-700);
  font: 800 .72rem/1.05 var(--font-head); text-transform: uppercase; letter-spacing: .04em;
  outline: 2px dashed rgba(255, 255, 255, .95); outline-offset: -7px;
  box-shadow: 0 6px 0 rgba(15, 61, 52, .16);
  transform: rotate(12deg);
  animation: stickerIn .8s .9s cubic-bezier(.34, 1.6, .6, 1) both;
}
.sticker strong { display: block; font-size: 1.15rem; color: var(--coral); line-height: 1; margin: 2px 0; }

/* Maskotka: krasnal */
.mascot {
  position: absolute; z-index: 4;
  right: clamp(8px, 6vw, 130px); bottom: clamp(16px, 2.6vw, 34px);
  width: clamp(130px, 17vw, 232px);
  animation: rise .9s .5s both;
}
.mascot__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 20px; }
/* dymek krasnala: kremowa chmurka z „ogonkiem” i twardym cieniem jak przyciski na stronie */
.bubble {
  --bub: #fffdf3;
  position: absolute; right: 2%; bottom: calc(100% + 18px);
  width: max-content; max-width: 236px;
  margin: 0; padding: 11px 16px 12px;
  background: var(--bub); border-radius: 22px;
  color: var(--ink); text-align: left;
  filter: drop-shadow(0 4px 0 rgba(30, 107, 88, .3)) drop-shadow(0 16px 18px rgba(15, 61, 52, .22));
  transform-origin: 85% 110%;
  cursor: pointer;
}
.bubble__label {
  display: flex; align-items: center; gap: .4em; margin: 0 0 3px;
  font: 900 .66rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-600);
}
.bubble__label svg { width: 12px; height: 11px; }
.bubble__text { margin: 0; font: 700 1rem/1.3 var(--font-head); color: var(--ink); text-wrap: pretty; }
.bubble__dots { display: flex; gap: 4px; margin-top: 8px; }
.bubble__dots:empty { display: none; }
.bubble__dots i { width: 6px; height: 6px; border-radius: 50%; background: #e3dccb; transition: background .3s, transform .3s; }
.bubble__dots i.is-on { background: var(--coral); transform: scale(1.25); }
.bubble__tail { position: absolute; right: 30px; top: calc(100% - 4px); width: 30px; height: 26px; fill: var(--bub); }
.bubble.is-pop { animation: bubblePop .45s cubic-bezier(.34, 1.6, .6, 1); }

.snow-toggle {
  position: absolute; z-index: 5; left: 16px; top: -46px;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .55); color: var(--green);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.snow-toggle:hover { background: #fff; transform: rotate(30deg); }
.snow-toggle svg { width: 20px; height: 20px; }
.snow-toggle[aria-pressed="false"] { opacity: .55; }
.snow-toggle[aria-pressed="false"]::after { content: ""; position: absolute; width: 26px; height: 2.5px; background: currentColor; transform: rotate(-45deg); border-radius: 2px; }

/* =========================================================
   O AKCJI: droga choinki
   Po lewej nagłówek i 4 etapy (sterują wyspą 3D), po prawej wyspa.
   ========================================================= */
.intro { padding-block: clamp(56px, min(8vw, 12vh), 104px); }
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-rows: auto auto;
  grid-template-areas: "head life" "steps life";
  column-gap: clamp(32px, 5vw, 72px);
}
.intro__head { grid-area: head; max-width: 540px; }
.intro__steps { grid-area: steps; max-width: 540px; }
.life { grid-area: life; align-self: center; margin: 0; }
/* wyspa większa, na całą szerokość kolumny; podpowiedź pod nią, a nie w pustym niebie nad sceną */
.intro .life3d { max-width: 620px; }
.intro .life3d__hint { top: 100%; margin-top: 6px; }
.intro .life { padding-bottom: 38px; }

/* plakietka jak w hero, ale w zieleni (też w sekcji „Jaką choinkę wybrać”) */
.badge {
  display: inline-flex; align-items: center; gap: .55em;
  margin: 0 0 20px 4px; padding: .6em 1.15em .55em .95em;
  border-radius: 999px; background: var(--green); color: #fff;
  font: 900 .76rem/1 var(--font-body); letter-spacing: .15em; text-transform: uppercase;
  box-shadow: 0 4px 0 #0f3d34;
  rotate: -2deg;
}
.badge svg { width: 16px; height: 16px; color: var(--yellow); }
.badge--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--yellow-700); }
.badge--yellow svg { color: var(--coral); }
.intro h2, .guide h2, .points h2 { font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1.08; margin: 0 0 .5em; }
/* żółty zakreślacz pod kluczową frazą nagłówka; fraza w jednej linii (na telefonie może się łamać) */
.hl {
  color: var(--green);
  background: linear-gradient(transparent 60%, rgba(255, 211, 77, .7) 60% 84%, transparent 84%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .08em; margin: 0 -.04em;
  white-space: nowrap;
}
.intro__lead { margin: 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.65; }
.intro__lead strong { color: var(--ink); }

/* etapy: ścieżka w śniegu, aktywny etap jako zielona karta (jak karta w hero) */
.lsteps { list-style: none; margin: clamp(24px, 3vw, 34px) 0 0; padding: 0; position: relative; display: grid; gap: 4px; }
.lsteps::before {
  content: ""; position: absolute; left: 37px; top: 30px; bottom: 30px; width: 3px; translate: -50% 0;
  background: repeating-linear-gradient(180deg, #b6dccf 0 8px, transparent 8px 15px); border-radius: 3px;
}
.lstep { position: relative; border-radius: 22px; transition: background-color .35s, box-shadow .35s, margin .35s; }
.lstep__btn {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px;
  padding: 7px 16px 7px 14px; border: 0; border-radius: 22px; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
/* cała karta jest klikalna */
.lstep__btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.lstep__btn:focus-visible { outline: none; }
.lstep__btn:focus-visible::after { outline: 3px solid var(--yellow-600); outline-offset: 2px; }
.lstep__icon {
  flex: none; position: relative; z-index: 1;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fffdf3; color: var(--green); border: 3px solid #b6dccf;
  transition: background-color .35s, border-color .35s, color .35s, box-shadow .35s;
}
.lstep__icon svg { width: 22px; height: 22px; }
.lstep__num { font: 800 .8rem/1 var(--font-head); letter-spacing: .08em; color: var(--brown-300); transition: color .35s; }
.lstep__title { font: 800 1.16rem/1.2 var(--font-head); color: var(--ink-soft); transition: color .35s; }
.lstep:not(.is-active) .lstep__btn:hover .lstep__title { color: var(--green); }
.lstep:not(.is-active) .lstep__btn:hover .lstep__icon { border-color: var(--teal); }
.lstep.is-done .lstep__icon { background: var(--teal); border-color: var(--teal); color: #fff; }

.lstep.is-active {
  margin: 6px 0;
  background: var(--facets), linear-gradient(160deg, #1e6b58, #0f3d34);
  background-size: 120px 104px, auto;
  box-shadow: 0 18px 34px -20px rgba(15, 61, 52, .5), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -5px 0 rgba(0, 0, 0, .12);
}
.lstep.is-active .lstep__btn { padding-top: 14px; padding-bottom: 6px; }
.lstep.is-active .lstep__icon { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 0 0 6px rgba(242, 95, 92, .28); }
.lstep.is-active .lstep__num { color: var(--yellow); }
.lstep.is-active .lstep__title { color: #fff; font-size: 1.3rem; }

/* opis rozwija się tylko przy aktywnym etapie (zostaje dostępny dla czytników ekranu) */
.lstep__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.lstep__more > p { overflow: hidden; margin: 0; padding: 0 22px 0 72px; color: #d7efe8; font-size: 1rem; line-height: 1.55; }
.lstep.is-active .lstep__more { grid-template-rows: 1fr; }
.lstep.is-active .lstep__more > p { padding-bottom: 24px; }

/* pasek do następnego etapu, gdy etapy przełączają się same */
.lstep__bar { position: absolute; left: 72px; right: 22px; bottom: 12px; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .14); opacity: 0; }
.lstep__bar::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }
.lsteps.is-playing .lstep.is-active .lstep__bar { opacity: 1; }
.lsteps.is-playing .lstep.is-active .lstep__bar::after { animation: stepFill var(--step-ms, 3400ms) linear forwards; }
@keyframes stepFill { to { transform: scaleX(1); } }

.intro__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: clamp(24px, 3vw, 32px); }
.intro__ctas .link { color: var(--green); }

@media (max-width: 900px) {
  .intro__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "life" "steps"; row-gap: 18px; }
  .intro__head, .intro__steps { width: 100%; max-width: 560px; margin-inline: auto; }
  .intro__head { text-align: center; }
  .badge { margin-left: 0; }
  .lsteps { margin-top: 0; }
  .intro__ctas { justify-content: center; }
}
@media (max-width: 640px) {
  .intro h2, .guide h2, .points h2 { font-size: 2.05rem; }
  .when .risks { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .when .risk__or { justify-self: center; }
  .hl { white-space: normal; }
  .intro__lead { font-size: 1rem; }
  .lstep__btn { min-height: 56px; }
  .lstep__title { font-size: 1.08rem; }
  .lstep.is-active .lstep__title { font-size: 1.18rem; }
  .lstep__more > p { padding-left: 72px; font-size: .95rem; }
}

/* =========================================================
   PASEK (marquee)
   ========================================================= */
.band { --bg: var(--coral); position: relative; background: var(--bg); color: #fff; overflow-x: clip; padding: 20px 0 20px; }
.band__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__list { display: flex; list-style: none; margin: 0; padding: 0; }
.band__list li {
  display: inline-flex; align-items: center; white-space: nowrap;
  font: 800 1.12rem/1 var(--font-head);
  padding: 0 28px;
}
.band__list li::after {
  content: ""; width: 18px; height: 22px; margin-left: 56px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 1l6 9h-3l5 8h-3l5 8H2l5-8H4l5-8H6z' fill='%23ffdd63'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   JAK TO DZIAŁA
   ========================================================= */
.steps__list {
  list-style: none; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px);
  counter-reset: none;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 64px; right: calc(clamp(20px, 3vw, 40px) * -.5 - 34px);
  width: 68px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 30'%3E%3Cpath d='M3 22 C20 4 44 4 60 18' fill='none' stroke='%23fff' stroke-width='3' stroke-dasharray='5 6' stroke-linecap='round'/%3E%3Cpath d='M52 20 L62 20 L59 10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .85;
}
.step__art { width: min(220px, 100%); margin: 0 auto 6px; }
.step__num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  font: 800 1.05rem/1 var(--font-head);
  box-shadow: 0 4px 0 var(--yellow-700);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.45rem; }
.step p { color: #eefbf7; max-width: 22em; margin-inline: auto; }

/* =========================================================
   PORADNIK: jaką choinkę wybrać
   U góry: nagłówek z ostrzeżeniem (lewa) i lupa (prawa).
   Pod spodem: lista przed zakupem jako trzy karty z ikonami 3D.
   ========================================================= */
.guide__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  grid-template-areas: "head xray" "list list";
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: clamp(40px, 4.4vw, 64px);
  align-items: center;
}

.guide__head { grid-area: head; max-width: 560px; }
.checklist { grid-area: list; }
.xray { grid-area: xray; }
.guide h2 { text-wrap: balance; }
.guide__lead { margin: 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.65; }

/* ostrzeżenie: ciemnozielona karta (jak w hero) z koralowym wykrzyknikiem */
.callout {
  display: flex; align-items: center; gap: 16px;
  margin: clamp(22px, 2.8vw, 30px) 0 0; padding: 18px 24px 18px 18px;
  border-radius: 22px; color: #fff;
  background: var(--facets), linear-gradient(160deg, #1e6b58, #0f3d34);
  background-size: 120px 104px, auto;
  box-shadow: 0 18px 34px -20px rgba(15, 61, 52, .5), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -5px 0 rgba(0, 0, 0, .12);
  font: 700 1.04rem/1.45 var(--font-body);
}
.callout__icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coral); color: #fff; font: 800 1.5rem/1 var(--font-head);
  box-shadow: 0 0 0 6px rgba(242, 95, 92, .28);
}
.callout__label { display: block; margin-bottom: 3px; font: 900 .72rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }

/* lista przed zakupem: tytuł i postęp w jednym rzędzie, pod nimi trzy karty */
.checklist {
  display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "title progress" "tips tips";
  align-items: center; gap: 20px 24px;
}
.checklist__title { grid-area: title; margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.tips { grid-area: tips; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.tip { display: flex; }
.tip label {
  position: relative; flex: 1;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "icon box" "body body";
  align-items: start; align-content: start; gap: 18px 12px;
  padding: 22px 22px 24px; border-radius: 26px; cursor: pointer;
  background: #fff; border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.34, 1.4, .6, 1), box-shadow .3s, border-color .25s, background-color .25s;
}
.tip label:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tip__icon {
  grid-area: icon; width: 80px; height: 80px; border-radius: 22px;
  background: var(--mint-100); display: grid; place-items: center;
  transition: transform .35s cubic-bezier(.34, 1.6, .6, 1);
}
.guide canvas.mini--icon { width: 68px; height: 68px; }
.tip__body { grid-area: body; font-size: .98rem; line-height: 1.55; color: var(--ink-soft); }
.tip__body strong { display: block; margin-bottom: 4px; font: 800 1.2rem/1.25 var(--font-head); color: var(--ink); }
.tip__box {
  grid-area: box; width: 32px; height: 32px; border-radius: 50%;
  border: 2.5px solid var(--mint-300); background: #fff;
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .25s;
}
.tip__box::after {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border-left: 3px solid #fff; border-bottom: 3px solid #fff;
  transform: rotate(-45deg) scale(0); transition: transform .25s cubic-bezier(.34, 1.6, .6, 1);
}
.tip__check:checked ~ .tip__box { background: var(--teal); border-color: var(--teal); transform: scale(1.1); }
.tip__check:checked ~ .tip__box::after { transform: rotate(-45deg) scale(1); }
.tip label:has(.tip__check:checked) { border-color: var(--teal); background: var(--mint-50); }
.tip label:has(.tip__check:checked) .tip__icon { transform: scale(1.06) rotate(-4deg); }
.tip__check:focus-visible ~ .tip__box { outline: 3px solid var(--yellow-600); outline-offset: 2px; }

/* postęp: choinki zapalają się przy kolejnych punktach */
.tips__progress {
  grid-area: progress;
  display: flex; align-items: center; gap: 12px; max-width: 440px;
  padding: 10px 18px 10px 14px; border-radius: 999px;
  background: #fff; color: var(--green); box-shadow: var(--shadow-sm);
  font-weight: 800; font-size: .95rem; line-height: 1.35;
  transition: background .3s;
}
.tips__trees { display: inline-flex; gap: 4px; flex: none; }
.tips__trees i {
  width: 18px; height: 22px; display: block;
  background: var(--cream-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 1l6 9h-3l5 8h-3l5 8H2l5-8H4l5-8H6z'/%3E%3Crect x='10' y='26' width='4' height='4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 1l6 9h-3l5 8h-3l5 8H2l5-8H4l5-8H6z'/%3E%3Crect x='10' y='26' width='4' height='4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background .3s, transform .3s;
}
.tips__trees i.is-on { background: var(--green); transform: scale(1.15); }
.tips__progress.is-done { background: var(--mint-100); }

@media (max-width: 900px) {
  .guide__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "xray" "list"; row-gap: 32px; }
  .guide__head { text-align: center; margin-inline: auto; }
  .guide .callout { text-align: left; }
  .guide .xray, .guide .checklist { width: 100%; max-width: 560px; margin-inline: auto; }
  .checklist { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "tips" "progress"; gap: 14px; }
  .checklist__title { text-align: center; }
  .tips { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  /* karty w poziomie: ikona, tekst, znacznik */
  .tip label { grid-template-columns: 60px 1fr 30px; grid-template-areas: "icon body box"; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 22px; }
  .tip__icon { width: 60px; height: 60px; border-radius: 18px; }
  .guide canvas.mini--icon { width: 52px; height: 52px; }
  .tip__body { font-size: .95rem; line-height: 1.5; }
  .tip__body strong { font-size: 1.06rem; margin-bottom: 2px; }
  .tip__box { width: 30px; height: 30px; }
  .tips__progress { max-width: none; border-radius: 18px; font-size: .9rem; }
  .tips__progress [data-tips-text] { text-wrap: balance; }
}
@media (max-width: 640px) {
  .callout { padding: 16px 18px 16px 14px; gap: 14px; font-size: .98rem; }
  .callout__icon { width: 40px; height: 40px; font-size: 1.3rem; }
  .tip label { grid-template-columns: 52px 1fr 28px; gap: 12px; padding: 12px 14px 12px 12px; }
  .tip__icon { width: 52px; height: 52px; border-radius: 16px; }
  .guide canvas.mini--icon { width: 46px; height: 46px; }
}

/* Przekrój doniczki z suwakiem: po lewej korzenie choinki z doniczki, po prawej przycięte.
   Rysunek (ziemia, korzenie, drenaż, ścianki) jest wygenerowany raz jako statyczny SVG. */
.xray { margin: 0; background: var(--paper); border-radius: var(--radius-lg); padding: 18px 16px 22px; box-shadow: var(--shadow); position: relative; }

/* zawieszki jak metki w sklepie ogrodniczym: klik pokazuje całą jedną stronę */
.xray__legend { display: flex; justify-content: space-between; gap: 8px; padding: 0 4px; }
.xray__side {
  position: relative; border: 0; cursor: pointer;
  padding: .55em 1em .5em 1.8em;
  font: 800 .86rem/1.1 var(--font-head);
  background: var(--mint-100); color: var(--green);
  clip-path: polygon(0 50%, 13px 0, 100% 0, 100% 100%, 13px 100%);
  border-radius: 0 9px 9px 0;
  rotate: -3deg;
  transition: opacity .3s, translate .25s, background-color .2s;
}
.xray__side::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px currentColor; }
.xray__side--bad {
  padding: .55em 1.8em .5em 1em;
  background: #fde4e2; color: var(--coral-700);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 0 100%);
  border-radius: 9px 0 0 9px;
  rotate: 3deg;
}
.xray__side--bad::before { left: auto; right: 11px; }
.xray__side:hover { translate: 0 -2px; }
.xray__side:focus-visible { outline: none; background: var(--yellow); color: var(--ink); }
/* strona, której widać mniej, lekko przygasa */
.xray.is-good .xray__side--bad, .xray.is-bad .xray__side--good,
.xray.is-good .xray__stamp--bad, .xray.is-bad .xray__stamp--good { opacity: .35; }

.xray__stage { position: relative; }
.xray__art { position: relative; max-width: 280px; margin: 6px auto 0; }
.xray__svg { display: block; width: 100%; height: auto; touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; }
.xray__knob { transition: fill .2s, stroke .2s; }
.xray.is-drag .xray__knob { fill: #fff; }
.xray.is-focus .xray__knob { stroke: var(--yellow-600); stroke-width: 4; }


/* korzenie „wyrastają” od szyjki, gdy przekrój pojawi się na ekranie */
.roots { transform-box: view-box; transform-origin: 180px 262px; }
.roots.draw { animation: rootGrow 1.3s cubic-bezier(.2, .8, .2, 1) both; }
.roots--bad.draw { animation-delay: .15s; }
@keyframes rootGrow { from { opacity: 0; transform: scale(.25, .1); } 60% { opacity: 1; } to { transform: none; } }

.xray__hint {
  position: absolute; left: 50%; bottom: -2px; translate: -50% 0;
  margin: 0; padding: .35em .8em;
  background: var(--ink); color: #fff; border-radius: 999px;
  font: 800 .78rem/1 var(--font-head); white-space: nowrap;
  pointer-events: none;
  transition: opacity .4s;
  animation: bob 2.4s ease-in-out infinite;
}
.xray__hint::before { content: "← "; }
.xray__hint::after { content: " →"; }
.xray__hint.is-hidden { opacity: 0; }

/* werdykt jako pieczątki */
.xray__verdict { margin-top: 14px; }
.xray__stamps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; justify-items: center; }
.xray__stamp {
  margin: 0; display: grid; justify-items: center; gap: 2px;
  padding: .45em .95em .5em;
  border: 2.5px solid currentColor; border-radius: 10px;
  box-shadow: inset 0 0 0 2.5px var(--paper), inset 0 0 0 4px currentColor;
  font: 800 1.05rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em;
  transition: opacity .3s;
}
.xray__stamp small { font: 900 .6rem/1.2 var(--font-body); letter-spacing: .14em; }
.xray__stamp--good { color: #1e7a63; rotate: -4deg; }
.xray__stamp--bad { color: #d24e49; rotate: 3deg; }
.xray__moral { margin: 14px 0 0; text-align: center; font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 640px) {
  .xray__side { font-size: .78rem; }
  .xray__stamp { font-size: .92rem; }
}

/* =========================================================
   PUNKTY ODBIORU
   ========================================================= */
.points__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.points__text { max-width: 540px; }
.points h2 { color: #fff; }
/* zakreślacz na ciemnym tle: biały tekst, koralowy pasek */
.points .hl { color: #fff; background: linear-gradient(transparent 70%, rgba(242, 95, 92, .9) 70% 88%, transparent 88%); }
.points__lead, .points__how { margin: 0; color: #e6ddd4; font-size: 1.08rem; line-height: 1.65; }
.points__how { margin-top: clamp(20px, 2.6vw, 28px); }
/* harmonogram jako ciemnozielona karta (jak ostrzeżenie w poradniku), z żółtą ikoną kalendarza */
.callout--plan { box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -5px 0 rgba(0, 0, 0, .12); }
.callout--plan .callout__icon { background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 6px rgba(255, 221, 99, .22); }
.callout--plan .callout__icon svg { width: 22px; height: 22px; }
.callout--plan .callout__label { display: flex; align-items: center; gap: .55em; }
.status__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); flex: none; }
.points__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(20px, 2.6vw, 26px); }
/* propozycja punktu pod mapą: ikona jak pinezki na mapie, tekst i przycisk w jednym rzędzie */
.map-propose {
  display: flex; align-items: center; gap: 14px;
  max-width: 600px; margin: 16px auto 0; padding: 14px 16px 14px 14px;
  border-radius: 20px; background: rgba(255, 255, 255, .06);
  border: 2px dashed rgba(255, 221, 99, .4);
}
.map-propose__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.map-propose__icon svg { width: 22px; height: 28px; }
.map-propose__icon text { font-family: var(--font-head); }
.map-propose__text { flex: 1; margin: 0; font-size: .94rem; line-height: 1.45; color: #e6ddd4; }
.map-propose__text strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.04rem; }
.map-propose__btn { flex: none; }

.map__tip {
  position: absolute; left: 0; top: 0; z-index: 5;
  width: 230px;
  background: #fff; color: var(--ink);
  padding: .75em .95em; border-radius: 14px;
  font-size: .86rem; line-height: 1.4;
  box-shadow: var(--shadow);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 12px)) scale(.92);
  transform-origin: 50% 100%;
  transition: opacity .2s, transform .2s;
}
.map__tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 12px)) scale(1); }
.map__tip strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--coral-600); }

/* =========================================================
   CO DALEJ
   ========================================================= */
.note {
  position: relative;
  display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center;
  max-width: 820px; margin: 0 auto clamp(48px, 6vw, 80px);
  background: #fff; border-radius: 22px;
  padding: 28px 30px;
  box-shadow: var(--shadow);
  transform: rotate(-.6deg);
}
.note__tape {
  position: absolute; top: -14px; left: 50%; width: 120px; height: 28px;
  transform: translateX(-50%) rotate(2deg);
  background: rgba(255, 221, 99, .8);
  border-radius: 3px;
}
.note h3 { color: var(--coral-600); }
.note p { margin: 0; color: var(--ink-soft); }

.when { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.when__text { max-width: 560px; }
.when h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; margin: 0 0 .4em; }
.when__lead { margin: 0; font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.when__lead strong { color: var(--green); }
.when__intro { margin: clamp(18px, 2.2vw, 24px) 0 10px; color: var(--ink-soft); font-size: 1.02rem; }
/* dwa zagrożenia obok siebie, spięte słowami „jak i” */
.risks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 10px; }
.risk {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 12px 14px; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-sm);
  font: 800 1rem/1.25 var(--font-head); color: var(--ink); text-align: left;
}
.risk__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fde4e2; color: var(--coral-600); }
.risk__icon svg { width: 22px; height: 22px; }
.risk__or { align-self: center; font: 800 .85rem/1 var(--font-head); color: var(--brown-300); white-space: nowrap; }
/* konsultacja: ciemnozielona karta z czynnikami w środku */
.when__plan { align-items: flex-start; margin-top: clamp(20px, 2.6vw, 26px); font-weight: 600; }
.when__plan .callout__icon svg { width: 22px; height: 22px; }
.factors { list-style: none; padding: 0; margin: 14px 0 2px; display: flex; flex-wrap: wrap; gap: 6px; }
.factors li {
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(255, 255, 255, .95); border-radius: 999px; padding: .42em .85em .42em .45em;
  font: 800 .88rem/1 var(--font-head); color: var(--green);
}
.factors svg { width: 22px; height: 22px; }

.weather { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow); }
.weather__toggle { display: flex; gap: 6px; background: var(--mint-100); padding: 5px; border-radius: 999px; margin-bottom: 12px; }
.weather__toggle button {
  flex: 1; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font: 800 .98rem/1 var(--font-head); color: var(--ink-soft);
  padding: .7em; border-radius: 999px;
  transition: background .2s, color .2s;
}
.weather__toggle button svg { width: 18px; height: 18px; }
.weather__toggle button[aria-pressed="true"] { background: #fff; color: var(--green); box-shadow: var(--shadow-sm); }
.weather__toggle button[data-weather="frost"][aria-pressed="true"] { color: #3b82b0; }
.weather__toggle button[data-weather="thaw"][aria-pressed="true"] { color: var(--coral-600); }
/* podpis: kartka z notesu ogrodnika (linie, margines, taśma, rysunek na marginesie) */
.weather__cap {
  position: relative; margin: 20px 6px 0; padding: 13px 18px 13px 58px;
  background-color: #fffdf4;
  background-image:
    linear-gradient(90deg, transparent 44px, rgba(242, 95, 92, .4) 44px 46px, transparent 46px),
    repeating-linear-gradient(180deg, transparent 0 25px, #dcebe6 25px 26px);
  background-position: 0 0, 0 13px;
  border-radius: 3px 3px 12px 3px;
  box-shadow: 0 14px 22px -16px rgba(23, 60, 52, .5), 0 1px 2px rgba(23, 60, 52, .12);
  rotate: -.7deg;
}
.weather__tape {
  position: absolute; left: 22px; top: -11px; width: 78px; height: 22px;
  background: rgba(255, 221, 99, .78); rotate: -7deg;
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent calc(100% - 2px)), repeating-linear-gradient(180deg, #000 0 3px, transparent 3px 4px);
  -webkit-mask-composite: source-over;
}
.weather__doodle { position: absolute; left: 8px; top: 14px; width: 30px; height: 30px; rotate: -8deg; }
.weather__doodle .wf, .weather__doodle .wt { transition: opacity .5s; }
.weather[data-w="frost"] .weather__doodle .wt, .weather[data-w="thaw"] .weather__doodle .wf { opacity: 0; }
.weather__note { margin: 0; font-size: .98rem; line-height: 26px; color: var(--ink-soft); }
.weather__note strong { display: block; font: 800 1.12rem/26px var(--font-head); color: #2f6f99; transition: color .4s; }
.weather[data-w="thaw"] .weather__note strong { color: var(--green); }
.weather__note.is-new { animation: noteIn .45s ease both; }
@keyframes noteIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.weather__foot { margin: 14px 6px 0; font-size: .8rem; line-height: 1.45; color: var(--ink-soft); }
.weather__foot span { color: var(--coral-600); font-weight: 800; }

.where__head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.where__head p { color: var(--ink-soft); font-size: 1.06rem; }
.where__cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.6vw, 28px); }
.loc {
  background: #fff; border-radius: 24px; padding: 12px 12px 18px;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.34, 1.5, .6, 1), box-shadow .3s;
}
.loc:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.loc h4 { margin: 14px 0 0; font-size: 1.2rem; color: var(--green); }
.where__foot {
  display: flex; align-items: center; justify-content: center; gap: .6em;
  margin: 28px auto 0; font-weight: 800; color: var(--green);
}
.where__foot svg { width: 24px; height: 24px; flex: none; }

/* =========================================================
   DOŁĄCZ
   ========================================================= */
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.join-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  text-align: center;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center;
}
.join-card__art { width: min(280px, 100%); height: auto; margin: -6px auto 8px; overflow: visible; }
.join-card p { color: var(--ink-soft); max-width: 26em; }
.join-card .btn { margin-top: auto; }
.roles { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.roles legend { width: 100%; font: 800 .95rem/1.3 var(--font-head); margin-bottom: 10px; color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .5em 1em; border-radius: 999px;
  border: 2px solid var(--mint-200); background: #fff;
  font: 800 .92rem/1.1 var(--font-head); color: var(--green);
  cursor: pointer; user-select: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.chip:hover { transform: translateY(-1px); border-color: var(--teal); }
input:checked + .chip { background: var(--teal); border-color: var(--teal); color: #fff; }
input:checked + .chip::before { content: "✓"; font-size: .85em; }
input:focus-visible + .chip { outline: 3px solid var(--yellow-600); outline-offset: 2px; }
.join-card__hints { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.join-card__hints li { background: var(--cream); border-radius: 999px; padding: .4em .9em; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }

/* =========================================================
   FAQ
   ========================================================= */
.accordion { display: grid; gap: 12px; }
.acc { background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 6px 0 rgba(15, 61, 52, .12); overflow: hidden; }
.acc__h { margin: 0; font-size: inherit; }
.acc__btn {
  width: 100%; border: 0; background: none; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 34px 1fr 30px; gap: 14px; align-items: center;
  padding: 18px 20px;
  font: 800 1.12rem/1.3 var(--font-head); color: var(--ink);
}
.acc__btn:hover .acc__q { color: var(--green); }
.acc__ico {
  width: 30px; height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 34'%3E%3Crect x='12' y='0' width='6' height='6' rx='1.5' fill='%23ffdd63'/%3E%3Cpath d='M15 6 v3' stroke='%23c9a47f' stroke-width='2'/%3E%3Ccircle cx='15' cy='21' r='12' fill='%23f25f5c'/%3E%3Cpath d='M5 19 Q15 25 25 19' stroke='%23fff' stroke-width='2.5' fill='none'/%3E%3Ccircle cx='11' cy='15' r='2.5' fill='%23fff' opacity='.6'/%3E%3C/svg%3E") center / contain no-repeat;
  transform-origin: 50% 0; transition: transform .4s;
}
.acc__btn:hover .acc__ico { animation: swing 1s ease-in-out; }
.acc__plus { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--mint-100); }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 3px; border-radius: 3px; background: var(--green); transform: translate(-50%, -50%); transition: transform .3s; }
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.is-open .acc__plus { background: var(--coral); }
.acc.is-open .acc__plus::before, .acc.is-open .acc__plus::after { background: #fff; }
.acc.is-open .acc__plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { margin: 0 20px 1em 68px; color: var(--ink-soft); }
.acc__panel p:first-child { padding-top: 2px; }
.acc__panel p:last-child { padding-bottom: 8px; }
.acc__panel .link-btn { color: var(--coral-600); }

/* =========================================================
   KOŃCOWE CTA
   ========================================================= */
.final {
  --bg-top: #173f37;
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #173f37 0%, #1d5247 55%, #276a5c 100%);
  color: #fff; text-align: center;
  padding-top: clamp(84px, 10vw, 130px);
}
.final.wave-top::before { z-index: 4; }
.final { overflow: visible; }
.final__moon {
  position: absolute; top: clamp(60px, 9vw, 110px); right: 12%; z-index: 0;
  width: 74px; height: 74px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 40%, rgba(0, 0, 0, .07) 0 8px, transparent 9px),
    radial-gradient(circle at 64% 66%, rgba(0, 0, 0, .06) 0 6px, transparent 7px),
    radial-gradient(circle at 62% 28%, rgba(0, 0, 0, .05) 0 4px, transparent 5px),
    #fdf6d8;
  box-shadow: 0 0 40px 12px rgba(253, 246, 216, .22);
}
.final__content { position: relative; z-index: 3; max-width: 760px; }
.final h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); text-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.final__content > p { font-size: 1.15rem; color: #d7efe8; max-width: 32em; margin: 0 auto 1.6em; }
.final .final__note { font-size: .86rem; color: #a9d4c9; margin-top: 1.4em; }
/* dodatkowe sposoby pomocy: pod głównym przyciskiem, mniejsze i białe, żeby nie konkurowały ze „Zgłoś choinkę” */
.final__more { margin-top: clamp(22px, 3vw, 30px); }
.final__more-label {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 0 0 14px; font: 900 .74rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow);
}
.final__more-label::before, .final__more-label::after { content: ""; width: 34px; height: 2px; border-radius: 2px; background: rgba(255, 221, 99, .45); }
.final__more-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.final__more-btns svg { width: 18px; height: 18px; flex: none; }
.final__hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 3;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .6em; flex-wrap: wrap; justify-content: center;
  border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--green);
  padding: .6em 1.1em; border-radius: 999px;
  font: 800 .92rem/1.2 var(--font-head);
  box-shadow: var(--shadow-sm);
  max-width: calc(100% - 32px);
}
.final__hint svg { width: 18px; height: 18px; }
.final__hint-short { display: none; }
.final__count { background: var(--coral); color: #fff; border-radius: 999px; padding: .25em .7em; }
.final__count.is-bump { animation: bump .4s; }

/* =========================================================
   STOPKA
   ========================================================= */
.footer__wood {
  background-color: var(--wood);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='120'%3E%3Crect width='520' height='120' fill='%23a8744f'/%3E%3Cg fill='none' stroke='%23946240' stroke-width='1.6' opacity='.8'%3E%3Cpath d='M0 14c60-5 120 6 190 1s120-6 180 0 110 4 150-2'/%3E%3Cpath d='M0 36c80 4 150-6 220-1s150 6 300-3'/%3E%3Cpath d='M0 76c70-6 140 5 210 0s140-5 310 3'/%3E%3Cpath d='M0 100c90 5 170-5 260 0s170 4 260-2'/%3E%3Cellipse cx='120' cy='25' rx='16' ry='5'/%3E%3Cellipse cx='380' cy='88' rx='18' ry='5'/%3E%3C/g%3E%3Cg stroke='%237a4d31' stroke-width='3'%3E%3Cpath d='M0 59h520M0 119h520'/%3E%3Cpath d='M180 0v59M440 60v59'/%3E%3C/g%3E%3C/svg%3E");
  border-top: 8px solid #7a4d31;
  color: #fff;
  padding: clamp(44px, 6vw, 70px) 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
}
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer__brand .brand__name { font-size: 2rem; }
.footer__brand .brand__icon { width: 40px; height: 48px; }
.footer__brand p { margin-top: .8em; font-weight: 700; color: #fbeee2; }
.footer__h { font: 800 1.25rem/1.2 var(--font-head); margin: 0 0 .7em; color: #fff; }
.footer__col p { margin: 0 0 .5em; color: #fbeee2; }
.footer__label { font-weight: 800; color: #fff; }
.footer__mail { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .45); overflow-wrap: anywhere; }
.footer__mail:hover { text-decoration-color: #fff; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4em; }
.footer__links a { color: #fff; font-weight: 700; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer__bottom { background: #3d302a; color: #cdbfb3; font-size: .85rem; padding: 18px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: #f6b8a6; }

/* ---------- FAB i toast ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: .5em;
  border: 0; cursor: pointer;
  background: var(--coral); color: #fff;
  padding: .8em 1.2em .75em; border-radius: 999px;
  font: 800 .98rem/1 var(--font-head);
  box-shadow: 0 5px 0 var(--coral-700), 0 12px 24px -8px rgba(0, 0, 0, .35);
  transform: translateY(140%); opacity: 0;
  transition: transform .4s cubic-bezier(.34, 1.5, .6, 1), opacity .3s;
}
.fab svg { width: 20px; height: 20px; }
.fab.is-visible { transform: none; opacity: 1; }
.fab:hover { transform: translateY(-3px); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 400;
  transform: translate(-50%, 140%);
  max-width: min(440px, calc(100% - 32px));
  background: var(--ink); color: #fff;
  padding: .85em 1.2em; border-radius: 14px;
  font-weight: 700; font-size: .95rem; text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: transform .4s cubic-bezier(.34, 1.5, .6, 1), opacity .3s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================
   MODAL I FORMULARZE
   ========================================================= */
.modal {
  border: 0; padding: 0;
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  border-radius: 26px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(15, 45, 39, .62); }
.modal[open] { animation: popIn .4s cubic-bezier(.34, 1.4, .6, 1); }
.modal__inner { position: relative; }
.modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { padding: 18px clamp(20px, 5vw, 32px) 28px; }
.form[hidden], .success[hidden] { display: none; }
.form__title { font-size: 1.9rem; margin-bottom: .25em; }
.form__intro { color: var(--ink-soft); margin-bottom: 1.2em; }
.field { border: 0; padding: 0; margin: 0 0 14px; }
.field label, .field legend { display: block; font: 800 .98rem/1.3 var(--font-head); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font: 600 1rem/1.4 var(--font-body); color: var(--ink);
  background: #fff;
  border: 2px solid var(--cream-2); border-radius: 14px;
  padding: .8em 1em;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(87, 193, 174, .22); }
.field input::placeholder, .field textarea::placeholder { color: #b0a59c; font-weight: 600; }
.field.has-err input, .field.has-err textarea { border-color: var(--coral); }
.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field__err { margin: 6px 0 0; font-size: .85rem; font-weight: 700; color: var(--coral-700); min-height: 0; }
.field__err:empty { display: none; }
.consent { margin: 6px 0 16px; }
.consent label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .86rem; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); }
.consent.has-err label { color: var(--coral-700); }
.form__err { margin: 0 0 12px; color: var(--coral-700); font-weight: 800; }
.form__err:empty { display: none; }
.form__note { margin: 12px 0 0; font-size: .84rem; color: var(--ink-soft); text-align: center; }
.success { text-align: center; padding: 6px 0 4px; outline: none; }
.success p { color: var(--ink-soft); }
.success__demo { font-size: .82rem; background: var(--cream); border-radius: 12px; padding: .7em 1em; }
.success .btn { margin-top: 8px; }

/* ---------- Pojawianie się przy przewijaniu ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.steps__list .reveal:nth-child(2), .where__cards .reveal:nth-child(2), .join__grid .reveal:nth-child(2) { transition-delay: .12s; }
.steps__list .reveal:nth-child(3), .where__cards .reveal:nth-child(3) { transition-delay: .24s; }

/* ---------- Animacje ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes stickerIn { from { opacity: 0; transform: rotate(-40deg) scale(.3); } to { opacity: 1; transform: rotate(12deg) scale(1); } }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2.5deg); } }
@keyframes bubblePop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes flip { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes drawRoot { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dash { to { stroke-dashoffset: -16; } }
@keyframes grow { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes swing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 60% { transform: rotate(-10deg); } 85% { transform: rotate(4deg); } }
@keyframes bump { 50% { transform: scale(1.25); } }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links a { padding: .5em .55em; font-size: .95rem; }
  .sign, .sticker { display: none; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .points__grid, .when { grid-template-columns: minmax(0, 1fr); }
  .when__text { margin-inline: auto; text-align: center; }
  .when .callout { text-align: left; }
  .when .badge { margin-left: 0; }
  .points__text { margin-inline: auto; text-align: center; }
  .points .callout { text-align: left; }
  .points__ctas { justify-content: center; }
  .map-propose { flex-wrap: wrap; }
  .map-propose__text { flex-basis: calc(100% - 60px); }
  .map-propose__btn { width: 100%; }
  .steps__list { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .step:not(:last-child)::after {
    top: auto; bottom: -30px; right: auto; left: 50%;
    transform: translateX(-50%) rotate(90deg);
    width: 50px; height: 24px;
  }
  .step { padding-bottom: 20px; }
  .where__cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .join__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__link { font-size: .86rem; }
  .brand__name { font-size: 1.4rem; }
  .brand__icon { width: 28px; height: 36px; }
  .mascot { right: 6px; width: 132px; bottom: 10px; }
  .note { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
  .acc__btn { grid-template-columns: 26px 1fr 28px; gap: 10px; padding: 16px; font-size: 1.02rem; }
  .acc__ico { width: 24px; height: 28px; }
  .acc__panel p { margin-left: 52px; margin-right: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; }
  .fab span { display: none; }
  .fab { padding: .85em; }
  .final__hint { font-size: .9rem; flex-wrap: nowrap; white-space: nowrap; }
  .final__hint-long { display: none; }
  .final__hint-short { display: inline; }
  .final__moon { width: 54px; height: 54px; right: 8%; }
}

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .band__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
