/* Kominiarz Blisko: landing dla klientów.
   Kierunek: jodłowa zieleń, szafran, ciepła biel. Czcionki lokalne (OFL), bez zewnętrznych zasobów. */

@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(assets/fonts/big-shoulders-display-latin-ext-wght.woff2) format('woff2');
  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: 'Big Shoulders Display'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(assets/fonts/big-shoulders-display-latin-wght.woff2) format('woff2');
  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; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-display: swap; font-weight: 400;
  src: url(assets/fonts/newsreader-latin-ext-400-italic.woff2) format('woff2');
  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: 'Newsreader'; font-style: italic; font-display: swap; font-weight: 400;
  src: url(assets/fonts/newsreader-latin-400-italic.woff2) format('woff2');
  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; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/manrope-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/manrope-latin-400-normal.woff2) format('woff2'); 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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 500; src: url(assets/fonts/manrope-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 500; src: url(assets/fonts/manrope-latin-500-normal.woff2) format('woff2'); 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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/manrope-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/manrope-latin-700-normal.woff2) format('woff2'); 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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 800; src: url(assets/fonts/manrope-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 800; src: url(assets/fonts/manrope-latin-800-normal.woff2) format('woff2'); 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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --pine: #123b30;
  --pine-2: #0d2e25;
  --pine-3: #1c4a3d;
  --paper: #f5f1e6;
  --paper-2: #ebe5d4;
  --paper-3: #dbd2bb;
  --ink: #10271f;
  --ink-2: #4c5f56;
  --leaf: #1f7a57;
  --sun: #f3b528;
  --sun-2: #ffd36b;
  --sage: #a9cba0;
  --err: #b8372b;
  --line-dark: rgba(245, 241, 230, .14);
  --line-paper: rgba(16, 39, 31, .16);
  --f-display: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --topbar-h: 38px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--pine); color: var(--paper); font: 500 1rem/1.6 var(--f-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun-2); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--paper); color: var(--ink); padding: .8rem 1rem; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
main { overflow-x: clip; }

/* ---------- Typografia wspólna ---------- */
.kicker { display: inline-flex; align-items: center; gap: .7rem; font: 800 .74rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--leaf); margin-bottom: 1.4rem; }
.kicker::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.kicker svg { width: 22px; height: 22px; }
.kicker--light { color: var(--sun); }
.hero__kicker::before { display: none; }
.h2 { font: 800 clamp(2.5rem, 5.4vw, 4.8rem)/.98 var(--f-display); text-transform: uppercase; letter-spacing: .003em; color: var(--ink); max-width: 17ch; text-wrap: balance; }
.h2--light { color: var(--paper); }
.section { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; }
.paper { background: var(--paper); color: var(--ink); }
.pine { background: var(--pine); color: var(--paper); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head__lead { max-width: 56ch; margin-top: 1.4rem; font-size: 1.06rem; color: rgba(245, 241, 230, .72); }
.paper .section-head__lead { color: var(--ink-2); }
.section-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; }
.section-head--split .section-head__lead { margin-top: 0; }

/* ---------- Przyciski ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .85rem; padding: 1.05rem 1.55rem 1rem; border: 0; border-radius: 2px; background: var(--sun); color: var(--ink); font: 800 1.2rem/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sun-2); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-in-out); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--ink); }
.btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--small { padding: .78rem 1.1rem .74rem; font-size: 1.02rem; }
.btn--wide { width: 100%; justify-content: center; padding-block: 1.25rem 1.2rem; font-size: 1.35rem; }
.btn[disabled] { opacity: .7; cursor: progress; }
.call { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.call__icon { display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px solid var(--line-paper); border-radius: 50%; transition: background .3s, border-color .3s, color .3s; }
.call__icon svg { width: 20px; height: 20px; }
.call:hover .call__icon { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.call--dark .call__icon { border-color: rgba(245, 241, 230, .35); }
.call__txt { display: grid; line-height: 1.1; }
.call__txt b { font: 800 1.45rem/1 var(--f-display); letter-spacing: .04em; }
.call__txt small { font-size: .8rem; opacity: .7; margin-top: .25rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--leaf); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- Nagłówek ---------- */
.masthead { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .45s var(--ease); }
.masthead.is-scrolled { transform: translateY(calc(var(--topbar-h) * -1)); }
.topbar { height: var(--topbar-h); background: var(--pine); color: var(--paper); font-size: .8rem; font-weight: 700; }
.topbar__in { display: flex; align-items: center; gap: 2rem; height: 100%; }
.topbar__season { display: flex; align-items: center; gap: .6rem; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sun-2); box-shadow: 0 0 0 0 rgba(255, 211, 107, .7); animation: beacon 2.4s infinite; }
.topbar__hours { opacity: .85; white-space: nowrap; }
.topbar__phone { font: 800 1rem/1 var(--f-display); letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
@keyframes beacon { 70% { box-shadow: 0 0 0 9px rgba(255, 211, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 211, 107, 0); } }

.header { height: var(--header-h); color: var(--ink); transition: background .4s, box-shadow .4s, height .4s; }
.masthead.is-scrolled .header { background: rgba(245, 241, 230, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-paper); height: 66px; }
.header__in { display: flex; align-items: center; gap: 2rem; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--leaf); border-radius: 50%; color: var(--leaf); }
.footer .brand__mark, .privacy__bar .brand__mark { border-color: var(--sun); color: var(--sun); }
.brand__mark svg { width: 26px; height: 26px; }
.brand__smoke { animation: brand-smoke 3s ease-in-out infinite; }
@keyframes brand-smoke { 50% { transform: translateY(-1.5px); opacity: .5; } }
.brand__name { display: grid; font: 700 1.1rem/.88 var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.brand__name b { font-weight: 900; font-size: 1.45rem; letter-spacing: .06em; color: inherit; }
.nav { display: flex; align-items: center; gap: 1.7rem; font-weight: 700; font-size: .92rem; }
.nav a { position: relative; text-decoration: none; padding: .4rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--leaf); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__phone { display: none; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line-paper); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.burger[aria-expanded="true"] { border-color: var(--line-dark); }
.burger[aria-expanded="true"] span { background: var(--paper); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--topbar-h) + var(--header-h) + clamp(2rem, 5vw, 4.5rem)) 0 max(150px, calc(15.3vw + 40px)); overflow: hidden; color: var(--ink);
  background:
    radial-gradient(48% 44% at 88% 18%, rgba(243, 181, 40, .28), transparent 70%),
    radial-gradient(44% 40% at 0% 92%, rgba(31, 122, 87, .14), transparent 70%),
    var(--paper); }
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title { font: 850 clamp(3.3rem, 8.2vw, 8.1rem)/.9 var(--f-display); font-weight: 850; text-transform: uppercase; letter-spacing: -.004em; margin: 0 0 1.6rem; }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line__in { display: inline-block; }
.hero__title-brick { color: var(--leaf); }
.line--serif { margin-top: .9rem; font-size: clamp(1.35rem, 2.6vw, 2.2rem); line-height: 1.2; }
.line--serif .line__in { font: italic 400 1em/1.2 var(--f-serif); text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.hero__lead { max-width: 54ch; font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem 2rem; margin: 2.2rem 0 2.6rem; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-paper); max-width: 640px; }
.hero__facts li { display: grid; gap: .15rem; padding: 1.1rem 1.2rem 0 0; }
.hero__facts li + li { padding-left: 1.2rem; border-left: 1px solid var(--line-paper); }
.hero__facts b { font: 800 1.2rem/1.1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; color: var(--leaf); }
.hero__facts span { font-size: .82rem; color: var(--ink-2); }

