/* ==========================================================================
   B&B SYSTEM – arkusz stylów strony
   ========================================================================== */
:root {
  --green-900: #13261c;
  --green-800: #1f3a2c;
  --green-700: #2b4f3c;
  --green-600: #3c6a50;
  --green-100: #e5ede5;
  --sand-50: #faf8f4;
  --sand-100: #f4efe7;
  --sand-200: #e9e0d2;
  --sand-400: #c9b99d;
  --ink: #1b1f1c;
  --ink-2: #4a524c;
  --ink-3: #737b75;
  --line: #e2ddd3;
  --white: #fff;
  --brand-red: #c4161c;
  --accent: #b9874b;
  --available: #2e8b57;
  --reserved: #d39b2a;
  --sold: #a3a8a4;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(19, 38, 28, .06), 0 8px 24px rgba(19, 38, 28, .08);
  --shadow-lg: 0 20px 50px rgba(19, 38, 28, .18);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sand-50); color: var(--ink);
  font: 400 17px/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 500; color: var(--green-900); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }

/* ---------- Typografia ---------- */
.h1, .hero-title { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.015em; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); line-height: 1.05; }
.h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.75rem); }
.h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
.h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-sans); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: .9em; }
.eyebrow-light { color: #e8cfa8; }
.prose { color: var(--ink-2); }
.prose h2 { font-family: var(--font-serif); font-size: clamp(1.45rem, 1.25rem + .8vw, 1.9rem); margin: 1.8em 0 .6em; color: var(--green-900); }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5em 0 .5em; font-family: var(--font-sans); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 3px solid var(--accent); background: var(--sand-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-serif); font-size: 1.15rem; color: var(--green-900); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .65em .8em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sand-100); color: var(--ink); font-weight: 600; }
.prose-light, .prose-light strong { color: rgba(255,255,255,.86); }
.prose-light li { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: .5em; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--green-800); color: var(--white); }
.btn-primary:hover { background: var(--green-900); color: var(--white); box-shadow: 0 8px 20px rgba(31,58,44,.25); }
.btn-ghost { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn-ghost:hover { background: var(--green-800); color: var(--white); }
.btn-light { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-light:hover { background: var(--white); color: var(--green-900); }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-sm { padding: .6em 1.1em; font-size: .87rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row.center { justify-content: center; }
.btn-col { display: grid; gap: 10px; margin-top: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--green-700); }
.link-arrow .ico { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,244,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.has-hero .site-header:not(.is-scrolled) .main-nav a, .has-hero .site-header:not(.is-scrolled) .header-phone, .has-hero .site-header:not(.is-scrolled) .nav-toggle { color: var(--white); }
.has-hero .site-header:not(.is-scrolled) .logo-text { color: var(--white); border-color: rgba(255,255,255,.7); }
.has-hero .site-header.is-scrolled { background: rgba(250,248,244,.94); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: stretch; text-decoration: none; font-family: var(--font-sans); font-weight: 700; letter-spacing: .04em; font-size: 1.05rem; line-height: 1; flex: none; }
.logo-mark { background: var(--brand-red); color: var(--white); padding: .5em .55em; border-radius: 3px 0 0 3px; }
.logo-text { color: var(--ink); padding: .5em .6em; border: 1.5px solid var(--brand-red); border-left: 0; border-radius: 0 3px 3px 0; font-weight: 500; letter-spacing: .18em; }
.logo-light .logo-text { color: var(--white); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: 999px; transition: background .2s; }
.main-nav a:hover { background: rgba(31,58,44,.08); }
.main-nav a[aria-current="page"] { color: var(--green-700); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-mobile-extra { display: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.header-phone .ico { width: 17px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; margin-left: auto; }
.nav-toggle .ico { width: 26px; height: 26px; }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--sand-50); padding: 24px var(--gutter); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); overflow-y: auto; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a, .has-hero .site-header:not(.is-scrolled) .main-nav a { color: var(--ink); font-family: var(--font-serif); font-size: 1.6rem; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-mobile-extra { display: grid; gap: 14px; margin-top: 28px; }
  .nav-phone { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; justify-content: center; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--sand-50) !important; }
  body.nav-open .site-header .nav-toggle, body.nav-open .logo-text { color: var(--ink) !important; border-color: var(--brand-red) !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); overflow: hidden; isolation: isolate; }
.hero-sub { min-height: min(86svh, 780px); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,15,.55) 0%, rgba(10,22,15,.08) 30%, rgba(10,22,15,.25) 55%, rgba(10,22,15,.82) 100%); }
.hero-img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: 36px; }
.hero-title { color: var(--white); max-width: 15ch; margin-bottom: .35em; }
.hero-title em { font-style: italic; color: #f1dcb9; font-weight: 400; }
.hero-lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 56ch; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; backdrop-filter: blur(10px); }
.hero-fact { background: rgba(13,28,19,.45); padding: 18px 22px; display: flex; flex-direction: column; }
.hero-fact strong { font-family: var(--font-serif); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.9rem); font-weight: 500; }
.hero-fact span { font-size: .85rem; color: rgba(255,255,255,.75); }
.crumbs { font-size: .85rem; color: var(--ink-3); padding: 20px 0 8px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--green-700); text-decoration: underline; }
.crumbs span { margin: 0 4px; }
.crumbs-light, .crumbs-light a { color: rgba(255,255,255,.78); padding-top: 0; }
@media (max-width: 700px) {
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 92svh; }
}

