/* ═══════════════════════════════════════════════════
   VILLA BOGORIA — style.css
   Paleta: Czerń · Złoto · Kość słoniowa · Kamień
═══════════════════════════════════════════════════ */

:root {
  --black:        #080808;
  --black-soft:   #111111;
  --black-card:   #181818;
  --black-border: #1f1f1f;
  --gold:         #b89a6a;
  --gold-light:   #d4b896;
  --gold-dim:     rgba(184,154,106,0.15);
  --ivory:        #f4efe7;
  --ivory-warm:   #ede8df;
  --stone:        #7a746c;
  --stone-light:  #b4ada5;
  --white:        #ffffff;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:      76px;
  --py:         120px;
  --container:  1280px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:    cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea { font: inherit; }
address { font-style: normal; }

/* ── Layout ──────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 56px; }
.section { padding: var(--py) 0; }

/* ── Typography ──────────────────────────────────── */
.heading-xl {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 10.5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.heading-lg {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--black);
}
.heading-lg em { font-style: italic; color: var(--gold); }
.heading-lg--light { color: var(--ivory); }
.heading-lg--light em { color: var(--gold-light); }

.heading-md {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--black);
}
.heading-md em { font-style: italic; color: var(--gold); }

.label {
  display: block;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.label--light { color: var(--gold-light); }
.label--gold  { color: var(--gold); }

.body-text {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--stone);
  max-width: 520px;
}
.body-text + .body-text { margin-top: 1rem; }
.body-text--light { color: var(--stone-light); }

/* ── Tags ────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(0,0,0,0.14);
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  transition: border-color .25s, color .25s;
}
.tag:hover { border-color: var(--gold); color: var(--gold); }

/* ── Reveal ──────────────────────────────────────── */
/* Initial state set by JS only — content always visible without JS */
[data-reveal].will-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].will-reveal.visible { opacity: 1; transform: none; }
[data-reveal].will-reveal:nth-child(2) { transition-delay: .1s; }
[data-reveal].will-reveal:nth-child(3) { transition-delay: .2s; }
[data-reveal].will-reveal:nth-child(4) { transition-delay: .3s; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background .3s var(--ease), border-color .3s, color .3s;
}
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* outline on dark backgrounds (hero, architektura, apartamenty) */
.btn--outline {
  border: 1px solid rgba(245,240,232,.35);
  color: var(--ivory);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

/* outline on light backgrounds */
.btn--outline-dark {
  border: 1px solid rgba(0,0,0,.2);
  color: var(--black);
}
.btn--outline-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn--ghost {
  border: 1px solid rgba(245,240,232,.15);
  color: rgba(245,240,232,.55);
}
.btn--ghost:hover { border-color: rgba(245,240,232,.35); color: var(--ivory); }

.btn--gold { border: 1px solid var(--gold); color: var(--gold); }
.btn--gold:hover { background: var(--gold); color: var(--black); }

.btn--filled { background: var(--gold); color: var(--black); border: 1px solid var(--gold); font-weight: 500; }
.btn--filled:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn--full { width: 100%; justify-content: center; }


/* ═══════════════════════════════════════════════════
   PRELOADER
═══════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.preloader__monogram { opacity: 0; animation: preloaderFadeIn .6s var(--ease) .2s forwards; }
.preloader__svg { width: 64px; height: 64px; }

.preloader__name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(245,240,232,.45);
  text-transform: uppercase;
  opacity: 0;
  animation: preloaderFadeIn .6s var(--ease) .5s forwards;
}
.preloader__line-wrap {
  width: 120px;
  height: 1px;
  background: var(--black-border);
  overflow: hidden;
  opacity: 0;
  animation: preloaderFadeIn .3s var(--ease) .8s forwards;
}
.preloader__line {
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: preloaderLine 1s var(--ease) .9s forwards;
}

@keyframes preloaderFadeIn { to { opacity: 1; } }
@keyframes preloaderLine   { to { transform: scaleX(1); } }


/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  transition: background .5s var(--ease), backdrop-filter .5s;
}
.nav.scrolled {
  background: rgba(8,8,8,.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--black-border);
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-img {
  height: 64px;
  width: auto;
  display: block;
  /* SVG has ~25% whitespace on each side — visible content ≈ 32px tall */
  transition: opacity .25s;
}
.nav__logo:hover .nav__logo-img { opacity: .8; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245,240,232,.58);
  transition: color .25s;
}
.nav__links a:hover { color: var(--ivory); }

.nav__cta {
  padding: 9px 20px !important;
  border: 1px solid rgba(184,154,106,.45) !important;
  color: var(--gold) !important;
}
.nav__cta:hover { border-color: var(--gold) !important; color: var(--gold-light) !important; }

.nav__lang {
  border-left: 1px solid var(--black-border);
  padding-left: 24px;
}
.nav__lang a { color: rgba(245,240,232,.35) !important; }
.nav__lang a:hover { color: var(--ivory) !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 201;
}
.nav__burger span {
  display: block;
  height: 1px;
  background: var(--ivory);
  transition: transform .35s var(--ease), opacity .25s;
}
.nav__burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 8s ease-out;
}
.hero.loaded .hero__bg-img { transform: scale(1.04); }

/* ── Hero slider ── */
.hero__slides {
  position: absolute; inset: 0;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 25%;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1);
  animation: none;
}
.hero__slide--active {
  opacity: 1;
  animation: kenburns 10s ease-out forwards;
}
.hero__slide--video.hero__slide--active {
  animation: none; /* brak ken burns dla wideo */
}
.hero__slide-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Pasek dolny: kropki */
.hero__dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
}

/* Podpis slajdu */
.hero__slide-caption {
  position: absolute;
  bottom: 62px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  padding: 0 40px;
  z-index: 4;
  pointer-events: none;
}
.hero__slide-caption span {
  font-size: .63rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,240,232,.5);
}
.hero__dot {
  width: 48px;
  height: 2px;
  background: rgba(245,240,232,.22);
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.hero__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot--active::after {
  animation: dotProgress var(--slide-duration, 6000ms) linear forwards;
}
@keyframes dotProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.hero__dot:hover:not(.hero__dot--active) {
  background: rgba(245,240,232,.45);
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(8,8,8,.78) 0%,
    rgba(8,8,8,.45) 50%,
    rgba(8,8,8,.22) 100%
  );
}
.hero__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, transparent 40%, rgba(8,8,8,.55) 100%);
}
.hero__gradient-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, var(--black) 0%, transparent 100%);
}

/* vertical grid lines */
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    90deg, transparent, transparent 79px,
    rgba(255,255,255,.016) 80px
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 56px 96px;
}

[data-hero-reveal] { opacity: 0; transform: translateY(24px); }

.hero__eyebrow {
  font-size: .65rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow-dot { color: rgba(184,154,106,.5); }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 10.5rem);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.025em;
  color: var(--ivory);
  margin-bottom: 2.4rem;
}
.hero__title em { font-style: italic; color: var(--gold); }

.hero__subtitle {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(245,240,232,.52);
  margin-bottom: 2.8rem;
  max-width: 400px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 44px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(245,240,232,.28);
  font-size: .58rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(184,154,106,.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* stats bar */
.hero__stats {
  position: absolute;
  bottom: 48px; right: 56px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero__stat { text-align: center; min-width: 56px; }
.hero__stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
}
.hero__stat-label {
  display: block;
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 5px;
}
.hero__stat-divider { width: 1px; height: 36px; background: var(--black-border); }


/* ═══════════════════════════════════════════════════
   REZYDENCJA
═══════════════════════════════════════════════════ */
.rezydencja { background: var(--ivory); }
.rezydencja__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rezydencja__text .heading-lg { margin-bottom: 2rem; }
.rezydencja__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }

.rezydencja__visual { display: flex; flex-direction: column; gap: 18px; }
.rezydencja__img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; display: block;
}
.rezydencja__caption {
  font-size: .67rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  padding-left: 2px;
}
.rezydencja__quote {
  padding: 22px 26px;
  border-left: 2px solid var(--gold);
  background: rgba(184,154,106,.05);
}
.rezydencja__quote p {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--stone);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════════════
   ARCHITEKTURA
