/* ===================================================================
   DRE-MA - arkusz stylów
   Paleta: węgiel / dąb / szampańskie złoto
   =================================================================== */

:root {
  --bg:          #121212;
  --bg-2:        #181818;
  --bg-3:        #1f1e1c;
  --line:        rgba(230, 202, 101, .16);
  --line-soft:   rgba(255, 255, 255, .07);

  --oak:         #C89D66;
  --oak-deep:    #A67C52;
  --oak-dark:    #6B4A32;

  --gold:        #E6CA65;
  --gold-deep:   #D4AF37;

  --ink:         #F3EFE7;
  --ink-2:       rgba(243, 239, 231, .72);
  --ink-3:       rgba(243, 239, 231, .48);

  --serif: "Bodoni Moda", "Didot", "Playfair Display", Georgia, serif;
  --sans:  "Inter", "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1280px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--gold-deep); color: #10100e; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ── Typografia ──────────────────────────────────────────────────── */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.08;
  margin: 0;
}

h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

em, .it { font-style: italic; }

.gold { color: var(--gold); }
.oak  { color: var(--oak); }

.eyebrow {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.15rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep));
}

.lead { color: var(--ink-2); font-size: 1.06rem; max-width: 62ch; }
.muted { color: var(--ink-3); }

/* ── Przyciski ───────────────────────────────────────────────────── */

.btn {
  --btn-bg: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.5rem;
  border: 0;
  border-radius: 2px;
  background: var(--btn-bg);
  color: #14120c;
  font: 600 .78rem/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(230,202,101,.5), 0 12px 40px -8px rgba(230,202,101,.55),
              0 0 60px -10px rgba(212,175,55,.45);
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover {
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold-deep), 0 10px 34px -14px rgba(230,202,101,.5);
}

/* ── Nagłówek ────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .45s, border-color .45s, backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(16, 16, 16, .86);
  backdrop-filter: blur(9px);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  width: 100%; max-width: 1640px; margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 2.75rem);
  display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2rem);
}

.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: .16em;
  color: var(--ink);
}
.logo__sub {
  font-size: .5rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: .34rem;
}

.menu { display: flex; gap: clamp(.55rem, 1.3vw, 1.4rem); margin-left: auto; }
.cta-short { display: none; }
@media (max-width: 1480px) { .cta-long { display: none; } .cta-short { display: inline; } }
.menu > a {
  font-size: .76rem; letter-spacing: .06em; text-decoration: none;
  color: var(--ink-2); padding: .4rem 0; position: relative; white-space: nowrap;
  transition: color .3s;
}
.menu > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s cubic-bezier(.2,.8,.2,1);
}
.menu > a:hover { color: var(--ink); }
.menu > a:hover::after { width: 100%; }

.socials { display: flex; gap: .3rem; }
.socials a {
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; color: var(--ink-3);
  transition: color .3s, background .3s, transform .3s;
}
.socials a:hover { color: var(--gold); background: rgba(230,202,101,.1); transform: translateY(-2px); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }

.nav__cta { flex: none; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; color: var(--ink);
}
.burger span { display: block; width: 20px; height: 1px; background: currentColor; margin: 5px auto; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1560px) {
  .menu > a { font-size: .72rem; }
  .socials a { width: 28px; height: 28px; }
  .nav__cta .btn { padding: .74rem 1rem; font-size: .7rem; letter-spacing: .06em; }
}
@media (max-width: 1400px) {
  .menu { gap: .55rem; }
  .menu > a { font-size: .66rem; }
  .socials { gap: .1rem; }
  .socials a { width: 25px; height: 25px; }
  .socials svg { width: 13px; height: 13px; }
  .logo__name { font-size: 1.14rem; }
  .nav__cta .btn { padding: .66rem .8rem; font-size: .63rem; }
}
@media (max-width: 1150px) {
  .nav__cta { display: none; }
}
@media (max-width: 900px) {
  .burger { display: block; margin-left: auto; }
  .menu {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(14,14,14,.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-soft);
    padding: .5rem var(--pad) 1.5rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .35s;
  }
  .menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .menu > a { padding: .85rem 0; border-bottom: 1px solid var(--line-soft); font-size: .85rem; }
  .nav > .nav__inner > .socials, .nav__cta { display: none; }
  .menu__extra { display: flex; }
}

/* Social media i CTA wewnątrz menu mobilnego */
.menu__extra { display: none; flex-direction: column; gap: 1rem; padding-top: 1.25rem; }
.menu__extra .socials { justify-content: flex-start; }
.menu__extra .btn { width: 100%; justify-content: center; }

