/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ===== RESET & VARIABLES ===== */
:root {
  --bg: #f4eee5;
  --bg-warm: #f7f1e8;
  --bg-light: #faf7f3;
  --card: rgba(255, 250, 243, 0.9);
  --card-dark: rgba(175, 159, 139, 0.94);
  --text: #735f4d;
  --text-dark: #6b5846;
  --muted: #93806f;
  --line: rgba(115, 95, 77, 0.16);
  --accent: #85705d;
  --white: #fffdf9;
  --shadow: 0 20px 48px rgba(83, 67, 51, 0.14);
  --shadow-sm: 0 8px 24px rgba(83, 67, 51, 0.10);
  --radius: 28px;
  --max: 1340px;
  --font: 'Open Sans', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #e8ddd0 0%, #f6f1ea 24%, #f2ece4 100%);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding-left: 22px; }

/* ===== LAYOUT ===== */
.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(205, 194, 178, 0.92), rgba(225, 218, 207, 0.9));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s, box-shadow 0.3s;
}

.header.is-compact {
  background: linear-gradient(90deg, rgba(205, 194, 178, 0.5), rgba(225, 218, 207, 0.5));
  box-shadow: var(--shadow-sm);
}

.header__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 18px;
  transition: min-height 0.3s, gap 0.3s;
}

.header.is-compact .header__inner {
  min-height: 68px;
  gap: 14px;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  justify-self: start;
}

.brand__logo {
  display: block;
  height: 58px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(83, 67, 51, 0.12));
  transition: height 0.3s;
}

.header.is-compact .brand__logo {
  height: 44px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: gap 0.3s, font-size 0.3s;
}

.nav a:hover { opacity: 0.78; }
.nav .btn { margin-left: 4px; }

.header.is-compact .nav {
  gap: 22px;
  font-size: 0.82rem;
}

/* Utility bar (contact + social) */
.util {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: max-content;
  color: var(--white);
  transition: gap 0.3s;
}

.header.is-compact .util { gap: 6px; }

.meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  justify-content: flex-end;
  transition: gap 0.3s, font-size 0.3s;
}

.header.is-compact .meta {
  gap: 14px;
  font-size: 0.78rem;
}

.util__line {
  width: 100%;
  max-width: 450px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.social {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.header.is-compact .social { gap: 12px; }

/* Icon links */
.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-link:hover { opacity: 0.78; }

/* Social links */
.soc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--white);
}

