/* ITmoose – arkusz stylów */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --white: #ffffff;
  --tint: #f4f6ef;
  --ink: #1c211b;
  --text: #1c211b;
  --muted: #5a6255;
  --line: #e2e6da;
  --lime: #a6c929;
  --lime-soft: #e6efc7;
  --accent-text: #4f6b00;
  --radius: 22px;
  --shadow: 0 1px 2px rgb(28 33 27 / .04), 0 12px 32px -12px rgb(28 33 27 / .14);
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body { margin: 0; font-family: var(--sans); font-size: 17px; word-spacing: .04em; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 .45em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 20px; border-radius: 999px; background: var(--lime-soft); color: var(--accent-text); font-weight: 600; font-size: .88rem; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border: 0; border-radius: 999px;
  background: var(--lime); color: var(--ink);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #b5d63a; box-shadow: 0 10px 22px -8px rgb(122 154 20 / .6); }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-sm { padding: .6em 1.15em; font-size: .93rem; }
.btn-light { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-light:hover { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2c332a; box-shadow: 0 10px 22px -10px rgb(28 33 27 / .6); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1; letter-spacing: -0.03em; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 500; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .97rem; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav a:not(.btn):hover { color: var(--text); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--text); }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--text); }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0; background: linear-gradient(180deg, var(--white), var(--tint)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: .98; }
.hero mark { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); color: inherit; padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.28rem); color: var(--muted); max-width: 32em; margin: 1.3em 0 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.float { position: absolute; margin: 0; background: var(--white); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .9rem; color: var(--muted); line-height: 1.25; animation: bob 5s ease-in-out infinite; }
.float b { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--text); }
.float-a { left: 0; top: 14%; }
.float-b { right: 2%; bottom: 6%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.led { animation: blink 1.4s steps(1, end) infinite; }
.led:nth-of-type(2) { animation-duration: .9s; animation-delay: -.3s; }
.led:nth-of-type(3) { animation-duration: 2.1s; animation-delay: -1.1s; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } 70% { opacity: 1; } 80% { opacity: .15; } }
.steam path { opacity: 0; animation: steam 3s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: -1s; }
.steam path:nth-child(3) { animation-delay: -2s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(6px); }
  35% { opacity: .55; }
  100% { opacity: 0; transform: translateY(-16px); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; }
}

/* ---------- Facts ---------- */
.facts { background: var(--lime); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 34px 24px; border-left: 1px solid rgb(28 33 27 / .14); }
.facts-grid div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.facts span { font-weight: 500; font-size: .95rem; }
@media (max-width: 760px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div { padding: 24px 16px; border-left: 0; }
  .facts-grid div:nth-child(odd) { padding-left: 0; }
  .facts-grid div:nth-child(-n+2) { border-bottom: 1px solid rgb(28 33 27 / .14); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > p:last-child { color: var(--muted); font-size: 1.1rem; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lime); }
.tile p { color: var(--muted); font-size: .96rem; margin: 0; }
.ico { width: 52px; height: 52px; border-radius: 16px; background: var(--lime-soft); display: grid; place-items: center; margin-bottom: 20px; transition: background-color .2s; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .ico { background: var(--lime); }
.tile:hover .ico svg { stroke: var(--ink); }
.tile-feature { grid-column: span 2; grid-row: span 2; background: var(--lime); border-color: var(--lime); padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.tile-feature::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgb(255 255 255 / .22); }
.tile-feature:hover { border-color: var(--lime); }
.tile-feature h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.tile-feature p { color: var(--ink); font-size: 1.05rem; }
.tile-feature .ico, .tile-feature:hover .ico { background: var(--white); }
.tile-feature .ico svg, .tile-feature:hover .ico svg { stroke: var(--ink); }
.tile-feature ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; position: relative; z-index: 1; }
.tile-feature li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.tile-feature li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23a6c929' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.tile-feature .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }
@media (max-width: 1040px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile-feature { grid-column: auto; grid-row: auto; } }

/* ---------- Abonament ---------- */
.abo-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.abo-head h2 { margin: 0; }
.abo-head > p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perks article { background: var(--white); border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); }
.perks span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--lime); font-family: var(--display); font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.perks p { color: var(--muted); margin: 0; font-size: .97rem; }
.perks .perk-cta { background: var(--lime-soft); border-color: transparent; display: flex; flex-direction: column; align-items: flex-start; }
.perks .perk-cta h3 { font-size: 1.5rem; }
.perks .perk-cta p { margin-bottom: 20px; color: var(--ink); }
.perks .perk-cta .btn { margin-top: auto; }
@media (max-width: 960px) { .abo-head { grid-template-columns: 1fr; } .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .perks { grid-template-columns: 1fr; } }