.hero__visual { position: relative; justify-self: end; width: min(100%, 470px); }
.house-frame { position: relative; aspect-ratio: 4 / 5; margin: 0;
  clip-path: polygon(0 34%, 50% 12%, 68% 19.9%, 68% 2%, 80% 2%, 80% 25.2%, 100% 34%, 100% 100%, 0 100%); }
.house-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 30%; }
.house-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13, 46, 37, .45)); }
.house-frame { box-shadow: 0 40px 70px -40px rgba(16, 39, 31, .6); }
.house-frame__smoke { position: absolute; left: 74%; top: 2%; width: 0; height: 0; z-index: 2; }
.house-frame__smoke i { position: absolute; left: -14px; top: -10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(16, 39, 31, .16); filter: blur(7px); opacity: 0; animation: puff-css 5.2s linear infinite; }
.house-frame__smoke i:nth-child(2) { animation-delay: -1.3s; }
.house-frame__smoke i:nth-child(3) { animation-delay: -2.6s; }
.house-frame__smoke i:nth-child(4) { animation-delay: -3.9s; }
@keyframes puff-css { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 12% { opacity: .75; } 100% { transform: translate(34px, -110px) scale(3.4); opacity: 0; } }

.lucky { position: absolute; left: -16%; bottom: 7%; width: 168px; height: 168px; padding: 0; border: 0; border-radius: 50%; background: rgba(13, 46, 37, .82); color: var(--paper); cursor: pointer; z-index: 3; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.lucky__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 32s linear infinite; }
.lucky__ring text { font: 800 16px var(--f-display); text-transform: uppercase; fill: var(--sun-2); }
.lucky__button { position: absolute; inset: 50% auto auto 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff2c4 0%, var(--sun-2) 18%, var(--sun) 48%, #8a6a26 100%);
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .12), inset 0 -6px 12px rgba(0, 0, 0, .25), 0 6px 14px rgba(0, 0, 0, .5);
  transition: transform .6s var(--ease); }
.lucky__button::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; border: 2px solid rgba(120, 86, 25, .55); }
.lucky__button i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #3b2a12; box-shadow: inset 0 2px 2px rgba(0, 0, 0, .6); }
.lucky__button i:nth-child(1) { left: 26px; top: 26px; }
.lucky__button i:nth-child(2) { right: 26px; top: 26px; }
.lucky__button i:nth-child(3) { left: 26px; bottom: 26px; }
.lucky__button i:nth-child(4) { right: 26px; bottom: 26px; }
.lucky:hover .lucky__button { transform: rotate(40deg) scale(1.06); }
.lucky.is-lucky .lucky__button { animation: lucky-spin 1.2s var(--ease); }
@keyframes lucky-spin { 0% { transform: rotate(0) scale(1); } 40% { transform: rotate(400deg) scale(1.25); } 100% { transform: rotate(720deg) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
.lucky__note { position: absolute; left: -16%; bottom: calc(7% - 3.1rem); padding: .3rem .8rem .35rem; border-radius: 999px; background: var(--paper); box-shadow: 0 6px 16px -8px rgba(16, 39, 31, .4); white-space: nowrap; font: italic 400 1rem/1.2 var(--f-serif); color: var(--leaf); }
.spark { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--sun-2); pointer-events: none; animation: spark .9s var(--ease) forwards; }
@keyframes spark { to { transform: translate(var(--x), var(--y)) scale(.2); opacity: 0; } }

/* Panorama skaluje się razem z szerokością (proporcje viewBox 1440:220), więc nigdy nie traci góry.
   Na wąskich ekranach trzyma minimalną wysokość i przycina tylko boki. */
.roofline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; aspect-ratio: 1440 / 220; min-height: 110px; }
.roofline__town { fill: var(--pine); }
.roofline__windows rect { fill: #2c5a4b; }
.roofline__windows rect.on { fill: var(--sun-2); filter: drop-shadow(0 0 6px rgba(243, 181, 40, .9)); animation: window-flicker 7s infinite; }
.roofline__windows rect.on:nth-child(3n) { animation-delay: -2.5s; }
@keyframes window-flicker { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 48% { opacity: .55; } 50% { opacity: 1; } 80% { opacity: .85; } }
.puffs circle { fill: rgba(16, 39, 31, .16); transform-box: fill-box; transform-origin: center; opacity: 0; animation: puff 6.6s linear infinite; }
.puffs circle:nth-child(2) { animation-delay: -2.2s; }
.puffs circle:nth-child(3) { animation-delay: -4.4s; }
.puffs--b circle { animation-duration: 7.4s; }
.puffs--c circle { animation-duration: 5.8s; }
@keyframes puff { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 14% { opacity: .9; } 100% { transform: translate(40px, -120px) scale(3.6); opacity: 0; } }

/* wejście hero */
.js .hero .line__in { transform: translateY(108%); transition: transform 1.1s var(--ease); }
.js .hero .line:nth-child(2) .line__in { transition-delay: .1s; }
.js .hero .line:nth-child(3) .line__in { transition-delay: .22s; }
.js [data-hero] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-hero="2"] { transition-delay: .35s; }
.js [data-hero="3"] { transition-delay: .5s; }
.js [data-hero="4"] { transition-delay: .65s; }
.js .house-frame { clip-path: polygon(0 100%, 50% 100%, 68% 100%, 68% 100%, 80% 100%, 80% 100%, 100% 100%, 100% 100%, 0 100%); transition: clip-path 1.5s var(--ease) .3s; }
.js .house-frame img { transform: scale(1.18); transition: transform 2.2s var(--ease) .3s; }
.js .lucky { transform: scale(.4) rotate(-120deg); opacity: 0; transition: transform 1.2s var(--ease) 1.1s, opacity .6s 1.1s; }
.js .lucky__note { opacity: 0; transition: opacity .8s 1.8s; }
.is-ready .hero .line__in { transform: none; }
.is-ready [data-hero] { opacity: 1; transform: none; }
.is-ready .house-frame { clip-path: polygon(0 34%, 50% 12%, 68% 19.9%, 68% 2%, 80% 2%, 80% 25.2%, 100% 34%, 100% 100%, 0 100%); }
.is-ready .house-frame img { transform: none; }
.is-ready .lucky { transform: none; opacity: 1; }
.is-ready .lucky__note { opacity: 1; }