═══════════════════════════════════════════════════ */
.architektura { padding: 0; background: var(--black-soft); }

.architektura__hero-wrap {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
}
.architektura__hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.architektura__hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--black-soft) 100%);
}

.architektura__content {
  padding: 68px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.architektura__left .heading-lg { margin-bottom: 0; }
.architektura__features {
  display: flex; flex-direction: column;
  margin-top: 2rem;
}
.architektura__features li {
  display: flex; align-items: center; gap: 14px;
  font-size: .88rem;
  color: var(--stone-light);
  letter-spacing: .03em;
  padding: 13px 0;
  border-bottom: 1px solid var(--black-border);
}
.feat-icon { color: var(--gold); flex-shrink: 0; }

/* sunset panel */
.architektura__panel {
  position: relative;
  width: 100%; height: 55vh; min-height: 380px;
  overflow: hidden;
}
.architektura__panel-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.architektura__panel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(8,8,8,.72) 0%,
    rgba(8,8,8,.3) 55%,
    transparent 100%
  );
}
.architektura__panel-caption {
  position: absolute;
  bottom: 52px; left: 0; right: 0;
  z-index: 2;
}
.architektura__panel-text {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(245,240,232,.72);
  line-height: 1.5;
  margin-top: 4px;
}


/* ═══════════════════════════════════════════════════
   WELLNESS
═══════════════════════════════════════════════════ */
.wellness { background: var(--ivory); }
.wellness__header {
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}
.wellness__header .heading-lg { margin-bottom: 1.4rem; }
.wellness__lead { margin: 0 auto; }

.wellness__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.wellness__card {
  background: var(--white);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.wellness__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(0,0,0,.13);
}
.wellness__card--tall { grid-row: 1 / 3; }
.wellness__card--wide { grid-column: 2 / 4; }

.wellness__card-img { width: 100%; overflow: hidden; }
.wellness__card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.wellness__card:hover .wellness__card-img img { transform: scale(1.05); }

.wellness__card-img         { aspect-ratio: 4/3; }
.wellness__card--tall .wellness__card-img { aspect-ratio: 3/4; }
.wellness__card--wide .wellness__card-img { aspect-ratio: 21/9; }

.wellness__card-body { padding: 22px 26px 28px; }
.wellness__card-title {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 400;
  color: var(--black); margin-bottom: 6px;
}
.wellness__card-text { font-size: .85rem; color: var(--stone); line-height: 1.65; }
.wellness__footer { margin-top: 56px; text-align: center; }


/* ═══════════════════════════════════════════════════
   HOL
═══════════════════════════════════════════════════ */
.hol { background: var(--black); }
.hol__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3px;
}
.hol__cell {
  position: relative;
  overflow: hidden;
}
.hol__cell img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .8s var(--ease);
}
.hol__cell:hover img { transform: scale(1.04); }
.hol__cell video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .8s var(--ease);
}
.hol__cell:hover video { transform: scale(1.04); }
.hol__cell--main  { aspect-ratio: 16/9; }
.hol__cell--side  { aspect-ratio: auto; }

/* ── Arch patio video ── */
.arch-patio {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--black);
}
.arch-patio__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.arch-patio__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,8,8,.60) 0%,
    rgba(8,8,8,.15) 50%,
    rgba(8,8,8,.45) 100%
  );
}
.arch-patio__caption {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  padding: 0 40px;
  z-index: 2;
}
.arch-patio__heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
  margin-top: 8px;
}
.arch-patio__heading em {
  font-style: italic;
  color: var(--gold);
}

.hol__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.78) 0%, transparent 55%);
  pointer-events: none;
}
.hol__caption {
  position: absolute; bottom: 28px; left: 28px; right: 28px; z-index: 2;
}
.hol__caption .label { margin-bottom: 4px; }
.hol__caption-text {
  font-family: var(--serif);
  font-size: 1rem; font-weight: 300;
  color: rgba(245,240,232,.68);
  line-height: 1.55;
}


/* ═══════════════════════════════════════════════════
   APARTAMENTY TEASER
═══════════════════════════════════════════════════ */
.apartamenty {
  position: relative;
  padding: var(--py) 0;
  overflow: hidden;
}
.apartamenty__bg {
  position: absolute; inset: 0; z-index: 0;
}
.apartamenty__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.apartamenty__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,8,8,.94) 40%,
    rgba(8,8,8,.68) 72%,
    rgba(8,8,8,.32) 100%
  );
}
.apartamenty__content { position: relative; z-index: 2; max-width: 580px; }
.apartamenty__content .heading-lg { margin-bottom: 1.4rem; }
.apartamenty__desc { margin-bottom: 2.8rem; }

.apartamenty__range {
  display: flex; align-items: center;
  gap: 28px; margin-bottom: 2.4rem;
}
.range-item { text-align: left; }
.range-num {
  display: block;
  font-family: var(--serif); font-size: 1.55rem;
  font-weight: 300; color: var(--ivory); line-height: 1;
}
.range-label {
  display: block; margin-top: 5px;
  font-size: .63rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--stone);
}
.range-divider { width: 1px; height: 40px; background: rgba(255,255,255,.14); }


/* ═══════════════════════════════════════════════════
   STRIP — HORIZONTAL GALLERY
═══════════════════════════════════════════════════ */
.strip {
  position: relative;
  background: var(--black);
  border-top: 1px solid var(--black-border);
}
.strip__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 3px;
  cursor: grab;
  scroll-behavior: smooth;
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__track:active { cursor: grabbing; }

.strip__item {
  flex-shrink: 0;
  width: 420px; height: 520px;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
}
.strip__item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .55s var(--ease);
}
.strip__item:hover img { transform: scale(1.05); }
.strip__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.62) 0%, transparent 50%);
  pointer-events: none;
}
.strip__item figcaption {
  position: absolute; bottom: 22px; left: 24px; z-index: 2;
  font-size: .63rem; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(245,240,232,.58);
}

.strip__nav {
  position: absolute; bottom: 24px; right: 24px;
  display: flex; gap: 8px; z-index: 10;
}
.strip__btn {
  width: 44px; height: 44px;
  border: 1px solid rgba(245,240,232,.18);
  color: rgba(245,240,232,.55);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, color .25s, background .25s;
}
.strip__btn:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-dim);
}


/* ═══════════════════════════════════════════════════
   FILM PREZENTACYJNY
═══════════════════════════════════════════════════ */
.video-section {
  background: var(--black);
  padding-bottom: 0;
}
.video-section__header {
  padding-bottom: 48px;
}
.video-section__embed iframe {
  width: 100%;
  display: block;
  border: none;
}
.video-section__embed--landscape {
  display: block;
}
.video-section__embed--landscape iframe {
  aspect-ratio: 16 / 9;
}
.video-section__embed--portrait {
  display: none;
}
.video-section__embed--portrait iframe {
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   JACEK SYNKIEWICZ — wnętrza części wspólnych
═══════════════════════════════════════════════════ */
.synkiewicz { background: var(--black-soft); }

.synkiewicz__header { margin-bottom: 64px; }
.synkiewicz__header-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  margin-top: 20px;
}
.synkiewicz__lead { color: var(--stone); margin-bottom: 1rem; }
.synkiewicz__lead:last-child { margin-bottom: 0; }

/* Szerokie zdjęcie otwierające */
.synkiewicz__hero-img { margin-bottom: 0; }
.synkiewicz__hero-img img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
}

/* Nagłówek sekcji par */
.synkiewicz__pairs-header {
  padding: 72px 0 48px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.synkiewicz__pairs-header .heading-sm--light { margin-top: 12px; }

/* Siatka par: szkic + wizualizacja */
.synkiewicz__pairs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  padding-bottom: 80px;
}
.synkiewicz__pair-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}
.synkiewicz__pair-images img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.synkiewicz__pair-label {
  font-size: .63rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.5;
}

