/* ============ FURNITOM – style ============ */
:root {
  --bg: #0d0e12;
  --bg-2: #121318;
  --card: #17181e;
  --line: #262832;
  --text: #f1ede4;
  --muted: #a7a39a;
  --gold: #c9a13b;
  --gold-hi: #dcb653;
  --gold-text: #d9b45a; /* jaśniejszy złoty dla małego tekstu (kontrast) */
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --wrap: 1200px;
  --nav-h: 72px;
}

*, *::before, *::after { 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(--text);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; }
h1, h2, h3, .info strong, .product__price, .steps__n, .tile__cap strong { font-variant-numeric: lining-nums; }
p { margin: 0 0 1em; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; }
.h2 { font-size: clamp(34px, 5vw, 52px); }
.h2::after { content: ""; display: block; width: 64px; height: 1px; background: var(--gold); margin: 22px 0 26px; }
.lead { color: var(--muted); font-size: 18px; max-width: 680px; font-weight: 300; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 16px 28px; min-height: 52px; border-radius: 3px; border: 1px solid transparent;
  font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn--gold { background: var(--gold); color: #15130c; }
.btn--gold:hover { background: var(--gold-hi); }
.btn--ghost { border-color: rgba(241,237,228,.35); color: var(--text); background: rgba(13,14,18,.4); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn:active { transform: translateY(1px); }

/* ---------- nawigacja ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(13,14,18,.92); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font: 700 20px/1 var(--serif); letter-spacing: .3em; text-decoration: none; display: inline-flex; align-items: center; }
.logo__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: 10px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 8px 0; transition: color .2s; }
.nav__links a:hover { color: var(--gold-hi); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-text); border: 1px solid rgba(201,161,59,.45); padding: 10px 16px !important; border-radius: 3px; }
.nav__phone svg { width: 15px; height: 15px; }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .25s, top .25s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 26px; }
.nav.is-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(13,14,18,.88) 34%, rgba(13,14,18,.25) 68%, rgba(13,14,18,.05) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    linear-gradient(180deg, rgba(13,14,18,.85) 0%, transparent 22%),
    var(--hero-img, url("../img/hero.jpg")) 70% center / cover no-repeat, var(--bg);
}
.hero__in { position: relative; }
.hero__title { font-size: clamp(42px, 7vw, 84px); max-width: 820px; margin-bottom: 26px; letter-spacing: -.01em; }
.hero__title em { color: var(--gold); font-style: italic; font-weight: 500; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #cfcabf; max-width: 600px; font-weight: 300; margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- sekcje ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* oferta */
.offer { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; margin-top: 50px; }
.offer__card { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 260px; display: flex; align-items: flex-end; isolation: isolate; }
.offer__card--big { grid-row: span 2; min-height: 540px; }
.offer__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.offer__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,11,14,.96) 0%, rgba(10,11,14,.7) 45%, rgba(10,11,14,.15) 100%); }
.offer__card:hover img { transform: scale(1.04); }
.offer__body { padding: 30px; }
.offer__body h3 { font-size: 28px; margin-bottom: 10px; }
.offer__body p { color: #c3beb3; font-size: 15px; margin: 0; max-width: 460px; }

/* filtry */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 30px; }
.filters:empty { display: none; }
.chip { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 12px 20px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; min-height: 40px; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); color: #15130c; border-color: var(--gold); }

