/* =========================================================
   MURO INVESTMENT – Słoneczne Tarasy
   Złoto z logo (#CAA859) + grafit + ciepła biel.
   Bazuje na presetach A (K200) i B (NS) z CLAUDE.md.
   ========================================================= */
:root {
  --bg-primary: #FAF8F3;
  --bg-secondary: #F1ECE2;
  --bg-card: #FFFFFF;
  --bg-dark: #16150F;
  --bg-dark-2: #201E17;
  --accent: #C4A055;
  --accent-light: #D9BD7E;
  --accent-dark: #8F7334;
  --accent-soft: rgba(196,160,85,0.14);
  --text-primary: #1C1B17;
  --text-secondary: #57544B;
  --text-muted: #6F6B60;
  --text-on-dark: #F3EFE6;
  --text-on-dark-2: rgba(243,239,230,0.68);
  --border: rgba(28,27,23,0.10);
  --border-strong: rgba(28,27,23,0.18);
  --border-dark: rgba(255,255,255,0.10);

  --st-dostepny: #2F7D52;
  --st-rezerwacja: #C98A1B;
  --st-sprzedany: #A3463A;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  --space-xs: 0.5rem; --space-sm: 1rem; --space-md: 1.5rem; --space-lg: 2.5rem;
  --space-xl: 4rem; --space-2xl: 6rem; --space-3xl: 8rem;
  --fs-hero: clamp(2.6rem, 6.4vw, 5.4rem);
  --fs-h1: clamp(1.9rem, 3.6vw, 3rem);
  --fs-h2: clamp(1.7rem, 3.2vw, 2.6rem);
  --fs-h3: clamp(1.1rem, 1.6vw, 1.3rem);
  --fs-body: 1rem; --fs-small: 0.875rem;
  --ls-wide: 0.08em; --ls-wider: 0.22em;
  --max-width: 1280px; --nav-height: 80px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(22,21,15,0.06);
  --shadow-md: 0 8px 28px rgba(22,21,15,0.10);
  --shadow-lg: 0 24px 60px rgba(22,21,15,0.22);
  --t-fast: 0.15s ease; --t-normal: 0.3s ease; --t-slow: 0.7s cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-body); font-weight: 400; background: var(--bg-primary); color: var(--text-primary); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