/* ── Rozdziały scroll-scrub ──────────────────────────────────────── */

.chapter { position: relative; }
.chapter__sticky {
  position: static; height: auto; overflow: visible;
  display: flex; flex-direction: column;
  gap: clamp(1.4rem, 3.5vw, 2.5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.chapter__photo {
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw);
  height: clamp(260px, 48vh, 560px);
  border-radius: 0;
  box-shadow: 0 40px 90px -60px #000;
}
/* Delikatne wygaszenie krawedzi pasma, zeby fotografia siadala w ciemnym tle */
.chapter__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,.75) 0%, transparent 26%, transparent 70%, rgba(10,10,10,.8) 100%);
}
.chapter__veil, .chapter__progress, .scroll-cue { display: none; }
.chapter__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform-origin: 50% 50%;
  will-change: transform;
}
.chapter canvas,
.chapter video {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw);
  height: clamp(260px, 48vh, 560px);
  object-fit: cover; display: block; border-radius: 0;
  /* własna warstwa kompozycji - skalowanie robi karta graficzna */
  transform: translateZ(0);
  backface-visibility: hidden;
}
.chapter__sticky { contain: paint; }
.chapter__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 20%, rgba(10,10,10,.55) 78%, rgba(10,10,10,.92) 100%),
    linear-gradient(180deg, rgba(10,10,10,.75) 0%, transparent 28%, transparent 62%, rgba(10,10,10,.9) 100%);
  pointer-events: none;
}
.chapter__copy {
  position: relative;
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--pad);
  text-align: center;
}
.chapter__copy h1, .chapter__copy h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  text-wrap: balance;
}
.chapter__copy p { margin: 1.15rem auto 0; max-width: 54ch; color: var(--ink-2); }

.chapter__progress {
  position: absolute; left: 50%; bottom: 3rem; transform: translateX(-50%);
  width: min(220px, 40vw); height: 1px; background: rgba(255,255,255,.14);
}
.chapter__progress i { display: block; height: 100%; width: 0; background: var(--gold); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3);
}
.scroll-cue::after {
  content: ""; display: block; width: 1px; height: 34px; margin: .6rem auto 0;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: .2; transform: scaleY(.4); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* Zaslona nad fotografia - czytelnosc tekstu na jasnych kadrach */
.chapter__photo + .chapter__veil {
  background:
    radial-gradient(120% 80% at 50% 50%, rgba(10,10,10,.28) 0%, rgba(10,10,10,.62) 62%, rgba(10,10,10,.9) 100%),
    linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.3) 26%, rgba(10,10,10,.35) 60%, rgba(10,10,10,.88) 100%);
}

/* ── Sekcje ──────────────────────────────────────────────────────── */

section { position: relative; }
.band { padding: clamp(4.5rem, 11vw, 9rem) 0; }
.band--alt { background: var(--bg-2); }
.band--deep { background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); }