/* ---------- Wstęga ---------- */
.ribbon { position: relative; z-index: 4; margin: -1.1rem -3% 0; width: 106%; background: var(--sun); color: var(--ink); transform: rotate(-1.4deg); overflow: hidden; box-shadow: 0 10px 30px rgba(13, 46, 37, .25); }
.ribbon__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; padding: 1rem 0 .9rem; animation: marquee 48s linear infinite; }
.ribbon__track span { font: 800 1.55rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.ribbon__track svg { width: 30px; height: 30px; flex: none; color: var(--pine); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--rd, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Dlaczego ---------- */
.why { padding-top: clamp(6rem, 11vw, 10rem); }
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.why__head { position: sticky; top: 110px; }
.why .h2 { font-size: clamp(2.3rem, 4.1vw, 3.7rem); }
.why__aside { margin-top: 1.6rem; max-width: 42ch; font: italic 400 1.25rem/1.45 var(--f-serif); color: var(--ink-2); }
.why__item { display: grid; grid-template-columns: clamp(80px, 11vw, 140px) 1fr; gap: 1.2rem; padding: 2.4rem 0 2.6rem; border-top: 2px solid var(--ink); }
.why__item:last-child { border-bottom: 2px solid var(--ink); }
.why__num { font: 900 clamp(4rem, 7.5vw, 6.4rem)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.6px var(--leaf); }
.why__item h3 { font: 800 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--f-display); text-transform: uppercase; margin-bottom: .8rem; }
.why__item p { color: var(--ink-2); max-width: 54ch; }
.why__tip { display: flex; gap: .6rem; margin-top: 1rem; padding: .8rem 1rem; background: var(--paper-2); border-left: 3px solid var(--leaf); font-size: .93rem; }
.why__tip svg { flex: none; width: 20px; height: 20px; color: var(--leaf); margin-top: .1rem; }

.why__photo { margin-top: 2.2rem; max-width: 300px; }
.why__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; border-radius: 999px 999px 14px 14px; box-shadow: 0 30px 50px -30px rgba(16, 39, 31, .55); }
.why__photo figcaption { margin-top: .8rem; font: italic 400 1rem/1.35 var(--f-serif); color: var(--ink-2); }

/* ---------- Usługi (księga) ---------- */
.services { background:
  radial-gradient(40% 30% at 100% 0%, rgba(31, 122, 87, .16), transparent 70%), var(--pine); }
.ledger { border-bottom: 1px solid var(--line-dark); }
.ledger__row { position: relative; display: grid; grid-template-columns: 52px 50px minmax(0, 1.05fr) minmax(0, 1.35fr) 170px 52px; align-items: center; gap: 1.4rem; padding: 1.55rem .8rem; border-top: 1px solid var(--line-dark); cursor: pointer; transition: background .4s; }
.ledger__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.ledger__row:hover { background: linear-gradient(90deg, rgba(243, 181, 40, .09), rgba(243, 181, 40, 0) 70%); }
.ledger__row:hover::after { transform: scaleX(1); }
.ledger__no { font: 700 1rem/1 var(--f-display); letter-spacing: .12em; color: var(--sun); }
.ledger__icon { width: 44px; height: 44px; color: rgba(245, 241, 230, .55); transition: color .3s, transform .5s var(--ease); }
.ledger__row:hover .ledger__icon { color: var(--sun-2); transform: rotate(-8deg) scale(1.1); }
.ledger__name { font: 800 clamp(1.35rem, 2vw, 1.8rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; transition: color .3s, transform .5s var(--ease); }
.ledger__row:hover .ledger__name { color: var(--sun-2); transform: translateX(6px); }
.ledger__desc { font-size: .93rem; color: rgba(245, 241, 230, .66); }
.ledger__out { justify-self: start; padding: .45rem .7rem .4rem; border: 1px solid rgba(243, 181, 40, .45); font: 700 .88rem/1.1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--sun-2); }
.ledger__go { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--line-dark); border-radius: 50%; transition: background .35s, border-color .35s, color .35s, transform .5s var(--ease); }
.ledger__go svg { width: 20px; height: 20px; }
.ledger__row:hover .ledger__go { background: var(--sun); border-color: var(--sun); color: var(--ink); transform: rotate(-45deg); }
.ledger-cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 150px; height: 150px; margin: -75px 0 0 -75px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); color: var(--pine); pointer-events: none; opacity: 0; transform: scale(.3); transition: opacity .3s, transform .45s var(--ease); }
.ledger-cursor svg { width: 70px; height: 70px; }
.ledger-cursor.is-on { opacity: 1; transform: scale(1); }
@media (hover: none), (pointer: coarse) { .ledger-cursor { display: none; } }