/* galeria realizacji */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--card); aspect-ratio: 4 / 3; color: var(--text); text-align: left; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile:hover img { transform: scale(1.05); }
.tile__cap { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(0deg, rgba(10,11,14,.92), transparent); }
.tile__cap small { display: block; font: 600 11px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
.tile__cap strong { font: 600 18px/1.25 var(--serif); }
.tile__more { position: absolute; top: 12px; right: 12px; background: rgba(13,14,18,.75); border-radius: 99px; padding: 5px 10px; font-size: 12px; }

/* kolekcja */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.product__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product:hover .product__img img { transform: scale(1.05); }
.product__tag { position: absolute; top: 12px; left: 12px; font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); background: rgba(13,14,18,.82); border: 1px solid rgba(201,161,59,.35); padding: 7px 10px; border-radius: 99px; }
.product__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product__body h3 { font-size: 20px; margin-bottom: 8px; }
.product__body p { color: var(--muted); font-size: 14px; flex: 1; }
.product__foot { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.product__price { font: 600 20px/1 var(--serif); color: var(--gold); }
.product__price small { font: 400 12px var(--sans); color: var(--muted); }
.product__ask { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--text); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.product__ask:hover { color: var(--gold-hi); }
.product__ask svg { width: 14px; height: 14px; }

/* kroki */
.steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 28px 24px; }
.steps__n { font: 500 italic 34px/1 var(--serif); color: var(--gold); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 21px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* o nas */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about__text > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.values { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.values li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.values svg { color: var(--gold); margin-top: 3px; }
.values h3 { font-size: 17px; margin-bottom: 4px; }
.values p { color: var(--muted); font-size: 14px; margin: 0; }
.about__img { margin: 0; border: 1px solid rgba(201,161,59,.35); padding: 10px; border-radius: 4px; }
.about__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* kontakt */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; margin-top: 46px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
.info { display: flex; align-items: center; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; text-decoration: none; transition: border-color .2s; }
a.info:hover { border-color: rgba(201,161,59,.6); }
.info__ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(201,161,59,.45); display: grid; place-items: center; color: var(--gold); flex: none; }
.info small { display: block; font: 600 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 3px; }
.info strong { font: 600 18px/1.3 var(--serif); word-break: break-word; }
.contact__area { color: var(--muted); font-size: 14px; margin: 6px 4px 0; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font: 600 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; color: var(--text);
  font: 400 16px/1.4 var(--sans); padding: 14px 15px; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.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% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #6f6c66; }
.field--file input { padding: 11px; font-size: 14px; color: var(--muted); }
.field--file input::file-selector-button { background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; margin-right: 12px; font: 500 13px var(--sans); cursor: pointer; }
.form__hint { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.form__hint.err { color: #f0a29a; }
.form__legal { font-size: 13px; color: var(--muted); }
.form__legal a { color: var(--gold-text); }
.form__status { margin: 16px 0 0; font-size: 15px; }
.form__status.ok { color: #9fd49a; }
.form__status.err { color: #f0a29a; }
.hp { position: absolute; left: -9999px; }

/* stopka */
.footer { padding: 80px 0 30px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer__grid p { color: var(--muted); font-size: 14px; max-width: 320px; margin-top: 16px; }
.footer__grid nav, .footer__grid > div:last-child { display: flex; flex-direction: column; gap: 10px; }
.footer__grid a, .footer__grid span { color: #cfcabf; font-size: 14px; text-decoration: none; }
.footer__grid a:hover { color: var(--gold-hi); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; font-size: 13px; color: var(--muted); }
.footer__bottom a { color: var(--muted); }

/* pasek mobilny */
.mbar { display: none; }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,9,11,.96); color: var(--text); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.7); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: min(1100px, 88vw); }
.lightbox img { max-height: 72vh; width: auto; max-width: 100%; border-radius: 6px; object-fit: contain; }
.lightbox figcaption { width: 100%; max-width: 760px; padding: 20px 4px 0; text-align: center; }
.lightbox figcaption .eyebrow { margin-bottom: 6px; }
.lightbox h3 { font-size: 26px; margin-bottom: 8px; }
.lightbox p { color: var(--muted); margin-bottom: 6px; white-space: pre-line; }
.lightbox__count { font-size: 13px; color: var(--muted); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(23,24,30,.85); border: 1px solid var(--line); color: var(--text); cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 30px; line-height: 1; display: grid; place-items: center; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover, .lightbox__close:hover { border-color: var(--gold); color: var(--gold-hi); }

/* animacje wejścia */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ============ RESPONSYWNOŚĆ ============ */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav { background: rgba(13,14,18,.92); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav__phone { margin-top: 16px; justify-content: center; border-bottom: 1px solid rgba(201,161,59,.45) !important; }

  .section { padding: 80px 0; }
  .offer { grid-template-columns: 1fr; grid-template-rows: none; }
  .offer__card--big { grid-row: auto; min-height: 380px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__img { order: -1; }
  .about__img img { aspect-ratio: 16 / 10; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .hero__bg {
    background:
      linear-gradient(0deg, var(--bg) 8%, rgba(13,14,18,.86) 55%, rgba(13,14,18,.6) 100%),
      var(--hero-img, url("../img/hero.jpg")) center / cover no-repeat, var(--bg);
  }

  /* pasek kontaktu na telefonie */
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; inset: auto 0 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13,14,18,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 4px; text-decoration: none; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
  .mbar__call { border: 1px solid rgba(201,161,59,.55); color: var(--gold-text); }
  .mbar__quote { background: var(--gold); color: #15130c; }
  body { padding-bottom: 76px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .lead { font-size: 16px; }
  .hero { min-height: 88svh; padding-bottom: 48px; }
  .hero__cta .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .lightbox__nav { top: auto; bottom: 18px; transform: none; width: 48px; height: 48px; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
  .lightbox figure { max-width: 94vw; padding-bottom: 80px; }
  .lightbox img { max-height: 58vh; }
}