.head { max-width: 720px; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.head p { margin-top: 1.1rem; }

.rule { height: 1px; background: linear-gradient(90deg, var(--line), transparent); border: 0; margin: 0; }

/* Pasek faktów */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line-soft);
}
.facts__item { padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1rem, 2.4vw, 2rem); border-left: 1px solid var(--line-soft); }
.facts__item:first-child { border-left: 0; }
.facts__n {
  font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem);
  color: var(--gold); line-height: 1; display: block;
}
.facts__l { margin-top: .7rem; font-size: .82rem; color: var(--ink-2); }
@media (max-width: 720px) {
  .chapter__photo, .chapter canvas, .chapter video { height: clamp(210px, 34vh, 330px); }
}
@media (max-width: 780px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts__item:nth-child(3) { border-left: 0; }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* ── Selektor parkietów ──────────────────────────────────────────── */

.selector { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 980px) { .selector { grid-template-columns: 1fr; } }

.stage {
  position: relative; border-radius: 3px; overflow: hidden;
  background: #0d0d0d; box-shadow: inset 0 0 0 1px var(--line-soft), 0 40px 80px -50px #000;
  aspect-ratio: 4 / 3;
}
.stage canvas, .stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage img { transition: opacity .18s ease; }
.stage img.is-swapping { opacity: 0; }

/* Wykończenie powierzchni - nakładka nad fotografią wzoru */
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  transition: opacity .4s, background .4s;
}
#floorStage[data-finish="olejowosk"]::after {
  background: linear-gradient(160deg, rgba(120,72,24,.16), rgba(60,34,10,.1));
}
#floorStage[data-finish="mat"]::after {
  background: linear-gradient(160deg, rgba(22,20,17,.2), rgba(22,20,17,.12));
}
#floorStage[data-finish="satyna"]::after {
  background:
    linear-gradient(115deg, rgba(255,240,205,.28) 0%, rgba(255,240,205,.03) 38%,
                    rgba(255,240,205,.02) 62%, rgba(255,240,205,.22) 100%);
}
.stage__tag {
  position: absolute; left: .9rem; top: .9rem; max-width: calc(100% - 1.8rem);
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2); background: rgba(0,0,0,.5); padding: .4rem .65rem;
  backdrop-filter: blur(6px); line-height: 1.5;
}

.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.6rem; }
.tab {
  border: 0; cursor: pointer; background: transparent;
  padding: .6rem .95rem; font: 500 .76rem/1 var(--sans); letter-spacing: .05em;
  color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-soft);
  border-radius: 2px; transition: .3s; position: relative; overflow: hidden;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: #14120c; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); box-shadow: none; }

.opt-group { margin-top: 1.9rem; }
.opt-group__t {
  font-size: .66rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .85rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  border: 0; cursor: pointer; background: transparent; border-radius: 2px;
  padding: .55rem .85rem; font: 500 .74rem/1 var(--sans);
  color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-soft); transition: .28s;
}
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.chip[aria-pressed="true"] { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-deep); background: rgba(230,202,101,.09); }

.swatches { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .3rem; }
.swatch {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--gold); transform: scale(1.06); }
.swatch span {
  position: absolute; left: 50%; top: calc(100% + .45rem); transform: translateX(-50%);
  z-index: 2;
  font-size: .6rem; white-space: nowrap; color: var(--ink-2);
  opacity: 0; transition: .25s; pointer-events: none;
}
.swatch:hover span, .swatch[aria-pressed="true"] span { opacity: 1; }

.spec {
  margin-top: 2.1rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.1rem;
}
.spec dt { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.spec dd { margin: .4rem 0 0; font-size: .92rem; color: var(--ink); }

/* ── Oś czasu montażu ────────────────────────────────────────────── */

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 1rem; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } }

.step {
  position: relative; padding: 2.4rem 1.4rem 1.6rem; cursor: pointer;
  border-top: 1px solid var(--line-soft); background: transparent;
  text-align: left; color: inherit; font: inherit;
  transition: background .4s;
}
.step:hover, .step.is-active { background: rgba(230,202,101,.045); }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .6s cubic-bezier(.2,.8,.2,1);
}
.step.is-active::before { width: 100%; }
.step__n {
  display: block;
  font-family: var(--serif); font-size: 2.1rem; color: var(--ink-3);
  line-height: 1; transition: color .4s;
}
.step.is-active .step__n { color: var(--gold); }
.step__t { display: block; margin: .75rem 0 .5rem; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.step__d { display: block; font-size: .8rem; color: var(--ink-3); }

/* ── Kalkulator ──────────────────────────────────────────────────── */

.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 980px) { .calc { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.7rem; }
.field > label, .field__t {
  display: block; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .8rem;
}
.field select, .field input[type="text"], .field input[type="tel"],
.field input[type="email"], .field input[type="number"],
.field input[type="password"], .field textarea {
  width: 100%; padding: .8rem .9rem; border-radius: 2px;
  background: rgba(255,255,255,.03); color: var(--ink);
  border: 1px solid var(--line-soft); font: 400 .92rem/1.4 var(--sans);
  transition: border-color .3s, background .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field select option { background: #1a1a1a; color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field :is(select, input, textarea):focus {
  outline: none; border-color: var(--gold-deep); background: rgba(230,202,101,.05);
}
.field small { display: block; margin-top: .5rem; color: var(--ink-3); font-size: .72rem; }
.field .err { color: #ff8080; font-size: .74rem; margin-top: .45rem; min-height: 1em; display: block; }

.slider-row { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .7rem; }
.slider-val { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.slider-unit { font-size: .8rem; color: var(--ink-3); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 20%), rgba(255,255,255,.13) var(--fill, 20%));
  outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 3px solid #121212; cursor: grab;
  box-shadow: 0 0 0 1px var(--gold-deep), 0 0 18px rgba(230,202,101,.6);
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; background: var(--gold);
  border: 3px solid #121212; box-shadow: 0 0 0 1px var(--gold-deep);
}

.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.toggle button {
  padding: .95rem .8rem; border: 0; cursor: pointer; background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-soft); border-radius: 2px;
  color: var(--ink-2); font: 500 .8rem/1.3 var(--sans); transition: .3s;
}
.toggle button[aria-pressed="true"] { color: var(--gold); background: rgba(230,202,101,.09); box-shadow: inset 0 0 0 1px var(--gold-deep); }

.summary {
  position: sticky; top: calc(var(--nav-h) + 1.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: linear-gradient(160deg, rgba(230,202,101,.07), rgba(255,255,255,.015));
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 3px;
}
.summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0; font-size: .87rem; border-bottom: 1px solid var(--line-soft); }
.summary__row span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__row--sub { font-size: .78rem; color: var(--ink-3); border-bottom: 0; padding: .25rem 0 .25rem 1rem; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.summary__total b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--gold); font-variant-numeric: tabular-nums; }
.summary__save {
  margin-top: 1rem; padding: .8rem .9rem; border-radius: 2px;
  background: rgba(125, 224, 255, .07); box-shadow: inset 0 0 0 1px rgba(125,224,255,.22);
  font-size: .78rem; color: #a9e5f7;
}

/* ── Podgląd 3D ──────────────────────────────────────────────────── */