/* ---------- Przekrój komina ---------- */
.xsec { padding: 0; }
.xsec__track { position: relative; }
.xsec__sticky { padding: clamp(5rem, 10vw, 8rem) 0; }
.scene-on .xsec__track { height: 340vh; }
.scene-on .xsec__sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; display: flex; align-items: center; padding: 70px 0 20px; }
.xsec__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.xsec__art { position: relative; }
.chimney { width: 100%; max-height: min(78vh, 660px); margin-inline: auto; overflow: visible; }
.chimney__roof { fill: var(--ink); }
.flue { fill: #d4d6c4; stroke: var(--ink); stroke-width: 1.5; }
.flue--d { fill: #c4c8b2; }
.soot { fill: #10271f; }
.soot > * { transition: opacity .5s; }
.soot > .gone { opacity: 0; }
.stove-fire { animation: fire 1.6s infinite alternate; }
@keyframes fire { 50% { fill: #f5a15f; } 100% { fill: #e05a2b; } }
.pin circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2; transition: fill .4s, stroke .4s; }
.pin text { font: 800 15px var(--f-display); text-anchor: middle; fill: var(--ink); transition: fill .4s; }
.pin { transform-box: fill-box; }
.pin.is-done circle { fill: var(--ink); }
.pin.is-done text { fill: var(--paper); }
.pin.is-active circle { fill: var(--sun); stroke: var(--ink); }
.pin.is-active text { fill: var(--ink); }
.labels text { font: 800 18px var(--f-display); fill: var(--ink); }
.ball { transition: transform .12s linear; }
.xsec__legend { margin-top: .8rem; text-align: center; font-size: .85rem; color: var(--ink-2); }
.xsec__legend b { font-family: var(--f-display); font-size: 1rem; color: var(--ink); margin-left: .8rem; }
.xsec__legend b:first-child { margin-left: 0; }
.xsec__meter { height: 3px; background: var(--paper-3); margin: 1.6rem 0 1.4rem; }
.xsec__meter span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--leaf); }
.steps { counter-reset: s; }
.step { position: relative; padding: .8rem 0 .8rem 1.4rem; border-left: 2px solid var(--paper-3); transition: border-color .4s; }
.step h3 { font: 800 clamp(1.25rem, 1.8vw, 1.6rem)/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: rgba(16, 39, 31, .38); transition: color .4s; }
.step p { color: var(--ink-2); max-width: 50ch; font-size: .98rem; }
.scene-on .step p { display: grid; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.scene-on .step.is-active p { max-height: 9rem; opacity: 1; margin-top: .45rem; }
.step.is-done h3 { color: var(--ink-2); }
.step.is-active { border-color: var(--leaf); }
.step.is-active h3 { color: var(--ink); }
.no-scene .step h3 { color: var(--ink); }
.no-scene .step p { margin-top: .4rem; }

/* ---------- Kalendarz ---------- */
.cal { border: 1px solid var(--line-dark); padding: clamp(1rem, 2.4vw, 2rem); background: rgba(245, 241, 230, .02); }
.cal__months, .cal__row { display: grid; grid-template-columns: minmax(200px, 300px) repeat(12, minmax(0, 1fr)); align-items: center; }
.cal__months span { font: 700 .82rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 241, 230, .5); text-align: center; padding-bottom: .9rem; }
.cal__row { border-top: 1px solid var(--line-dark); min-height: 74px; }
.cal__label { display: grid; gap: .15rem; padding: .8rem 1rem .8rem 0; }
.cal__label b { font: 800 1.25rem/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.cal__label span { font-size: .8rem; color: rgba(245, 241, 230, .6); }
.cal__cell { display: grid; place-items: center; height: 100%; border-left: 1px dashed rgba(245, 241, 230, .07); }
.cal__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(243, 181, 40, .16); }
.cal__row--brass .cal__dot { background: var(--sage); box-shadow: 0 0 0 4px rgba(169, 203, 160, .2); }
.js .cal__dot { transform: scale(0) rotate(-90deg); transition: transform .6s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--r) * 120ms); }
.js .cal.is-in .cal__dot { transform: none; }
.cal__src { margin-top: 1.2rem; font-size: .8rem; color: rgba(245, 241, 230, .55); max-width: 90ch; }

.due { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 2rem; align-items: center; margin-top: 2rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--pine-2); border-left: 4px solid var(--sun); }
.due__head h3 { font: 800 1.7rem/1 var(--f-display); text-transform: uppercase; margin-bottom: .5rem; }
.due__head p { font-size: .92rem; color: rgba(245, 241, 230, .66); }
.due__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.due__out { min-height: 92px; display: grid; align-content: center; }
.due__empty { font: italic 400 1.1rem var(--f-serif); color: rgba(245, 241, 230, .55); }
.due__date { font: 800 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--f-display); text-transform: uppercase; color: var(--sun-2); }
.due__rel { margin-top: .35rem; font-size: .9rem; color: rgba(245, 241, 230, .75); }
.due__rel a { color: var(--sun-2); font-weight: 800; }
.due__out.is-late .due__date { color: var(--sun); }