svg { flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 300; background: var(--accent); color: #111; padding: .6rem 1rem; border-radius: var(--radius-md); }
.skip-link:focus { top: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-3xl) 0; }
.section--alt { background: var(--bg-secondary); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
@media (max-width: 768px) {
  .container { padding: 0 var(--space-sm); }
  .section { padding: var(--space-xl) 0; }
}

/* ---------- Typografia ---------- */
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--accent-dark); margin-bottom: var(--space-sm); display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .eyebrow--light { color: var(--accent-light); }
.h2 { font-family: var(--font-heading); font-weight: 500; font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: var(--space-md); }
.lead { font-size: 1.15rem; color: var(--text-primary); margin-bottom: var(--space-sm); }
.section--dark .lead { color: var(--text-on-dark); }
p + p { margin-top: .8rem; }
.split__text > p:not(.eyebrow):not(.lead) { color: var(--text-secondary); }
.section--dark .split__text > p:not(.eyebrow) { color: var(--text-on-dark-2); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-lg); margin-bottom: var(--space-xl); flex-wrap: wrap; }
.section-head .h2 { margin-bottom: 0; }
.section-head__aside { max-width: 440px; color: var(--text-secondary); }
.section--dark .section-head__aside { color: var(--text-on-dark-2); }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .85rem 1.8rem; border-radius: var(--radius-md); font-weight: 500; font-size: .85rem; letter-spacing: var(--ls-wide); text-transform: uppercase; border: 1px solid transparent; cursor: pointer; transition: background var(--t-normal), color var(--t-normal), border-color var(--t-normal), transform var(--t-normal); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-normal); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #16150F; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); }
.btn--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.btn--dark:hover { background: var(--accent-dark); }
.btn--outline { color: var(--accent-dark); border-color: var(--accent); background: transparent; }
.btn--outline:hover { background: var(--accent); color: #16150F; }
.section--dark .btn--outline { color: var(--accent-light); }
.btn--sm { min-height: 44px; padding: .6rem 1.2rem; font-size: .78rem; }
.btn--full { width: 100%; }
.link-btn { color: var(--accent-dark); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; padding: .5rem 0; }

/* ---------- Nawigacja ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-height); color: var(--text-on-dark); transition: background var(--t-normal), box-shadow var(--t-normal), height var(--t-normal); }
.nav::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,8,.55), transparent); pointer-events: none; transition: opacity var(--t-normal); }
.nav--scrolled { background: rgba(22,21,15,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--border-dark); --nav-height: 68px; }
.nav--scrolled::before { opacity: 0; }
.nav__inner { position: relative; max-width: var(--max-width); height: 100%; margin: 0 auto; padding: 0 var(--space-lg); display: flex; align-items: center; gap: var(--space-lg); }
.nav__logo img { height: 52px; width: auto; transition: height var(--t-normal); }
.nav--scrolled .nav__logo img { height: 44px; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: .9rem; letter-spacing: .02em; position: relative; padding: .5rem 0; }
.nav__links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform var(--t-normal); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }
.nav__phone { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border: 1px solid rgba(196,160,85,.55); border-radius: 999px; font-size: .88rem; font-weight: 500; transition: background var(--t-normal), color var(--t-normal); }
.nav__phone svg { width: 16px; height: 16px; fill: none; stroke: var(--accent-light); stroke-width: 1.8; }
.nav__phone:hover { background: var(--accent); color: #16150F; }
.nav__phone:hover svg { stroke: #16150F; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform var(--t-normal), opacity var(--t-fast); }
.nav__burger span:nth-child(1) { top: 15px; } .nav__burger span:nth-child(2) { top: 21px; } .nav__burger span:nth-child(3) { top: 27px; }
.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); }

@media (max-width: 1080px) {
  .nav__phone { display: none; }
  .nav__burger { display: block; }
  .nav nav { position: fixed; inset: var(--nav-height) 0 auto; margin: 0; background: var(--bg-dark); border-top: 1px solid var(--border-dark); max-height: 0; overflow: hidden; transition: max-height .4s ease; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; padding: 0 var(--space-sm); }
  .nav__links.open { padding: var(--space-sm); }
  .nav nav:has(.open) { max-height: calc(100vh - var(--nav-height)); overflow-y: auto; box-shadow: var(--shadow-lg); }
  .nav__links a:not(.btn) { display: block; padding: 1rem .25rem; border-bottom: 1px solid var(--border-dark); font-size: 1.05rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__mobile-cta { display: block; padding-top: var(--space-sm); }
}
@media (max-width: 768px) {
  .nav__inner { padding: 0 var(--space-sm); }
  .nav__logo img { height: 44px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--text-on-dark); padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl); overflow: hidden; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg img { animation: heroZoom 18s ease-out both; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,9,.35) 0%, rgba(14,13,9,.05) 35%, rgba(14,13,9,.55) 70%, rgba(14,13,9,.85) 100%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-xl); align-items: end; }
.hero h1 { font-family: var(--font-heading); font-weight: 500; font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: var(--space-md); animation: up .9s .1s both; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 300; max-width: 520px; color: rgba(243,239,230,.88); animation: up .9s .25s both; }
.hero .eyebrow { animation: up .9s both; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.quick { background: rgba(250,248,243,.97); color: var(--text-primary); border-radius: var(--radius-lg); padding: var(--space-md); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); box-shadow: var(--shadow-lg); animation: up .9s .4s both; }
.quick__field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .35rem; }
.quick select, .select, .form select { width: 100%; min-height: 48px; padding: 0 2.4rem 0 .9rem; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F7334' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 16px; appearance: none; cursor: pointer; transition: border-color var(--t-fast); }
.quick select:hover, .select:hover { border-color: var(--accent); }
.quick__btn { grid-column: 1 / -1; }
.quick__meta { grid-column: 1 / -1; font-size: .85rem; color: var(--text-secondary); text-align: center; }
.quick__meta strong { color: var(--st-dostepny); }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + 22vh); }
  .hero::after { background: linear-gradient(180deg, rgba(14,13,9,.4) 0%, rgba(14,13,9,.25) 25%, rgba(14,13,9,.7) 55%, rgba(14,13,9,.9) 100%); }
}
@media (max-width: 480px) { .quick { grid-template-columns: 1fr; } }

/* ---------- Fakty ---------- */
.facts { background: var(--bg-dark); color: var(--text-on-dark); border-top: 1px solid var(--border-dark); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: var(--space-lg) var(--space-md); border-left: 1px solid var(--border-dark); display: flex; flex-direction: column; gap: .25rem; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { font-family: var(--font-heading); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--accent-light); line-height: 1.1; }
.fact span { color: var(--text-on-dark-2); font-size: .9rem; }
@media (max-width: 768px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: var(--space-md) var(--space-sm); }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--border-dark); }
}

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
#inwestycja .split__media img { aspect-ratio: 4 / 5; max-height: 640px; }
.split__media figcaption { font-size: .8rem; color: var(--text-muted); margin-top: .6rem; }
.split__media::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--accent); border-radius: var(--radius-lg); z-index: -1; }
.checks { margin: var(--space-md) 0 var(--space-lg); display: grid; gap: .6rem; }
.checks li { display: flex; gap: .75rem; align-items: baseline; }
.checks li::before { content: ''; width: 14px; height: 8px; border-left: 2px solid var(--accent-dark); border-bottom: 2px solid var(--accent-dark); transform: rotate(-45deg) translateY(-3px); flex-shrink: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .split__media::before { inset: 14px -10px -14px 10px; }
  #inwestycja .split__media img { aspect-ratio: 4 / 3; }
}

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); margin-top: var(--space-3xl); }
.perk { padding: var(--space-lg) var(--space-md); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform var(--t-normal), box-shadow var(--t-normal); }
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.perk svg { width: 34px; height: 34px; fill: none; stroke: var(--accent-dark); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--space-md); }
.perk h3 { font-family: var(--font-heading); font-weight: 500; font-size: 1.2rem; margin-bottom: .4rem; }
.perk p { color: var(--text-secondary); font-size: .95rem; }
@media (max-width: 1024px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; margin-top: var(--space-2xl); } }