/* Główna galeria (zachowana dla kompatybilności) */
.synkiewicz__gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.synkiewicz__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.synkiewicz__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.synkiewicz__grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Sekcja rzemiosła — szkice i detale */
.synkiewicz__craft {
  padding: 72px 0 64px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.synkiewicz__craft-heading {
  margin-bottom: 40px;
}
.synkiewicz__craft-heading .heading-sm--light {
  margin-top: 12px;
}
.synkiewicz__craft-items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.synkiewicz__craft-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  filter: sepia(.12) contrast(1.04);
}
.synkiewicz__craft-item p {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 10px;
}

/* Dolna galeria szeroka */
.synkiewicz__wide {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 8px;
  padding-bottom: 8px;
}
.synkiewicz__wide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* heading helpers for dark section */
.heading-sm { font-family: var(--serif); font-size: clamp(1.6rem,2.4vw,2.2rem); font-weight: 300; line-height: 1.15; }
.heading-sm--light { color: var(--ivory); }
.heading-sm--light em { font-style: italic; color: var(--gold); }

/* ═══════════════════════════════════════════════════
   PROJEKTANCI WNĘTRZ
═══════════════════════════════════════════════════ */
.projektanci { background: var(--ivory-warm); }

.projektanci__header { margin-bottom: 16px; }
.projektanci__header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 0.6rem;
}
.projektanci__header-grid .heading-lg { margin-bottom: 0; }

/* ── Single designer block ── */
.designer {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid rgba(0,0,0,.09);
}
.projektanci__header + .designer { border-top: none; }
.designer--reverse {
  grid-template-columns: 1.5fr 1fr;
}
.designer--reverse .designer__meta   { order: 2; }
.designer--reverse .designer__images { order: 1; }

.designer__num {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.1rem;
}
.designer__name {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 300;
  color: var(--black);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.designer__name em { font-style: italic; color: var(--gold); }

.designer__tagline {
  display: block;
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.6rem;
}
.designer__bio {
  max-width: none;
  margin-bottom: 2.2rem;
}
.designer__cta {
  color: var(--black) !important;
  border-color: rgba(0,0,0,.22) !important;
}
.designer__cta:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.designer__images {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.designer__img-hero { overflow: hidden; }
.designer__img-hero img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.designer__img-hero:hover img { transform: scale(1.03); }

.designer__img-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.designer__img-thumbs img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}


/* ═══════════════════════════════════════════════════
   RZUTY
═══════════════════════════════════════════════════ */
.rzuty { background: var(--ivory); }
.rzuty__header { max-width: 560px; margin-bottom: 52px; }
.rzuty__header .heading-lg { margin-bottom: 1.2rem; }

.rzuty__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 44px;
}
.rzuty__card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  padding: 26px 22px 22px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.rzuty__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,.1);
}
.rzuty__card-top {
  display: flex; align-items: flex-start; gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.rzuty__card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid rgba(184,154,106,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); padding: 8px;
}
.rzuty__card-icon svg { width: 100%; height: 100%; }
.rzuty__card-name {
  font-family: var(--serif);
  font-size: 1.05rem; font-weight: 400;
  color: var(--black); line-height: 1.25;
}
.rzuty__card-sub {
  font-size: .68rem; color: var(--stone);
  letter-spacing: .06em; margin-top: 3px;
}
.rzuty__card-specs {
  display: flex; flex-direction: column;
  gap: 0; flex: 1;
}
.rzuty__spec {
  display: flex; justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.rzuty__spec span {
  font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--stone);
}
.rzuty__spec strong {
  font-family: var(--serif);
  font-size: .95rem; font-weight: 400; color: var(--black);
}
.rzuty__status--ok { color: #5a7a5a !important; font-size: .8rem !important; letter-spacing: .06em; }

.rzuty__card-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  background: var(--black); color: var(--ivory);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.rzuty__card-btn:hover { background: var(--gold); color: var(--black); }

.rzuty__footer {
  display: flex; align-items: center; gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.rzuty__footer .body-text { margin: 0; max-width: none; }
.rzuty__footer .btn--outline { color: var(--black); border-color: rgba(0,0,0,.22); }
.rzuty__footer .btn--outline:hover { border-color: var(--gold); color: var(--gold); }


/* ═══════════════════════════════════════════════════
   SMART HOME
═══════════════════════════════════════════════════ */
.smart { background: var(--ivory); }
.smart__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.smart__img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; display: block;
}
.smart__text .heading-md { margin-bottom: 1.4rem; }
.smart__list { display: flex; flex-direction: column; margin-top: 2rem; }
.smart__list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 17px 0; border-bottom: 1px solid rgba(0,0,0,.08);
}
.smart__icon { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.smart__list strong { display: block; font-size: .88rem; font-weight: 500; color: var(--black); margin-bottom: 2px; }
.smart__list p { font-size: .82rem; color: var(--stone); line-height: 1.55; }


/* ═══════════════════════════════════════════════════
   LOKALIZACJA
═══════════════════════════════════════════════════ */
.lokalizacja { background: var(--black-soft); }

.lokalizacja__aerial {
  position: relative;
  width: 100%; height: 65vh; min-height: 460px;
  overflow: hidden;
}
.lokalizacja__aerial img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.lokalizacja__aerial-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(8,8,8,.78) 0%, rgba(8,8,8,.42) 55%, transparent 100%
  );
}
.lokalizacja__aerial-caption {
  position: absolute; bottom: 52px; left: 56px; z-index: 2;
}

.lokalizacja__bottom {
  padding: var(--py) 0;
}
.lokalizacja__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.lokalizacja__map-wrap {
  width: 100%; height: 420px;
  overflow: hidden; border: 1px solid var(--black-border);
}
.lokalizacja__map-wrap iframe {
  display: block; width: 100%; height: 100%;
  filter: grayscale(55%) invert(8%);
}
.lokalizacja__address {
  font-size: .67rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--stone);
  margin-top: 12px;
}

.lokalizacja__pois-heading {
  font-family: var(--serif); font-size: 1.05rem;
  font-weight: 300; color: var(--ivory);
  margin-bottom: 16px;
}
.poi-list { display: flex; flex-direction: column; margin-bottom: 40px; }
.poi {
  display: flex; align-items: baseline; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--black-border);
}
.poi__time {
  font-family: var(--serif); font-size: .9rem;
  font-style: italic; color: var(--gold);
  min-width: 48px; flex-shrink: 0;
}
.poi__name { font-size: .86rem; color: var(--stone-light); }
.lokalizacja__transport { margin-top: 40px; }
.lokalizacja__transport .body-text { margin-top: 8px; }
.lokalizacja__more-link {
  display: inline-block;
  margin-top: 32px;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity .2s;
}
.lokalizacja__more-link:hover { opacity: .7; }
.lok-strip { background: var(--black-soft); border-top: none; }

/* ═══════════════════════════════════════════════════
   LOKALIZACJA PAGE — redesigned
═══════════════════════════════════════════════════ */

/* ── Hero ── */
.lok-hero {
  position: relative;
  width: 100%; height: 88vh; min-height: 620px;
  overflow: hidden;
}
.lok-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  display: block;
}
.lok-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,8,8,.72) 0%,
    rgba(8,8,8,.38) 50%,
    rgba(8,8,8,.55) 100%
  );
}
.lok-hero__caption {
  position: absolute; bottom: 72px; left: 56px; z-index: 2;
  max-width: 600px;
}
.lok-hero__h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.0;
  margin: 20px 0 28px;
}
.lok-hero__h1 em { color: var(--gold); font-style: italic; }
.lok-hero__sub {
  font-size: .92rem;
  color: rgba(245,240,232,.72);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 20px;
}
.lok-hero__address {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,240,232,.45);
}