/* ---------- Pasek dostępności ---------- */
.avail-strip { background: var(--green-900); color: var(--white); }
.avail-inner { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.avail-live { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #5bd28b; box-shadow: 0 0 0 0 rgba(91,210,139,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(91,210,139,0); } 100% { box-shadow: 0 0 0 0 rgba(91,210,139,0); } }
.avail-counts { display: flex; gap: 22px; color: rgba(255,255,255,.75); font-size: .95rem; }
.avail-counts b { color: var(--white); font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; margin-right: 4px; }
.avail-strip .link-arrow { margin-left: auto; color: #f1dcb9; }

/* ---------- Sekcje ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-flush { padding-top: 12px; }
.section-tint { background: var(--sand-100); }
.section-dark { background: var(--green-900); color: rgba(255,255,255,.85); }
.section-dark .h2, .section-dark .h3, .section-dark h3 { color: var(--white); }
.section-dark .lead { color: rgba(255,255,255,.78); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.split-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-head { padding: 12px 0 clamp(28px, 4vw, 48px); }
.page-head .h1 { max-width: 20ch; margin-top: 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split-reverse .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-reverse .split-media { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { color: var(--available); margin-top: 3px; }
.ticks-2 { grid-template-columns: 1fr; font-size: .95rem; }

.stack-img { position: relative; padding-bottom: 12%; }
.stack-img .stack-a { border-radius: var(--radius); width: 88%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.stack-img .stack-b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--sand-50); box-shadow: var(--shadow-lg); }

/* ---------- Karty i siatki ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.cards-grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.unit-card, .post-card, .real-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.unit-card:hover, .post-card:hover, .real-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.unit-card-media, .post-card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--sand-200); }
.unit-card-media img, .post-card-media img, .real-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.unit-card:hover img, .post-card:hover img, .real-card:hover img { transform: scale(1.04); }
.unit-card-media .badge { position: absolute; top: 14px; left: 14px; }
.unit-card-body, .post-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.unit-card h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 2px; }
.unit-card h3 a, .post-card h3 a { color: inherit; text-decoration: none; }
.unit-card-type { color: var(--ink-3); font-size: .92rem; }
.unit-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.unit-specs dt, .pin-specs dt { font-size: .75rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.unit-specs dd, .pin-specs dd { margin: 0; font-weight: 600; font-size: .98rem; }
.unit-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; color: var(--green-900); display: flex; flex-direction: column; line-height: 1.2; }
.price small { font-family: var(--font-sans); font-size: .8rem; color: var(--ink-3); }
.price-muted { color: var(--ink-3); font-size: 1.1rem; }
.status-sold { opacity: .78; }
.status-sold .unit-card-media img { filter: grayscale(.6); }
.post-card h3 { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.25; }
.post-card p:last-child { color: var(--ink-2); font-size: .95rem; margin: 0; }
.post-card .eyebrow { margin-bottom: .6em; font-size: .72rem; }
.real-card { position: relative; aspect-ratio: 4/3; text-decoration: none; color: var(--white); }
.real-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,22,15,.85)); }
.real-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.real-card h3 { color: var(--white); font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 2px; }
.real-card p { margin: 0; font-size: .9rem; opacity: .85; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-available { background: #e3f3e9; color: #1f6b41; }
.badge-reserved { background: #fbefd5; color: #8a5b00; }
.badge-sold { background: #ecedec; color: #5d635f; }
.badge-lg { font-size: .9rem; padding: 7px 14px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot-available { background: var(--available); } .dot-reserved { background: var(--reserved); } .dot-sold { background: var(--sold); }

/* ---------- Plan osiedla ---------- */
.siteplan { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.siteplan-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 4px 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .87rem; font-weight: 500; color: var(--ink-2); }
.legend-item span { color: var(--ink-3); font-size: .8rem; }
.legend-item.is-active { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.legend-item.is-active span { color: rgba(255,255,255,.7); }
.siteplan-hint { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; color: var(--ink-3); }
.siteplan-hint .ico { width: 16px; }
.siteplan-scroll { overflow-x: auto; border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.siteplan-canvas { position: relative; min-width: 720px; background: #f5f5f2; }
.siteplan-canvas > img { width: 100%; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--white); color: var(--white); font-weight: 700; font-size: .95rem; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.28); transition: transform .2s var(--ease), opacity .2s; padding: 0; }
.pin:hover, .pin[aria-expanded="true"] { transform: translate(-50%, -50%) scale(1.18); z-index: 3; }
.pin-available { background: var(--available); }
.pin-available::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--available); animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.pin-reserved { background: var(--reserved); }
.pin-sold { background: var(--sold); }
.pin.is-dim { opacity: .18; pointer-events: none; }
.pin-card { position: absolute; z-index: 5; width: 260px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 16px; font-size: .92rem; }
.pin-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 2px; }
.pin-card-head strong { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; }
.pin-card .muted { font-size: .85rem; margin-bottom: 10px; }
.pin-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 14px; }

/* ---------- Tabela domów ---------- */
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.units-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.units-table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.units-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.units-table tr:last-child td { border-bottom: 0; }
.units-table td small { display: block; color: var(--ink-3); font-size: .8rem; }
.units-table .row-sold td { color: var(--ink-3); }
.units-table tbody tr:hover { background: var(--sand-50); }
.units-table.compact td, .units-table.compact th { padding: 10px 16px; }
.mini-history summary { cursor: pointer; color: var(--green-700); font-weight: 500; }
.mini-history ul { margin: 6px 0 0; padding-left: 18px; font-size: .85rem; }
@media (max-width: 760px) {
  .units-table:not(.compact) thead { display: none; }
  .units-table:not(.compact), .units-table:not(.compact) tbody, .units-table:not(.compact) tr, .units-table:not(.compact) td { display: block; }
  .units-table:not(.compact) tr { padding: 14px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .units-table:not(.compact) td { border: 0; padding: 0; white-space: normal; }
  .units-table:not(.compact) td[data-label]::before { content: attr(data-label); display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
}

/* ---------- Funkcje / standard ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.feature h3 { font-size: 1.05rem; font-weight: 600; font-family: var(--font-sans); margin: 14px 0 6px; }
.feature p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.feature-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.feature-ico .ico { width: 24px; height: 24px; }
.feature-grid-dark .feature { background: rgba(255,255,255,.05); box-shadow: none; border: 1px solid rgba(255,255,255,.1); }
.feature-grid-dark .feature p { color: rgba(255,255,255,.7); }
.feature-grid-dark .feature-ico { background: rgba(241,220,185,.12); color: #f1dcb9; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } .feature-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid, .feature-grid-3 { grid-template-columns: 1fr; } }
.standard-full { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; }
.standard-full summary { cursor: pointer; font-weight: 600; color: #f1dcb9; padding: 8px 0; }
.standard-full ul { columns: 2; column-gap: 40px; list-style: none; padding: 0; }
.standard-full li { break-inside: avoid; }
@media (max-width: 760px) { .standard-full ul { columns: 1; } }

/* ---------- Projekt domu ---------- */
.plan-preview { position: relative; display: block; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding: 12px; }
.plan-preview img { width: 100%; border-radius: 6px; }
.plan-zoom { position: absolute; right: 18px; bottom: 18px; background: var(--green-900); color: var(--white); padding: 7px 12px; border-radius: 999px; font-size: .8rem; display: inline-flex; gap: 6px; align-items: center; }
.plan-zoom .ico { width: 15px; }
.plan-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.plan-thumbs a { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.big-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0; }
.big-specs div { border-left: 1px solid rgba(255,255,255,.2); padding-left: 14px; }
.big-specs dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.big-specs dd { margin: 0; font-family: var(--font-serif); font-size: 1.4rem; color: var(--white); }
@media (max-width: 560px) { .big-specs { grid-template-columns: 1fr 1fr; } }
.section-dark .plan-preview { background: var(--sand-50); }
.rooms { margin-top: 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 18px; }
.rooms summary { cursor: pointer; font-weight: 600; padding: 12px 0; display: flex; justify-content: space-between; }
.rooms summary span { color: var(--ink-3); font-weight: 500; }
.rooms-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 10px; }
.rooms-table td { padding: 7px 0; border-top: 1px solid var(--line); }
.rooms-table td:last-child { text-align: right; color: var(--ink-2); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs [role="tab"] { border: 1px solid var(--line); background: var(--white); padding: 10px 18px; border-radius: 999px; font-weight: 500; }
.tabs [aria-selected="true"] { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.gallery-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 28px; }
.gallery-row a { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-row a:hover img { transform: scale(1.05); }

/* ---------- Etapy ---------- */
.stages { list-style: none; padding: 0; margin: 0 0 24px; position: relative; }
.stages::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.stage { position: relative; display: flex; gap: 18px; padding: 12px 0; }
.stage-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--sold); border: 4px solid var(--sand-50); flex: none; position: relative; z-index: 1; margin-top: 3px; }
.stage-sale .stage-dot { background: var(--available); }
.stage strong { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; margin-right: 8px; }
.stage p { margin: 4px 0 0; color: var(--ink-2); font-size: .93rem; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.doc-link:hover { border-color: var(--green-600); box-shadow: var(--shadow); }
.doc-link > .ico:first-child { color: var(--brand-red); width: 26px; height: 26px; }
.doc-link span { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.doc-link small { color: var(--ink-3); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }

/* ---------- Galeria ---------- */
.masonry { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 12px; }
.masonry-item { border-radius: var(--radius-sm); overflow: hidden; background: var(--sand-200); }
.masonry-item.is-wide { grid-column: span 2; grid-row: span 2; }
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.masonry-item:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }
.video-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16/9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lokalizacja ---------- */
.poi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.poi-grid-2 { grid-template-columns: 1fr 1fr; }
.poi { display: flex; gap: 14px; align-items: flex-start; }
.poi-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex: none; }
.poi h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin: 2px 0 2px; }
.poi p { margin: 0; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 900px) { .poi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .poi-grid, .poi-grid-2 { grid-template-columns: 1fr; } }
.map-box { border-radius: var(--radius); overflow: hidden; background: var(--sand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23e2d8c8' stroke-width='1'/%3E%3C/svg%3E"); min-height: 420px; display: grid; box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.map-placeholder { display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 28px; }
.map-placeholder > .ico { width: 40px; height: 40px; color: var(--brand-red); }

/* ---------- Kroki ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.step-n { font-family: var(--font-serif); font-size: 2.6rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 10px; }
.step h3 { font-family: var(--font-sans); font-size: 1.08rem; font-weight: 600; }
.step p { color: var(--ink-2); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA i formularz ---------- */
.cta-section { background: linear-gradient(135deg, var(--sand-100), var(--sand-200)); }
.cta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 36px); }
.people { display: grid; gap: 16px; margin-top: 28px; }
.person { display: flex; gap: 14px; align-items: center; }
.person > div { display: flex; flex-direction: column; line-height: 1.35; }
.person span { color: var(--ink-3); font-size: .88rem; }
.person a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-top: 2px; }
.person a .ico { width: 16px; }
.person-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--green-800); color: var(--white); display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.4rem; flex: none; }
.person-avatar-lg { width: 60px; height: 60px; }
.person-avatar .ico { width: 26px; height: 26px; }
.lead-form-title { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; }
.lead-form-intro { color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font-sans); color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--sand-50); width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: var(--white); box-shadow: 0 0 0 4px rgba(60,106,80,.15); }
.field textarea { resize: vertical; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--ink-3); margin: 16px 0; line-height: 1.5; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green-700); flex: none; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: .85rem; color: var(--ink-3); }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.form-ok { background: #e3f3e9; color: #1f6b41; }
.form-err { background: #fde8e7; color: #9b1c1c; }
.lead-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- Strona domu ---------- */
.unit-hero { padding-bottom: 20px; }
.unit-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .unit-grid { grid-template-columns: 1fr; } }
.unit-cover { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--sand-200); }
.unit-cover img { width: 100%; height: 100%; object-fit: cover; }
.unit-cover .badge { position: absolute; top: 16px; left: 16px; }
.unit-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0; }
.unit-thumbs a { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; }
.unit-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.unit-panel { position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); }
.unit-panel .h2 { margin-bottom: 4px; }
.unit-price { margin: 22px 0; padding: 18px 20px; background: var(--sand-100); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.unit-price strong { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; color: var(--green-900); line-height: 1.1; }
.unit-price span { color: var(--ink-3); font-size: .88rem; }
.unit-note { font-size: .88rem; color: #8a5b00; margin-top: 8px; font-style: normal; }
.unit-specs-big { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.unit-specs-big dt { font-size: .8rem; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.unit-specs-big dt .ico { width: 16px; color: var(--green-600); }
.unit-specs-big dd { margin: 2px 0 0; font-weight: 600; font-size: 1.05rem; }

/* ---------- Filtry ---------- */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); background: var(--white); padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.chip span { color: var(--ink-3); font-size: .8rem; }
.chip.is-active { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.chip.is-active span { color: rgba(255,255,255,.7); }
.chips-links { margin-top: 24px; }
.select-inline { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-3); }
.select-inline select { font: inherit; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.empty-state { text-align: center; padding: 48px 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty-state > .ico { width: 40px; height: 40px; color: var(--accent); margin: 0 auto 12px; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.notice > .ico { color: var(--accent); width: 24px; height: 24px; margin-top: 2px; }

/* ---------- Blog ---------- */
.post-featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 32px; }
.post-featured-media { aspect-ratio: 16/10; overflow: hidden; }
.post-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.post-featured-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.post-featured-body .h2 a { color: inherit; text-decoration: none; }
@media (max-width: 900px) { .post-featured { grid-template-columns: 1fr; } }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination a[aria-current] { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.post-head { padding: 12px 0 28px; }
.post-head .h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); margin-top: 8px; }
.post-meta { color: var(--ink-3); font-size: .92rem; display: flex; gap: 8px; flex-wrap: wrap; }
.post-cover img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius); }
.post-layout { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: clamp(32px, 5vw, 72px); justify-content: center; padding-top: 40px; padding-bottom: 72px; }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 20px; }
.toc { font-size: .9rem; }
.toc-title { font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.is-active { color: var(--green-700); border-left-color: var(--accent); }
.aside-cta { background: var(--green-900); color: rgba(255,255,255,.85); padding: 20px; border-radius: var(--radius); font-size: .92rem; }
.aside-cta strong { color: var(--white); }
.aside-cta .btn-primary { background: var(--white); color: var(--green-900); }
.post-body { font-size: 1.08rem; }
.post-body > p:first-child { font-size: 1.2rem; color: var(--ink); }
@media (max-width: 1000px) { .post-layout { grid-template-columns: 1fr; } .post-aside { position: static; order: 2; } }
.post-cta { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; margin: 48px 0 24px; padding: 20px; background: var(--sand-100); border-radius: var(--radius); }
.post-cta-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.post-cta h2 { margin: 0 0 6px !important; font-family: var(--font-sans) !important; font-size: 1.15rem !important; }
.post-cta p { margin-bottom: 0; font-size: .95rem; }
.post-cta .btn-row { margin-top: 14px; }
@media (max-width: 560px) { .post-cta { grid-template-columns: 1fr; } .post-cta-img { aspect-ratio: 16/9; } }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; }
.post-tags span { background: var(--sand-100); padding: 4px 10px; border-radius: 999px; color: var(--ink-3); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; color: var(--ink); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 12px; }

/* ---------- O nas / kontakt ---------- */
.about-stats { display: grid; gap: 18px; }
.about-stats div { background: var(--white); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); display: flex; align-items: baseline; gap: 18px; }
.about-stats strong { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 500; color: var(--green-800); line-height: 1; min-width: 3.2ch; }
.about-stats span { color: var(--ink-2); }
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.company div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.company dt { font-size: .8rem; color: var(--ink-3); }
.company dd { margin: 0; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .company { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; padding: 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card h2 { margin-bottom: 2px; }
.contact-card a { display: flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; margin-top: 4px; }
.contact-card a .ico, .contact-card .muted .ico { width: 16px; display: inline; vertical-align: -3px; }
.contact-card p { margin: 0 0 4px; }
.contact-card-plain { background: transparent; box-shadow: none; border: 1px dashed var(--sand-400); }
.page-404 { padding: 80px 0; }

/* ---------- Podnawigacja inwestycji ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(250,248,244,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { padding: 14px 14px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .92rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a.is-active { color: var(--green-800); border-bottom-color: var(--accent); }
.subnav .subnav-cta { margin-left: auto; color: var(--brand-red); font-weight: 600; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-h { color: var(--white); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-family: var(--font-sans); font-weight: 600; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact strong { color: var(--white); font-weight: 600; }
.footer-avail { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(255,255,255,.06); border-radius: 999px; font-size: .85rem; }
.footer-bottom { margin-top: 56px; padding: 22px var(--gutter); border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-bottom p { margin: 0 0 4px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pasek mobilny ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(250,248,244,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; border: 1.5px solid var(--green-800); color: var(--green-800); font-weight: 600; text-decoration: none; }
  .mobile-bar-primary { background: var(--green-800); color: var(--white); }
  body { padding-bottom: 76px; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,14,10,.94); display: grid; place-items: center; padding: 56px 64px; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; background: #fff; }
.lightbox figcaption { color: rgba(255,255,255,.75); margin-top: 12px; font-size: .9rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .lightbox { padding: 56px 8px; } .lightbox-prev, .lightbox-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- Zgoda cookies ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; font-size: .9rem; }
.consent div { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- Animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Inwestycje: statusy, karty, aktualności ---------- */
.hero-plain { background: radial-gradient(120% 90% at 85% 10%, #3c6a50 0%, var(--green-900) 55%, #0c1912 100%); }
.hero-plain .hero-media { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M0 60h120M60 0v120' stroke='%23ffffff' stroke-opacity='.05'/%3E%3Cpath d='M30 75l30-24 30 24v25H30z' fill='none' stroke='%23f1dcb9' stroke-opacity='.08' stroke-width='2'/%3E%3C/svg%3E"); }
.hero-plain .hero-media::after { display: none; }
.hero-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); margin-bottom: 16px; }
.hero-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f1dcb9; }
.hero-status-planned::before { background: var(--reserved); }
.hero-status-done::before { background: #5bd28b; }
.stage-next .stage-dot { background: var(--reserved); }
.stage-done .stage-dot { background: var(--green-600); }
.stages-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; margin: 0; }
.stages-card::before { left: 33px; top: 34px; bottom: 34px; }
.news-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .news-feature { grid-template-columns: 1fr; } }
.inv-card { display: grid; grid-template-columns: 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s; }
a.inv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.inv-card-media { position: relative; aspect-ratio: 16/9; background: var(--sand-200); overflow: hidden; }
.inv-card-media img { width: 100%; height: 100%; object-fit: cover; }
.inv-card-media .badge { position: absolute; top: 14px; left: 14px; }
.inv-card-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: #f1dcb9; background: radial-gradient(120% 90% at 80% 0%, #3c6a50, var(--green-900)); font-weight: 600; font-size: .9rem; }
.inv-card-placeholder .ico { width: 44px; height: 44px; }
.inv-card-body { padding: 22px 24px 24px; }
.inv-card-body h3 { font-family: var(--font-serif); font-size: 1.45rem; }
.inv-card-body p { color: var(--ink-2); font-size: .95rem; }
.inv-card-status { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-700) !important; }
.inv-card-status .ico { width: 17px; }
.community-box { display: grid; gap: 14px; }
.community-box div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.community-box .ico { grid-row: span 2; width: 26px; height: 26px; color: #f1dcb9; }
.community-box strong { color: #fff; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500; }
.community-box span { color: rgba(255,255,255,.7); font-size: .92rem; }
.unit-price a { color: var(--green-700); }

/* Szkice poglądowe dla inwestycji w przygotowaniu */
.inv-card-sketch { position: absolute; inset: 0; background: #eeece7; }
.inv-card-sketch img { filter: grayscale(1) contrast(.92); opacity: .82; transition: transform .6s var(--ease), opacity .4s; }
a.inv-card:hover .inv-card-sketch img { transform: scale(1.03); opacity: 1; }
.sketch-stamp { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(26, 46, 35, .86); color: #f1dcb9; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.sketch-stamp .ico { width: 16px; height: 16px; }
.hero-plain .hero-sketch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: invert(1) grayscale(1); mix-blend-mode: screen; opacity: .2; }