/* ---------- Pola ---------- */
.field { display: grid; gap: .4rem; }
.field > span, .group legend { font: 800 .72rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field > span small { font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: .78rem; }
.field em, .group legend em, .consent em { font-style: normal; color: var(--err); }
.field input, .field select, .field textarea { width: 100%; padding: .65rem 0 .55rem; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; font-size: 1.04rem; font-weight: 600; transition: border-color .3s, background .3s; }
.field textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 1.8rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2310271f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .3rem center; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background-color: rgba(31, 122, 87, .05); }
.field input::placeholder, .field textarea::placeholder { color: rgba(76, 95, 86, .55); font-weight: 500; }
.field--dark > span { color: rgba(245, 241, 230, .6); }
.field--dark input, .field--dark select { border-color: rgba(245, 241, 230, .4); color: var(--paper); color-scheme: dark; }
.field--dark select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f5f1e6' stroke-width='2'/%3E%3C/svg%3E"); }
.field--dark select option { background: var(--pine-2); }
.field--dark input:focus, .field--dark select:focus { border-color: var(--sun); background-color: rgba(243, 181, 40, .06); }

/* ---------- Dla kogo ---------- */
.tabs__list { position: relative; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; border-bottom: 2px solid var(--ink); }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { flex: none; padding: 1rem 1.1rem 1.05rem; border: 0; background: none; cursor: pointer; font: 800 1.1rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: rgba(16, 39, 31, .5); transition: color .3s; }
.tabs__list button[aria-selected="true"], .tabs__list button:hover { color: var(--ink); }
.tabs__ink { position: absolute; bottom: -2px; left: 0; height: 5px; background: var(--sun); transition: transform .5s var(--ease), width .5s var(--ease); }
.tabs__panel { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-top: clamp(2rem, 4vw, 3.4rem); }
.tabs__panel:not([hidden]) { animation: panel-in .7s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } }
.tabs__txt h3 { font: 800 clamp(2rem, 3.4vw, 3rem)/1 var(--f-display); text-transform: uppercase; margin-bottom: 1.1rem; }
.tabs__txt p { color: var(--ink-2); max-width: 60ch; font-size: 1.05rem; }
.tabs__txt p + p { margin-top: .8rem; }
.tabs__services { align-self: start; display: grid; gap: .6rem; }
.tabs__services li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.1rem .85rem; border: 1.5px solid var(--ink); font: 800 1.15rem/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; background: var(--paper); transition: background .3s, color .3s, transform .4s var(--ease); }
.tabs__services li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); }
.tabs__services li:hover { background: var(--ink); color: var(--paper); transform: translateX(6px); }

/* ---------- Jak działamy ---------- */
.process { background: radial-gradient(50% 40% at 0% 100%, rgba(243, 181, 40, .1), transparent 70%), var(--pine); }
.rope { position: relative; }
.rope__line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.rope__line path { fill: none; stroke: var(--sun); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-in-out); vector-effect: non-scaling-stroke; }
.rope.is-in .rope__line path { stroke-dashoffset: 0; }
.rope__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.rope__steps li { padding-top: 30px; }
.rope__knot { transition: margin .3s; }
.rope__knot { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 0 1.6rem; border-radius: 50%; background: var(--pine); border: 2px solid var(--sun); font: 800 1.35rem/1 var(--f-display); color: var(--sun-2); box-shadow: 0 0 0 8px var(--pine); }
.rope__steps h3 { font: 800 1.8rem/1 var(--f-display); text-transform: uppercase; margin-bottom: .6rem; }
.rope__steps p { color: rgba(245, 241, 230, .7); font-size: .96rem; max-width: 30ch; }

/* ---------- Przygotowanie ---------- */
.prep__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.prep__lead { margin-top: 1.4rem; max-width: 40ch; font: italic 400 1.2rem/1.45 var(--f-serif); color: var(--ink-2); }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 1.1rem; align-items: start; padding: 1.15rem 0; border-bottom: 1.5px dashed var(--line-paper); }
.checklist li:first-child { border-top: 1.5px dashed var(--line-paper); }
.checklist__box { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--ink); background: var(--paper); }
.checklist__box svg { width: 22px; height: 22px; color: var(--leaf); }
.js .checklist__box svg use { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s var(--ease) .35s; }
.js .checklist .is-in .checklist__box svg use { stroke-dashoffset: 0; }
.checklist p { font-size: 1.03rem; }
.checklist b { font-weight: 800; }