.three-wrap {
  position: relative; aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden;
  background:
    radial-gradient(60% 45% at 50% 82%, rgba(0, 0, 0, .55), transparent 70%),
    radial-gradient(90% 70% at 50% 12%, #2b2723, #141210 62%, #0b0b0a 100%);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  cursor: grab; touch-action: none;
}
.three-wrap:active { cursor: grabbing; }
.three-wrap--wide { aspect-ratio: 16 / 7; max-height: 620px; }
.three-intro { max-width: 780px; margin: 0 auto 2.4rem; text-align: center; }
@media (max-width: 720px) {
  .three-wrap--wide { aspect-ratio: 4 / 5; max-height: none; }
  .three-intro { text-align: left; margin-bottom: 1.8rem; }
}
.three-wrap canvas { width: 100%; height: 100%; display: block; }
.three-hint {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
  pointer-events: none; transition: opacity .5s;
}
/* Opisy warstw przy modelu 3D */
.lay {
  position: absolute; top: 0; left: 0; pointer-events: auto; cursor: default;
  max-width: 42vw; padding: .35rem .6rem; border-radius: 2px;
  background: rgba(12, 12, 12, .78); backdrop-filter: blur(3px);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: opacity .35s;
}
.lay b {
  display: block; font-size: .74rem; font-weight: 500; color: var(--ink);
  line-height: 1.25; white-space: nowrap;
}
.lay span { display: block; font-size: .64rem; color: var(--ink-3); line-height: 1.35; }
.lay.is-dim { opacity: .35 !important; }
.lay::before {
  content: ""; position: absolute; top: 50%; height: 1px;
  width: var(--linia, 10px); left: calc(-1 * var(--linia, 10px));
  background: linear-gradient(to right, rgba(230,202,101,.15), var(--gold-deep));
}
.lay::after {
  content: ""; position: absolute; top: 50%; left: calc(-1 * var(--linia, 10px) - 3px);
  width: 5px; height: 5px; margin-top: -2px; border-radius: 50%;
  background: var(--gold-deep);
}

.three-toggle {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 3;
  padding: .5rem .85rem; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(230, 202, 101, .92); color: #14120c;
  font: 600 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s, transform .3s;
}
.three-toggle:hover { background: var(--gold); transform: translateY(-1px); }

@media (max-width: 720px) {
  .lay { max-width: 42%; padding: .28rem .45rem; }
  .lay b { font-size: .62rem; white-space: normal; }
  .lay span { display: none; }
  .three-toggle { font-size: .56rem; padding: .42rem .6rem; }
}

.legend--row {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: .7rem 2rem; margin-top: 2rem;
}

.legend { display: grid; gap: .55rem; margin-top: 1.5rem; }
.legend div { display: flex; align-items: center; gap: .7rem; font-size: .82rem; color: var(--ink-2); }
.legend i { width: 22px; height: 6px; border-radius: 1px; flex: none; }

.hint {
  margin: .55rem 0 0; font-size: .74rem; line-height: 1.55; color: var(--ink-3);
}
.hint b { color: var(--oak); font-weight: 500; }

/* ── Formularz ───────────────────────────────────────────────────── */

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }

.cal { box-shadow: inset 0 0 0 1px var(--line-soft); border-radius: 3px; padding: 1.1rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.cal__month { font-family: var(--serif); font-size: 1.15rem; }
.cal__nav { background: none; border: 0; color: var(--ink-2); cursor: pointer; padding: .3rem .55rem; border-radius: 2px; font-size: 1rem; transition: .25s; }
.cal__nav:hover:not(:disabled) { color: var(--gold); background: rgba(230,202,101,.1); }
.cal__nav:disabled { opacity: .25; cursor: not-allowed; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__dow { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: center; padding-bottom: .4rem; }
.cal__day {
  aspect-ratio: 1; border: 0; background: transparent; color: var(--ink-2);
  font: 400 .82rem/1 var(--sans); border-radius: 2px; cursor: pointer; transition: .2s;
}
.cal__day:hover:not(:disabled) { background: rgba(230,202,101,.12); color: var(--ink); }
.cal__day:disabled { color: rgba(243,239,231,.18); cursor: not-allowed; }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--line); }
.cal__day.is-sel { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #14120c; font-weight: 600; }
.slots { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }

.captcha {
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  padding: .95rem 1rem; border-radius: 2px;
  background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--line-soft);
}
.captcha__q { font-size: .88rem; color: var(--ink); flex: 1 1 180px; }
.captcha__q b { font-family: var(--serif); font-size: 1.15rem; color: var(--gold); letter-spacing: .06em; }
.captcha input { width: 88px; text-align: center; }
.captcha__reload { background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: .72rem; text-decoration: underline; padding: .3rem; }
.captcha__reload:hover { color: var(--gold); }

