/* =========================================================
   Meble Grosman
   Kolory: papier, kamień (matowe fronty), grafit, dąb, pomarańcz z logo
   ========================================================= */

:root {
  --paper: #F2F1EE;
  --stone: #E4E0D9;
  --stone-2: #D6D0C6;
  --graphite: #24221F;
  --ink: #34312D;
  --muted: #6A655E;
  --oak: #A9733F;
  --orange: #FF914D;
  --orange-ink: #A44614;   /* pomarańcz do tekstu na jasnym tle (kontrast AA) */
  --line: rgba(36, 34, 31, .14);

  --f-display: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);

  --top-h: 76px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--f-display);
  color: var(--graphite);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--graphite);
  color: var(--paper);
  padding: .6rem 1rem;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 52px;
  padding: .85rem 1.5rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: var(--graphite);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { background: #ff7f2f; border-color: #ff7f2f; }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  border-color: var(--graphite);
}
.btn--ghost:hover { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }

.btn--dark {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--paper);
}
.btn--dark:hover { background: #000; border-color: #000; }

.btn--small { min-height: 44px; padding: .5rem 1.15rem; font-size: .975rem; }

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(242, 241, 238, .86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }

.top__inner {
  height: var(--top-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
}
.brand__logo {
  display: block;
  width: auto;
  height: 50px;
}

.nav {
  display: flex;
  gap: 1.9rem;
}
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  padding: .4rem 0;
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 2px no-repeat;
  transition: background-size .25s;
}
.nav a:hover,
.nav a.is-current { background-size: 100% 2px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--graphite);
  transition: transform .3s, top .3s;
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(2.5rem, 7vw, 5.5rem) var(--section);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero__place {
  font-weight: 600;
  color: var(--orange-ink);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.hero__place::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero__lead {
  margin-top: 1.5rem;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 40ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.2rem;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2.2rem;
  font-size: .95rem;
  color: var(--muted);
  text-decoration: none;
}
.rating strong { color: var(--graphite); }
.rating:hover span:last-child { text-decoration: underline; }
.rating__stars {
  position: relative;
  flex: none;
  width: 92px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 17'%3E%3Cg fill='%23D6D0C6'%3E%3Cpath id='s' d='M8.5 0l2.6 5.4 5.9.8-4.3 4.1 1 5.8-5.2-2.8-5.2 2.8 1-5.8L0 6.2l5.9-.8z'/%3E%3Cuse href='%23s' x='18.75'/%3E%3Cuse href='%23s' x='37.5'/%3E%3Cuse href='%23s' x='56.25'/%3E%3Cuse href='%23s' x='75'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
  background-size: 92px 17px;
}
.rating__stars span {
  position: absolute;
  inset: 0 auto 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 17'%3E%3Cg fill='%23FF914D'%3E%3Cpath id='s' d='M8.5 0l2.6 5.4 5.9.8-4.3 4.1 1 5.8-5.2-2.8-5.2 2.8 1-5.8L0 6.2l5.9-.8z'/%3E%3Cuse href='%23s' x='18.75'/%3E%3Cuse href='%23s' x='37.5'/%3E%3Cuse href='%23s' x='56.25'/%3E%3Cuse href='%23s' x='75'/%3E%3C/g%3E%3C/svg%3E") no-repeat left / 92px 17px;
}

/* Rysunek kuchni: kreski projektu, wymiary, montaż frontów, światło LED */
.hero__visual {
  margin: 0;
  width: 100%;
  max-width: 620px;
  justify-self: end;
}
.kitchen {
  --front: #D8CEC1;
  --handle: #1F1D1B;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* siatka projektu: jest na starcie, znika po montażu */
.k-grid { opacity: 0; animation: k-grid 3.9s ease forwards; }
@keyframes k-grid { 8% { opacity: 1; } 72% { opacity: 1; } 100% { opacity: 0; } }
.k-floor { opacity: 0; animation: k-fade .8s ease 2.1s forwards; }

/* kreski rysowane od lewej, potem zostają jako delikatne fugi między frontami */
.k-line {
  stroke: #3A3733;
  stroke-width: 1.15;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: k-draw .9s cubic-bezier(.55, 0, .25, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes k-draw { to { stroke-dashoffset: 0; } }
.k-blueprint { animation: k-settle .9s ease 3.1s forwards; }
@keyframes k-settle { to { opacity: .38; } }

.k-gaps { opacity: 0; transition: opacity .8s ease; }
.k-gaps path { stroke: #fff; stroke-width: 1.2; }
.kitchen[data-tone="dark"] .k-gaps { opacity: .2; }

/* wymiary w kolorze marki */
.k-dim { stroke: var(--orange); stroke-width: 1.25; }
.k-label {
  fill: var(--orange-ink);
  font: 600 13px var(--f-body);
  letter-spacing: .04em;
  opacity: 0;
  animation: k-fade .5s ease 1.1s forwards;
}
.k-dims { animation: k-dims-settle .9s ease 3.4s forwards; }
@keyframes k-dims-settle { to { opacity: .8; } }

/* materiały */
.k-wipe {
  transform-box: fill-box;
  transform-origin: 0 50%;
  transform: scaleX(0);
  animation: k-wipe .95s cubic-bezier(.6, 0, .2, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes k-wipe { to { transform: scaleX(1); } }

.k-front {
  fill: var(--front);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: k-mount .65s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: calc(1.55s + var(--i) * 50ms);
  transition: fill .8s ease calc(var(--i) * 45ms);
}
@keyframes k-mount {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}
.k-handle {
  fill: var(--handle);
  opacity: 0;
  animation: k-fade .45s ease forwards;
  animation-delay: calc(2.2s + var(--i) * 35ms);
  transition: fill .8s ease calc(var(--i) * 45ms);
}
.k-sheen { opacity: 0; animation: k-fade .8s ease 2.2s forwards; }
.k-fade { opacity: 0; animation: k-fade .6s ease forwards; animation-delay: var(--d, 0s); }
.k-rise {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: k-mount .6s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes k-fade { to { opacity: 1; } }

/* LED pod szafkami zapala się z krótkim mrugnięciem */
.k-led { opacity: 0; animation: k-led 1s linear 2.95s forwards; }
@keyframes k-led {
  0% { opacity: 0; }
  18% { opacity: .85; }
  28% { opacity: .15; }
  42%, 100% { opacity: 1; }
}

/* wybór koloru frontów */
.kitchen-ui {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-top: 1.1rem;
  padding-inline: 6%;
  min-height: 46px;
  font-size: .97rem;
  color: var(--muted);
  opacity: 0;
  animation: k-fade .6s ease 3.3s forwards;
}
.kitchen-ui strong {
  display: inline-block;
  min-width: 5.9em;   /* stała szerokość: zmiana nazwy koloru nie przesuwa próbek */
  color: var(--graphite);
  font-weight: 600;
}
.swatches { display: flex; gap: .45rem; }
.swatch {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c);
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(36, 34, 31, .2),
    0 0 0 3px var(--paper),
    0 0 0 4.5px transparent;
  transition: box-shadow .25s ease, transform .2s ease;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] {
  box-shadow:
    inset 0 0 0 1px rgba(36, 34, 31, .2),
    0 0 0 3px var(--paper),
    0 0 0 5px var(--graphite);
}

/* ---------- Section heads ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 48ch;
}
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 4vw, 4rem);
  row-gap: 1rem;
  align-items: end;
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}
.section-head--split p {
  margin-top: 0;
  max-width: 44ch;
  font-size: 1.08rem;
  line-height: 1.65;
}
.section-head--row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ---------- Oferta: interaktywny plan mieszkania ---------- */
.offer {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: var(--stone);
}
.rooms {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.plan {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 34px 60px -44px rgba(36, 34, 31, .6);
}
.room { cursor: pointer; outline: none; }
.room__hit { fill: transparent; transition: fill .35s ease; }
@media (hover: hover) {
  .room:hover .room__hit { fill: rgba(255, 145, 77, .07); }
  .room:hover .room__name { fill: var(--graphite); }
}
.room.is-hint .room__hit { fill: rgba(255, 145, 77, .16); }
.room.is-active .room__hit { fill: #fff; }
.room:focus-visible .room__hit { stroke: var(--orange); stroke-width: 3; }

/* meble: w nieaktywnych pomieszczeniach sam rysunek, w wybranym kolory materiałów */
.furn {
  fill: var(--m);
  fill-opacity: 0;
  stroke: #3A3733;
  stroke-width: 1;
  stroke-opacity: .5;
  transition: fill-opacity .45s ease, stroke-opacity .45s ease;
}
.room.is-active .furn {
  fill-opacity: 1;
  stroke-opacity: .72;
  transition-delay: calc(var(--k, 0) * 70ms);
}
.detail {
  fill: none;
  stroke: #3A3733;
  stroke-width: .9;
  stroke-opacity: .42;
  transition: stroke-opacity .45s ease;
}
.room.is-active .detail { stroke-opacity: .6; }

/* narożniki zaznaczenia w kolorze marki */
.room__mark {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(1.04);
  transition: opacity .3s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.room.is-active .room__mark { opacity: 1; transform: none; }

.room__name {
  fill: var(--muted);
  font: 600 17px var(--f-display);
  pointer-events: none;
  transition: fill .3s ease;
}
.room__area {
  fill: var(--muted);
  font: 500 11px var(--f-body);
  opacity: .85;
  pointer-events: none;
}
.room.is-active .room__name { fill: var(--graphite); }

.walls { pointer-events: none; }
.wall {
  fill: none;
  stroke: #2B2825;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.wall--out { stroke-width: 8; }
.wall--in { stroke-width: 5; }
.win__gap { fill: #F7F5F1; }
.win { fill: none; stroke: #2B2825; stroke-width: 1; }
.door { fill: none; stroke: #2B2825; stroke-width: 1.2; stroke-opacity: .7; }

/* opis i zdjęcia obok planu */
.rooms__info > * { transition: opacity .25s ease, transform .25s ease; }
.rooms__info.is-changing > * { opacity: 0; transform: translateY(6px); }
.rooms__info {
  padding-top: 1.4rem;
  border-top: 2px solid var(--graphite);
}
.rooms__info h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.rooms__info p {
  margin-top: .8rem;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}
.rooms__photos {
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  aspect-ratio: 3 / 2;
}
.rooms__photos li:first-child { grid-row: span 2; }
.rooms__photos[data-n="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; aspect-ratio: 2 / 1; }
.rooms__photos[data-n="2"] li:first-child { grid-row: auto; }
.rooms__photos[data-n="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 3 / 2; }
.rooms__photos[data-n="0"] { display: none; }
.rooms__photos button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--stone-2);
  cursor: zoom-in;
}
.rooms__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s ease;
}
.rooms__photos button:hover img { transform: scale(1.04); }
.rooms__photos img.is-loading { opacity: 0; }

/* ---------- Realizacje ---------- */
.work { padding-block: var(--section); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip {
  border: 1.5px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: .55rem 1.05rem;
  min-height: 44px;
  font-weight: 500;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--graphite); }
.chip.is-active {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--paper);
}

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery li { aspect-ratio: 1 / 1; }
.gallery li.g-wide { grid-column: span 2; grid-row: span 2; }
.gallery li.g-right { grid-column: 3 / span 2; }
.gallery.is-filtered li.g-wide { grid-column: auto; grid-row: auto; }
.gallery li[hidden] { display: none; }
.g-skeleton {
  border-radius: 4px;
  background: var(--stone);
  animation: pulse 1.6s ease-in-out infinite;
}
.gallery button { position: relative; }
.gallery img.is-loading { opacity: 0; }
.g-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.g-play span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 18, 16, .62);
  color: #fff;
  transition: background-color .2s, color .2s, transform .2s;
}
.gallery button:hover .g-play span { background: var(--orange); color: var(--graphite); transform: scale(1.06); }
.gallery__noscript { margin-top: 1rem; color: var(--muted); }
.gallery__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.gallery__more[hidden] { display: none; }
.gallery button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--stone);
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s ease;
}
.gallery button:hover img { transform: scale(1.035); }

.gallery.is-filtering li { animation: tile-in .45s ease both; }
@keyframes tile-in {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: none; }
}

/* ---------- Facebook: profil w telefonie ---------- */
.social {
  padding-block: var(--section);
  background: var(--stone);
  overflow: hidden;
}
.social__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.social__text h2 { max-width: 19ch; }
.social__lead {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 42ch;
}

.profile {
  margin-top: 2.25rem;
  max-width: 470px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .9rem;
  padding: .85rem;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(36, 34, 31, .05), 0 22px 44px -30px rgba(36, 34, 31, .5);
}
.profile__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 2px var(--orange);
}
.profile__avatar img { width: 31px; height: auto; }
.profile__who { display: grid; line-height: 1.3; min-width: 0; }
.profile__who strong {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--graphite);
}
.profile__who span {
  font-size: .92rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile--ig {
  margin-top: .85rem;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease;
}
.profile--ig:hover { transform: translateY(-1px); }
.profile--ig:hover .profile__follow { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }
.profile--ig .profile__who span { white-space: normal; overflow: visible; }
.ig-grid {
  list-style: none;
  max-width: 470px;
  margin: .85rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ig-grid[hidden] { display: none; }
.ig-grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--stone-2);
}
.ig-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ig-grid a:hover img { transform: scale(1.05); }
.social__note { margin-top: 1.5rem; color: var(--muted); }
.social__hint {
  position: relative;
  z-index: 2;
  margin-top: 1.4rem;
  font-size: .92rem;
  color: var(--muted);
  text-align: center;
}
.social__hint a { color: var(--graphite); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.chip__n { margin-left: .4rem; font-size: .8em; opacity: .6; font-variant-numeric: tabular-nums; }
.social__note a {
  color: var(--graphite);
  font-weight: 600;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}

.social__stage {
  position: relative;
  display: grid;
  place-items: center;
  /* miejsce na sześciokąt nad telefonem i po bokach */
  padding: 3rem 60px 1rem;
}
/* 500 px ekranu to maksymalna szerokość, w jakiej Facebook rysuje wtyczkę strony */
.phone-wrap {
  --phone-w: 524px;
  position: relative;
  width: var(--phone-w);
  max-width: 100%;
}
/* sześciokąt z logo jako tło za górą telefonu */
.social__hex {
  position: absolute;
  left: -58px;
  top: -38px;
  width: calc(100% + 116px);
  color: var(--orange);
  pointer-events: none;
}
/* karta z oceną "wystająca" zza telefonu */
.float-card {
  position: absolute;
  z-index: 2;
  left: -48px;
  bottom: 11%;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1.1rem .8rem .9rem;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(36, 34, 31, .05), 0 24px 40px -22px rgba(36, 34, 31, .55);
  transition: transform .25s ease;
}
.float-card:hover { transform: translateY(-2px); }
.float-card__score {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--graphite);
}
.float-card__text {
  display: grid;
  gap: .25rem;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.2;
}

.phone {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(760px, calc(100vh - 3rem), 940px);
  height: clamp(760px, calc(100svh - 3rem), 940px);
  padding: 12px;
  border-radius: 62px;
  background: linear-gradient(150deg, #3D3935 0%, #1F1D1B 60%, #2B2825 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .09),
    0 60px 80px -48px rgba(36, 34, 31, .7),
    0 24px 40px -28px rgba(36, 34, 31, .45);
}
.phone__button {
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: #2B2825;
}
.phone__button--a { right: -3px; top: 23%; height: 11%; }
.phone__button--b { left: -3px; top: 19%; height: 7%; }
.phone__screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 50px;
  background: #fff;
  isolation: isolate;
}
.phone__bar {
  flex: none;
  height: 44px;
  display: grid;
  place-items: center;
  background: #fff;
}
.phone__island {
  width: 104px;
  height: 28px;
  border-radius: 13px;
  background: #0F0E0D;
}
.phone__content {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.phone__content iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.phone__content iframe.is-loaded { opacity: 1; }

/* szkielet, zanim Facebook się wczyta */
.phone__skeleton {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}
.sk {
  display: block;
  background: #ECEAE6;
  border-radius: 6px;
  animation: pulse 1.6s ease-in-out infinite;
}
.sk--cover { aspect-ratio: 2.7 / 1; border-radius: 0; }
.sk--avatar {
  width: 66px;
  height: 66px;
  margin: -42px 0 0 14px;
  border-radius: 50%;
  border: 4px solid #fff;
  animation: none;
}
.sk--line { width: 60%; height: 12px; margin: 0 14px; }
.sk--short { width: 34%; }
.sk--post { height: 260px; margin: 12px 14px 0; }
@keyframes pulse { 50% { opacity: .5; } }

/* własny feed (gdy działa token Graph API): wygląda jak profil, ale bez skryptów Facebooka */
.fbfeed {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  background: #EFEDEA;
  scrollbar-width: none;
  font-size: 1rem;
}
.fbfeed::-webkit-scrollbar { display: none; }
.fbfeed__head { background: #fff; padding-bottom: 14px; margin-bottom: 8px; }
.fbfeed__cover {
  aspect-ratio: 2.7 / 1;
  background: var(--stone-2) center / cover no-repeat;
}
.fbfeed__avatar {
  width: 76px;
  height: 76px;
  margin: -40px 0 0 14px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px #fff, inset 0 0 0 2px var(--orange);
  position: relative;
}
.fbfeed__avatar img { width: 40px; height: auto; }
.fbfeed__name { padding: 8px 14px 0; }
.fbfeed__name strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--graphite);
}
.fbfeed__name span { font-size: .85rem; color: var(--muted); }
.fbfeed__follow {
  display: flex;
  margin: 12px 14px 0;
  min-height: 40px;
  width: auto;
  font-size: .92rem;
}

.fbpost { background: #fff; margin-bottom: 8px; padding: 12px 0; }
.fbpost__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}
.fbpost__avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
.fbpost__avatar img { width: 20px; height: auto; }
.fbpost__head strong { display: block; font-size: .95rem; color: var(--graphite); line-height: 1.2; }
.fbpost__head time { font-size: .8rem; color: var(--muted); }
.fbpost__text {
  padding: 8px 14px 10px;
  font-size: .98rem;
  line-height: 1.45;
  white-space: pre-line;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fbpost__media {
  position: relative;
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 0;
  border: 0;
  background: #EFEDEA;
  cursor: zoom-in;
  overflow: hidden;
}
a.fbpost__media { cursor: pointer; }
.fbpost__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.fbpost__media--1 { aspect-ratio: 4 / 5; }
.fbpost__media--2 { aspect-ratio: 1 / .62; grid-template-columns: 1fr 1fr; }
.fbpost__media--3 { aspect-ratio: 1 / 1; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.fbpost__media--3 img:first-child { grid-row: span 2; }
.fbpost__media--4 { aspect-ratio: 1 / 1; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.fbpost__extra {
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(50% - 1px);
  height: calc(50% - 1px);
  display: grid;
  place-items: center;
  background: rgba(20, 18, 16, .5);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
}
.fbpost__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.fbpost__play span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 18, 16, .65);
  color: #fff;
}
.fbpost__link {
  display: inline-block;
  margin: 10px 14px 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--graphite);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.fbfeed__end {
  display: block;
  margin: 4px 14px 18px;
  padding: 14px;
  border-radius: 12px;
  background: var(--graphite);
  color: var(--paper);
  text-align: center;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Jak pracujemy ---------- */
.process {
  padding-block: var(--section);
  background: var(--paper);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: none;
}
.steps li {
  position: relative;
  padding: 0 clamp(1rem, 2.5vw, 2rem) 0 0;
}
.steps li + li {
  padding-left: clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid var(--line);
}
.steps__no {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: .9;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.steps h3 { margin-bottom: .6rem; }
.steps p { color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact {
  padding-block: var(--section);
  background: var(--stone);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: stretch;
}
/* dwie karty: telefon i e-mail */
.reach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.reach__card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(36, 34, 31, .05), 0 22px 40px -30px rgba(36, 34, 31, .5);
}
.reach__card h3 {
  font-size: .95rem;
  font-family: var(--f-body);
  font-weight: 600;
  color: var(--orange-ink);
}
.reach__value {
  color: var(--graphite);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.15;
  text-decoration: none;
}
.reach__value:hover { color: var(--orange-ink); }
.reach__value--mail {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  overflow-wrap: anywhere;
}
.reach__note { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.reach__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1rem;
}
.reach__actions .btn--small { min-height: 52px; }

.contact__list {
  margin: 0;
  display: grid;
  gap: 1rem;
}
.contact__list div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
}
.contact__list dt { color: var(--muted); }
.contact__list dd { margin: 0; font-weight: 500; }
.contact__list a { text-decoration-color: var(--orange); text-underline-offset: 3px; }
.contact__list a:hover { color: var(--orange-ink); }

.hours {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hours__status {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
}
.hours__status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--stone-2);
}
.hours__status.is-open::before { background: #3C8A4E; box-shadow: 0 0 0 4px rgba(60, 138, 78, .18); }
.hours__status.is-closed::before { background: #B4483A; }

.hours__table {
  border-collapse: collapse;
  width: 100%;
  max-width: 360px;
  font-size: .98rem;
}
.hours__table th,
.hours__table td {
  text-align: left;
  font-weight: 400;
  padding: .3rem 0;
}
.hours__table td { text-align: right; color: var(--muted); }
.hours__table tr.is-today th,
.hours__table tr.is-today td { font-weight: 600; color: var(--graphite); }

.contact__map {
  position: relative;
  min-height: 420px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--stone-2);
}
.contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.35) contrast(1.02);
}
.contact__route {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}

/* ---------- Footer ---------- */
.foot {
  background: var(--graphite);
  color: #CFC9BF;
  padding-block: 2.75rem;
  font-size: .95rem;
}
.foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: space-between;
}
.foot__brand {
  display: grid;
  gap: .5rem;
  justify-items: start;
}
.foot__brand img { width: auto; height: 46px; }
.foot__brand span { color: #A9A298; font-size: .9rem; }
.foot__meta a { color: var(--paper); text-decoration-color: var(--orange); text-underline-offset: 3px; }
.foot__copy { color: #8E887F; }
.foot__admin {
  margin-left: .9rem;
  color: #6F6A62;
  font-size: .85rem;
  text-decoration: none;
}
.foot__admin:hover { color: var(--paper); text-decoration: underline; }

/* ---------- Mobile call bar ---------- */
.callbar {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--graphite);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(36, 34, 31, .55);
  transform: translateY(160%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.callbar.is-visible { transform: none; }

/* ---------- Formularz kontaktowy ---------- */
.modal {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(20, 18, 16, .6);
}
.modal::backdrop { background: rgba(24, 22, 20, .6); }
.modal__inner {
  position: relative;
  display: grid;
  gap: .9rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
}
.modal__inner h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); padding-right: 2.5rem; }
.modal__lead { color: var(--muted); }
.modal__close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--graphite);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.modal__close:hover { background: var(--stone); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { display: grid; gap: .35rem; font-weight: 600; color: var(--graphite); font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  border: 1.5px solid var(--stone-2);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.45 var(--f-body);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.modal__note { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.form-error { color: #9C2B1F; font-weight: 600; }
.form-error a { color: inherit; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }
.modal__done { justify-items: start; }
.modal__inner[hidden] { display: none; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.lightbox[open] {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}
.lightbox::backdrop { background: rgba(24, 22, 20, .92); }
.lightbox figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 1rem;
}
.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(88vw, 1100px);
  max-height: 74vh;
  max-height: 74dvh;
  border-radius: 4px;
  animation: lb-in .35s ease;
}
.lightbox img.is-square {
  width: min(74vh, 86vw, 640px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
@keyframes lb-in { from { opacity: 0; transform: scale(.98); } }
.lightbox figcaption {
  display: grid;
  justify-items: center;
  gap: .45rem;
  color: #E7E2DA;
  text-align: center;
  max-width: 62ch;
}
.lightbox__count { font-size: .85rem; color: #A9A298; }
.lightbox__count:empty { display: none; }
.lightbox__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
}
.lightbox__link {
  color: var(--orange);
  font-weight: 600;
  text-underline-offset: 4px;
}
.lightbox__link[hidden] { display: none; }
.lightbox video {
  display: block;
  max-width: min(88vw, 1100px);
  max-height: 74vh;
  max-height: 74dvh;
  border-radius: 4px;
  background: #000;
}
.lightbox img[hidden],
.lightbox video[hidden] { display: none; }
.lightbox__close,
.lightbox__nav {
  border: 0;
  background: rgba(242, 241, 238, .1);
  color: var(--paper);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  margin: 1rem;
  transition: background-color .2s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(242, 241, 238, .22); }
.lightbox__close {
  position: absolute;
  top: calc(.25rem + env(safe-area-inset-top, 0px));
  right: .25rem;
  z-index: 2;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .social__grid { grid-template-columns: 1fr; }
  .social__text h2 { max-width: 18ch; }
  .social__stage { padding-top: 3.5rem; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; }
  .hero__title { max-width: 16ch; }

  .rooms { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
  .rooms__info { max-width: 680px; }
  .rooms__plan { max-width: 680px; }

  .steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 0; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }

  .contact__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery li.g-right { grid-column: span 2; }
}

@media (max-width: 820px) {
  :root { --top-h: 66px; }
  .brand__logo { height: 42px; }
  .burger { display: block; }
  .top__call { display: none; }
  .nav {
    position: fixed;
    inset: calc(var(--top-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    padding: .5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(36, 34, 31, .35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s, transform .25s;
  }
  .nav a {
    font-family: var(--f-display);
    font-size: 1.6rem;
    font-weight: 600;
    padding: .7rem 0;
    border-bottom: 1px solid var(--line);
    background: none;
  }
  .callbar { display: flex; }
  .foot { padding-bottom: calc(2.75rem + 70px); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .room__name { font-size: 21px; }
  .room__area { font-size: 13px; }
  .k-label { font-size: 19px; }
  .social__stage { padding: 2.25rem 0 3.25rem; }
  .phone-wrap { width: 100%; }
  .phone {
    height: clamp(560px, calc(100vh - 8rem), 780px);
    height: clamp(560px, calc(100svh - 8rem), 780px);
    padding: 10px;
    border-radius: 50px;
  }
  .phone__screen { border-radius: 40px; }
  .phone__bar { height: 38px; }
  .phone__island { width: 90px; height: 25px; }
  .social__hex { left: -14px; top: -24px; width: calc(100% + 28px); }
  .social__hint { margin-top: 3.2rem; }
  .float-card { left: 50%; bottom: -30px; translate: -50% 0; padding: .65rem .9rem .65rem .75rem; white-space: nowrap; }
  .float-card__score { font-size: 1.8rem; }
  .profile { grid-template-columns: auto minmax(0, 1fr); }
  .profile__follow { grid-column: 1 / -1; }
  .hero__actions .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps li, .steps li + li { padding: 0 0 0 0; border-left: 0; }
  .steps li { display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 1rem; }
  .steps__no { grid-row: span 2; font-size: 3rem; margin: 0; }
  .contact__list div { grid-template-columns: 1fr; gap: .1rem; }
  .reach { grid-template-columns: 1fr; }
  .contact__map { min-height: 340px; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__nav--prev { grid-row: 2; justify-self: end; }
  .lightbox__nav--next { grid-row: 2; justify-self: start; }
  .lightbox img { max-width: 94vw; }
  .lightbox img.is-square { width: 92vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}