/* ── Stats strip ── */
.lok-stats {
  background: var(--black-soft);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 44px 0;
}
.lok-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.lok-stats__item {
  display: flex; flex-direction: column;
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.lok-stats__item:first-child { padding-left: 0; }
.lok-stats__item:last-child  { border-right: none; }
.lok-stats__val {
  font-family: var(--serif);
  font-size: 2.6rem; font-weight: 300;
  color: var(--gold); line-height: 1;
}
.lok-stats__name {
  font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone); margin-top: 10px;
}

/* ── Ogród split ── */
.lok-garden-split {
  background: var(--black);
  padding: var(--py) 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.lok-garden-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.lok-garden-split__img {
  aspect-ratio: 3/2; overflow: hidden;
}
.lok-garden-split__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 7s ease;
}
.lok-garden-split__img:hover img { transform: scale(1.04); }
.lok-garden-split__heading {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300; color: var(--ivory);
  line-height: 1.05; margin: 20px 0 28px;
}
.lok-garden-split__heading em { color: var(--gold); font-style: italic; }
.lok-garden-split__desc {
  font-size: .9rem; color: var(--stone); line-height: 1.9;
}
.lok-garden-split__bullets {
  list-style: none; padding: 0;
  margin-top: 28px; display: flex; flex-direction: column; gap: 10px;
}
.lok-garden-split__bullets li {
  font-size: .82rem; color: var(--stone);
  padding-left: 20px; position: relative;
  line-height: 1.6;
}
.lok-garden-split__bullets li::before {
  content: '';
  position: absolute; left: 0; top: .5em;
  width: 6px; height: 1px;
  background: var(--gold);
}

/* ── Gallery section ── */
.lok-gallery {
  background: var(--black-soft);
  padding-top: var(--py);
  border-top: 1px solid rgba(255,255,255,.06);
}
.lok-gallery__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end;
  margin-bottom: 48px;
}
.lok-gallery__header-left {}
.lok-gallery__heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; color: var(--ivory);
  line-height: 1.1; margin: 16px 0 0;
}
.lok-gallery__heading em { color: var(--gold); font-style: italic; }
.lok-gallery__sub {
  font-size: .88rem; color: var(--stone);
  line-height: 1.85; align-self: end;
}
.lok-gallery__strip {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ── Map section ── */
.lok-map-section {
  background: var(--black);
  padding: var(--py) 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.lok-map-section__header {
  margin-bottom: 56px;
}
.lok-map-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.lok-map-section__map-col {}
.lok-map-section__pois-col {}

/* Legacy — kept for backward compat */
.lok-page__hero-address {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,240,232,.5);
  margin-top: 16px;
}
.lok-page__gallery {
  background: var(--black-soft);
  padding-top: var(--py);
}
.lok-page__section-header {
  margin-bottom: 48px;
}
.lok-page__heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin: 16px 0 20px;
}
.lok-page__heading em { color: var(--gold); font-style: italic; }
.lok-page__sub {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.8;
  max-width: 560px;
}
.lok-page__strip { background: var(--black-soft); border-top: 1px solid rgba(255,255,255,.06); }
.lok-page__map-section {
  background: var(--black-soft);
  padding: var(--py) 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Ogród Krasińskich feature */
.lok-garden {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}
.lok-garden__media {
  position: absolute;
  inset: 0;
}
/* Fallback image — always visible as base layer */
.lok-garden__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  z-index: 0;
}
/* Video overlaid on top — covers fallback when it plays */
.lok-garden__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.lok-garden__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,8,8,.65) 0%, rgba(8,8,8,.15) 60%, transparent 100%);
  z-index: 2;
}
.lok-garden__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  z-index: 3;
}
.lok-garden__heading {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.05;
  margin: 20px 0 24px;
}
.lok-garden__heading em { color: var(--gold); font-style: italic; }
.lok-garden__desc {
  font-size: .92rem;
  color: rgba(245,240,232,.65);
  line-height: 1.85;
  max-width: 420px;
}

/* Landmarks strip */
.lok-landmarks {
  background: var(--black-soft);
  padding-top: var(--py);
}
.lok-landmarks__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.lok-landmarks__heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin-top: 16px;
}
.lok-landmarks__heading em { color: var(--gold); font-style: italic; }
.lok-landmarks__sub {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.85;
  align-self: end;
}
.lok-landmarks__strip {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Responsive */
@media (max-width: 768px) {
  .lok-landmarks__header { grid-template-columns: 1fr; gap: 16px; }
  .lok-garden { height: 55vh; }
}

/* Lokalizacja page — responsive */
@media (max-width: 900px) {
  .lok-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .lok-stats__item { border-right: none; padding: 0; }
  .lok-garden-split__grid { grid-template-columns: 1fr; gap: 40px; }
  .lok-gallery__header { grid-template-columns: 1fr; gap: 20px; }
  .lok-map-section__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .lok-hero { height: 75vh; min-height: 500px; }
  .lok-hero__caption { left: 24px; right: 24px; bottom: 48px; }
  .lok-hero__h1 { font-size: clamp(2.4rem, 10vw, 3.8rem); }
}


/* ═══════════════════════════════════════════════════
   KONTAKT
═══════════════════════════════════════════════════ */
.kontakt { background: var(--ivory); }
.kontakt__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.kontakt__left .heading-lg { margin-bottom: 1.4rem; }
.kontakt__details {
  display: flex; flex-direction: column;
  gap: 14px; margin: 2.4rem 0;
}
.kontakt__link {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; color: var(--black);
  transition: color .25s;
}
.kontakt__link:hover { color: var(--gold); }
.kontakt__link-icon { color: var(--gold); font-size: .85rem; }
.kontakt__address {
  font-size: .88rem; color: var(--stone); line-height: 1.85;
  padding-top: 6px;
}

.kontakt__tagline {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--black);
  line-height: 1.65;
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(184,154,106,.06);
  margin: 1.6rem 0 0;
}

/* form */
.kontakt__form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--stone);
}
.form-group input,
.form-group textarea {
  background: transparent;
  border: none; border-bottom: 1px solid rgba(0,0,0,.18);
  padding: 11px 0; font-size: .95rem; color: var(--black);
  outline: none; border-radius: 0; resize: none;
  transition: border-color .25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(0,0,0,.2); }
.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--gold); }

.form-group--check {
  flex-direction: row; align-items: flex-start; gap: 12px;
}
.form-group--check input[type="checkbox"] {
  width: 15px; height: 15px; flex-shrink: 0;
  margin-top: 2px; accent-color: var(--gold);
  border: none; padding: 0;
}
.check-label {
  font-size: .72rem !important; letter-spacing: 0 !important;
  text-transform: none !important; color: var(--stone) !important; line-height: 1.55;
}
.form-link { color: var(--gold); border-bottom: 1px solid rgba(184,154,106,.3); transition: border-color .2s; }
.form-link:hover { border-color: var(--gold); }
.form-success {
  font-size: .82rem; color: #5a7a5a;
  letter-spacing: .04em; text-align: center;
  min-height: 1.2em;
}


/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--black-border);
  padding: 64px 0 32px;
}
.footer__top {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 48px; align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--black-border);
  margin-bottom: 28px;
}
.footer__logo { margin-bottom: 16px; }
.footer__logo-img {
  /* SVG ma ~32% whitespace — visible content ≈ 80px × 85px */
  width: 120px;
  height: auto;
  display: block;
  opacity: .9;
}
.footer__tagline { font-size: .72rem; color: var(--stone); letter-spacing: .05em; }
.footer__social {
  display: flex; gap: 12px; margin-top: 20px;
}
.footer__social-link {
  width: 34px; height: 34px;
  border: 1px solid var(--black-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--stone);
  transition: border-color .25s, color .25s;
}
.footer__social-link:hover { border-color: var(--gold); color: var(--gold); }

.footer__nav-heading {
  font-size: .63rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--stone);
  margin-bottom: 16px; display: block;
}
.footer__nav ul,
.footer__info ul {
  display: flex; flex-direction: column; gap: 10px;
}
.footer__nav a,
.footer__info a {
  font-size: .78rem; color: var(--stone-light);
  transition: color .25s;
}
.footer__nav a:hover,
.footer__info a:hover { color: var(--ivory); }