/* ---------- Triad (Venn) ---------- */
.triad { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.triad-copy > p { color: var(--muted); font-size: 1.05rem; }
.triad-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.triad-buttons button { font: 600 1.05rem/1 var(--sans); padding: .8em 1.3em; background: var(--white); color: var(--text); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.triad-buttons button:hover { border-color: var(--ink); }
.triad-buttons button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.triad-buttons button[aria-pressed="true"]::before { content: "✓ "; color: var(--lime); }
.triad-result { background: var(--tint); border-radius: 18px; padding: 20px 24px; min-height: 9em; }
.triad-tag { font-family: var(--display); font-size: 1.35rem; font-weight: 700; margin-bottom: .35em; }
.triad-result p:last-child { color: var(--muted); margin: 0; }
.venn { width: 100%; max-width: 460px; justify-self: center; overflow: visible; }
.venn circle { fill: var(--lime); fill-opacity: 0; stroke: var(--ink); stroke-width: 2; transition: fill-opacity .3s ease; }
.venn g.is-on circle { fill-opacity: .45; }
.venn text { font-family: var(--display); font-weight: 700; font-size: 26px; text-anchor: middle; fill: var(--text); }
.venn .venn-center { font-size: 36px; font-weight: 800; }
@media (max-width: 860px) { .triad { grid-template-columns: 1fr; } .venn { max-width: 340px; order: -1; } }

/* ---------- O nas ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-card { background: var(--ink); color: var(--white); border-radius: 28px; padding: clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.stamp { position: absolute; top: 24px; right: 24px; width: 128px; height: 128px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.stamp text { font: 700 10.5px var(--sans); letter-spacing: .22em; fill: var(--ink); }
.stamp img { position: relative; border-radius: 50%; box-shadow: 0 0 0 3px var(--ink); }
@keyframes spin { to { transform: rotate(1turn); } }
.big-year { position: relative; margin: 140px 0 8px; font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 12vw, 9rem); line-height: .9; letter-spacing: -0.05em; color: var(--lime); }
.about-card p:last-child { position: relative; margin: 0; color: #c8cfc0; font-size: 1.05rem; }
.about-copy p:not(.pill) { color: var(--muted); }
.about-copy .about-lead { color: var(--text) !important; font-size: 1.18rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--lime); padding: clamp(44px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -100px; top: -140px; width: 340px; height: 340px; border-radius: 50%; background: rgb(255 255 255 / .2); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-inner h2 { margin: 0; max-width: 18em; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

/* ---------- Współpraca ---------- */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.join p { color: var(--muted); }
.join a { color: var(--accent-text); font-weight: 600; }
.note { font-size: .92rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 500; transition: background-color .15s, border-color .15s; }
.tags li:hover { background: var(--lime-soft); border-color: var(--lime); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.contact-phone { display: inline-block; font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 7vw, 4.8rem); line-height: 1; letter-spacing: -0.04em; text-decoration: none; background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); margin: 6px 0 18px; }
.contact-alt { color: var(--muted); font-size: 1.1rem; }
.contact-alt a { color: var(--text); font-weight: 600; }
.contact address { font-style: normal; color: var(--muted); margin-top: 28px; padding: 22px 24px; background: var(--white); border-radius: 18px; border: 1px solid var(--line); }
.contact address b { color: var(--text); }
.contact address a { color: var(--accent-text); font-weight: 600; }

.form { background: var(--white); border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.form-title { font-family: var(--display); font-weight: 700; font-size: 1.6rem; margin: 0 0 4px; letter-spacing: -0.02em; }
.form label { display: grid; gap: 6px; align-content: start; font-size: .92rem; font-weight: 600; }
.form small { font-weight: 400; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text); background: var(--tint); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .15s, background-color .15s; }
.form select { appearance: none; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c211b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--lime); background-color: var(--white); }
.form [aria-invalid="true"] { border-color: #c0261a; }
.form .btn { justify-self: start; margin-top: 4px; }
.form-note { font-size: .85rem; margin: 0; color: var(--muted); }
.form-note.is-error { color: #c0261a; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 28px 0; background: var(--white); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.site-footer p { margin: 0; font-size: .92rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: .92rem; }
.site-footer nav a:not(.nlb) { color: var(--muted); text-decoration: none; }
.site-footer nav a:not(.nlb):hover { color: var(--text); }

/* ---------- Podstrony ---------- */
.page { padding: clamp(48px, 8vw, 96px) 0; }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
.page h2 { font-size: 1.45rem; margin-top: 1.8em; }
.page p, .page li { color: var(--muted); }
.page a:not(.btn) { color: var(--accent-text); font-weight: 600; }

/* =========================================================
   Ruch i efekty
   ========================================================= */

/* Wejście nagłówka strony */
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-art { animation: pop 1s .15s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes pop { from { opacity: 0; transform: scale(.92) rotate(-2deg); } }

/* Zakreślacz pod „Od 2009 roku.” */
.hero mark { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 88% / 0% 34%; animation: highlight .9s .75s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes highlight { to { background-size: 100% 34%; } }

/* Paralaksa ilustracji (zmienne --px/--py ustawia skrypt) */
.hero-art { --px: 0; --py: 0; }
.art-bg { translate: calc(var(--px) * -10px) calc(var(--py) * -10px); transition: translate .4s ease-out; }
.art-main { translate: calc(var(--px) * 8px) calc(var(--py) * 8px); transition: translate .4s ease-out; }
.float-a { translate: calc(var(--px) * 22px) calc(var(--py) * 22px); transition: translate .3s ease-out; }
.float-b { translate: calc(var(--px) * -18px) calc(var(--py) * -18px); transition: translate .3s ease-out; }

/* Życie na biurku */
.check { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4.5s 1.2s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; } 15%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.check-bg { transform-box: fill-box; transform-origin: center; animation: thump 4.5s 1.2s ease-in-out infinite; }
@keyframes thump { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.12); } 26% { transform: scale(1); } }
.bar { transform-box: fill-box; transform-origin: left center; animation: grow 4.5s 1s ease-in-out infinite; }
.bar + .bar { animation-delay: 1.15s; }
.bar + .bar + .bar { animation-delay: 1.3s; }
@keyframes grow { 0% { transform: scaleX(0); } 20%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.upload { animation: upload 2.4s ease-in infinite; }
@keyframes upload { 0% { transform: translateY(14px); opacity: 0; } 30% { opacity: 1; } 70% { transform: translateY(-6px); opacity: 1; } 100% { transform: translateY(-14px); opacity: 0; } }
.wave { animation: wave 1.8s ease-in-out infinite; }
.wave + .wave { animation-delay: .3s; }
@keyframes wave { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
.antler { transform-box: fill-box; animation: wiggle 5s ease-in-out infinite; }
.antler-l { transform-origin: 100% 100%; }
.antler-r { transform-origin: 0% 100%; animation-delay: -.15s; }
@keyframes wiggle { 0%, 80%, 100% { rotate: 0deg; } 85% { rotate: -4deg; } 90% { rotate: 3deg; } 95% { rotate: -1.5deg; } }
.antler-r { animation-name: wiggle-r; }
@keyframes wiggle-r { 0%, 80%, 100% { rotate: 0deg; } 85% { rotate: 4deg; } 90% { rotate: -3deg; } 95% { rotate: 1.5deg; } }

/* Pas z usługami */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--white); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4.5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee span::after { content: ""; width: .5em; height: .5em; margin: 0 .6em; border-radius: 50%; background: var(--lime); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Podświetlenie kafelków za kursorem */
.tile { position: relative; overflow: hidden; }
.tile > * { position: relative; z-index: 1; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgb(166 201 41 / .22), transparent 65%); opacity: 0; transition: opacity .25s; }
.tile:hover::before { opacity: 1; }
.tile-feature::before { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .35), transparent 65%); }

/* Dzwoniąca słuchawka */
.btn .ring { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: ring 2.2s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes ring { 0%, 60%, 100% { rotate: 0deg; } 64% { rotate: -16deg; } 68% { rotate: 14deg; } 72% { rotate: -12deg; } 76% { rotate: 8deg; } 80% { rotate: 0deg; } }

/* Nagłówek po przewinięciu */
.site-header { transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgb(28 33 27 / .35); }

/* Pojawianie się przy przewijaniu (klasy dodaje skrypt) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.tile.reveal.in { transition: opacity .8s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 70ms), transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tile.reveal.in:hover { transform: translateY(-4px); }

/* =========================================================
   Easter egg: tryb łosia
   ========================================================= */
.moose-drop { position: fixed; top: -80px; z-index: 200; pointer-events: none; animation: moose-fall linear forwards; }
@keyframes moose-fall { to { transform: translateY(calc(100vh + 160px)) rotate(var(--spin, 360deg)); } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 210;
  max-width: min(92vw, 520px); padding: 14px 20px;
  background: var(--ink); color: var(--white); border-radius: 16px;
  font-weight: 600; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .5);
  opacity: 0; transform: translate(-50%, 20px); pointer-events: none;
  transition: opacity .3s ease, transform .4s cubic-bezier(.2, .9, .3, 1.3);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.moose-mode .led { animation-duration: .18s !important; }
.moose-mode .antler-l, .moose-mode .antler-r { animation-duration: .7s; }
.moose-mode .steam path { animation-duration: .9s; }
.moose-mode .stamp svg { animation-duration: 2s; }
.moose-mode .marquee-track { animation-duration: 8s; }
.moose-mode .hero mark { background-image: linear-gradient(90deg, #a6c929, #ffd23f, #a6c929); background-size: 200% 34%; background-position: 0% 88%; animation: moose-glow 1.2s ease-in-out infinite alternate; }
@keyframes moose-glow { to { background-position: 100% 88%; } }
.moose-mode .brand img { animation: spin 1.2s linear infinite; }

/* ---------- Formularz: wysyłka ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.form .consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--accent-text); padding: 0; }
.form .consent a { color: var(--accent-text); font-weight: 600; }
.form .consent { flex-wrap: wrap; }
.form .consent span { flex: 1 1 0; min-width: 0; }
.form .consent .field-error { flex-basis: 100%; margin-left: 32px; }
.form .field-error { color: #c0261a; font-weight: 500; font-size: .82rem; }
.form .btn[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }
.form .btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.form.is-sent .form-note { color: var(--accent-text); font-weight: 600; font-size: .95rem; background: var(--lime-soft); padding: 12px 14px; border-radius: 12px; opacity: 1; }