.soc-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.soc-link:hover { opacity: 0.78; }
.soc-link--muted { opacity: 0.6; cursor: default; }
.soc-link--muted:hover { opacity: 0.6; }
.fill-icon { fill: currentColor; stroke: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 26px;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s, opacity 0.18s;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.header.is-compact .btn {
  min-height: 40px;
  padding: 10px 18px;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(3.6rem, 9vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 14px;
}

p {
  font-size: 1.02rem;
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== HERO (index) ===== */
@keyframes heroZoom {
  0% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("img/16.jpg") center center / cover no-repeat;
  animation: heroZoom 8s ease-out forwards;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(124, 105, 86, 0.62), rgba(124, 105, 86, 0.28) 56%, rgba(124, 105, 86, 0.06));
  z-index: 1;
}

.hero__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 90px 0 60px;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.hero__inner h1 {
  animation: heroFadeUp 1s ease-out 0.2s both;
}

.hero__subtitle {
  margin: 22px 0 10px;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  animation: heroFadeUp 1s ease-out 0.5s both;
}

.hero__lead {
  max-width: 760px;
  margin-bottom: 32px;
  font-weight: 400;
  animation: heroFadeUp 1s ease-out 0.7s both;
}

.hero__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  animation: heroFadeIn 1.2s ease-out 1s both;
}

.hero__desc {
  max-width: 640px;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.65;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding: 96px 0 70px;
  background: linear-gradient(135deg, #d9ccbc, #f4eee5 62%, #f9f6f1);
}

.page-hero .wrap { display: grid; gap: 16px; }
.page-hero p { max-width: 760px; }

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
  background: var(--bg-warm);
}

.section--alt {
  background: var(--bg);
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 30px;
}

.head-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

/* ===== CARDS ===== */
.card {
  padding: 40px 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(244, 236, 226, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card h2 {
  text-align: left;
  margin-bottom: 24px;
}

.card ul {
  display: grid;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.65;
}

.card .cta {
  margin-top: 28px;
}

/* ===== PHOTO BLOCKS ===== */
.photo {
  min-height: 620px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.photo--about { background-image: url("img/17.jpg"); }
.photo--service-1 { background-image: url("img/21.jpeg"); }
.photo--service-2 { background-image: url("img/22.jpg"); }
.photo--service-3 { background-image: url("img/23.jpg"); }
.photo--service-4 { background-image: url("img/24.jpg"); }
.photo--taras { background-image: url("img/25.jpg"); }
.photo--inwentaryzacja { background-image: url("img/26.jpg"); }
.photo--contact { background-image: url("img/28.jpeg"); }
.photo--form { background-image: url("img/29.jpg"); }

/* ===== O MNIE - layout ===== */
.about-layout {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 0;
  align-items: stretch;
  min-height: 100vh;
}

.about-photo {
  background: url("img/17.jpg") center / cover no-repeat;
  margin-left: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  min-height: 100%;
}

.about-text {
  padding: 60px 40px 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  max-width: 560px;
}

/* ===== O MNIE - watermark ===== */
.about-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.about-section::before,
.about-section::after {
  white-space: nowrap;
  position: absolute;
  right: 2%;
  text-align: right;
  font-family: var(--font);
  font-size: clamp(5rem, 11vw, 12rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(115, 95, 77, 0.06);
  pointer-events: none;
  z-index: 0;
}

.about-section::before {
  content: "BLVCK";
  top: 10%;
}

.about-section::after {
  content: "VANILLI";
  top: 40%;
}

.about-section .about-watermark {
  position: absolute;
  right: 2%;
  top: 70%;
  white-space: nowrap;
  text-align: right;
  font-family: var(--font);
  font-size: clamp(5rem, 11vw, 12rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(115, 95, 77, 0.06);
  pointer-events: none;
  z-index: 0;
}

.about-layout { position: relative; z-index: 1; }

/* ===== OPINIE ===== */
.opinions-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 26px;
}

.opinions-photo {
  min-height: 320px;
  border-radius: var(--radius);
  background:
    linear-gradient(0deg, rgba(247, 241, 232, 0.08), rgba(247, 241, 232, 0.08)),
    url("img/18.jpg") center center / cover no-repeat;
  box-shadow: var(--shadow);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.testimonial {
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(244, 236, 226, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stars {
  margin-bottom: 18px;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.testimonial p {
  font-size: 0.96rem;
  line-height: 1.65;
}

.testimonial strong {
  display: block;
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* ===== OFERTA ===== */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}

.offer-link { display: block; }
.offer-link:hover .offer-card { transform: translateY(-2px); }

.offer-card {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(175, 159, 139, 0.94), rgba(168, 151, 131, 0.94));
  color: #fffdf8;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.offer-card h3,
.offer-card p,
.offer-card .eyebrow { color: inherit; }

.offer-photo {
  min-height: 100%;
  border-radius: var(--radius);
  background: url("img/19.jpg") center center / cover no-repeat;
  box-shadow: var(--shadow);
}

.wide-photo {
  min-height: 280px;
  border-radius: var(--radius);
  background: url("img/20.jpg") center center / cover no-repeat;
  box-shadow: var(--shadow);
}

/* ===== VIZBREAK (photo bleed between sections) ===== */
.viz-break {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.viz-break::before,
.viz-break::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
}

.viz-break::before {
  top: 0;
  background: linear-gradient(180deg, var(--bg-warm), transparent);
}

.viz-break::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--bg-warm), transparent);
}

/* ===== OFERTA BANNER ===== */
.offer-banner {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(215, 200, 182, 0.88) 0%, rgba(215, 200, 182, 0.6) 35%, rgba(215, 200, 182, 0.35) 65%, rgba(215, 200, 182, 0.2) 100%),
    url("img/32.jpg") center center / cover no-repeat;
}

.offer-banner h2 { text-transform: uppercase; color: var(--white); }

/* ===== KONTAKT ===== */
.banner {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(215, 200, 182, 0.88) 0%, rgba(215, 200, 182, 0.6) 35%, rgba(215, 200, 182, 0.35) 65%, rgba(215, 200, 182, 0.2) 100%),
    url("img/27.jpg") center center / cover no-repeat;
}

.banner__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 54px 0 42px;
  display: flex;
  justify-content: flex-end;
}

.banner h2 { text-transform: uppercase; color: var(--white); }

.contact-section { padding: 0 0 88px; background: var(--bg-warm); }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 20px;
  margin-bottom: 48px;
}

.tile {
  text-align: center;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.tile__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile__icon .fill-icon {
  fill: var(--text);
  stroke: none;
}

.tile__btn {
  display: block;
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(140, 118, 97, 0.95), rgba(125, 103, 82, 0.95));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: transform 0.18s, opacity 0.18s;
}

.tile__btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* ===== FORMULARZ ===== */
.form { display: grid; gap: 18px; }

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}

.field { display: grid; gap: 8px; }

.field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(115, 95, 77, 0.5);
  padding: 14px 0;
  background: transparent;
  font: inherit;
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.upload {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upload__drop {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed rgba(115, 95, 77, 0.4);
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.6);
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.upload__drop:hover,
.upload__drop.is-dragover {
  border-color: var(--accent);
  background: rgba(255, 250, 243, 0.9);
}

.upload__drop.is-hidden { display: none; }

.upload__hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  opacity: 0.8;
}

.upload__input { display: none; }

.upload__add {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid rgba(115, 95, 77, 0.35);
  border-radius: 12px;
  background: transparent;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  width: fit-content;
}

.upload__add:hover {
  border-color: var(--accent);
  color: var(--text-dark);
}

.upload__add.is-visible { display: inline-flex; }

.upload__list {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.upload__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 250, 243, 0.7);
  border: 1px solid rgba(115, 95, 77, 0.15);
  font-size: 0.85rem;
}