.footer__developer { margin-top: 32px; }
.footer__dev-label {
  font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--stone);
  margin-bottom: 5px; display: block;
}
.footer__developer p { font-size: .82rem; color: var(--stone-light); }

.footer__bottom {
  display: flex; justify-content: space-between;
  font-size: .68rem;
  color: rgba(122,116,108,.42);
  letter-spacing: .04em;
}


/* ═══════════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px; z-index: 150;
  width: 44px; height: 44px;
  border: 1px solid rgba(184,154,106,.4);
  color: var(--gold);
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, border-color .25s, background .25s, transform .3s;
  transform: translateY(12px);
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover { background: var(--gold-dim); border-color: var(--gold); }


/* ═══════════════════════════════════════════════════
   STANDARD WYKOŃCZENIA
═══════════════════════════════════════════════════ */
.standard { background: var(--white); }

.standard__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.standard__headline .heading-lg { margin-top: 0.6rem; }

.standard__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.standard__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px 24px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.standard__item:nth-child(n+7) { border-bottom: none; }
.standard__num {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
  flex-shrink: 0;
  min-width: 22px;
  line-height: 1.6;
}
.standard__item p {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.72;
}
.standard__item strong {
  font-weight: 500;
  color: var(--black);
}


/* ═══════════════════════════════════════════════════
   SZUKAJ — apartment search widget
═══════════════════════════════════════════════════ */
.szukaj {
  background: var(--black);
  padding: 32px 36px;
  margin-bottom: 48px;
}
.szukaj > .label { color: var(--gold-light); margin-bottom: 1.4rem; }
.szukaj__form {
  display: flex; align-items: flex-end;
  gap: 14px; flex-wrap: wrap;
}
.szukaj__fields {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; flex: 1; min-width: 0;
}
.szukaj__field { display: flex; flex-direction: column; gap: 7px; }
.szukaj__field label {
  font-size: .61rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--stone-light);
}
.szukaj__select-wrap { position: relative; }
.szukaj__select-wrap select {
  width: 100%;
  background: transparent; border: 1px solid var(--black-border);
  color: var(--ivory); padding: 11px 34px 11px 13px;
  font-size: .88rem; font-family: var(--sans); font-weight: 300;
  appearance: none; -webkit-appearance: none;
  cursor: pointer; outline: none; border-radius: 0;
  transition: border-color .25s;
}
.szukaj__select-wrap select:focus { border-color: var(--gold); }
.szukaj__select-wrap select option { background: #111; }
.szukaj__chevron {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); font-size: .65rem; pointer-events: none;
}
.szukaj__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 26px;
  background: var(--gold); color: var(--black);
  font-size: .71rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; border: 1px solid var(--gold);
  transition: background .25s, border-color .25s;
  white-space: nowrap; flex-shrink: 0; cursor: pointer;
}
.szukaj__btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.szukaj__btn .btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.szukaj__btn:hover .btn__arrow { transform: translateX(4px); }
.szukaj__all {
  display: block;
  margin-top: 16px;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: right;
  transition: color .2s;
}
.szukaj__all:hover { color: var(--gold); }


/* ═══════════════════════════════════════════════════
   WYNIKI — search results page
═══════════════════════════════════════════════════ */
.wyniki__hero {
  padding: calc(var(--nav-h) + 88px) 0 64px;
  background: var(--black-soft);
  border-bottom: 1px solid var(--black-border);
}
.wyniki__hero .label { margin-bottom: 1rem; }
.wyniki__hero .heading-lg { margin-bottom: 0; }

.wyniki__body { padding: var(--py) 0; background: var(--ivory); }

/* filters bar */
.filters-bar {
  background: var(--black);
  padding: 24px 28px;
  display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.filters-bar__fields {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; flex: 1; min-width: 0;
}
.filters-bar__field { display: flex; flex-direction: column; gap: 6px; }
.filters-bar__field label {
  font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--stone-light);
}
.filters-bar__select-wrap { position: relative; }
.filters-bar__select-wrap select {
  width: 100%;
  background: transparent; border: 1px solid var(--black-border);
  color: var(--ivory); padding: 10px 30px 10px 12px;
  font-size: .85rem; font-family: var(--sans); font-weight: 300;
  appearance: none; -webkit-appearance: none;
  cursor: pointer; outline: none; border-radius: 0;
  transition: border-color .25s;
}
.filters-bar__select-wrap select:focus { border-color: var(--gold); }
.filters-bar__select-wrap select option { background: #111; }
.filters-bar__chevron {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); font-size: .62rem; pointer-events: none;
}
.filters-bar__actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.filters-bar__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--gold); color: var(--black);
  font-size: .69rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; border: 1px solid var(--gold);
  transition: background .25s; cursor: pointer; white-space: nowrap;
}
.filters-bar__btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.filters-bar__reset {
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--stone-light); border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s; white-space: nowrap;
}
.filters-bar__reset:hover { color: var(--gold); border-color: var(--gold-light); }

/* results meta bar */
.wyniki__meta {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.wyniki__count {
  font-size: .69rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--stone);
}
.wyniki__contact-link {
  font-size: .68rem; color: var(--gold);
  letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid rgba(184,154,106,.3);
  transition: border-color .25s;
}
.wyniki__contact-link:hover { border-color: var(--gold); }

/* results grid */
.wyniki__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* apartment card */
.apt-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.apt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,.1);
}
.apt-card--sold { opacity: .55; }
.apt-card--sold:hover { transform: none; box-shadow: none; }

.apt-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  background: var(--black); color: var(--ivory);
}
.apt-card__id {
  font-family: var(--serif); font-size: 1.15rem;
  font-weight: 300; letter-spacing: .05em;
}
.apt-card__status {
  font-size: .58rem; letter-spacing: .14em;
  text-transform: uppercase; padding: 3px 8px;
  border: 1px solid currentColor;
}
.status--ok   { color: #7aaa7a; }
.status--sold { color: var(--stone); }
.status--res  { color: var(--gold); }

.apt-card__body {
  padding: 16px 18px; flex: 1;
  display: flex; flex-direction: column;
}
.apt-card__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.05);
}
.apt-card__row:last-child { border-bottom: none; }
.apt-card__row span {
  font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--stone);
}
.apt-card__row strong {
  font-family: var(--serif); font-size: .92rem;
  font-weight: 400; color: var(--black);
}

.apt-card__foot {
  padding: 12px 18px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.apt-card__btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  background: var(--black); color: var(--ivory);
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.apt-card__btn:hover { background: var(--gold); color: var(--black); }
.apt-card__btn--ghost {
  background: transparent; border: 1px solid rgba(0,0,0,.12);
  color: var(--stone);
}
.apt-card__btn--ghost:hover { background: var(--black); color: var(--ivory); border-color: var(--black); }

/* empty state */
.wyniki__empty {
  text-align: center; padding: 80px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.wyniki__empty-text {
  font-family: var(--serif); font-size: 1.35rem;
  font-weight: 300; color: var(--stone);
  max-width: 400px; line-height: 1.6;
}
.wyniki__empty .btn {
  color: var(--black); border-color: rgba(0,0,0,.2);
}
.wyniki__empty .btn:hover { border-color: var(--gold); color: var(--gold); }


/* ═══════════════════════════════════════════════════
   APARTAMENT — single view
═══════════════════════════════════════════════════ */
.apt-single__hero {
  padding: calc(var(--nav-h) + 72px) 0 64px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.apt-single__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(184,154,106,.08) 0%, transparent 70%);
  pointer-events: none;
}
.apt-single__hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  position: relative; z-index: 1;
}
.apt-single__hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.apt-single__hero-id {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  letter-spacing: -.01em;
}
.apt-single__hero-id em { color: var(--gold); font-style: italic; }
.apt-single__hero-pills {
  display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap;
}
.apt-single__pill {
  font-size: .63rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(245,240,232,.15);
  color: var(--stone);
}
.apt-single__pill strong {
  font-weight: 500;
  color: var(--ivory);
  margin-left: 5px;
}
.apt-single__hero-price {
  text-align: right;
}
.apt-single__price-label {
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}
.apt-single__price-value {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--gold);
}

