/* Pewna Hodowla – wersja pokazowa · kierunek „ciepły premium” */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FAF7F2;        /* kość słoniowa */
  --paper: #FFFFFF;
  --sand: #F1EBE1;
  --line: #E6DDCF;
  --ink: #1C2420;       /* tekst, 15:1 na tle */
  --ink-2: #5B635E;     /* tekst drugorzędny, 6:1 */
  --green: #1F3D33;     /* kolor marki, przyciski z białym tekstem 11:1 */
  --green-2: #2D5546;
  --green-soft: #E3ECE6;
  --honey: #C8913A;     /* akcent, tylko ozdobnie i w dużych elementach */
  --honey-ink: #8A5F1E; /* tekst w odcieniu miodu, 5,2:1 */
  --honey-soft: #F5EAD6;
  --rose-soft: #F5E4DD; --rose-ink: #8C3B26;
  --radius-s: 10px; --radius: 14px; --radius-l: 22px;
  --shadow: 0 1px 2px rgba(28,36,32,.05), 0 6px 20px rgba(28,36,32,.06);
  --shadow-l: 0 2px 6px rgba(28,36,32,.06), 0 22px 50px rgba(28,36,32,.12);
  --ease: cubic-bezier(.22,.8,.26,1);
  --spring: cubic-bezier(.3,1.35,.6,1);
  --bar-h: 42px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Manrope", system-ui, sans-serif; font-weight: 500;
  font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
  min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2.5px solid var(--honey-ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.noscript { padding: 40px 16px; text-align: center; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo span { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.logo span i { font-style: normal; font-weight: 500; color: var(--ink-2); }

/* ---------- pasek wersji pokazowej ---------- */
.demobar {
  position: sticky; top: 0; z-index: 50; min-height: var(--bar-h);
  display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap;
  padding: 5px 16px; background: var(--ink); color: #EDE6DA; font-size: 13px; font-weight: 600;
}
.demobar__label { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--honey); }
.switch { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; margin-left: auto; }
.switch__btn { padding: 4px 12px; border-radius: 999px; text-decoration: none; color: #EDE6DA; transition: background .25s var(--ease), color .25s; white-space: nowrap; font-weight: 700; }
.switch__btn[aria-current="true"] { background: var(--bg); color: var(--ink); }
.demobar__reset { background: none; border: 1px solid rgba(237,230,218,.3); color: #EDE6DA; border-radius: 999px; padding: 3px 12px; cursor: pointer; font-weight: 700; }
.demobar__reset:hover { background: rgba(255,255,255,.08); }
@media (max-width: 640px) {
  .demobar { padding: 6px 12px; }
  .demobar__label { flex: 1 1 auto; }
  .demobar__more { display: none; }
  .switch { order: 3; margin: 0; width: 100%; }
  .switch__btn { flex: 1; text-align: center; }
}

/* ---------- przyciski i drobne elementy ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.2; letter-spacing: -.005em;
  background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 16px rgba(31,61,51,.2);
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn:hover { background: var(--green-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(31,61,51,.24); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn--mint { background: var(--honey-ink); box-shadow: 0 6px 16px rgba(138,95,30,.22); }
.btn--mint:hover { background: #7A5318; }
.btn--small { min-height: 38px; padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.demo-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--line); color: var(--ink-2); padding: 1px 8px; border-radius: 999px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--sand); color: var(--ink); white-space: nowrap; }
.chip--wolny, .chip--ok { background: var(--green-soft); color: #1F5C43; }
.chip--rez { background: var(--rose-soft); color: var(--rose-ink); }
.chip--rozm, .chip--wait { background: var(--honey-soft); color: #7A5216; }
.chip__dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.12); flex: none; }

.badge-ph { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.92); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-l); font-weight: 700; font-size: 14px; }
@supports (backdrop-filter: blur(8px)) { .badge-ph { background: rgba(255,255,255,.8); backdrop-filter: blur(10px); } }
.badge-ph__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--green); display: grid; place-items: center; flex: none; }
.badge-ph__ico svg { width: 26px; height: 26px; }
.badge-ph small { display: block; font-weight: 600; color: var(--ink-2); font-size: 12px; }

.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.muted { color: var(--ink-2); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--honey-ink); }

/* ---------- przejścia i pojawianie ---------- */
.view { animation: viewIn .5s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   WIDOK KUPUJĄCEGO
   ========================================================== */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 18px 16px; }
.site-head__note { font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: right; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.hero { max-width: 1200px; margin: 0 auto; padding: 8px 16px 0; display: grid; gap: 28px; }
.hero__kennel { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero__title { font-size: clamp(64px, 14vw, 150px); line-height: .88; letter-spacing: -.055em; margin: 14px 0 0; }
.hero__lead { max-width: 500px; font-size: 18px; color: var(--ink-2); margin-top: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__media { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.js .hero__media img { transform: scale(1.06); transition: transform 1.8s var(--ease); }
.js .hero__media.is-in img { transform: none; }
.hero__media .badge-ph { position: absolute; left: 14px; bottom: 14px; }
.hero__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fact { background: var(--paper); padding: 16px 18px; }
.fact b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.fact span { font-size: 13px; color: var(--ink-2); font-weight: 600; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; padding-top: 24px; }
  .hero__media { aspect-ratio: 5 / 6; }
  .hero__facts { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
}

.section { padding: 80px 0 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.section__head h2 { font-size: clamp(30px, 4.4vw, 46px); }
.section__head p { max-width: 420px; }

.parents { display: grid; gap: 16px; }
@media (min-width: 760px) { .parents { grid-template-columns: 1fr 1fr; } }
.parent { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 16px; align-items: center; }
.parent__art { width: 120px; height: 120px; border-radius: 12px; overflow: hidden; background: var(--sand); }
.parent__art img { width: 100%; height: 100%; object-fit: cover; }
.parent h3 { font-size: 20px; margin-top: 2px; }
.parent dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 10px 0 0; font-size: 14px; }
.parent dt { color: var(--ink-2); font-weight: 600; }
.parent dd { margin: 0; font-weight: 700; }
.todo { color: var(--rose-ink); background: var(--rose-soft); padding: 1px 7px; border-radius: 6px; font-weight: 700; font-size: 12.5px; }

.pups { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
@media (min-width: 900px) { .pups { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.pup { position: relative; padding: 0; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.pup:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.pup__art { aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.pup__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pup:hover .pup__art img { transform: scale(1.05); }
.pup__body { padding: 14px 14px 16px; }
.pup h3 { font-size: 17px; letter-spacing: -.02em; }
.pup p { font-size: 13.5px; color: var(--ink-2); font-weight: 600; margin: 2px 0 10px; }
.pup.is-rez .pup__art img { filter: grayscale(.55) brightness(1.03); }

.steps { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 24px 22px; counter-increment: s; background: var(--paper); border-radius: 0; box-shadow: none; }
.step::before { content: "0" counter(s); display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--honey-ink); margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-2); }

.cta-band { margin: 80px auto 0; max-width: 1200px; padding: 0 16px; }
.cta-band__in { position: relative; overflow: hidden; border-radius: var(--radius-l); padding: 48px 26px; display: grid; gap: 18px; align-items: end; color: #fff; min-height: 320px; background: var(--green); }
.cta-band__in > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,40,33,.93) 0%, rgba(20,40,33,.75) 50%, rgba(20,40,33,.3) 100%); }
.cta-band__in > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); max-width: 560px; }
.cta-band p { color: #DCE6E0; margin-top: 8px; max-width: 480px; }
.cta-band .btn { background: #fff; color: var(--green); justify-self: start; }
@media (min-width: 760px) { .cta-band__in { padding: 56px; grid-template-columns: 1fr auto; } }

.foot { max-width: 1200px; margin: 0 auto; padding: 40px 16px 60px; font-size: 13px; color: var(--ink-2); font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- ankieta ---------- */
.form-shell { max-width: 660px; margin: 8px auto 60px; padding: 0 16px; }
.form-card { padding: 26px 22px 24px; }
@media (min-width: 640px) { .form-card { padding: 36px 40px 32px; } }
.form-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.form-top a { text-decoration: none; font-weight: 700; color: var(--ink-2); }
.progress { height: 4px; background: var(--sand); border-radius: 999px; overflow: hidden; margin: 4px 0 26px; }
.progress span { display: block; height: 100%; width: 0; background: var(--green); border-radius: inherit; transition: width .7s var(--ease); }
.form-card h1 { font-size: clamp(26px, 5vw, 34px); margin-bottom: 6px; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field > label, .field > legend { font-weight: 700; font-size: 14.5px; padding: 0; }
fieldset.field { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-s);
  border: 1.5px solid var(--line); background: var(--paper); font-weight: 500; transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,61,51,.12); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--rose-ink); }
.err { color: #9A3520; font-size: 13.5px; font-weight: 700; }
.opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.opt span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #BFB4A3; flex: none; transition: all .2s; }
.opt input[type=checkbox] + span::before { border-radius: 5px; }
.opt input:checked + span { border-color: var(--green); background: #F3F7F4; }
.opt input:checked + span::before { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3.5px #fff; }
.opt input:focus-visible + span { outline: 2.5px solid var(--honey-ink); outline-offset: 2px; }
.form-actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 28px; }
.form-actions .btn { flex: 1; }
@media (min-width: 640px) { .form-actions .btn { flex: 0 0 auto; } }
.legal { font-size: 13px; color: var(--ink-2); margin-top: 20px; }
.done { text-align: center; padding: 44px 24px; }
.done__heart { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 22px; background: var(--green); display: grid; place-items: center; }
.done__heart svg { width: 52px; height: 52px; }
.beat { animation: beat .9s var(--spring) .15s 1 both; }
@keyframes beat { 0% { transform: scale(.7); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
.done h1 { font-size: 32px; margin-bottom: 8px; }
.done p { max-width: 440px; margin: 0 auto; color: var(--ink-2); }
.done .btn { margin-top: 22px; }
.hint { margin: 20px auto 0; max-width: 440px; font-size: 14px; font-weight: 600; background: var(--honey-soft); border-radius: var(--radius-s); padding: 10px 14px; }

/* ==========================================================
   PANEL HODOWCY
   ========================================================== */
.panel { display: grid; min-height: calc(100vh - var(--bar-h)); }
.side { display: none; }
.panel__main { padding: 20px 16px 110px; min-width: 0; }
.panel__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel__top .logo span { display: none; }
.panel h1 { font-size: clamp(26px, 4.6vw, 36px); }
.panel__sub { color: var(--ink-2); margin-top: 6px; }

.tabbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-l); padding: 6px; }
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; text-decoration: none; font-size: 12px; font-weight: 700; color: var(--ink-2); position: relative; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { background: var(--green-soft); color: var(--green); }
.count { position: absolute; top: 4px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--honey-ink); color: #fff; font-size: 11px; display: grid; place-items: center; }

@media (min-width: 960px) {
  .panel { grid-template-columns: 236px 1fr; }
  .side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: var(--bar-h); height: calc(100vh - var(--bar-h)); padding: 22px 14px; border-right: 1px solid var(--line); background: var(--paper); }
  .side__logo { padding: 2px 10px 22px; }
  .side__logo .logo span { font-size: 18px; }
  .side a.nav { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink-2); position: relative; transition: background .2s, color .2s; font-size: 15px; }
  .side a.nav svg { width: 20px; height: 20px; }
  .side a.nav:hover { background: var(--bg); color: var(--ink); }
  .side a.nav[aria-current="page"] { background: var(--green-soft); color: var(--green); font-weight: 700; }
  .side .count { position: static; margin-left: auto; }
  .side__kennel { margin-top: auto; padding: 14px; border-radius: 12px; background: var(--bg); font-size: 13.5px; }
  .side__kennel b { display: block; font-size: 14.5px; }
  .tabbar { display: none; }
  .panel__main { padding: 32px 40px 60px; }
  .panel__top .logo { display: none; }
}

/* kafelki pulpitu */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { padding: 18px 18px 16px; border-radius: var(--radius); text-decoration: none; display: grid; gap: 2px; background: var(--paper); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.tile::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: var(--accent, var(--green)); margin-bottom: 12px; }
a.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.tile__n { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.tile__l { font-weight: 700; font-size: 14.5px; margin-top: 6px; }
.tile__s { font-size: 13px; color: var(--ink-2); }
.tile--sun { --accent: var(--honey); } .tile--mint { --accent: #3F8A68; } .tile--peach { --accent: #B5583D; } .tile--paper { --accent: var(--green); }

.grid2 { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 1100px) { .grid2 { grid-template-columns: 1.3fr 1fr; } }
.box { padding: 22px; }
.box h2 { font-size: 18px; margin-bottom: 14px; letter-spacing: -.02em; }
.todo-list { list-style: none; margin: 0; padding: 0; display: grid; }
.todo-list li + li { border-top: 1px solid var(--line); }
.todo-list li a, .todo-list li > div { display: flex; align-items: center; gap: 14px; padding: 12px 4px; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 8px; }
.todo-list li a:hover { background: var(--bg); }
.todo-list .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); flex: none; }
.todo-list .ico svg { width: 18px; height: 18px; }
.todo-list small { display: block; color: var(--ink-2); font-weight: 500; font-size: 13px; }
.mini-pups { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-pup { width: 62px; text-align: center; font-size: 12px; font-weight: 700; }
.mini-pup i { display: block; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; margin-bottom: 5px; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--green-soft); }
.mini-pup i img { width: 100%; height: 100%; object-fit: cover; }
.mini-pup.is-rez i { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px #E6B9A9; }
.mini-pup.is-rez i img { filter: grayscale(.5); }

/* tablica etapów */
.board-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 10px; margin: 16px -16px 0; scrollbar-width: none; }
.board-tabs::-webkit-scrollbar { display: none; }
.board-tabs button { flex: none; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.board-tabs button[aria-selected="true"] { background: var(--green); color: #fff; box-shadow: none; }
.board-tabs .n { background: var(--sand); color: var(--ink); border-radius: 999px; padding: 0 7px; font-size: 12px; }
.board { display: grid; gap: 14px; margin-top: 8px; }
.col { min-width: 0; }
.col__head { display: none; }
.col__list { display: grid; gap: 10px; min-height: 60px; border-radius: var(--radius); transition: background .2s; align-content: start; }
.col.is-hidden { display: none; }
@media (min-width: 960px) {
  .board-tabs { display: none; }
  .board { grid-template-columns: repeat(5, minmax(186px, 1fr)); overflow-x: auto; padding-bottom: 10px; margin-top: 22px; }
  .col, .col.is-hidden { display: flex; flex-direction: column; background: #F3EEE6; border-radius: var(--radius); padding: 10px; }
  .col__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; font-weight: 700; font-size: 14px; }
  .col__head .n { background: var(--paper); border-radius: 999px; padding: 0 8px; font-size: 12px; }
  .col__list { flex: 1; padding: 2px; }
  .col.is-over .col__list { background: rgba(200,145,58,.18); }
}
.kcard { padding: 14px; cursor: pointer; border: 0; text-align: left; width: 100%; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; touch-action: manipulation; }
.kcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.kcard__top { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; color: var(--green); }
.kcard b { display: block; font-size: 14.5px; line-height: 1.25; }
.kcard small { color: var(--ink-2); font-weight: 500; font-size: 12.5px; }
.kcard__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.kcard__tags .chip { font-size: 11.5px; padding: 2px 8px; }
.kcard.is-new { box-shadow: 0 0 0 2px var(--honey), var(--shadow); animation: pop .6s var(--spring) both; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.kcard.is-ghost { opacity: .35; }
.drag-clone { position: fixed; z-index: 90; pointer-events: none; transform: rotate(2.5deg) scale(1.03); box-shadow: var(--shadow-l); transition: none; }
.drop-in { animation: dropIn .5s var(--spring) both; }
@keyframes dropIn { 0% { transform: scale(.95) rotate(-1.5deg); } 100% { transform: none; } }

/* szuflada */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(28,36,32,.4); animation: fade .3s both; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(520px, 100%); background: var(--bg); overflow-y: auto; padding: 22px 22px 40px; box-shadow: var(--shadow-l); animation: slideIn .4s var(--ease) both; }
@media (max-width: 640px) { .drawer__panel { top: auto; max-height: 92vh; border-radius: 20px 20px 0 0; animation-name: slideUp; } }
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideUp { from { transform: translateY(100%); } }
.drawer__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.drawer__head h2 { font-size: 22px; }
.close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: var(--shadow); cursor: pointer; font-size: 22px; line-height: 1; flex: none; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 14px 0; background: var(--line); border-radius: 12px; overflow: hidden; }
.qa div { background: var(--paper); padding: 11px 14px; }
.qa div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.qa dt { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.qa dd { margin: 2px 0 0; font-weight: 700; font-size: 14.5px; overflow-wrap: anywhere; }
.stage-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.quote { padding: 14px 16px; margin-top: 12px; background: var(--honey-soft); border-radius: 12px; font-weight: 600; }
.actions { display: grid; gap: 10px; margin-top: 18px; }
.paybox { background: var(--paper); border-radius: 12px; padding: 16px; margin-top: 14px; box-shadow: var(--shadow); }
.paybox__row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.paybox__amt { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }

/* miot */
.litter { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; margin-top: 22px; }
.lpup { padding: 16px; display: grid; gap: 10px; min-width: 0; }
.lpup__top { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
.lpup__art { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; }
.lpup__art img { width: 100%; height: 100%; object-fit: cover; }
.lpup h3 { font-size: 17px; }
.spark { width: 100%; height: 56px; }
.spark path.l { fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.spark path.a { fill: rgba(31,61,51,.07); }
.spark circle { fill: var(--honey); stroke: #fff; stroke-width: 2; }
.js .spark path.l { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.1s var(--ease); }
.js .is-in .spark path.l, .js .spark.is-in path.l { stroke-dashoffset: 0; }
.lpup__meta { display: flex; justify-content: space-between; align-items: center; gap: 6px 8px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; }

/* umowa */
.contract { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 1100px) { .contract { grid-template-columns: 360px 1fr; align-items: start; } }
.contract__form { padding: 20px; }
.a4 { background: #fff; border-radius: 4px; box-shadow: var(--shadow-l); padding: 34px 30px; font-size: 14px; line-height: 1.65; aspect-ratio: 210 / 297; overflow: hidden; position: relative; color: #1F2521; }
@media (min-width: 640px) { .a4 { padding: 56px 60px; font-size: 14.5px; } }
.a4 .logo { margin-bottom: 30px; }
.a4 .logo svg { width: 26px; height: 26px; } .a4 .logo span { font-size: 16px; }
.a4 h2 { font-size: 20px; margin-bottom: 4px; }
.a4 h3 { font-size: 14.5px; margin: 18px 0 4px; letter-spacing: -.01em; }
.a4 .hl { background: #FBF3E4; border-bottom: 1.5px solid #E3C99A; padding: 0 2px; font-weight: 700; transition: background .4s; }
.a4 .hl.flash { background: #F2DDB4; }
.a4__sign { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 34px; font-size: 12.5px; color: #5B635E; }
.a4__sign div { border-top: 1px solid #CFC6B8; padding-top: 6px; }
.a4__stamp { position: absolute; right: 30px; top: 30px; transform: rotate(6deg); border: 2px solid var(--green); color: var(--green); padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; animation: stamp .5s var(--spring) both; }
@keyframes stamp { from { transform: rotate(6deg) scale(1.6); opacity: 0; } }
.watermark { position: absolute; inset: auto 0 18px; text-align: center; font-size: 11px; color: #9AA19C; font-weight: 600; }

/* powiadomienia */
.toasts { position: fixed; z-index: 95; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 24px)); }
@media (min-width: 960px) { .toasts { bottom: 24px; left: auto; right: 24px; transform: none; } }
.toast { background: var(--ink); color: #F1ECE4; border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-l); display: flex; gap: 10px; align-items: center; animation: toastIn .45s var(--spring) both; }
.toast > span:first-child { color: var(--honey); font-weight: 800; }
.toast.out { animation: toastOut .3s var(--ease) both; }
@keyframes toastIn { from { transform: translateY(14px); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(8px); opacity: 0; } }
.confetti { position: fixed; inset: 0; z-index: 96; pointer-events: none; width: 100%; height: 100%; }

.empty { padding: 18px; text-align: center; color: var(--ink-2); font-weight: 600; font-size: 13.5px; border: 1.5px dashed var(--line); border-radius: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .spark path.l { stroke-dashoffset: 0; }
  .js .hero__media img { transform: none; }
}

@media (max-width: 899px) {
  .hero__media { order: -1; aspect-ratio: 4 / 3; }
  .hero__title { margin-top: 10px; }
}
@media (max-width: 640px) {
  .site-head { padding: 14px 16px; }
  .site-head__note { display: none; }
  .hero__media .badge-ph { left: 10px; bottom: 10px; padding: 8px 12px 8px 8px; font-size: 13px; }
  .hero__media .badge-ph__ico { width: 32px; height: 32px; }
}