.upload__item-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-dark);
  font-weight: 500;
}

.upload__item-size {
  font-size: 0.78rem;
  color: var(--muted);
  flex-shrink: 0;
}

.upload__item-remove {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(115, 95, 77, 0.1);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.upload__item-remove:hover {
  background: rgba(180, 60, 60, 0.15);
  color: #a04040;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.5;
}

.consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== PORTFOLIO ===== */
.port-hero {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(215, 200, 182, 0.88) 0%, rgba(215, 200, 182, 0.6) 35%, rgba(215, 200, 182, 0.35) 65%, rgba(215, 200, 182, 0.2) 100%),
    url("img/30.jpg") center center / cover no-repeat;
}

.port-hero__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 54px 0 42px;
  display: flex;
  justify-content: flex-end;
}

.port-hero h2 { text-transform: uppercase; color: var(--white); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__item {
  min-height: 250px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.25s;
}

.gallery__item:hover { transform: scale(1.02); }

/* Projekt 1: jasne mieszkanie (beże) — okładka: jadalnia */
.g1 { background-image: url("img/16.jpg"); }
/* Projekt 2: ciemny dom A-frame — okładka: salon */
.g2 { background-image: url("img/21.jpeg"); }
/* Projekt 3: dom z marmurową kuchnią — okładka: open space */
.g3 { background-image: url("img/27.jpg"); }
/* Projekt 4: jasne mieszkanie II — okładka: salon */
.g4 { background-image: url("img/23.jpg"); }
/* Projekt 5: ciemny dom II — okładka: sypialnia A-frame */
.g5 { background-image: url("img/24.jpg"); }
/* Projekt 6: dom jasny II — okładka: łazienka */
.g6 { background-image: url("img/26.jpg"); }

/* ===== FAQ ===== */
.faq-hero {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(215, 200, 182, 0.88) 0%, rgba(215, 200, 182, 0.6) 35%, rgba(215, 200, 182, 0.35) 65%, rgba(215, 200, 182, 0.2) 100%),
    url("img/31.jpeg") center center / cover no-repeat;
}

.faq-hero__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 54px 0 42px;
  display: flex;
  justify-content: flex-end;
}

.faq-hero h2 { text-transform: uppercase; color: var(--white); }

.faq-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.faqbox {
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(244, 236, 226, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faqbox ul {
  display: grid;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.6;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:first-of-type {
  border-top: 0;
  padding-top: 0;
}

summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::before {
  content: "+";
  display: inline-block;
  width: 24px;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.2s;
}

details[open] summary::before {
  content: "\2212";
}

details p {
  margin-top: 14px;
  font-size: 0.96rem;
}

/* ===== FOOTER ===== */
.footer {
  padding: 52px 0 32px;
  background: linear-gradient(180deg, #e0d3c4, #d6c9ba);
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: 32px;
}

.footer__logo {
  height: 62px;
  width: auto;
  filter: brightness(10);
}

.footer__tagline {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.footer__contact-item:hover {
  color: var(--text-dark);
}

.footer__social {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.footer__social a,
.footer__social span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(115, 95, 77, 0.1);
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.footer__social a:hover {
  background: var(--accent);
  color: var(--white);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__social .fill-icon {
  fill: currentColor;
  stroke: none;
}

.footer__divider {
  height: 1px;
  background: rgba(115, 95, 77, 0.18);
  margin-bottom: 20px;
}

.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.footer__privacy {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer__privacy:hover {
  color: var(--text-dark);
}

/* ===== OSTATNIE PROJEKTY (home) ===== */
.recent-projects {
  padding: 80px 0;
  background: var(--bg);
}

.recent-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.recent-project {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.recent-project:hover { transform: translateY(-4px); }

.recent-project__cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}

.recent-project__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
  color: var(--white);
}

.recent-project__label h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin: 0;
}

.recent-project__label span {
  font-size: 0.82rem;
  opacity: 0.8;
}

/* ===== INWESTYCJA W SPOKÓJ (home) ===== */
.truths {
  padding: 80px 0;
  background: var(--bg-warm);
}

.truths__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.truth-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(244, 236, 226, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.truth-card:hover {
  transform: translateY(-4px);
}

.truth-card__num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 16px;
}

.truth-card h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.truth-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== PORTFOLIO GRID + SLIDER ===== */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pcard {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.25s;
}

.pcard:hover { transform: translateY(-4px); }
.pcard.is-active { box-shadow: 0 0 0 3px var(--accent), var(--shadow); }

.pcard__cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}

.pcard__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
  color: var(--white);
}

.pcard__label h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin: 0;
}

.pcard__label span {
  font-size: 0.82rem;
  opacity: 0.8;
}

/* Slider - full width pod rzędem */
.pslider {
  grid-column: 1 / -1;
  display: none;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(244, 236, 226, 0.5);
}

.pslider.is-open {
  display: block;
}

.pslider__track {
  display: flex;
  transition: transform 0.4s ease;
}

.pslider__slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pslider__prev,
.pslider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-dark);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.pslider__prev:hover,
.pslider__next:hover { background: rgba(255, 255, 255, 0.95); }

.pslider__prev { left: 16px; }
.pslider__next { right: 16px; }

.pslider__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-dark);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.pslider__counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 2;
}