.notice { padding: 1rem 1.1rem; border-radius: 2px; font-size: .88rem; margin-top: 1.2rem; display: none; }
.notice.is-ok  { display: block; background: rgba(230,202,101,.09); box-shadow: inset 0 0 0 1px var(--gold-deep); color: var(--gold); }
.notice.is-err { display: block; background: rgba(255,90,90,.08); box-shadow: inset 0 0 0 1px rgba(255,120,120,.4); color: #ff9b9b; }

/* ── Galeria ─────────────────────────────────────────────────────── */

.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.card {
  position: relative; border-radius: 3px; overflow: hidden; cursor: pointer;
  background: #141414; box-shadow: inset 0 0 0 1px var(--line-soft);
  aspect-ratio: 4 / 3; border: 0; padding: 0; text-align: left; color: inherit;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 26px 50px -30px #000; }
.card canvas, .card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__tag {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  display: inline-block; padding: .3rem .6rem; border-radius: 2px;
  font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(212, 175, 55, .92); color: #14120c;
}
.card__tag--wiz { background: rgba(20, 20, 20, .82); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-soft); }

.card__body {
  position: absolute; inset: auto 0 0 0; padding: 1.1rem;
  background: linear-gradient(transparent, rgba(8,8,8,.92) 55%);
}
.card__body { display: block; }
.card__t { display: block; font-family: var(--serif); font-size: 1.1rem; line-height: 1.25; }
.card__m { display: block; font-size: .72rem; color: var(--ink-3); margin-top: .35rem; }
.card.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(6,6,6,.94); backdrop-filter: blur(10px);
  padding: clamp(1rem, 4vw, 3rem); overflow: auto;
}
.lightbox.is-open { display: grid; place-items: center; }
.lightbox__inner {
  width: min(1000px, 100%); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.75rem; background: #131313; box-shadow: inset 0 0 0 1px var(--line-soft); border-radius: 3px; overflow: hidden;
}
@media (max-width: 820px) { .lightbox__inner { grid-template-columns: 1fr; } }
.lightbox__media { position: relative; aspect-ratio: 4/3; background: #0d0d0d; }
.lightbox__media canvas, .lightbox__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lightbox__meta { padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.25rem) 0; }
@media (max-width: 820px) { .lightbox__meta { padding: 1.5rem; } }
.lightbox__close {
  position: fixed; top: 1.25rem; right: 1.5rem; z-index: 2;
  background: none; border: 0; color: var(--ink-2); font-size: 1.8rem; cursor: pointer; line-height: 1;
}
.lightbox__close:hover { color: var(--gold); }

/* ── Opinie ──────────────────────────────────────────────────────── */

.reviews { position: relative; overflow: hidden; }
.reviews__track { display: flex; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.review { flex: 0 0 100%; padding: 0 .5rem; }
.review__inner {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(155deg, rgba(230,202,101,.06), rgba(255,255,255,.012));
  box-shadow: inset 0 0 0 1px var(--line-soft); border-radius: 3px;
}
.stars { color: var(--gold); letter-spacing: .28em; font-size: 1rem; }
.review__body { font-family: var(--serif); font-size: clamp(1.15rem, 2.1vw, 1.6rem); line-height: 1.5; margin: 1.2rem 0 1.6rem; }
.review__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; font-size: .82rem; color: var(--ink-3); }
.review__who b { color: var(--ink); font-weight: 600; }
.badge {
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); padding: .3rem .55rem; border-radius: 2px;
  box-shadow: inset 0 0 0 1px var(--gold-deep); background: rgba(230,202,101,.08);
}
.reviews__ctrl { display: flex; align-items: center; gap: .5rem; margin-top: 1.5rem; }
.reviews__ctrl button {
  width: 42px; height: 42px; border: 0; cursor: pointer; border-radius: 50%;
  background: transparent; box-shadow: inset 0 0 0 1px var(--line-soft); color: var(--ink-2);
  transition: .3s; font-size: 1rem;
}
.reviews__ctrl button:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.dots { display: flex; gap: .4rem; margin-left: auto; }
.dots button { width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); cursor: pointer; transition: .3s; }
.dots button[aria-current="true"] { background: var(--gold); width: 22px; border-radius: 4px; }

/* ── Stopka ──────────────────────────────────────────────────────── */