/* ---------- Filtry ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-lg); align-items: flex-end; padding: var(--space-md); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: var(--space-lg); box-shadow: var(--shadow-sm); }
.filters__group { display: flex; flex-direction: column; gap: .4rem; }
.filters__label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.filters .select { min-width: 170px; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { min-height: 44px; padding: 0 1.05rem; border-radius: 999px; border: 1px solid var(--border-strong); font-size: .9rem; background: #fff; transition: all var(--t-fast); }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--bg-dark); color: var(--text-on-dark); border-color: var(--bg-dark); }
.switch { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; cursor: pointer; font-size: .92rem; margin-left: auto; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { width: 44px; height: 26px; border-radius: 999px; background: var(--border-strong); position: relative; transition: background var(--t-fast); }
.switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--t-normal); }
.switch input:checked + .switch__track { background: var(--st-dostepny); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 768px) {
  .filters { gap: var(--space-sm); padding: var(--space-sm); }
  .filters__group { width: 100%; }
  .filters__group:has(.select) { width: calc(50% - .5rem); }
  .filters .select { min-width: 0; }
  .switch { margin-left: 0; }
}

/* ---------- Finder ---------- */
.finder { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
.finder__plan { position: sticky; top: calc(var(--nav-height) + 1rem); }
.plan-scroll { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-dark); }
.plan { position: relative; aspect-ratio: 1920 / 1300; }
.plan > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plan__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan__svg polygon { stroke: rgba(255,255,255,.9); vector-effect: non-scaling-stroke; stroke-width: 1.2; cursor: pointer; transition: fill var(--t-fast), opacity var(--t-normal), stroke var(--t-fast); outline: none; }
.plan__svg polygon[data-status="dostepny"] { fill: rgba(255,255,255,.06); }
.plan__svg polygon[data-status="rezerwacja"] { fill: rgba(201,138,27,.5); }
.plan__svg polygon[data-status="sprzedany"] { fill: rgba(163,70,58,.55); }
.plan__svg polygon:hover, .plan__svg polygon:focus-visible, .plan__svg polygon.is-hot { fill: rgba(196,160,85,.78); stroke: #fff; stroke-width: 2; }
.plan__svg polygon.is-dim { opacity: .18; }
.plan__tag { position: absolute; padding: .3rem .7rem; border-radius: 999px; background: rgba(22,21,15,.78); color: var(--text-on-dark); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.plan__tag--a { left: 6%; top: 82%; }
.plan__tag--b { left: 78%; top: 34%; }
.plan__tip { position: fixed; z-index: 120; pointer-events: none; background: var(--bg-dark); color: var(--text-on-dark); padding: .6rem .85rem; border-radius: var(--radius-md); font-size: .82rem; line-height: 1.4; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(4px); transition: opacity var(--t-fast), transform var(--t-fast); max-width: 240px; }
.plan__tip.show { opacity: 1; transform: none; }
.plan__tip strong { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 1rem; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: .9rem; font-size: .85rem; color: var(--text-secondary); align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend__hint { margin-left: auto; color: var(--text-muted); font-size: .8rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot--dostepny { background: var(--st-dostepny); }
.dot--rezerwacja { background: var(--st-rezerwacja); }
.dot--sprzedany { background: var(--st-sprzedany); }

.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; gap: 1rem; }
.results-count { font-size: .95rem; color: var(--text-secondary); }
.results-count strong { color: var(--text-primary); font-weight: 600; }
.units { display: grid; gap: .6rem; max-height: calc(100vh - var(--nav-height) - 7rem); overflow-y: auto; padding: 2px 6px 2px 2px; scrollbar-width: thin; }
.unit { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem 1rem; align-items: center; padding: .95rem 1.1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; text-align: left; width: 100%; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.unit:hover, .unit.is-hot { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateX(2px); }
.unit__nr { grid-row: span 2; width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--bg-secondary); display: grid; place-items: center; font-family: var(--font-heading); font-size: 1.35rem; line-height: 1; }
.unit__nr small { display: block; font-family: var(--font-body); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.unit__title { font-weight: 500; }
.unit__meta { font-size: .85rem; color: var(--text-muted); grid-column: 2; }
.unit__price { text-align: right; font-weight: 600; white-space: nowrap; }
.unit__price small { display: block; font-weight: 400; font-size: .78rem; color: var(--text-muted); }
.unit__status { grid-column: 3; justify-self: end; }
.unit--sprzedany { opacity: .62; }
.unit--sprzedany .unit__price { text-decoration: line-through; text-decoration-color: rgba(0,0,0,.3); }
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; }
.badge--dostepny { color: var(--st-dostepny); background: rgba(47,125,82,.1); }
.badge--rezerwacja { color: #9a6810; background: rgba(201,138,27,.14); }
.badge--sprzedany { color: var(--st-sprzedany); background: rgba(163,70,58,.1); }
.empty { padding: var(--space-lg); text-align: center; color: var(--text-muted); background: var(--bg-card); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); }

@media (max-width: 1024px) {
  .finder { grid-template-columns: minmax(0, 1fr); }
  .finder__plan { position: static; }
  .units { max-height: none; overflow: visible; padding: 0; }
  .legend__hint { margin-left: 0; width: 100%; }
}
@media (max-width: 600px) {
  .plan-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .plan { min-width: 560px; }
  .plan-scroll::after { content: '← przesuń →'; position: sticky; left: 0; display: block; text-align: center; font-size: .75rem; color: var(--text-on-dark-2); padding: .35rem; background: var(--bg-dark); }
  .unit { grid-template-columns: auto 1fr; }
  .unit__price { grid-column: 2; text-align: left; }
  .unit__status { grid-column: 2; justify-self: start; }
  .unit__nr { grid-row: span 4; align-self: start; }
}

/* ---------- Jawność cen ---------- */
.disclosure { display: flex; gap: var(--space-md); align-items: center; margin-top: var(--space-xl); padding: var(--space-md) var(--space-lg); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-primary); }
.disclosure > svg { width: 40px; height: 40px; fill: none; stroke: var(--accent-dark); stroke-width: 1.4; }
.disclosure h3 { font-family: var(--font-heading); font-weight: 500; font-size: 1.2rem; margin-bottom: .2rem; }
.disclosure p { color: var(--text-secondary); font-size: .92rem; }
.disclosure a { text-decoration: underline; text-underline-offset: 2px; }
.disclosure__text { flex: 1; }
@media (max-width: 768px) { .disclosure { flex-direction: column; align-items: flex-start; padding: var(--space-md); } }

/* ---------- Typy ---------- */
.types { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.type { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.type__media { overflow: hidden; aspect-ratio: 16 / 10; }
.type__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.type:hover .type__media img { transform: scale(1.04); }
.type__body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); flex: 1; }
.type__body h3 { font-family: var(--font-heading); font-weight: 500; font-size: 1.6rem; }
.type__body p { color: var(--text-secondary); }
.type__body .btn { align-self: flex-start; margin-top: auto; }
.specs { display: grid; gap: 0; margin: .5rem 0 var(--space-sm); }
.specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.specs dt { color: var(--text-muted); }
.specs dd { font-weight: 500; text-align: right; }
@media (max-width: 900px) { .types { grid-template-columns: 1fr; } .type__body { padding: var(--space-md); } }

/* ---------- Galeria ---------- */
.tabs { display: inline-flex; padding: 4px; border: 1px solid var(--border-dark); border-radius: 999px; }
.tab { min-height: 42px; padding: 0 1.3rem; border-radius: 999px; font-size: .9rem; color: var(--text-on-dark-2); transition: all var(--t-fast); }
.tab[aria-selected="true"] { background: var(--accent); color: #16150F; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: .8rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: zoom-in; background: var(--bg-dark-2); animation: fadeIn .5s both; }
.gallery__item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6n+4) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease, opacity var(--t-normal); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__note { margin-top: var(--space-md); font-size: .8rem; color: var(--text-on-dark-2); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .gallery__item:nth-child(6n+4) { grid-column: span 1; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 120px; gap: .5rem; } }

/* ---------- Lightbox ---------- */
dialog { border: 0; padding: 0; color: inherit; }
dialog::backdrop { background: rgba(10,10,8,.82); backdrop-filter: blur(4px); }
.lightbox { background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox figure { max-width: min(1400px, 92vw); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--radius-md); }
.lightbox figcaption { color: var(--text-on-dark-2); text-align: center; margin-top: .7rem; font-size: .9rem; }
.lightbox__close, .lightbox__nav { position: fixed; color: #fff; font-size: 2.2rem; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; line-height: 1; transition: background var(--t-fast); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox__nav { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Lokalizacja ---------- */
.split--map { grid-template-columns: 1fr 1.3fr; }
.addr { font-style: normal; margin: var(--space-md) 0; padding-left: 1rem; border-left: 2px solid var(--accent); color: var(--text-secondary); }
.addr strong { color: var(--text-primary); font-weight: 500; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-secondary); box-shadow: var(--shadow-md); }
.map__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.55); }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: var(--space-md); text-align: center; color: var(--text-on-dark); }
.map__consent p { max-width: 340px; font-size: .92rem; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .split--map { grid-template-columns: 1fr; } }