/* Body */
.apt-single__body {
  background: var(--ivory);
  padding: var(--py) 0;
}
.apt-single__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

/* Specs */
.apt-single__specs-heading {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 24px;
}
.apt-single__specs-list {
  border-top: 1px solid rgba(0,0,0,.09);
}
.apt-single__spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
  gap: 16px;
}
.apt-single__spec-label {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone);
  flex-shrink: 0;
}
.apt-single__spec-value {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--black);
  text-align: right;
}
.apt-single__spec-value--gold { color: var(--gold); }

/* CTAs */
.apt-single__actions {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 36px;
}
.apt-single__actions .btn { justify-content: center; text-align: center; }

/* Back link */
.apt-single__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 40px;
  transition: color .2s;
}
.apt-single__back:hover { color: var(--gold); }

/* Plan area */
.apt-single__plan-box {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.apt-single__plan-label {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}
.apt-single__plan-frame {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--black-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(0,0,0,.08);
}
.apt-single__plan-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.apt-single__plan-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px;
  text-align: center;
}
.apt-single__plan-icon {
  width: 64px; height: 64px;
  opacity: .25;
}
.apt-single__plan-placeholder p {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
}
.apt-single__plan-download {
  margin-top: 12px;
}

/* Similar */
.apt-single__similar {
  background: var(--white);
  padding: var(--py) 0;
  border-top: 1px solid rgba(0,0,0,.07);
}
.apt-single__similar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  gap: 16px;
}
.apt-single__similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.apt-similar-card {
  background: var(--ivory);
  border: 1px solid rgba(0,0,0,.07);
  padding: 24px;
  text-decoration: none;
  display: block;
  transition: border-color .25s, transform .25s;
}
.apt-similar-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.apt-similar-card__id {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 12px;
}
.apt-similar-card__row {
  display: flex;
  justify-content: space-between;
  font-size: .74rem;
  color: var(--stone);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.apt-similar-card__row:last-child { border-bottom: none; }
.apt-similar-card__row strong { color: var(--black); font-weight: 400; }
.apt-similar-card__status {
  display: inline-block;
  margin-top: 14px;
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Status badge in hero eyebrow */
.apt-single__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}
.apt-single__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.badge--ok   { background: rgba(74,138,74,.12); color: #4a8a4a; }
.badge--ok::before   { background: #4a8a4a; }
.badge--sold { background: rgba(122,116,108,.12); color: var(--stone); }
.badge--sold::before { background: var(--stone); }
.badge--res  { background: rgba(184,154,106,.12); color: var(--gold); }
.badge--res::before  { background: var(--gold); }

/* Price block variants */
.apt-single__price {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1.1;
}
.apt-single__price--sold { color: var(--stone); }
.apt-single__price-sqm {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 6px;
}

/* Action buttons */
.apt-single__action-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* PDF object embed */
.apt-single__plan-pdf {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
  border: none;
}
.apt-single__plan-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px;
  text-align: center;
}
.apt-single__plan-placeholder-text {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.8;
}

/* Similar card internals */
.apt-similar-card__id {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 8px;
}
.apt-similar-card__floor {
  font-size: .63rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}
.apt-similar-card__pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.apt-similar-card__pills li {
  font-size: .63rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--black);
  background: rgba(0,0,0,.05);
  padding: 4px 10px;
}
.apt-similar-card__price {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 12px;
}
.apt-similar-card__status {
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.apt-similar-card__status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
}
.apt-similar-card__status--ok   { color: #4a8a4a; }
.apt-similar-card__status--ok::before   { background: #4a8a4a; }
.apt-similar-card__status--res  { color: var(--gold); }
.apt-similar-card__status--res::before  { background: var(--gold); }

/* Not found */
.apt-single__not-found {
  padding: calc(var(--nav-h) + 120px) 0 120px;
  background: var(--black);
  text-align: center;
}

/* Responsive — apt-single */
@media (max-width: 900px) {
  .apt-single__hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .apt-single__hero-price { text-align: left; }
  .apt-single__layout { grid-template-columns: 1fr; }
  .apt-single__plan-box { position: static; }
  .apt-single__similar-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 580px) {
  .apt-single__similar-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   APT WELLNESS
═══════════════════════════════════════════════════ */
.apt-wellness {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Nagłówek */
.apt-wellness__header {
  padding: var(--py) 0 60px;
}
.apt-wellness__header-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.apt-wellness__heading {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin: 20px 0 24px;
}
.apt-wellness__heading em { color: var(--gold); font-style: italic; }
.apt-wellness__excl {
  font-size: .63rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.9;
}
.apt-wellness__intro {
  font-size: .94rem;
  color: var(--stone-light);
  line-height: 1.9;
  margin-bottom: 32px;
}
.apt-wellness__more {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity .2s;
}
.apt-wellness__more:hover { opacity: .7; }

/* Slider wellness — nadpisuje tło .strip */
.apt-wellness__strip {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Cechy */
.apt-wellness__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 0;
}
.apt-wellness__feat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.apt-wellness__feat:last-child { border-right: none; }
.apt-wellness__feat-name {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.apt-wellness__feat-desc {
  font-size: .82rem;
  color: var(--stone);
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .apt-wellness__features { grid-template-columns: repeat(2, 1fr); }
  .apt-wellness__feat:nth-child(2) { border-right: none; }
  .apt-wellness__feat:nth-child(1),
  .apt-wellness__feat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.06); }
}
@media (max-width: 900px) {
  .apt-wellness__header-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 580px) {
  .apt-wellness__features { grid-template-columns: 1fr; }
  .apt-wellness__feat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
}

/* ═══════════════════════════════════════════════════
   APT LOKALIZACJA
═══════════════════════════════════════════════════ */
.apt-location {
  background: var(--ivory);
  padding: var(--py) 0;
}
.apt-location__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.apt-location__heading {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--black);
  line-height: 1.1;
  margin: 20px 0 24px;
}
.apt-location__heading em { color: var(--gold); font-style: italic; }
.apt-location__desc {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 24px;
}
.apt-location__address {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
  font-style: normal;
  margin-bottom: 28px;
}
.apt-location__link {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity .2s;
}
.apt-location__link:hover { opacity: .7; }
.apt-location__distances {
  border-top: 1px solid rgba(0,0,0,.09);
}
.apt-location__dist-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
  gap: 16px;
}
.apt-location__dist-place {
  font-size: .82rem;
  color: var(--black);
}
.apt-location__dist-time {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .apt-location__inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ═══════════════════════════════════════════════════
   APT PROJEKTANCI
═══════════════════════════════════════════════════ */
.apt-designers {
  background: var(--black);
  padding: var(--py) 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.apt-designers__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.apt-designers__heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
  margin: 20px 0 24px;
}
.apt-designers__heading em { color: var(--gold); font-style: italic; }
.apt-designers__desc {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 36px;
}
.apt-designers__cta { display: inline-flex; }
.apt-designers__list {
  border-top: 1px solid rgba(255,255,255,.08);
}
.apt-designers__item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: border-color .2s;
}
.apt-designers__item:hover { border-color: rgba(184,154,106,.3); }
.apt-designers__num {
  font-size: .58rem;
  letter-spacing: .18em;
  color: var(--stone);
  flex-shrink: 0;
  width: 24px;
}
.apt-designers__studio {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--ivory);
  font-style: italic;
}
@media (max-width: 900px) {
  .apt-designers__inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ═══════════════════════════════════════════════════
   APT CTA KONTAKT
═══════════════════════════════════════════════════ */
.apt-cta {
  background: var(--black-soft);
  padding: 100px 0;
  border-top: 1px solid rgba(184,154,106,.15);
  border-bottom: 1px solid rgba(184,154,106,.15);
  position: relative;
  overflow: hidden;
}
.apt-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(184,154,106,.06) 0%, transparent 65%);
  pointer-events: none;
}
.apt-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 1;
}
.apt-cta__heading {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin: 20px 0 20px;
}
.apt-cta__heading em { color: var(--gold); font-style: italic; }
.apt-cta__sub {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.8;
  max-width: 420px;
}
.apt-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex-shrink: 0;
}
.apt-cta__btn-main {
  white-space: nowrap;
  padding-left: 40px;
  padding-right: 40px;
}
.apt-cta__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.apt-cta__contact-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--stone);
  transition: color .2s;
}
.apt-cta__contact-link:hover { color: var(--gold); }
.apt-cta__contact-link svg { opacity: .5; flex-shrink: 0; }
@media (max-width: 860px) {
  .apt-cta__inner { grid-template-columns: 1fr; gap: 48px; }
  .apt-cta__actions { width: 100%; }
  .apt-cta__btn-main { width: 100%; text-align: center; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   OFERTA — pełna oferta apartamentów
═══════════════════════════════════════════════════ */
.oferta__hero {
  padding: calc(var(--nav-h) + 88px) 0 64px;
  background: var(--black-soft);
}
.oferta__hero .label { margin-bottom: 1rem; }
.oferta__hero .heading-lg { margin-bottom: 0; }

.oferta__body { padding: var(--py) 0; background: var(--ivory); }

/* Meta row */
.oferta__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.oferta__count {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}
.oferta__sort-hint {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(8,8,8,.28);
}

/* Table wrapper — horizontal scroll on small screens */
.oferta__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(0,0,0,.08);
}

/* Table */
.oferta__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  white-space: nowrap;
}