/* ===== P0: FORM CHOICE (usługa + pomieszczenia) ===== */
.form-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.form-choice__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-choice__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 12px;
  border: 2px solid rgba(115, 95, 77, 0.25);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.6);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  user-select: none;
}

.form-choice__item:hover {
  border-color: var(--accent);
  background: rgba(255, 250, 243, 0.9);
  transform: translateY(-1px);
}

.form-choice__item.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

/* ===== P1.1: COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(130, 108, 87, 0.97), rgba(120, 98, 77, 0.98));
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 18px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
  min-width: 260px;
}

.cookie-banner__text a {
  text-decoration: underline;
  opacity: 0.85;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cookie-banner__btn:hover { opacity: 0.85; }

.cookie-banner__btn--accept {
  background: var(--white);
  color: var(--text-dark);
}

.cookie-banner__btn--reject {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ===== P1.3: SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== P2.1: PROCES WSPÓŁPRACY (index.html) ===== */
.process {
  padding: 80px 0;
  background: var(--bg);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.process__step {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(244, 236, 226, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  position: relative;
}

.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.process__step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process__step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== P2.2: LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background 0.2s;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ===== P2.3: JAK PRACUJĘ (timeline O mnie) ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: rgba(115, 95, 77, 0.2);
}

.timeline__step {
  text-align: center;
  position: relative;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-warm);
}

.timeline__step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.timeline__step p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== P3.1: SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== P3.4: ANIMATED COUNTERS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0;
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.stat__label {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .nav { order: 2; justify-content: center; }
  .util { order: 3; justify-items: center; width: 100%; }
  .meta { justify-content: center; flex-wrap: wrap; }
  .social { justify-content: center; }
  .util__line { max-width: 520px; }

  .grid-2,
  .split,
  .opinions-hero,
  .head-row,
  .about-layout,
  .faq-cols { grid-template-columns: 1fr; }

  .about-photo {
    min-height: 400px;
    margin-left: 0;
    padding-left: 0;
  }

  .about-text { padding: 40px 20px; }

  .offer-photo { min-height: 340px; }
}

@media (max-width: 900px) {
  .testimonials,
  .offer-grid,
  .tiles,
  .gallery,
  .form__grid,
  .footer__grid,
  .stats { grid-template-columns: 1fr; }

  .recent-projects__grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .truths__cards { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .form-choice { grid-template-columns: repeat(2, 1fr); }

  .photo { min-height: 380px; }
  .banner { min-height: 320px; }
  .port-hero { min-height: 360px; }
  .faq-hero { min-height: 280px; }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 24px), var(--max)); }

  .header__inner { gap: 16px; }
  .brand { width: 100%; justify-content: center; }
  .brand__logo { height: 46px; }
  .nav { gap: 14px; font-size: 0.78rem; justify-content: center; }
  .meta { gap: 12px; font-size: 0.78rem; }
  .icon-link { gap: 8px; }
  .icon-link span { max-width: 100%; overflow-wrap: anywhere; }

  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.3rem; }

  .card,
  .offer-card,
  .testimonial,
  .tile,
  .faqbox { padding: 22px; }

  .about-section::before { font-size: 5rem; right: -10px; }
  .process__grid,
  .timeline { grid-template-columns: 1fr; }
  .form-choice { grid-template-columns: 1fr; }
  .truths__cards { grid-template-columns: 1fr; }
}