.pinned { position: relative; margin-top: 2.6rem; max-width: 360px; padding: 12px 12px 14px; background: #fffdf7; box-shadow: 0 22px 44px -22px rgba(16, 39, 31, .5); rotate: -2.5deg; }
.pinned::before { content: ""; position: absolute; top: -10px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, var(--sun) 45%, #b98300); box-shadow: 0 3px 6px rgba(0, 0, 0, .3); }
.pinned img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 70%; }
.pinned figcaption { margin-top: .6rem; text-align: center; font: italic 400 1.05rem var(--f-serif); color: var(--ink-2); }

/* ---------- Pas ze zdjęciem ---------- */
.band { position: relative; display: grid; align-items: end; min-height: clamp(400px, 64vh, 660px); overflow: hidden; background: var(--pine); color: var(--paper); }
.band__img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: 55% 30%; will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13, 46, 37, .9) 0%, rgba(13, 46, 37, .5) 42%, rgba(13, 46, 37, 0) 75%), linear-gradient(0deg, rgba(13, 46, 37, .75), transparent 45%); }
.band__in { position: relative; z-index: 2; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band__title { font: 850 clamp(2.8rem, 6.4vw, 6rem)/.95 var(--f-display); text-transform: uppercase; max-width: 13ch; margin-bottom: 2rem; }
.band__title span { display: block; }
.band__title em { display: block; margin-top: .7rem; font: italic 400 clamp(1.3rem, 2.4vw, 2rem)/1.2 var(--f-serif); text-transform: none; color: var(--sun-2); }

/* ---------- Obszar ---------- */
.area__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.area__lead { margin-top: 1.4rem; max-width: 50ch; color: rgba(245, 241, 230, .75); font-size: 1.05rem; }
.area__list { columns: 2; column-gap: 2rem; margin-top: 2.2rem; }
.area__list li { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; font: 700 1.05rem/1.2 var(--f-display); letter-spacing: .06em; text-transform: uppercase; break-inside: avoid; }
.area__list li::before { content: ""; width: 7px; height: 7px; background: var(--sun); transform: rotate(45deg); flex: none; }
.area__map { position: relative; }
.area__map svg { width: 100%; max-width: 560px; margin-inline: auto; overflow: visible; }
.map-regions use { fill: url(#engrave); stroke: rgba(245, 241, 230, .6); stroke-width: .9; transition: fill .3s, opacity .8s var(--ease), transform .8s var(--ease); transition-delay: 0s, calc(var(--d) * 90ms), calc(var(--d) * 90ms); }
.map-regions use:hover { fill: var(--sun); }
.js .area__map .map-regions use { opacity: 0; transform: translateY(10px); }
.js .area__map.is-in .map-regions use { opacity: 1; transform: none; }
.map-towns circle { fill: var(--sun-2); stroke: var(--pine); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: town 3.2s ease-in-out infinite; animation-delay: calc(var(--d) * -.27s); }
@keyframes town { 50% { transform: scale(1.5); fill: var(--sun-2); } }
.area__map figcaption { margin-top: 1rem; text-align: center; font-size: .75rem; color: rgba(245, 241, 230, .5); }
.area__map figcaption a { color: rgba(245, 241, 230, .75); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__side { position: sticky; top: 110px; }
.faq__card { margin-top: 2.2rem; padding: 1.6rem; background: var(--pine); color: var(--paper); }
.faq__card > svg { width: 44px; height: 44px; color: var(--sun); margin-bottom: 1rem; }
.faq__card p { font-size: .95rem; color: rgba(245, 241, 230, .75); margin-bottom: 1.3rem; }
.qa { border-top: 2px solid var(--ink); }
.qa:last-child { border-bottom: 2px solid var(--ink); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font: 800 clamp(1.25rem, 1.9vw, 1.55rem)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--leaf); }
.qa summary svg { flex: none; width: 28px; height: 28px; padding: 4px; border: 1.5px solid currentColor; border-radius: 50%; transition: transform .45s var(--ease), background .3s, color .3s; }
.qa[open] summary svg { transform: rotate(135deg); background: var(--leaf); border-color: var(--leaf); color: var(--paper); }
.qa__a { padding: 0 3.5rem 1.6rem 0; color: var(--ink-2); font-size: 1.02rem; max-width: 70ch; }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Zamówienie ---------- */
.order { background: radial-gradient(60% 50% at 80% 30%, rgba(31, 122, 87, .18), transparent 70%), var(--pine); }
.order__grid { display: grid; grid-template-columns: 4.3fr 7.7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.order__side { position: sticky; top: 110px; }
.order__lead { margin-top: 1.4rem; color: rgba(245, 241, 230, .75); font-size: 1.05rem; max-width: 40ch; }
.order__next { margin-top: 2rem; display: grid; gap: .8rem; }
.order__next li { display: flex; gap: .7rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line-dark); }
.order__next b { font-family: var(--f-display); font-size: 1.2rem; color: var(--sun-2); }
.order__alarm { margin-top: 2rem; padding: 1rem 1.1rem; border: 1px solid rgba(243, 181, 40, .5); font-size: .9rem; color: rgba(245, 241, 230, .82); }
.order__alarm b { color: var(--sun); display: block; }

.slip { position: relative; background: var(--paper); color: var(--ink); padding: clamp(1.6rem, 3.5vw, 2.8rem); transform: rotate(-.5deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 2px 0 var(--paper-3);
  -webkit-mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) 0 0 / 22px 100% repeat-x;
  mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) 0 0 / 22px 100% repeat-x; }
.slip::before { content: ""; position: absolute; inset: 14px 14px auto; border-top: 1.5px dashed var(--paper-3); }
.slip__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0 1rem; margin-bottom: 1.8rem; border-bottom: 4px double var(--ink); }
.slip__title { font: 900 clamp(1.7rem, 3vw, 2.4rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.slip__no { font: italic 400 1rem var(--f-serif); color: var(--ink-2); }
.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.form__row--3 { grid-template-columns: 1fr 1.4fr 1fr; }
.group { border: 0; padding: 0; margin: 0; min-width: 0; }
.group legend { padding: 0; margin-bottom: .8rem; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .55rem; }
.chip { position: relative; cursor: pointer; }
.chip input, .radio input, .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: grid; justify-items: start; gap: .5rem; height: 100%; padding: .75rem .8rem .7rem; border: 1.5px solid var(--ink); font: 800 1.02rem/1.05 var(--f-display); letter-spacing: .04em; text-transform: uppercase; transition: background .25s, color .25s, transform .3s var(--ease); }
.chip svg { width: 30px; height: 30px; color: var(--leaf); transition: color .25s; }
.chip:hover span { transform: translateY(-2px); background: var(--paper-2); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:checked + span svg { color: var(--sun-2); }
.chip input:checked + span::after { content: ""; position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23f5f1e6' stroke-width='3'/%3E%3C/svg%3E") center / 12px no-repeat; }
.chip input:focus-visible + span, .radio input:focus-visible + span, .consent input:focus-visible + span { outline: 2px solid var(--leaf); outline-offset: 2px; }
.radios { display: grid; gap: .35rem; }
.radios--inline { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio { position: relative; cursor: pointer; }
.radio span { display: flex; align-items: center; gap: .65rem; padding: .3rem 0; font-weight: 600; font-size: .98rem; }
.radio span::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); transition: background .2s, box-shadow .2s; }
.radio--box span::before { border-radius: 0; }
.radio input:checked + span::before { background: var(--leaf); box-shadow: inset 0 0 0 3px var(--paper); }
.radios--inline .radio span { padding: .55rem .9rem; border: 1.5px solid var(--ink); }
.radios--inline .radio span::before { display: none; }
.radios--inline .radio input:checked + span { background: var(--ink); color: var(--paper); }
.consent { position: relative; display: flex; gap: .7rem; font-size: .92rem; cursor: pointer; }
.consent span::before { content: ""; display: inline-block; vertical-align: -4px; width: 20px; height: 20px; margin-right: .6rem; border: 2px solid var(--ink); background: var(--paper) center / 14px no-repeat; }
.consent input:checked + span::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23f5f1e6' stroke-width='3'/%3E%3C/svg%3E"); }
.consent a { color: var(--leaf); font-weight: 700; }
.err { min-height: 0; margin-top: .35rem; font: 700 .82rem/1.3 var(--f-body); color: var(--err); }
.err:empty { display: none; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--err); background-color: rgba(184, 55, 43, .06); }
.is-invalid .chip span, .is-invalid.consent span::before, .is-invalid .radio span::before { border-color: var(--err); }
.form__errors { padding: 1rem 1.1rem; background: rgba(184, 55, 43, .08); border-left: 4px solid var(--err); font-size: .92rem; }
.form__errors ul { margin-top: .4rem; display: grid; gap: .2rem; }
.form__errors a { color: var(--err); font-weight: 700; }
.form__submit { display: grid; gap: .8rem; }
.form__status { font-size: .92rem; font-weight: 700; min-height: 1.2em; }
.form__status.is-error { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn.is-loading .btn__label::after { content: ""; display: inline-block; width: 1em; margin-left: .2em; animation: dots 1.2s steps(4) infinite; overflow: hidden; vertical-align: bottom; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

.done { position: relative; padding: 2rem 0 .5rem; }
.done:focus { outline: none; }
.done h3 { font: 900 clamp(2rem, 3.6vw, 3rem)/1.1 var(--f-display); text-transform: uppercase; max-width: 14ch; margin-bottom: 1rem; }
.done p { color: var(--ink-2); max-width: 48ch; }
.done__summary { display: grid; gap: .5rem; margin: 1.6rem 0; padding: 1rem 0; border-block: 1.5px dashed var(--line-paper); }
.done__summary div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; font-size: .95rem; }
.done__summary dt { font: 800 .72rem/1.6 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.done__summary dd { font-weight: 700; }
.done__demo { margin-bottom: 1rem; padding: .8rem 1rem; background: var(--paper-2); font-size: .88rem; }
.stamp { position: absolute; right: 0; top: 0; padding: .5rem 1.1rem .4rem; border: 5px solid var(--leaf); color: var(--leaf); font: 900 2.6rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-12deg); opacity: .88; mix-blend-mode: multiply;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='f'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='f'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
.done:not([hidden]) .stamp { animation: stamp .55s cubic-bezier(.3, 1.6, .5, 1) .15s both; }
@keyframes stamp { from { transform: rotate(-24deg) scale(2.6); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: .88; } }
.slip.is-stamped { animation: thud .35s .5s; }
@keyframes thud { 40% { transform: rotate(-.5deg) translateY(4px); } }

/* ---------- Stopka ---------- */
.footer { background: var(--pine-2); color: var(--paper); padding: clamp(4rem, 8vw, 6rem) 0 calc(2rem + env(safe-area-inset-bottom)); overflow: hidden; }
.footer .footer__giant { font: 900 clamp(4rem, 13.5vw, 13rem)/.8 var(--f-display); text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(245, 241, 230, .2); margin-bottom: clamp(2.5rem, 6vw, 4.5rem); transform: translateX(var(--fx, 0)); will-change: transform; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer h3 { font: 800 .74rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sun); margin-bottom: 1rem; }
.footer p { color: rgba(245, 241, 230, .72); font-size: .95rem; line-height: 1.9; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--sun-2); }
.brand--foot { margin-bottom: 1.2rem; }
.footer__about { max-width: 36ch; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; padding-top: 1.6rem; font-size: .8rem; }
.footer__bottom p { font-size: .8rem; line-height: 1.5; color: rgba(245, 241, 230, .5); }
.footer__bottom p:first-child { margin-right: auto; }

/* ---------- Dolny pasek (telefon) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; grid-template-columns: 1fr 1.6fr; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; background: rgba(13, 46, 37, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .45s var(--ease); }
.dock.is-on { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem .8rem .9rem; font: 800 1.05rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.dock svg { width: 18px; height: 18px; }
.dock__call { border: 1.5px solid rgba(245, 241, 230, .35); color: var(--paper); }
.dock__order { background: var(--sun); color: var(--ink); }

/* ---------- Responsywność ---------- */
@media (max-width: 1180px) {
  .nav { gap: 1.2rem; font-size: .86rem; }
  .ledger__row { grid-template-columns: 44px 44px minmax(0, 1fr) minmax(0, 1.3fr) 52px; }
  .ledger__out { display: none; }
  .topbar__hours { display: none; }
}
@media (max-width: 1060px) {
  .burger { display: block; order: 3; }
  .header__cta { order: 2; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: .4rem; padding: 6rem var(--gutter) 3rem; background: var(--pine); color: var(--paper); font: 800 2.4rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav a { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .05s; } .nav.is-open a:nth-child(3) { transition-delay: .1s; } .nav.is-open a:nth-child(4) { transition-delay: .15s; } .nav.is-open a:nth-child(5) { transition-delay: .2s; } .nav.is-open a:nth-child(6) { transition-delay: .25s; }
  .nav__phone { display: block; margin-top: 1.4rem; color: var(--sun-2); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; width: min(78%, 420px); margin-top: 1rem; }
  .lucky { left: -18%; width: 140px; height: 140px; }
  .lucky__note { left: -18%; width: 140px; }
  .section-head--split, .why__grid, .prep__grid, .area__grid, .faq__grid, .order__grid { grid-template-columns: 1fr; }
  .why__head, .faq__side, .order__side { position: static; }
  .xsec__grid { grid-template-columns: 1fr 1.1fr; gap: 2rem; }
  .due { grid-template-columns: 1fr; }
  .tabs__panel { grid-template-columns: 1fr; }
  .rope__steps { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .rope__line { display: none; }
  .rope__steps li { padding-top: 0; }
  .rope__steps .rope__knot { margin-top: 0 !important; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --topbar-h: 34px; --header-h: 66px; }
  .topbar { font-size: .74rem; }
  .topbar__phone { display: none; }
  .header__cta { display: none; }
  .brand__name { font-size: .95rem; }
  .brand__name b { font-size: 1.22rem; }
  .brand__mark { width: 40px; height: 40px; }
  .hero { padding-bottom: 130px; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts li, .hero__facts li + li { padding: .8rem 0; border-left: 0; border-bottom: 1px solid var(--line-dark); display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap; }
  .hero__visual { width: 86%; }
  .lucky { left: -8%; bottom: -6%; width: 118px; height: 118px; }
  .lucky__ring text { font-size: 16px; }
  .lucky__button { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .lucky__button i { width: 7px; height: 7px; }
  .lucky__button i:nth-child(1), .lucky__button i:nth-child(3) { left: 18px; }
  .lucky__button i:nth-child(2), .lucky__button i:nth-child(4) { right: 18px; }
  .lucky__button i:nth-child(1), .lucky__button i:nth-child(2) { top: 18px; }
  .lucky__button i:nth-child(3), .lucky__button i:nth-child(4) { bottom: 18px; }
  .lucky__button::before { inset: 8px; }
  .lucky__note { left: auto; right: -4%; bottom: -12%; width: auto; text-align: right; }
  .ribbon__track span { font-size: 1.25rem; }
  .band { min-height: 460px; }
  .band::before { background: linear-gradient(0deg, rgba(13, 46, 37, .95) 20%, rgba(13, 46, 37, .35) 70%, rgba(13, 46, 37, .1)); }
  .why__photo { max-width: 240px; }
  .pinned { max-width: 300px; }
  .why__item { grid-template-columns: 1fr; gap: .4rem; }
  .ledger__row { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: .3rem 1rem; padding: 1.3rem .2rem; }
  .ledger__icon { display: none; }
  .ledger__no { grid-row: 1 / 3; align-self: start; padding-top: .3rem; }
  .ledger__name { grid-column: 2; }
  .ledger__desc { grid-column: 2; }
  .ledger__go { grid-column: 3; grid-row: 1 / 3; width: 42px; height: 42px; }
  .xsec__grid { display: flex; flex-direction: column; align-items: stretch; gap: 1.2rem; }
  .xsec__copy { display: contents; }
  .xsec__copy > .kicker, .xsec__copy > .h2 { order: -1; }
  .xsec__copy > .kicker { align-self: flex-start; margin-bottom: 0; }
  .xsec__meter, .steps { order: 1; }
  .scene-on .xsec__track { height: auto; }
  .chimney { max-height: 56vh; }
  .cal { padding: 1rem .8rem; }
  .cal__months { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cal__months span:first-child { display: none; }
  .cal__months span { font-size: .62rem; letter-spacing: 0; }
  .cal__row { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-bottom: .9rem; }
  .cal__label { grid-column: 1 / -1; padding-right: 0; }
  .cal__cell { height: 26px; }
  .cal__dot { width: 12px; height: 12px; box-shadow: 0 0 0 3px rgba(243, 181, 40, .16); }
  .due__form { grid-template-columns: 1fr; }
  .rope__steps { grid-template-columns: 1fr; row-gap: 0; border-left: 2px solid rgba(243, 181, 40, .5); margin-left: 30px; }
  .rope__steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; padding: 0 0 2rem 0; margin-left: -31px; }
  .rope__knot { grid-row: 1 / 3; width: 58px; height: 58px; margin: 0; box-shadow: 0 0 0 6px var(--pine); }
  .area__list { columns: 2; }
  .area__list li { font-size: .92rem; }
  .qa__a { padding-right: 0; }
  .slip { transform: none; margin-inline: calc(var(--gutter) * -.5); }
  .slip__head { flex-direction: column; gap: .3rem; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .stamp { font-size: 1.8rem; right: -4px; top: -10px; }
  .done__summary div { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .dock { display: grid; }
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .ribbon__track { animation: none; }
  .puffs circle, .house-frame__smoke i { display: none; }
}

/* ---------- Polityka prywatności ---------- */
.privacy { background: var(--paper); color: var(--ink); }
.privacy__bar { background: var(--pine); color: var(--paper); padding: 1rem 0; }
.privacy__bar-in { display: flex; align-items: center; gap: 1rem; }
.privacy__doc { max-width: 820px; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.privacy__doc h1 { margin-bottom: 1.2rem; }
.privacy__intro { font: italic 400 1.3rem/1.45 var(--f-serif); color: var(--ink-2); }
.privacy__date { margin-top: .8rem; font-size: .85rem; color: var(--ink-2); }
.privacy__doc section { padding: 2rem 0; border-top: 2px solid var(--ink); margin-top: 2rem; }
.privacy__doc h2 { font: 800 1.7rem/1 var(--f-display); text-transform: uppercase; margin-bottom: 1rem; }
.privacy__doc p, .privacy__doc li { color: var(--ink-2); }
.privacy__doc p + p { margin-top: .8rem; }
.privacy__doc ul { display: grid; gap: .7rem; margin: .4rem 0 1rem; }
.privacy__doc li { padding-left: 1.2rem; position: relative; }
.privacy__doc li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; background: var(--leaf); }
.privacy__doc strong { color: var(--ink); }
.privacy__doc a:not(.btn) { color: var(--leaf); font-weight: 700; }
.privacy__controller { display: grid; gap: .3rem; margin: 1rem 0; padding: 1.1rem 1.3rem; background: var(--paper-2); border-left: 4px solid var(--leaf); }
.privacy__controller div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; }
.privacy__controller dt { font: 800 .72rem/1.9 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.privacy__controller dd { font-weight: 700; }
.privacy__back { margin-top: 2rem; }
