/* ===== Front Meble Poznań - wspólne style ===== */
:root {
  --bg: #F5F1E8;
  --ink: #16130F;
  --muted: #8C857A;
  --gold: #B07C3E;
  --gold-soft: #C8B79C;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244, 242, 237, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 20, 15, .07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: center; gap: 14px; color: #2C382E; }
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  line-height: 1.05; color: var(--ink);
}
.logo-text small {
  display: block; margin-top: 4px;
  font-family: var(--sans); font-weight: 400; font-size: 9.5px;
  letter-spacing: .42em; text-transform: uppercase; color: var(--muted);
}
.nav-links { display: flex; gap: 38px; list-style: none; align-items: center; }
.nav-links a { font-size: 15px; letter-spacing: .03em; transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 400;
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
  padding: 16px 30px; cursor: pointer; border: none;
  transition: transform .25s, background .25s, color .25s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--gold); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; }

/* ---------- Hero (strona główna) ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 140px 24px 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('img/hero-kitchen.webp?v=2') center/cover no-repeat;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(18, 15, 10, .55), rgba(18, 15, 10, .62));
}
.hero > * { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.12; max-width: 15ch;
}
.hero p {
  margin: 28px 0 40px; font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 300; letter-spacing: .04em; opacity: .92;
}
.hero .btn { padding: 20px 44px; }
.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .4em; text-transform: uppercase; opacity: .7;
}
.scroll-hint::after {
  content: ''; display: block; width: 1px; height: 44px;
  background: #fff; margin: 12px auto 0; opacity: .6;
  animation: drip 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drip { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

/* ---------- Page hero (podstrony) ---------- */
.page-hero {
  padding: 200px 0 90px; text-align: center;
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5.6vw, 72px); line-height: 1.15;
}
.page-hero p {
  margin: 22px auto 0; max-width: 56ch;
  font-size: 17.5px; color: var(--muted);
}
.breadcrumb {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}

/* ---------- Sekcje typu O nas ---------- */
.about { padding: 140px 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 90px; align-items: center;
}
.about-media { position: relative; }
.about-media .photo { aspect-ratio: 742/788; }
.quote-card {
  position: absolute; right: -40px; bottom: -40px;
  background: var(--gold-soft); color: #4a3a1c;
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.55;
  padding: 34px 38px; max-width: 340px;
  box-shadow: 0 24px 60px rgba(22, 20, 15, .14);
}
.eyebrow {
  font-size: 12.5px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.2vw, 58px); line-height: 1.18;
}
h3 { font-family: var(--serif); font-weight: 500; }
.about-text p { margin: 32px 0 0; font-size: 17px; color: #3d3a33; max-width: 52ch; }
.stats { display: flex; gap: 70px; margin-top: 56px; }
.stat b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 46px; line-height: 1;
}
.stat span {
  display: block; margin-top: 10px;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Oferta (strona główna) ---------- */
.offer { padding: 60px 0 140px; }
.offer h2 { text-align: center; margin-bottom: 70px; }
.offer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 36px; }
.tile {
  position: relative; overflow: hidden; min-height: 420px;
  display: flex; align-items: flex-end;
}
.tile img { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(15,12,8,0) 45%, rgba(15,12,8,.72));
}
.tile-body { position: relative; z-index: 2; padding: 34px 38px; color: #fff; }
.tile-body h3 { font-size: 30px; margin-bottom: 8px; }
.tile-body p { font-size: 15px; opacity: .85; max-width: 42ch; }
.tile-xl { grid-column: span 4; min-height: 560px; }
.tile-lg { grid-column: span 2; min-height: 560px; }
.tile-sm { grid-column: span 2; min-height: 300px; }

/* ---------- Oferta (podstrona - wiersze) ---------- */
.offer-rows { padding: 40px 0 140px; display: grid; gap: 130px; }
.offer-row {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 80px; align-items: center;
}
.offer-row:nth-child(even) .offer-row-media { order: 2; }
.offer-row-media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.offer-row-media img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.offer-row-media:hover img { transform: scale(1.04); }
.offer-row .num {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--gold); letter-spacing: .1em;
  display: block; margin-bottom: 14px;
}
.offer-row h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1.2; }
.offer-row .desc { margin: 24px 0 0; font-size: 16.5px; color: #3d3a33; max-width: 52ch; }
.offer-row ul { list-style: none; margin: 30px 0 0; display: grid; gap: 12px; }
.offer-row ul li {
  font-size: 15.5px; color: #3d3a33; padding-left: 26px; position: relative;
}
.offer-row ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 12px; height: 1.5px; background: var(--gold);
}