.footer { background: #0d0d0d; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; border-top: 1px solid var(--line-soft); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1rem; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; color: var(--ink-2); font-size: .88rem; transition: color .3s; }
.footer a:hover { color: var(--gold); }
.footer__bar { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .74rem; color: var(--ink-3); }

/* ── Animacje wejścia ────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.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;
}


/* ── Montażysta ──────────────────────────────────────────────────── */
.crew {
  position: relative; overflow: hidden;
  width: 100vw; margin: clamp(1.75rem, 4vw, 2.75rem) 0 0 calc(50% - 50vw);
  max-width: none; border-radius: 0;
  padding: clamp(1.6rem, 4vw, 3.2rem) 1.2rem clamp(1.2rem, 3vw, 2.2rem);
  box-shadow: inset 0 1px 0 var(--line-soft), inset 0 -1px 0 var(--line-soft);
}
/* Rozmyte tlo z tego samego zdjecia wypelnia caly pas, a sama fotografia
   zostaje w calosci, bez przycinania twarzy. */
.crew__bg {
  position: absolute; inset: -8%;
  background: var(--foto) center/cover no-repeat;
  filter: blur(38px) saturate(.55) brightness(.38);
  transform: scale(1.1);
}
.crew__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 50% 40%, transparent, rgba(8,8,8,.72));
}
.crew img {
  position: relative; display: block; margin: 0 auto;
  width: auto; max-width: min(100%, 1180px); max-height: 72vh; height: auto;
  border-radius: 3px;
  box-shadow: 0 40px 90px -46px #000, inset 0 0 0 1px var(--line-soft);
}
.crew__cap {
  position: relative; display: block;
  max-width: 820px; margin: clamp(1rem, 2.5vw, 1.6rem) auto 0;
  text-align: center;
}
.crew__name, .crew__note { margin-left: auto; margin-right: auto; }
.crew__role {
  display: block; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .35rem;
}
.crew__name { display: block; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.2; margin-bottom: .5rem; max-width: 30ch; }
.crew__note { display: block; font-size: .86rem; color: var(--ink-2); max-width: 54ch; margin: 0; }

/* ── Podłoga na ogrzewaniu podłogowym ────────────────────────────── */

.heat {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
.heat__photo { border-radius: 3px; overflow: hidden; box-shadow: 0 40px 90px -60px #000; }
.heat__photo img { display: block; width: 100%; height: clamp(220px, 34vh, 380px); object-fit: cover; }
.heat__txt h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: .5rem 0 0; }
.heat__list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .85rem; }
.heat__list li {
  position: relative; padding-left: 1.5rem; font-size: .88rem; color: var(--ink-2); line-height: 1.65;
}
.heat__list li::before {
  content: ''; position: absolute; left: 0; top: .58em;
  width: 8px; height: 2px; background: var(--gold-deep);
}
.heat__list b { color: var(--ink); font-weight: 500; }
.heat__note { margin: 1.3rem 0 0; font-size: .78rem; color: var(--ink-3); }
@media (max-width: 900px) { .heat { grid-template-columns: minmax(0, 1fr); } }

/* ── Galeria zdjęć (galeria.php) ─────────────────────────────────── */

.gal-page { padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(4rem, 9vw, 7rem); }
.gal-title { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0 0 1.1rem; }
.gal-page .lead { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Kafelki albumów */
.gal-albums {
  display: grid; gap: clamp(.8rem, 1.8vw, 1.4rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.gal-album {
  position: relative; display: block; border-radius: 3px; overflow: hidden;
  text-decoration: none; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.gal-album img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s;
}
.gal-album:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--gold-deep), 0 26px 60px -40px #000; }
.gal-album:hover img { transform: scale(1.04); }
.gal-album__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.1rem .95rem;
  background: linear-gradient(to top, rgba(9,9,9,.94) 20%, transparent);
}
.gal-album__t { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); }
.gal-album__n { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-top: .3rem; }