/* Header */
.oferta__table thead tr {
  background: var(--black);
}
.oferta__table thead th {
  padding: 14px 20px;
  text-align: left;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  user-select: none;
}
.oferta__table thead th.sortable {
  cursor: pointer;
  transition: color .2s;
}
.oferta__table thead th.sortable:hover { color: var(--gold); }
.oferta__table thead th.sort--asc,
.oferta__table thead th.sort--desc { color: var(--gold); }

/* Sort icon */
.sort-icon {
  display: inline-block;
  margin-left: 5px;
  font-size: .7rem;
  opacity: .35;
  transition: opacity .2s;
}
.sortable:hover .sort-icon,
.sort--asc .sort-icon,
.sort--desc .sort-icon { opacity: 1; }
.sort--asc  .sort-icon::after { content: '↑'; }
.sort--desc .sort-icon::after { content: '↓'; }
.sort-icon::after { content: '↕'; }

/* Body rows */
.oferta__table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background .15s;
}
.oferta__table tbody tr:last-child { border-bottom: none; }
.oferta__table tbody tr:nth-child(even) { background: rgba(0,0,0,.018); }
.oferta__table tbody tr:hover { background: rgba(184,154,106,.07); }

/* Sold row */
.oferta__table tbody tr.row--sold { opacity: .45; }

/* Cells */
.oferta__table tbody td {
  padding: 15px 20px;
  color: var(--black);
  vertical-align: middle;
}
.oferta__table tbody td:first-child {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: .04em;
}

/* Status badge */
.oferta__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .67rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.oferta__status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.oferta__status--ok   { color: #4a8a4a; }
.oferta__status--ok::before   { background: #4a8a4a; }
.oferta__status--sold { color: var(--stone); }
.oferta__status--sold::before { background: var(--stone); }
.oferta__status--res  { color: var(--gold); }
.oferta__status--res::before  { background: var(--gold); }

/* Plan link */
.oferta__plan-btn {
  font-size: .67rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid rgba(0,0,0,.2);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.oferta__plan-btn:hover { color: var(--gold); border-color: var(--gold); }
.oferta__apt-link {
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: color .2s;
  border-bottom: 1px solid rgba(0,0,0,.15);
  padding-bottom: 1px;
}
.oferta__apt-link:hover { color: var(--gold); border-color: var(--gold); }
.oferta__plan-ghost {
  font-size: .67rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Contact strip below table */
.oferta__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding: 32px 36px;
  background: var(--black);
  gap: 24px;
}
.oferta__cta p {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ivory);
}
.oferta__cta .btn { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --py: 88px; }
  .container { padding: 0 36px; }
  .nav { padding: 0 36px; }
  .hero__content { padding: 0 36px 80px; }
  .hero__stats { right: 36px; gap: 18px; }
  .lokalizacja__aerial-caption { left: 36px; }
  .architektura__panel-caption { padding: 0 36px; }
  .rzuty__grid { grid-template-columns: repeat(2, 1fr); }
  .wyniki__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .rezydencja__grid,
  .smart__grid,
  .kontakt__grid { grid-template-columns: 1fr; gap: 48px; }

  .architektura__content { grid-template-columns: 1fr; gap: 36px; }

  .lokalizacja__grid { grid-template-columns: 1fr; gap: 48px; }

  .wellness__grid { grid-template-columns: 1fr 1fr; }
  .wellness__card--tall { grid-column: 1 / 3; grid-row: auto; }
  .wellness__card--tall .wellness__card-img { aspect-ratio: 16/7; }
  .wellness__card--wide { grid-column: 1 / 3; }
  .wellness__card--wide .wellness__card-img { aspect-ratio: 16/7; }

  .hol__grid { grid-template-columns: 1fr; }
  .hol__cell--main { aspect-ratio: 16/9; }
  .hol__cell--side { display: none; }

  .projektanci__header-grid { grid-template-columns: 1fr; gap: 24px; }
  .designer,
  .designer--reverse { grid-template-columns: 1fr; gap: 40px; }
  .designer--reverse .designer__meta,
  .designer--reverse .designer__images { order: unset; }

  .footer__top { grid-template-columns: 1fr 1fr; }

  .szukaj__fields { grid-template-columns: 1fr 1fr; }
  .filters-bar__fields { grid-template-columns: 1fr 1fr; }
  .wyniki__grid { grid-template-columns: repeat(2, 1fr); }

  .standard__top { grid-template-columns: 1fr; gap: 28px; }
  .standard__list { grid-template-columns: repeat(2, 1fr); }
  .standard__item:nth-child(n+7) { border-bottom: 1px solid rgba(0,0,0,.08); }
  .standard__item:nth-child(n+8) { border-bottom: none; }
}

@media (max-width: 768px) {
  :root { --py: 64px; }
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; }

  .video-section__embed--landscape { display: none; }
  .video-section__embed--portrait  { display: block; }

  .nav__links {
    position: fixed; inset: 0;
    background: rgba(8,8,8,.98);
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    padding-top: var(--nav-h);
    z-index: 200;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: .85rem; letter-spacing: .22em; }
  .nav__lang { border-left: none; padding-left: 0; }
  .nav__burger { display: flex; }

  .hero__content { padding: calc(var(--nav-h) + 60px) 20px 32px; }
  .hero__title { font-size: clamp(3.5rem, 14vw, 6rem); }
  .hero__subtitle { font-size: .9rem; margin-bottom: 2rem; }

  /* Slider: caption i scroll indicator ukryte na mobile */
  .hero__slide-caption { display: none; }
  .hero__scroll { display: none; }

  /* Kolejność flex na mobile: content → dots → stats */
  .hero__content { order: 1; }
  .hero__dots {
    order: 2;
    position: static;
    justify-content: flex-start;
    padding: 0 20px 16px;
    gap: 8px;
  }
  .hero__dot { width: 36px; }

  /* Stats: normalny flow, na samym dole */
  .hero__stats {
    order: 3;
    position: static; z-index: 2;
    justify-content: center; flex-wrap: wrap;
    gap: 14px; padding: 0 20px 32px;
  }

  .strip__item { width: 300px; height: 400px; }
  .rzuty__grid { grid-template-columns: 1fr; }
  .rzuty__footer { flex-direction: column; gap: 20px; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .lokalizacja__aerial-caption { left: 20px; bottom: 36px; }
  .architektura__panel-caption { padding: 0 20px; }
  .back-to-top { bottom: 20px; right: 20px; }

  .szukaj { padding: 24px 20px; }
  .szukaj__fields { grid-template-columns: 1fr; }
  .szukaj__btn { width: 100%; justify-content: center; }
  .filters-bar { padding: 20px; }
  .filters-bar__fields { grid-template-columns: 1fr; }
  .wyniki__grid { grid-template-columns: repeat(2, 1fr); }
  .standard__list { grid-template-columns: 1fr; }
  .standard__item:nth-child(n) { border-bottom: 1px solid rgba(0,0,0,.08); }
  .standard__item:last-child { border-bottom: none; }
}

@media (max-width: 520px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .apartamenty__range { flex-direction: column; gap: 16px; }
  .range-divider { width: 40px; height: 1px; }
  .wellness__grid { grid-template-columns: 1fr; }
  .wellness__card--tall,
  .wellness__card--wide { grid-column: auto; }
  .wellness__card--tall .wellness__card-img,
  .wellness__card--wide .wellness__card-img { aspect-ratio: 4/3; }
  .projektant__img-pair { grid-template-columns: 1fr; }

  .wyniki__grid { grid-template-columns: 1fr; }
  .filters-bar__actions { width: 100%; }
  .filters-bar__btn { flex: 1; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   WELLNESS PAGE
═══════════════════════════════════════════════════ */

/* ── Intro / Philosophy ── */
.well-intro {
  background: var(--black);
  padding: var(--py) 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.well-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.well-intro__heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; color: var(--ivory);
  line-height: 1.1; margin: 20px 0 0;
}
.well-intro__heading em { color: var(--gold); font-style: italic; }
.well-intro__text {
  font-size: .92rem; color: var(--stone);
  line-height: 1.9;
}
.well-intro__text + .well-intro__text { margin-top: 20px; }

/* ── Split sections ── */
.well-split {
  background: var(--black-soft);
  padding: var(--py) 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.well-split--dark { background: var(--black); }
.well-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.well-split__grid--reverse { direction: rtl; }
.well-split__grid--reverse > * { direction: ltr; }
.well-split__img {
  aspect-ratio: 3/2; overflow: hidden;
}
.well-split__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 7s ease;
}
.well-split__img:hover img { transform: scale(1.04); }
.well-split__heading {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300; color: var(--ivory);
  line-height: 1.05; margin: 20px 0 28px;
}
.well-split__heading em { color: var(--gold); font-style: italic; }
.well-split__desc {
  font-size: .9rem; color: var(--stone); line-height: 1.9;
}
.well-split__bullets {
  list-style: none; padding: 0;
  margin-top: 28px; display: flex; flex-direction: column; gap: 10px;
}
.well-split__bullets li {
  font-size: .82rem; color: var(--stone);
  padding-left: 20px; position: relative; line-height: 1.6;
}
.well-split__bullets li::before {
  content: '';
  position: absolute; left: 0; top: .5em;
  width: 6px; height: 1px; background: var(--gold);
}

/* ── Patio feature ── */
.well-patio {
  position: relative;
  height: 70vh; min-height: 500px;
  overflow: hidden;
}
.well-patio__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block;
}
.well-patio__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(8,8,8,.72) 0%, rgba(8,8,8,.3) 55%, transparent 100%);
}
.well-patio__content {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding-bottom: 72px; z-index: 2;
}
.well-patio__heading {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300; color: var(--ivory);
  line-height: 1.05; margin: 20px 0 24px;
}
.well-patio__heading em { color: var(--gold); font-style: italic; }
.well-patio__desc {
  font-size: .9rem; color: rgba(245,240,232,.65);
  line-height: 1.85; max-width: 480px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .well-intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .well-split__grid,
  .well-split__grid--reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
}
@media (max-width: 768px) {
  .well-patio { height: 55vh; }
}