/* ---------- O nas ---------- */
.about__media::before { border-color: rgba(196,160,85,.5); }
.about__stat { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--border-dark); }
.about__stat strong { font-family: var(--font-heading); font-weight: 500; font-size: 3.4rem; color: var(--accent-light); line-height: 1; }
.about__stat span { color: var(--text-on-dark-2); max-width: 180px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-2xl); align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--text-secondary); }
.contact__list { margin: var(--space-lg) 0; display: grid; gap: var(--space-md); }
.contact__list li { display: flex; flex-direction: column; gap: .15rem; }
.contact__list span { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.contact__list a { font-size: 1.1rem; transition: color var(--t-fast); width: fit-content; }
.contact__list a:hover { color: var(--accent-dark); }
.socials { display: flex; gap: .6rem; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; transition: all var(--t-fast); }
.socials a:hover { background: var(--bg-dark); border-color: var(--bg-dark); color: var(--accent-light); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.form { background: var(--bg-card); padding: var(--space-lg); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: grid; gap: var(--space-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form__group { display: flex; flex-direction: column; gap: .4rem; }
.form label { font-size: .85rem; font-weight: 500; }
.form input:not([type=checkbox]), .form textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .is-invalid { border-color: var(--st-sprzedany) !important; }
.form__consent { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 400 !important; font-size: .82rem !important; color: var(--text-secondary); line-height: 1.5; cursor: pointer; }
.form__consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent-dark); flex-shrink: 0; }
.form__consent a { text-decoration: underline; }
.form__consent.is-invalid span { color: var(--st-sprzedany); }
.form__status { font-size: .92rem; padding: .8rem 1rem; border-radius: var(--radius-md); }
.form__status--success { background: rgba(47,125,82,.1); color: var(--st-dostepny); }
.form__status--error { background: rgba(163,70,58,.1); color: var(--st-sprzedany); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: var(--space-xl); } }
@media (max-width: 520px) { .form { padding: var(--space-md); } .form__row { grid-template-columns: 1fr; } }

/* ---------- Stopka ---------- */
.footer { background: #0F0E0A; color: var(--text-on-dark-2); padding: var(--space-2xl) 0 var(--space-md); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-xl); padding-bottom: var(--space-xl); border-bottom: 1px solid var(--border-dark); }
.footer__brand img { height: 64px; width: auto; margin-bottom: var(--space-sm); }
.footer__brand p { max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: .55rem; }
.footer__col h3 { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-light); margin-bottom: .4rem; }
.footer__col a:hover { color: var(--text-on-dark); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: var(--space-md); font-size: .82rem; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 1.2rem; align-items: center; }
.footer__legal a, .footer__legal .link-btn { color: inherit; text-decoration: none; font-size: .82rem; }
.footer__legal a:hover, .footer__legal .link-btn:hover { color: var(--text-on-dark); }
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Lightbulb credit */
.lb-credit { display: inline-flex; align-items: center; gap: .35rem; color: inherit; opacity: .7; transition: opacity var(--t-fast); font-size: .75rem; letter-spacing: .04em; min-height: 44px; }
.lb-credit:hover { opacity: 1; }
.lb-credit__icon { width: 14px; height: 14px; display: block; }
.lb-credit__name { font-weight: 600; }

/* ---------- Karta lokalu ---------- */
.unit-dlg { width: min(1180px, 94vw); max-height: 92vh; margin: auto; border-radius: var(--radius-xl); background: var(--bg-primary); box-shadow: var(--shadow-lg); overflow: hidden; }
.unit-dlg[open] { animation: dlgIn .35s cubic-bezier(.2,.7,.2,1); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.unit-dlg__inner { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: minmax(0, 1fr); height: min(92vh, 880px); }
.ud__media { background: #fff; display: flex; flex-direction: column; border-right: 1px solid var(--border); min-height: 0; }
.ud__tabs { display: flex; gap: .3rem; padding: 1rem 1rem 0; flex-wrap: wrap; }
.ud__tab { min-height: 40px; padding: 0 1rem; border-radius: 999px; font-size: .85rem; border: 1px solid var(--border-strong); transition: all var(--t-fast); }
.ud__tab[aria-selected="true"] { background: var(--bg-dark); color: var(--text-on-dark); border-color: var(--bg-dark); }
.ud__view { flex: 1; display: grid; place-items: center; padding: 1rem; min-height: 0; position: relative; }
.ud__view { overflow: hidden; }
.ud__view > img { position: absolute; inset: 1rem; width: calc(100% - 2rem); height: calc(100% - 2rem); object-fit: contain; cursor: zoom-in; }
.ud__view:has(.ud__photos) { overflow-y: auto; place-items: start; }
.ud__view .ud__photos { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; }
.ud__view .ud__photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); max-height: none; }
.ud__zoomhint { position: absolute; bottom: .8rem; right: 1rem; font-size: .75rem; color: var(--text-muted); }
.ud__info { min-height: 0; padding: var(--space-lg); overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-md); }
.ud__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.ud__top h2 { font-family: var(--font-heading); font-weight: 500; font-size: 2rem; line-height: 1.1; }
.ud__top p { color: var(--text-muted); font-size: .92rem; margin-top: .3rem; }
.ud__ctrl { display: flex; gap: .3rem; }
.ud__ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: all var(--t-fast); }
.ud__ctrl button:hover { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.ud__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ud__key { padding: .8rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.ud__key span { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.ud__key strong { font-weight: 500; font-size: 1.05rem; }
.ud__price { padding: var(--space-md); border-radius: var(--radius-md); background: var(--bg-dark); color: var(--text-on-dark); }
.ud__price-main { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.ud__price-main strong { font-family: var(--font-heading); font-weight: 500; font-size: 2rem; color: var(--accent-light); }
.ud__price-main span { color: var(--text-on-dark-2); font-size: .9rem; }
.ud__price dl { margin-top: .8rem; display: grid; gap: .3rem; font-size: .88rem; }
.ud__price dl div { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-on-dark-2); }
.ud__price dd { color: var(--text-on-dark); }
.ud__price--none strong { font-size: 1.3rem; }
.ud h3 { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.rooms { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rooms td { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.rooms td:last-child { text-align: right; white-space: nowrap; }
.rooms tr.sum td { font-weight: 600; border-bottom: 0; border-top: 1px solid var(--border-strong); }
.rooms tr.sub td { color: var(--text-muted); }
.history { width: 100%; border-collapse: collapse; font-size: .88rem; }
.history th { text-align: left; font-weight: 500; color: var(--text-muted); padding: .4rem 0; border-bottom: 1px solid var(--border-strong); }
.history td { padding: .45rem 0; border-bottom: 1px solid var(--border); }
.history th:last-child, .history td:last-child { text-align: right; }
.ud__note { font-size: .78rem; color: var(--text-muted); }
.ud__cta { display: flex; gap: .6rem; flex-wrap: wrap; position: sticky; bottom: calc(-1 * var(--space-lg)); background: var(--bg-primary); padding: var(--space-sm) 0 var(--space-lg); margin-bottom: calc(-1 * var(--space-lg)); }
.ud__cta .btn { flex: 1; }
.ud__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: var(--bg-secondary); }
.ud__close:hover { background: var(--bg-dark); color: #fff; }
@media (max-width: 900px) {
  .unit-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .unit-dlg__inner { grid-template-columns: 1fr; grid-template-rows: auto; height: 100dvh; overflow-y: auto; }
  .ud__media { border-right: 0; border-bottom: 1px solid var(--border); }
  .ud__view { height: 56vh; flex: none; }
  .ud__view:has(.ud__photos) { height: auto; }
  .ud__info { overflow: visible; padding: var(--space-md); }
  .ud__cta { bottom: 0; margin-bottom: 0; padding-bottom: var(--space-md); }
  .ud__keys { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--t-slow), transform .8s var(--t-slow); }
.reveal--left { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal.visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .1s; } .reveal--d2 { transition-delay: .2s; } .reveal--d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Cookies ---------- */
.cookie-banner { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 980px; margin: 0 auto; z-index: 200; background: var(--bg-dark); color: #fff; border: 1px solid var(--border-dark); border-radius: var(--radius-lg); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg); }
.cookie-banner.hidden { display: none; }
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cookie-banner__text { font-size: .85rem; line-height: 1.55; color: var(--text-on-dark-2); }
.cookie-banner__link { color: var(--accent-light); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-banner__btn { min-height: 44px; padding: .55rem 1.2rem; border-radius: var(--radius-md); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border: 1px solid transparent; }
.cookie-banner__btn--accept { background: var(--accent); color: #16150F; }
.cookie-banner__btn--decline { color: var(--text-on-dark); border-color: rgba(255,255,255,.25); }
.cookie-banner__btn--decline:hover { border-color: #fff; }
@media (max-width: 640px) {
  .cookie-banner { left: .5rem; right: .5rem; bottom: .5rem; }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner__btn { flex: 1; }
}