/* Siatka zdjęć w albumie */
.gal-grid {
  display: grid; gap: clamp(.5rem, 1.2vw, 1rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
}
.gal-cell {
  padding: 0; border: 0; background: var(--bg-2); cursor: zoom-in;
  border-radius: 2px; overflow: hidden; display: block;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.gal-cell img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.gal-cell:hover, .gal-cell:focus-visible { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.gal-cell:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Pusta galeria - instrukcja */
.gal-empty {
  max-width: 60ch; margin-top: 1.5rem; padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 3px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-soft);
  color: var(--ink-2); font-size: .92rem;
}
.gal-empty ul { margin: 1.1rem 0 0; padding-left: 1.1rem; display: grid; gap: .7rem; }
.gal-empty code { background: #1c1b19; color: var(--oak); padding: .1rem .4rem; border-radius: 2px; font-size: .85em; }

/* Pełny ekran */
.lb[hidden] { display: none !important; }
.lb {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(8, 8, 8, .96); backdrop-filter: blur(4px);
  padding: clamp(.5rem, 3vw, 2.5rem);
}
.lb__img {
  max-width: 100%; max-height: calc(100vh - clamp(5rem, 12vw, 8rem));
  object-fit: contain; border-radius: 2px; box-shadow: 0 40px 90px -50px #000;
}
.lb__x, .lb__nav {
  position: absolute; background: rgba(255,255,255,.06); border: 0; color: var(--ink);
  cursor: pointer; border-radius: 50%; display: grid; place-items: center;
  transition: background .25s, color .25s, transform .25s;
}
.lb__x:hover, .lb__nav:hover { background: rgba(230,202,101,.18); color: var(--gold); }
.lb__x { top: clamp(.6rem, 2vw, 1.5rem); right: clamp(.6rem, 2vw, 1.5rem); width: 44px; height: 44px; font-size: 1.7rem; line-height: 1; }
.lb__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2.2rem; line-height: 1; }
.lb__nav--prev { left: clamp(.4rem, 2vw, 1.75rem); }
.lb__nav--next { right: clamp(.4rem, 2vw, 1.75rem); }
.lb__nav:hover { transform: translateY(-50%) scale(1.07); }
.lb__count {
  position: absolute; bottom: clamp(.7rem, 2.5vw, 1.6rem); left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .2em; color: var(--ink-3);
}
@media (max-width: 620px) {
  .lb__nav { width: 44px; height: 44px; font-size: 1.8rem; }
  .gal-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .gal-album, .gal-album img, .gal-cell, .lb__nav { transition: none; }
}

/* ── O firmie: trzy krótkie akapity ──────────────────────────────── */
.opowiesc {
  display: grid; gap: clamp(1.5rem, 3vw, 2.6rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: clamp(2rem, 4vw, 3.2rem);
}
.opowiesc h3 { margin-bottom: .7rem; color: var(--ink); }
.opowiesc p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* ── Oleje i lakiery ─────────────────────────────────────────────── */
.wyk {
  display: grid; gap: clamp(1.5rem, 3vw, 2.6rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: clamp(1.8rem, 4vw, 3rem);
}
.wyk__col h3 { margin-bottom: .7rem; color: var(--gold); }
.wyk__col p { margin: 0; color: var(--ink-2); font-size: .93rem; }

.wyk-tab { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line-soft); }
.wyk-tab__r {
  display: grid; gap: .3rem 1.6rem;
  grid-template-columns: minmax(150px, .8fr) minmax(180px, 1fr) minmax(200px, 1.3fr);
  padding: 1rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: .9rem; color: var(--ink-2);
}
.wyk-tab__r--head {
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); padding: .8rem 0;
}
.wyk-tab__r b { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) {
  .wyk-tab__r { grid-template-columns: 1fr; padding: .9rem 0; }
  .wyk-tab__r--head { display: none; }
  .wyk-tab__r span:not(:first-child) { color: var(--ink-3); font-size: .84rem; }
}

/* ── Ciepło domu ─────────────────────────────────────────────────── */
.dom {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
}
.dom p + p { margin-top: 1rem; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .dom { grid-template-columns: 1fr; } }

/* Podgląd wnętrza czeka na zdjęcie, zamiast mrugać rysunkiem zastępczym */
#skirtCanvas { transition: opacity .25s; }
#skirtCanvas.is-loading { opacity: .82; }