/* ── ARCHITEKTURA PAGE ─────────────────────────────────────── */
.arch-transition {
  background: var(--black);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.arch-transition__label { margin-bottom: 16px; }
.arch-transition__heading {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 0;
}
.arch-transition__heading em { font-style: italic; color: var(--gold); }
.arch-transition__text {
  max-width: 600px;
  margin: 28px auto 0;
  color: var(--stone);
  font-size: .9375rem;
  line-height: 1.8;
}

/* ── FAQ PAGE ──────────────────────────────────────────────── */
.faq-hero {
  padding: calc(var(--nav-h) + 80px) 0 72px;
  background: var(--black-soft);
}
.faq-hero .label { margin-bottom: 1rem; }
.faq-hero .heading-lg { margin-bottom: 0; }

.faq-body {
  background: var(--ivory);
  padding: var(--py) 0;
}

.faq-intro {
  max-width: 640px;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.faq-intro__text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--black-soft);
  margin-bottom: 20px;
}
.faq-intro__link {
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: opacity .2s;
}
.faq-intro__link:hover { opacity: .7; }

.faq-list { margin: 0; padding: 0; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,.1); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
  transition: color .2s;
  user-select: none;
}
.faq-q:hover { color: var(--gold); }
.faq-q__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 300;
  transition: transform .3s, background .2s, color .2s;
}
.faq-item--open .faq-q { color: var(--gold); }
.faq-item--open .faq-q__icon {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ivory);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
  margin: 0;
}
.faq-item--open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a__inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom .35s ease;
}
.faq-item--open .faq-a__inner {
  padding-bottom: 32px;
}
.faq-a__inner p {
  font-size: .9375rem;
  line-height: 1.8;
  color: #4a4540;
  margin-bottom: 1rem;
}
.faq-a__inner p:last-child { margin-bottom: 0; }
.faq-a__inner ul {
  margin: 8px 0 16px 0;
  padding-left: 0;
  list-style: none;
}
.faq-a__inner ul li {
  font-size: .9375rem;
  line-height: 1.7;
  color: #4a4540;
  padding: 4px 0 4px 20px;
  position: relative;
}
.faq-a__inner ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .8rem;
}

.faq-cta {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.faq-cta__text {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.375rem);
  color: var(--black);
  margin: 0;
}

@media (max-width: 600px) {
  .faq-q { padding: 22px 0; font-size: 1rem; }
  .faq-cta { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ── MEDIA / AKTUALNOŚCI ───────────────────────────────────── */
.media-section { background: var(--ivory-warm); }

.media-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.media-section__all {
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.media-section__all:hover { opacity: .7; }

.media-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.media-card {
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  transition: transform .3s;
}
.media-card:hover { transform: translateY(-4px); }

.media-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.media-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.media-card:hover .media-card__img img { transform: scale(1.04); }

.media-card__body {
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.media-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.media-card__source {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.media-card__date {
  font-family: var(--sans);
  font-size: .75rem;
  color: var(--stone);
}
.media-card__title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 12px;
}
.media-card__desc {
  font-size: .875rem;
  line-height: 1.7;
  color: #5a5550;
  margin-bottom: 20px;
  flex: 1;
}
.media-card__link {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color .2s, border-color .2s;
}
.media-card__link:hover { color: var(--gold); }

/* Aktualności page */
.news-intro {
  max-width: 600px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--black-soft);
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.news-card { display: flex; flex-direction: column; }

.news-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 20px;
}
.news-card__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s;
}
.news-card:hover .news-card__img img { transform: scale(1.04); }

.news-card__body { display: flex; flex-direction: column; flex: 1; }

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.news-card__source {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.news-card__date {
  font-family: var(--sans);
  font-size: .75rem;
  color: var(--stone);
}
.news-card__title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 10px;
}
.news-card__desc {
  font-size: .875rem;
  line-height: 1.7;
  color: #5a5550;
  margin-bottom: 16px;
  flex: 1;
}
.news-card__link {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color .2s;
}
.news-card__link:hover { color: var(--gold); }

@media (max-width: 900px) {
  .media-section__grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .media-section__grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .media-section__header { flex-direction: column; align-items: flex-start; }
}