/* ---------- Realizacje ---------- */
.projects { padding: 40px 0 140px; }
.projects-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 36px; }
.project {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; min-height: 380px;
}
.project img { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.project:hover img { transform: scale(1.05); }
.project::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(15,12,8,0) 50%, rgba(15,12,8,.75));
}
.project-body { position: relative; z-index: 2; padding: 30px 34px; color: #fff; }
.project-body h3 { font-size: 26px; margin-bottom: 4px; }
.project-body span {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; opacity: .8;
}
.project-a { grid-column: span 4; min-height: 520px; }
.project-b { grid-column: span 2; min-height: 520px; }
.project-c { grid-column: span 2; min-height: 380px; }

/* ---------- Galeria realizacji ---------- */
.gallery { padding: 0 0 140px; }
.gallery-title { margin: 10px 0 8px; }
.gallery-lead { color: #3d3a33; margin-bottom: 44px; }
.gallery-grid { columns: 3; column-gap: 28px; }
.g-item {
  position: relative; overflow: hidden; margin: 0 0 28px;
  break-inside: avoid; cursor: zoom-in;
}
.g-item img {
  height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 20px 14px; color: #fff;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  background: linear-gradient(rgba(15,12,8,0), rgba(15,12,8,.72));
  opacity: 0; transition: opacity .4s;
}
.g-item:hover figcaption { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(15,12,8,.92);
}
.lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: 90vw; text-align: center; }
.lb-figure img {
  max-width: 90vw; max-height: 82vh; width: auto; height: auto;
  margin: 0 auto; object-fit: contain;
}
.lb-figure figcaption {
  color: #fff; opacity: .85; margin-top: 16px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; border: 0; color: #fff;
  font-size: 44px; line-height: 1; cursor: pointer; padding: 14px 20px;
  opacity: .75; transition: opacity .3s; z-index: 2;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Kontakt ---------- */
.contact { padding: 40px 0 140px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 90px; }
.contact-info h2 { margin-bottom: 30px; }
.contact-info > p { font-size: 16.5px; color: #3d3a33; max-width: 46ch; }
.contact-list { list-style: none; margin-top: 44px; display: grid; gap: 28px; }
.contact-list span {
  display: block; font-size: 11.5px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.contact-list div { font-size: 17.5px; }
.form-card {
  background: #fff; padding: 54px 56px;
  box-shadow: 0 30px 80px rgba(22, 20, 15, .08);
}
.form-card h3 { font-size: 30px; margin-bottom: 8px; }
.form-card > p { font-size: 15px; color: var(--muted); margin-bottom: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; font-weight: 300; color: var(--ink);
  background: var(--bg); border: 1px solid transparent;
  padding: 15px 18px; outline: none; width: 100%;
  transition: border-color .25s, background .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); background: #fff;
}
.form-card .btn { margin-top: 30px; width: 100%; padding: 19px; }
.form-note {
  display: none; margin-top: 22px; padding: 16px 20px;
  background: var(--gold-soft); color: #4a3a1c; font-size: 15px;
}
.form-note.show { display: block; }
.form-note-error { background: #fbe9e7; color: #7a2e22; }
.form-note-error a { color: inherit; }

/* ---------- CTA / stopka ---------- */
.cta { background: var(--ink); color: #f4f2ed; padding: 130px 0; text-align: center; }
.cta .eyebrow { color: var(--gold); }
.cta h2 { color: #fff; max-width: 20ch; margin: 0 auto; }
.cta p { margin: 26px auto 44px; max-width: 52ch; opacity: .75; font-size: 17px; }
.cta-contact { display: flex; gap: 60px; justify-content: center; margin-top: 60px; flex-wrap: wrap; }
.cta-contact div { font-size: 15px; letter-spacing: .05em; }
.cta-contact span {
  display: block; font-size: 11.5px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
footer {
  background: var(--ink); color: rgba(244,242,237,.78);
  border-top: 1px solid rgba(244,242,237,.12);
  padding: 30px 0; font-size: 13.5px; letter-spacing: .04em;
}
footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: inherit; }
.credit { width: 100%; text-align: center; font-size: 12px; opacity: .85; }
.credit .heart { color: #d96a5f; }
.credit a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 80px; }
  .quote-card { right: 16px; bottom: -30px; }
  .offer-grid, .projects-grid { grid-template-columns: 1fr 1fr; }
  .tile-xl, .tile-lg, .tile-sm,
  .project-a, .project-b, .project-c { grid-column: span 2; min-height: 380px; }
  .offer-row { grid-template-columns: 1fr; gap: 44px; }
  .offer-row:nth-child(even) .offer-row-media { order: 0; }
  .offer-rows { gap: 90px; }
  .gallery-grid { columns: 2; column-gap: 22px; }
  .g-item { margin-bottom: 22px; }
}
@media (max-width: 760px) {
  .logo-text { font-size: 20px; }
  .logo-mark { width: 36px; height: 36px; }
  header .btn-dark { display: none; }
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
    position: absolute; top: 84px; left: 0; right: 0;
    background: var(--bg); padding: 30px 32px 36px;
    border-bottom: 1px solid rgba(22,20,15,.08);
  }
  .about, .offer { padding: 90px 0; }
  .page-hero { padding: 160px 0 60px; }
  .stats { gap: 44px; }
  .tile-xl, .tile-lg, .tile-sm,
  .project-a, .project-b, .project-c { min-height: 320px; }
  .offer-grid, .projects-grid { gap: 22px; }
  .gallery-grid { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 38px 28px; }
}

/* ---------- Kalkulator wyceny ---------- */
.calc { padding: 40px 0 140px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 90px; align-items: start; }
.calc-info h2 { margin-bottom: 30px; }
.calc-info > p { font-size: 16.5px; color: #3d3a33; max-width: 46ch; }
.calc-steps { list-style: none; margin-top: 40px; display: grid; gap: 18px; }
.calc-steps li { font-size: 15.5px; color: #3d3a33; padding-left: 14px; border-left: 2px solid var(--gold); }
.calc-steps b { font-family: var(--serif); font-weight: 500; margin-right: 6px; }
.calc-note {
  margin-top: 40px; padding: 22px 26px;
  background: var(--gold-soft); color: #4a3a1c; font-size: 14.5px;
}
.calc-card .btn { display: block; text-align: center; margin-top: 26px; }
.calc-row {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid rgba(22, 20, 15, .08);
  transition: opacity .25s;
}
.calc-row.off { opacity: .4; }
.calc-check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; flex: 1; }
.calc-check input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 3px;
  accent-color: var(--gold); cursor: pointer; flex-shrink: 0;
}
.calc-label { font-size: 17px; font-weight: 400; }
.calc-label em {
  display: block; font-style: normal; font-size: 12.5px;
  letter-spacing: .08em; color: var(--muted); margin-top: 3px;
}
.calc-meters { display: flex; align-items: center; gap: 8px; }
.calc-meters input {
  width: 84px; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid transparent;
  padding: 12px 10px; text-align: center; outline: none;
  transition: border-color .25s, background .25s;
}
.calc-meters input:focus { border-color: var(--gold); background: #fff; }
.calc-meters span { font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.calc-sum {
  font-family: var(--serif); font-size: 21px;
  min-width: 110px; text-align: right;
}
.calc-total {
  margin-top: 34px; background: var(--bg); padding: 32px 30px; text-align: center;
}
.calc-total span {
  display: block; font-size: 11.5px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--muted);
}
.calc-total b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3vw, 38px); margin: 12px 0 10px;
}
.calc-total small { display: block; font-size: 13px; color: var(--muted); }

@media (max-width: 980px) {
  .calc-grid { grid-template-columns: 1fr; gap: 70px; }
}
@media (max-width: 760px) {
  .calc-row { flex-wrap: wrap; gap: 14px; }
  .calc-sum { text-align: left; min-width: 0; }
}

/* ---------- SEO: opinie, podtytuł sekcji, strona prawna ---------- */
.section-sub {
  text-align: center; margin: -46px auto 70px;
  max-width: 60ch; color: var(--muted); font-size: 17px;
}
.eyebrow-center { text-align: center; }
.h2-center { text-align: center; margin-bottom: 70px; }
.reviews { padding: 0 0 140px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.review {
  background: #fff; padding: 44px 40px;
  box-shadow: 0 20px 60px rgba(22, 20, 15, .06);
  display: flex; flex-direction: column; justify-content: space-between;
}
.review p {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; line-height: 1.6; color: #3d3a33;
}
.review-author {
  margin-top: 28px; font-size: 12.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.review-author b {
  display: block; font-weight: 500; font-size: 15.5px;
  letter-spacing: .02em; text-transform: none; color: var(--ink); margin-bottom: 5px;
}
.legal { max-width: 820px; margin: 0 auto; padding: 40px 0 140px; }
.legal h3 { font-size: 26px; margin: 44px 0 14px; }
.legal p { font-size: 16px; color: #3d3a33; margin-bottom: 10px; }
.form-legal { margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.form-legal a { text-decoration: underline; }
footer a { transition: color .25s; }
footer a:hover, .cta-contact a:hover { color: var(--gold); }

@media (max-width: 980px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-sub { margin: -30px auto 50px; }
}

/* ---------- Kalkulator: przyciski +/- ---------- */
.calc-meters input::-webkit-outer-spin-button,
.calc-meters input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-meters input { -moz-appearance: textfield; appearance: textfield; }
.calc-btn {
  width: 38px; height: 46px; flex-shrink: 0;
  background: var(--bg); border: 1px solid transparent;
  font-family: var(--sans); font-size: 20px; font-weight: 300;
  color: var(--ink); cursor: pointer; line-height: 1;
  transition: border-color .25s, background .25s, color .25s;
}
.calc-btn:hover { border-color: var(--gold); background: #fff; color: var(--gold); }
.calc-btn:active { background: var(--gold-soft); }
.calc-row.off .calc-btn { pointer-events: none; }

/* ---------- Stopka: linki social media ---------- */
.social-links { display: flex; gap: 22px; align-items: center; justify-content: center; width: 100%; margin-bottom: 12px; }
.social-links a { display: inline-flex; opacity: .85; }
.social-links a:hover { opacity: 1; }

/* ---------- Nagłówek: ikony social media (ukryte — zostają w stopce) ---------- */
.nav-social { display: none; }

/* ---------- Formularz: załączniki ---------- */
.field input[type="file"] { padding: 12px 18px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink); color: #fff; border: none; padding: 10px 18px; margin-right: 14px;
  cursor: pointer; transition: background .25s;
}
.field input[type="file"]::file-selector-button:hover { background: var(--gold); }
.field-hint { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Hero: lokalizacja i podwójne CTA ---------- */
.hero-loc {
  display: block; margin-top: 24px;
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(15px, 1.8vw, 21px); letter-spacing: .34em; text-transform: uppercase;
  opacity: .85;
}
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
