/* Zielony Jar. Archivo (lokalnie), grafit, zieleń lasu, jasny beton, mosiądz. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F3F3F0;
  --white: #FBFBF9;
  --concrete: #E5E5E0;
  --concrete-2: #D3D4CE;
  --line: #C9CAC4;
  --ink: #22272A;
  --ink-2: #444B4F;
  --muted: #5F676A;
  --forest: #1E3A2E;
  --forest-2: #2B5040;
  --forest-3: #133024;
  --sage: #A9BBA5;
  --sage-2: #DCE5D9;
  --brass: #A9875A;
  --brass-text: #7A5C30;
  --free: #2E6A49;
  --free-bg: #DCE8DD;
  --res: #9A6A17;
  --res-bg: #F3E6CB;
  --sold: #6A7170;
  --sold-bg: #E4E4E0;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 56px);
  --head: 76px;
  --wide: 112%;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; font-stretch: var(--wide); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--brass); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
[hidden] { display: none !important; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 1.5px solid var(--forest); border-radius: 2px;
  background: var(--forest); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
  letter-spacing: 0; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--forest-3); border-color: var(--forest-3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--sage-2); border-color: var(--sage-2); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--concrete); border-color: var(--concrete-2); color: var(--muted); cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink-2); font-size: .9375rem; }
.link-btn:hover { color: var(--forest); }
.link-light { color: #E8EAE6; }
.link-light:hover { color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 2px; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }

/* Nagłówek */
.top { position: sticky; top: 0; z-index: 40; background: rgba(243, 243, 240, .94); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) { .top { background: rgba(243, 243, 240, .82); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); } }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: var(--head); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo-mark { width: 34px; height: 34px; }
.logo-word { font-size: 1.25rem; font-weight: 650; font-stretch: 116%; letter-spacing: -0.03em; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: .9688rem; color: var(--ink-2); border-radius: 2px; }
.nav a:hover { color: var(--ink); background: rgba(34, 39, 42, .05); }
.top-actions { display: flex; align-items: center; gap: 16px; }
.top-phone { font-size: .9375rem; font-weight: 600; white-space: nowrap; font-feature-settings: "tnum" 1; }
.fav-link { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--ink); text-decoration: none; border-radius: 2px; }
.fav-link svg { width: 24px; height: 24px; }
.fav-link:hover { background: rgba(34, 39, 42, .06); }
.fav-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--forest); color: #fff; font-size: .6875rem; font-weight: 700; line-height: 18px; text-align: center; }
.fav-count.is-zero { background: var(--concrete-2); color: var(--ink-2); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-lines, .menu-lines::before, .menu-lines::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.menu-lines { top: 21px; }
.menu-lines::before { left: 0; top: -7px; }
.menu-lines::after { left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }
.menu { position: fixed; inset: var(--head) 0 0 0; background: var(--paper); padding: 24px var(--gut) 40px; overflow-y: auto; border-top: 1px solid var(--line); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: flex; align-items: center; min-height: 60px; font-size: 1.75rem; font-weight: 600; font-stretch: var(--wide); letter-spacing: -0.025em; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-foot { margin-top: 28px; color: var(--muted); font-size: .9375rem; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  height: clamp(640px, calc(100svh - var(--head)), 920px);
}
.hero-text {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(28px, 4.5vh, 56px) clamp(28px, 4vw, 64px) clamp(28px, 4vh, 44px) max(var(--gut), calc((100vw - var(--wrap)) / 2));
}
.hero-loc { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .9688rem; }
.hero-loc svg { width: 20px; height: 20px; color: var(--forest); }
.hero h1 { font-size: clamp(2.6rem, 1.2rem + 3.6vw, 5.1rem); line-height: .98; letter-spacing: -0.04em; font-weight: 620; max-width: 11.5ch; }
.hero-lead { margin-top: 26px; max-width: 34em; color: var(--ink-2); font-size: clamp(1rem, .95rem + .25vw, 1.1875rem); line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-mid { display: block; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--ink); }
.hero-facts div { padding: 14px 16px 0 0; }
.hero-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-facts dt { font-size: .8125rem; color: var(--muted); font-stretch: 96%; }
.hero-facts dd { margin: 2px 0 0; font-size: clamp(1.05rem, .75rem + .5vw, 1.3rem); font-weight: 600; font-stretch: 104%; letter-spacing: -0.02em; font-feature-settings: "tnum" 1; line-height: 1.25; }
.hero-media { position: relative; margin: 0; overflow: hidden; background: #cfd3cd; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.viz-note { position: absolute; right: 14px; top: 14px; padding: 3px 8px; background: rgba(34, 39, 42, .55); color: #fff; font-size: .75rem; letter-spacing: .01em; border-radius: 2px; }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.hero-build { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .875rem; color: var(--ink-2); text-decoration: none; }
.hero-build:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hb-bar { display: inline-block; width: 64px; height: 4px; background: var(--concrete-2); }
.hb-bar span { display: block; height: 100%; background: var(--forest); }
.hero-avail {
  position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); width: min(380px, calc(100% - 32px));
  padding: 16px 18px 12px; background: rgba(251, 251, 249, .97); color: var(--ink);
}
.ha-title { font-size: .9375rem; font-weight: 600; }
.ha-title strong { font-size: 1.25rem; font-stretch: 110%; letter-spacing: -.02em; }
.ha-svg { margin: 10px 0 6px; }
.ha-svg svg { width: 100%; height: auto; overflow: visible; }
.hm-floor { cursor: pointer; }
.hm-floor rect { stroke: #22272A; stroke-width: .35; transition: filter .15s; }
.hm-floor:hover rect, .hm-floor:focus-visible rect { filter: brightness(.86); }
.hm-floor:focus-visible { outline: none; }
.hm-floor:focus-visible rect { stroke: #A9875A; stroke-width: .9; }
.hm-floor text { font-size: 3.6px; font-weight: 650; fill: #22272A; pointer-events: none; font-feature-settings: "tnum" 1; }
.hm-floor.is-dark text { fill: #fff; }
.hm-label { font-size: 3.4px; font-weight: 600; fill: #22272A; }
.ha-hint { font-size: .78rem; color: var(--muted); }

/* Nagłówki sekcji */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(2rem, 1.25rem + 2.3vw, 3.3rem); letter-spacing: -0.035em; max-width: 15ch; }
.sec-head p { color: var(--ink-2); max-width: 38em; }
.sec-head-light h2 { color: #fff; }
.sec-head-light p { color: #C9D6CD; }

/* Wybór na elewacji */
.picker { background: var(--concrete); padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.picker-tabs { display: none; }
.sheet { position: relative; background: var(--white); border: 1px solid var(--concrete-2); box-shadow: 0 1px 0 rgba(0, 0, 0, .03); }
.elev { position: relative; padding: clamp(10px, 2vw, 28px) clamp(8px, 2vw, 28px) 4px; }
.elev-svg { width: 100%; height: auto; overflow: hidden; }
.el-trunk { fill: none; stroke: #9C978A; stroke-width: .16; stroke-linecap: round; }
.el-branch { stroke: #9C978A; stroke-width: .07; }
.el-crown.is-far polygon { fill: #D5DED1; }
.el-crown.is-near polygon { fill: #BACAB5; }
.el-joint { stroke: #22272A; stroke-width: .05; stroke-opacity: .3; }
.el-wall { fill: #EEEEE9; }
.el-plinth { fill: #C9CAC3; }
.el-attic { fill: #3B4346; }
.el-top { fill: #5A6266; }
.el-wood { fill: #C3A57A; }
.el-glass { fill: url(#elGlass); stroke: #22272A; stroke-width: .07; }
.el-glass.is-top { stroke: #1A1E20; }
.el-mullion { stroke: #22272A; stroke-width: .05; }
.el-glint { fill: #fff; fill-opacity: .13; }
.el-sill { fill: #9EA19C; }
.el-slab { fill: #D7D8D2; stroke: #22272A; stroke-width: .05; }
.el-rail { fill: #C9DADC; fill-opacity: .55; stroke: #22272A; stroke-width: .04; }
.el-handrail { stroke: #22272A; stroke-width: .09; }
.el-planter { fill: #6E6A5E; }
.el-shrub { fill: #87A07F; }
.el-hedge { fill: #93AB8B; stroke: #6F8A68; stroke-width: .05; }
.el-floorline { stroke: #22272A; stroke-width: .05; stroke-opacity: .5; }
.el-outline { fill: none; stroke: #22272A; stroke-width: .12; }
.el-ground { stroke: #22272A; stroke-width: .14; }
.el-levelline { stroke: #8E9493; stroke-width: .04; stroke-dasharray: .3 .2; }
.el-levelmark { fill: #22272A; }
.el-leveltext { font-size: .78px; fill: #444B4F; font-feature-settings: "tnum" 1; }
.el-blabel { font-size: 1.15px; font-weight: 600; fill: #22272A; font-stretch: 112%; letter-spacing: -.02em; paint-order: stroke; stroke: #FBFBF9; stroke-width: .5; }
.el-scaletext { font-size: .7px; fill: #444B4F; }
.el-floor { cursor: pointer; outline: none; }
.el-hit { fill: transparent; }
.el-hl { fill: #1E3A2E; fill-opacity: 0; stroke: #1E3A2E; stroke-width: .22; stroke-opacity: 0; transition: fill-opacity .18s, stroke-opacity .18s; pointer-events: none; }
.el-floor.is-active .el-hl { fill-opacity: .2; stroke-opacity: 1; }
.el-floor.is-full.is-active .el-hl { fill: #6A7170; stroke: #6A7170; }
.el-floor:focus-visible .el-hl { stroke: #A9875A; stroke-opacity: 1; stroke-width: .3; }
.el-badge-bg { fill: #1E3A2E; transition: fill .18s; }
.el-floor.is-full .el-badge-bg { fill: #D3D4CE; }
.el-badge-text { font-size: .82px; font-weight: 650; fill: #fff; font-feature-settings: "tnum" 1; pointer-events: none; }
.el-floor.is-full .el-badge-text { fill: #444B4F; }
.el-floor.is-active .el-badge-bg { fill: #A9875A; }
.el-floor.is-active.is-full .el-badge-bg { fill: #6A7170; }
.el-floor.is-active.is-full .el-badge-text { fill: #fff; }
.elev-svg.is-single .el-leveltext { font-size: 1.05px; }
.elev-svg.is-single .el-blabel { font-size: 1.6px; }
.elev-svg.is-single .el-badge-text { font-size: 1.3px; }
.elev-svg.is-single .el-leveltext { font-size: 1.15px; }
.elev-tip {
  position: absolute; z-index: 3; min-width: 210px; padding: 12px 14px; background: var(--ink); color: #fff; pointer-events: none;
  font-size: .875rem; line-height: 1.4; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); border-radius: 2px;
}
.elev-tip strong { display: block; font-size: 1rem; font-stretch: 108%; }
.elev-tip .t-free { display: block; margin-top: 4px; color: #BFD6C5; font-weight: 600; }
.elev-tip .t-free.is-zero { color: #D6D7D2; }
.elev-tip .t-hint { display: block; margin-top: 6px; color: #A9B0AE; font-size: .8125rem; }
.sheet-foot { display: flex; justify-content: space-between; align-items: stretch; gap: 16px; border-top: 1px solid var(--concrete-2); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; list-style: none; margin: 0; padding: 12px clamp(12px, 2vw, 28px); font-size: .875rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 18px; height: 12px; border: 1px solid var(--ink); }
.sw-free { background: var(--free-bg); }
.sw-res { background: var(--res-bg); }
.sw-sold { background: repeating-linear-gradient(45deg, #E3E3DF 0 3px, #C9CAC5 3px 4.5px); }
.sheet-hint { display: flex; align-items: center; gap: 10px; padding: 10px clamp(12px, 2vw, 28px); font-size: .875rem; color: var(--ink-2); }
.sh-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--forest); color: #fff; font-size: .75rem; font-weight: 650; white-space: nowrap; }
.floorplan-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 8px; }
.floorplan-foot .legend { padding: 0; }
.titleblock { display: grid; grid-template-columns: auto auto auto; border-left: 1px solid var(--concrete-2); font-size: .75rem; color: var(--ink-2); }
.titleblock span { display: flex; align-items: center; padding: 8px 14px; border-left: 1px solid var(--concrete-2); }
.titleblock span:first-child { border-left: 0; font-weight: 600; color: var(--ink); }

.picker-detail { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(24px, 3vw, 40px); align-items: start; }
.floors h3 { font-size: 1rem; }
.fm { display: grid; grid-template-columns: auto 1fr 1fr; border-top: 1px solid var(--ink); }
.fm-h { padding: 10px 10px 8px; font-size: .875rem; font-weight: 600; border-bottom: 1px solid var(--concrete-2); }
.fm-h:first-child { padding-left: 0; }
.fm-l { display: flex; align-items: center; padding-right: 14px; font-size: .9375rem; color: var(--ink-2); border-bottom: 1px solid var(--concrete-2); white-space: nowrap; }
.floor-btn {
  display: flex; align-items: center; width: 100%; min-height: 52px; padding: 0 10px;
  background: none; border: 0; border-bottom: 1px solid var(--concrete-2); border-left: 1px solid var(--concrete-2); cursor: pointer; text-align: left; font-size: .9375rem;
}
.floor-btn b { font-weight: 600; font-feature-settings: "tnum" 1; color: var(--free); white-space: nowrap; }
.floor-btn.is-full b { color: var(--muted); font-weight: 500; }
.floor-btn:hover, .floor-btn.is-active { background: var(--white); }
.floor-btn.is-active { box-shadow: inset 0 -3px 0 var(--forest); }
.floor-btn.is-filter { background: var(--forest); color: #fff; box-shadow: none; }
.floor-btn.is-filter b { color: #fff; }
.floors-note { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.floorplan { background: var(--white); border: 1px solid var(--concrete-2); padding: clamp(16px, 2vw, 28px); }
.floorplan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.floorplan-head h3 { font-size: 1.375rem; }
.floorplan-head p { color: var(--ink-2); margin-top: 4px; }
.floorplan-svg { min-height: 120px; }
.floor-svg { width: 100%; height: auto; }
.fp-title { font-size: .9px; font-weight: 600; fill: #22272A; }
.fp-note { font-size: .62px; fill: #5F676A; }
.fp-id { font-size: .95px; font-weight: 650; fill: #22272A; font-feature-settings: "tnum" 1; }
.fp-sub { font-size: .58px; fill: #444B4F; font-feature-settings: "tnum" 1; }
.fp-id.is-hl, .fp-sub.is-hl { fill: #fff; }
.fp-tag { fill: #fff; fill-opacity: .88; stroke: rgba(34, 39, 42, .18); stroke-width: .05; }
.fp-tag.is-hl { fill: #A9875A; fill-opacity: 1; stroke: none; }
.fp-flat { cursor: pointer; }
.fp-flat .fp-fill { transition: filter .15s; }
.fp-flat:hover .fp-fill, .fp-flat:focus-visible .fp-fill { filter: brightness(.9); }
.fp-flat:focus-visible { outline: none; }
.fp-flat:focus-visible rect:nth-of-type(2) { stroke: #A9875A; stroke-width: .3; }
.floor-svg.is-compact .fp-sub { display: none; }
.floor-svg.is-compact .fp-id { font-size: 1.4px; }
.floorplan-note { font-size: .875rem; color: var(--muted); }

/* Lista i filtry */
.search { padding: clamp(64px, 8vw, 112px) 0; }
.search-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.filters-toggle { display: none; }
.filters { position: sticky; top: calc(var(--head) + 16px); display: grid; gap: 22px; }
.fg { margin: 0; padding: 0; border: 0; min-width: 0; }
.fg legend { padding: 0; margin-bottom: 8px; font-size: .875rem; font-weight: 600; }
.fg-val { float: right; margin-top: -30px; font-size: .875rem; color: var(--ink-2); font-feature-settings: "tnum" 1; }
.seg, .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label, .chips label, .checks label { position: relative; cursor: pointer; }
.seg input, .chips input, .checks input, .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span, .chips span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); background: var(--white); font-size: .9375rem; border-radius: 2px; transition: background .15s, border-color .15s;
}
.seg label:hover span, .chips label:hover span { border-color: var(--ink); }
.seg input:checked + span, .chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span, .chips input:focus-visible + span, .checks input:focus-visible + span, .switch input:focus-visible + span { outline: 2.5px solid var(--brass); outline-offset: 2px; }
.checks { display: grid; gap: 2px; }
.checks span { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: .9688rem; }
.checks span::before { content: ""; flex: none; width: 20px; height: 20px; border: 1.5px solid var(--ink-2); background: var(--white); border-radius: 2px; }
.checks input:checked + span::before { background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/16px no-repeat; border-color: var(--forest); }
.fg-switches { display: grid; gap: 4px; }
.switch { position: relative; cursor: pointer; }
.switch span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: .9688rem; }
.switch span::after { content: ""; flex: none; width: 40px; height: 24px; border-radius: 12px; background: var(--concrete-2) radial-gradient(circle at 12px 12px, #fff 8px, transparent 8.5px); transition: background-color .2s, background-position .2s; }
.switch input:checked + span::after { background: var(--forest) radial-gradient(circle at 28px 12px, #fff 8px, transparent 8.5px); }
.range1 { width: 100%; }
.range2 { position: relative; height: 44px; }
.range2-track { position: absolute; left: 11px; right: 11px; top: 20px; height: 4px; background: var(--concrete-2); }
.range2-track span { position: absolute; top: 0; bottom: 0; background: var(--forest); }
.range2 input { position: absolute; left: 0; top: 0; width: 100%; height: 44px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range2 input::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--forest); cursor: grab; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.range2 input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--forest); cursor: grab; }
.range2 input::-webkit-slider-runnable-track { background: none; }
.range2 input::-moz-range-track { background: none; }
.range2 input:focus-visible { outline: none; }
.range2 input:focus-visible::-webkit-slider-thumb { outline: 2.5px solid var(--brass); outline-offset: 2px; }
.range2 input:focus-visible::-moz-range-thumb { outline: 2.5px solid var(--brass); outline-offset: 2px; }
input[type="range"] { accent-color: var(--forest); min-height: 44px; }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.count { font-size: 1.125rem; }
.count strong { font-size: 1.75rem; font-weight: 650; font-stretch: 110%; letter-spacing: -.02em; font-feature-settings: "tnum" 1; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-x { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 8px 0 12px; border: 1px solid var(--forest); background: var(--sage-2); color: var(--forest); font-size: .875rem; font-weight: 600; cursor: pointer; border-radius: 2px; }
.chip-x svg { width: 16px; height: 16px; }
.sort { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
.sort select, .field select { min-height: 44px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%2322272A' stroke-width='1.6'/%3E%3C/svg%3E") right 10px center/16px no-repeat; -webkit-appearance: none; appearance: none; color: var(--ink); }

.rows-head, .row { display: grid; grid-template-columns: 84px minmax(120px, 1.3fr) .7fr .9fr 1.15fr 1.1fr 1.25fr 1.05fr 104px; gap: 14px; align-items: center; }
.rows-head { padding: 12px 0 10px; font-size: .78rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { position: relative; padding: 12px 0; border-bottom: 1px solid var(--line); transition: background .15s; }
.row:hover { background: var(--white); }
.row.is-sold { color: var(--muted); }
.row-thumb { width: 84px; height: 84px; padding: 4px; background: var(--white); border: 1px solid var(--concrete); }
.row.is-sold .row-thumb { opacity: .55; }
.row-id a { font-size: 1.125rem; font-weight: 650; font-stretch: 108%; letter-spacing: -.01em; text-decoration: none; }
.row-id a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.row-id a:hover { text-decoration: underline; text-underline-offset: 3px; }
.row-id span, .row-cell small { display: block; font-size: .8125rem; color: var(--muted); }
.row-cell { font-size: .9688rem; font-feature-settings: "tnum" 1; line-height: 1.35; }
.row-cell .lbl { display: none; }
.row-price strong { display: block; font-weight: 650; font-size: 1.0625rem; white-space: nowrap; }
.row-price .na { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 8px; border-radius: 2px; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-wolne { background: var(--free-bg); color: var(--free); }
.pill-rezerwacja { background: var(--res-bg); color: var(--res); }
.pill-sprzedane { background: var(--sold-bg); color: var(--sold); }
.row-actions { position: relative; z-index: 1; display: flex; gap: 4px; justify-content: flex-end; }
.heart, .cmp {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid transparent; background: none; border-radius: 2px; cursor: pointer; color: var(--ink-2);
}
.heart:hover, .cmp:hover { border-color: var(--line); background: var(--white); }
.heart svg, .cmp svg { width: 22px; height: 22px; }
.heart[aria-pressed="true"] { color: #A4452F; }
.heart[aria-pressed="true"] path { fill: currentColor; }
.cmp[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cmp[disabled] { opacity: .35; cursor: not-allowed; }
.empty { padding: 32px 0; color: var(--ink-2); }
.more { margin-top: 24px; width: 100%; }

/* Porównanie */
.compare-bar { position: fixed; left: 50%; bottom: 16px; z-index: 45; width: min(760px, calc(100% - 24px)); transform: translateX(-50%); background: var(--ink); color: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.cb-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 20px; }
.cb-in p { font-size: .9375rem; }
.cb-in p span { color: #C9CFCC; font-feature-settings: "tnum" 1; }
.cb-actions { display: flex; align-items: center; gap: 12px; }
dialog.compare { width: min(1100px, calc(100% - 24px)); max-height: calc(100% - 32px); padding: 0; border: 0; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
dialog.compare::backdrop { background: rgba(20, 26, 24, .55); }
.compare-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--white); border-bottom: 1px solid var(--line); }
.compare-head h2 { font-size: 1.5rem; }
.compare-body { padding: 8px 20px 24px; overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp-table th, .cmp-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-feature-settings: "tnum" 1; }
.cmp-table thead th { vertical-align: bottom; }
.cmp-table tbody th { width: 150px; font-weight: 500; color: var(--muted); font-size: .875rem; }
.cmp-plan { width: 100%; max-width: 220px; aspect-ratio: 1; padding: 6px; background: #fff; border: 1px solid var(--concrete); margin-bottom: 10px; }
.cmp-id { font-size: 1.375rem; font-weight: 650; font-stretch: 108%; }
.cmp-best { color: var(--free); font-weight: 650; }
.cmp-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; }

/* Osiedle */
.estate { background: var(--white); padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 100px); border-top: 1px solid var(--concrete-2); }
.estate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.estate-text h2 { font-size: clamp(2rem, 1.25rem + 2.3vw, 3.3rem); letter-spacing: -0.035em; max-width: 13ch; margin-bottom: 28px; }
.estate-text p { color: var(--ink-2); max-width: 36em; }
.estate-text p + p { margin-top: 14px; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 36px 0 0; border-top: 1px solid var(--ink); }
.spec div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: .8125rem; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-weight: 550; line-height: 1.4; }
.estate-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ph { margin: 0; }
.ph img { width: 100%; height: auto; object-fit: cover; background: var(--concrete); }
.ph figcaption { margin-top: 10px; font-size: .8125rem; color: var(--ink-2); }
.ph figcaption span { color: var(--muted); }
.ph-tall { grid-column: 1 / 2; grid-row: 1 / 3; }
.ph-tall img { aspect-ratio: 4 / 5.2; }
.ph-wide { grid-column: 2 / 3; align-self: end; margin-top: 40%; }
.ph-wide img { aspect-ratio: 4 / 4.6; object-position: 30% 50%; }
.interiors { margin-top: clamp(56px, 7vw, 100px); }
.interiors-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 64px; align-items: start; margin-bottom: 28px; }
.interiors-head h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); }
.interiors-head p { color: var(--ink-2); max-width: 44em; }
.interiors-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.interiors-row img { aspect-ratio: 4 / 3.4; }

/* Okolica */
.area { padding: clamp(64px, 8vw, 120px) 0; }
.area-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.area-map { padding: 12px; }
.map-svg { width: 100%; height: auto; }
.map-svg text { font-family: "Archivo", sans-serif; }
.dist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.dist li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dist svg { width: 26px; height: 26px; color: var(--forest); }
.dist strong { display: block; font-weight: 600; line-height: 1.3; }
.dist div span { display: block; font-size: .8125rem; color: var(--muted); }
.dist p { text-align: right; }
.dist b { display: block; font-weight: 650; font-stretch: 108%; font-feature-settings: "tnum" 1; white-space: nowrap; }
.dist p span { display: block; font-size: .8125rem; color: var(--ink-2); white-space: nowrap; }
.area-photos { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 72px); align-items: end; }
.area-photos .ph:first-child img { aspect-ratio: 16 / 10; }
.area-photos .ph:last-child img { aspect-ratio: 4 / 4.2; }

/* Budowa */
.build { background: var(--forest); color: #fff; padding: clamp(64px, 8vw, 120px) 0; }
.progress-all { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 32px; align-items: center; margin-bottom: 48px; }
.pa-num strong { display: block; font-size: clamp(2.6rem, 2rem + 2vw, 4rem); font-weight: 600; font-stretch: 110%; letter-spacing: -.04em; line-height: 1; }
.pa-num span { font-size: .875rem; color: #C9D6CD; }
.pa-bar { height: 10px; background: rgba(255, 255, 255, .14); }
.pa-bar span { display: block; height: 100%; background: #D2B07C; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.timeline li { position: relative; padding: 34px 16px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(255, 255, 255, .22); }
.timeline li::after { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: var(--forest); }
.timeline li.is-done::before { background: #D2B07C; }
.timeline li.is-done::after { background: #D2B07C; border-color: #D2B07C; }
.timeline li.is-now::before { background: linear-gradient(90deg, #D2B07C 0 45%, rgba(255, 255, 255, .22) 45%); }
.timeline li.is-now::after { width: 20px; height: 20px; top: 0; border: 5px solid #D2B07C; background: #fff; }
.timeline time { display: block; font-size: .8125rem; color: #C9D6CD; font-feature-settings: "tnum" 1; }
.timeline h3 { margin-top: 6px; font-size: 1.0625rem; font-stretch: 104%; letter-spacing: -.01em; line-height: 1.25; }
.timeline p { margin-top: 6px; font-size: .875rem; color: #C9D6CD; line-height: 1.45; }
.timeline .is-done h3 { color: #E9DCC6; }
.now-tag { display: inline-block; margin-top: 10px; padding: 2px 8px; background: #D2B07C; color: var(--forest-3); font-size: .75rem; font-weight: 700; border-radius: 2px; }

/* Kredyt */
.credit { background: var(--concrete); padding: clamp(64px, 8vw, 112px) 0; }
.credit-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.credit-intro h2 { font-size: clamp(2rem, 1.25rem + 2.3vw, 3.3rem); letter-spacing: -0.035em; margin-bottom: 20px; }
.credit-intro p { color: var(--ink-2); }
.credit-advisor { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--concrete-2); font-size: .9375rem; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--concrete-2); }
.calc-fields { display: grid; gap: 18px; padding: clamp(20px, 2.5vw, 32px); }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span:first-child, .field > span[id] { font-size: .875rem; font-weight: 600; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; background-color: #fff; font-size: 1rem;
}
.field select { padding-right: 36px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A4452F; box-shadow: inset 0 0 0 1px #A4452F; }
.field-unit { position: relative; display: block; }
.field-unit input { padding-right: 44px; font-feature-settings: "tnum" 1; font-weight: 600; }
.field-unit em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.field-range { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 12px; align-items: center; }
.field-range output { text-align: right; font-weight: 650; font-feature-settings: "tnum" 1; }
.field small { font-size: .8125rem; color: var(--muted); font-feature-settings: "tnum" 1; }
.calc-out { padding: clamp(20px, 2.5vw, 32px); background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.co-label { font-size: .875rem; color: #C3C9C6; }
.co-rate { font-size: clamp(2.6rem, 2rem + 2.2vw, 4rem); font-weight: 600; font-stretch: 110%; letter-spacing: -.04em; line-height: 1.05; font-feature-settings: "tnum" 1; margin-top: 4px; }
.calc-out dl { margin: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.calc-out dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .9375rem; }
.calc-out dt { color: #C3C9C6; }
.calc-out dd { margin: 0; font-weight: 600; font-feature-settings: "tnum" 1; white-space: nowrap; }
.co-split { display: flex; height: 8px; margin-top: 20px; background: #D2B07C; }
.co-split span { display: block; height: 100%; background: #9DBB9F; }
.co-legend { display: flex; gap: 18px; margin-top: 8px; font-size: .8125rem; color: #C3C9C6; }
.co-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.co-legend .k::before { background: #9DBB9F; }
.co-legend .i::before { background: #D2B07C; }
.co-note { margin-top: auto; padding-top: 20px; font-size: .875rem; color: #E7E2D6; line-height: 1.5; }
.co-note::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 10px; background: #D2B07C; }

/* Kontakt */
.contact { padding: clamp(64px, 8vw, 120px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 1.25rem + 2.3vw, 3.3rem); letter-spacing: -0.035em; max-width: 13ch; margin-bottom: 22px; }
.contact-info > p { color: var(--ink-2); max-width: 34em; }
.hours { margin: 28px 0 0; border-top: 1px solid var(--ink); }
.hours div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 600; font-feature-settings: "tnum" 1; }
.people { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.people li { display: flex; gap: 14px; align-items: center; }
.people .ini { display: grid; place-items: center; width: 52px; height: 52px; flex: none; background: var(--sage-2); color: var(--forest); font-weight: 650; font-stretch: 110%; }
.people strong { display: block; }
.people span { display: block; font-size: .9375rem; color: var(--ink-2); font-feature-settings: "tnum" 1; }
.mail { margin-top: 20px; font-weight: 600; }
.form { background: var(--white); border: 1px solid var(--concrete-2); padding: clamp(20px, 3vw, 40px); }
.form-body { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--forest); }
.form-err { padding: 10px 14px; background: #F6E1DA; color: #7E2F1E; font-size: .9375rem; border-left: 3px solid #A4452F; }
.form-body .btn { justify-self: start; }
.form-hint { font-size: .8125rem; color: var(--muted); }
.form-done { padding: 24px 0; outline: none; }
.form-done svg { width: 48px; height: 48px; color: var(--forest); margin-bottom: 16px; }
.form-done h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-done p { color: var(--ink-2); }

/* Stopka */
.foot { background: var(--ink); color: #DADEDB; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.foot h3 { font-size: .9375rem; color: #fff; margin-bottom: 10px; font-stretch: 104%; }
.foot p, .foot li { font-size: .9375rem; line-height: 1.7; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.foot-grid a { display: inline-flex; min-height: 32px; align-items: center; }
.logo-light { color: #fff; text-decoration: none; margin-bottom: 14px; }
.foot-brand p { max-width: 30em; }
.foot-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 22px; font-size: .8125rem; color: #AEB5B2; }
.foot-bottom::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: rgba(255, 255, 255, .14); }
.foot-bottom a { color: #fff; }

/* Karta mieszkania */
.flat-page { padding: 28px 0 clamp(56px, 7vw, 100px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0 0 24px; padding: 0; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-underline-offset: 3px; display: inline-flex; min-height: 32px; align-items: center; }
.flat-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.flat-head h1 { font-size: clamp(2.4rem, 1.4rem + 3vw, 4.2rem); letter-spacing: -.04em; }
.flat-head p { margin-top: 8px; font-size: 1.125rem; color: var(--ink-2); }
.flat-nav { display: flex; gap: 8px; }
.flat-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); grid-template-areas: "plan side" "rooms side"; gap: 28px clamp(24px, 4vw, 64px); margin-top: 32px; align-items: start; }
.flat-grid .plan-box { grid-area: plan; margin: 0; }
.flat-grid .side { grid-area: side; }
.flat-grid .rooms-table { grid-area: rooms; margin-top: 0; }
.plan-box { background: var(--white); border: 1px solid var(--concrete-2); }
.plan-box-in { padding: clamp(12px, 2.5vw, 36px); display: grid; place-items: center; }
.plan-svg { width: 100%; height: auto; }
.plan-svg .pl-name { font-size: .25px; font-weight: 600; fill: #22272A; paint-order: stroke; stroke: #fff; stroke-width: .07; stroke-linejoin: round; }
.plan-svg .pl-area { font-size: .25px; fill: #444B4F; font-feature-settings: "tnum" 1; paint-order: stroke; stroke: #fff; stroke-width: .07; stroke-linejoin: round; }
.plan-svg .pl-small { font-size: .2px; }
.plan-svg .pl-dim { font-size: .22px; fill: #444B4F; font-feature-settings: "tnum" 1; }
.plan-svg .pl-note { font-size: .22px; fill: #5F676A; }
.plan-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 10px clamp(12px, 2vw, 20px); border-top: 1px solid var(--concrete-2); font-size: .8125rem; color: var(--muted); }
.side { position: sticky; top: calc(var(--head) + 16px); display: grid; gap: 16px; }
.price-box { background: var(--white); border: 1px solid var(--concrete-2); padding: clamp(20px, 2.4vw, 28px); }
.price-box .pill { margin-bottom: 14px; }
.pb-price { font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem); font-weight: 620; font-stretch: 110%; letter-spacing: -.04em; line-height: 1; font-feature-settings: "tnum" 1; }
.pb-ppm { margin-top: 6px; color: var(--ink-2); font-feature-settings: "tnum" 1; }
.pb-actions { display: grid; gap: 10px; margin-top: 22px; }
.pb-actions .btn { width: 100%; }
.pb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pb-row .btn { padding: 0 12px; font-size: .9375rem; }
.btn .heart-ico { width: 20px; height: 20px; }
.btn[aria-pressed="true"] .heart-ico path { fill: currentColor; }
.pdf-note { font-size: .8125rem; color: var(--muted); margin-top: -2px; }
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9688rem; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; text-align: right; font-feature-settings: "tnum" 1; }
.rooms-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-feature-settings: "tnum" 1; }
.rooms-table caption { text-align: left; font-size: 1.375rem; font-weight: 600; font-stretch: var(--wide); letter-spacing: -.02em; padding-bottom: 12px; }
.rooms-table th, .rooms-table td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: .9688rem; }
.rooms-table thead th { font-size: .8125rem; color: var(--muted); font-weight: 500; border-bottom-color: var(--ink); }
.rooms-table td:last-child, .rooms-table th:last-child { text-align: right; }
.rooms-table tfoot td, .rooms-table tfoot th { font-weight: 650; border-bottom: 0; }
.rooms-table .num { display: inline-block; width: 22px; height: 22px; margin-right: 10px; border: 1px solid var(--line); text-align: center; font-size: .75rem; line-height: 20px; color: var(--ink-2); }
.flat-lower { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.mini-floor h2, .similar h2, .flat-interior h2 { font-size: 1.375rem; letter-spacing: -.02em; margin-bottom: 6px; }
.mini-floor > p, .similar > p { color: var(--ink-2); margin-bottom: 14px; font-size: .9375rem; }
.mini-floor .floorplan-svg { background: var(--white); border: 1px solid var(--concrete-2); padding: 12px; }
.flat-interior { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.flat-interior img { aspect-ratio: 16 / 10; }
.flat-interior p { color: var(--ink-2); }
.flat-interior ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-2); }
.flat-interior li { margin-top: 6px; }
.similar { margin-top: clamp(40px, 5vw, 64px); }
.sim-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.sim { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; background: var(--white); border: 1px solid var(--concrete-2); }
.sim:hover { border-color: var(--ink); }
.sim .row-thumb { grid-area: auto; width: 96px; height: 96px; border: 0; padding: 0; }
.sim a { font-weight: 650; font-size: 1.125rem; font-stretch: 108%; text-decoration: none; }
.sim a::after { content: ""; position: absolute; inset: 0; }
.sim p { font-size: .875rem; color: var(--ink-2); font-feature-settings: "tnum" 1; }
.sim strong { display: block; margin-top: 4px; font-feature-settings: "tnum" 1; }
dialog.ask { width: min(560px, calc(100% - 24px)); max-height: calc(100% - 32px); padding: 0; border: 0; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
dialog.ask::backdrop { background: rgba(20, 26, 24, .55); }
.ask .form { border: 0; }
.ask-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 20px 0 clamp(20px, 3vw, 40px); }
.ask-head h2 { font-size: 1.5rem; }
.ask-head p { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; }
.ask .form-row { grid-template-columns: 1fr; }

/* Pojawianie się przy przewijaniu (tylko gdy ruch jest dozwolony) */
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .hero-media img { animation: heroIn 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes heroIn { from { transform: scale(1.06); opacity: .6; } to { transform: none; opacity: 1; } }
.motion .elev-svg .el-building { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Responsywność */
@media (max-width: 1240px) {
  .top-phone { display: none; }
  .rows-head, .row { grid-template-columns: 76px minmax(110px, 1.3fr) .6fr .9fr 1.15fr 1.25fr 1.05fr 100px; }
  .rows-head span:nth-child(6), .row .c-exp { display: none; }
  .row-thumb { width: 76px; height: 76px; }
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .top-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 12px; }
  .search-grid { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 48px; padding: 0 18px; border: 1px solid var(--ink); background: var(--white); cursor: pointer; font-weight: 600; border-radius: 2px; }
  .filters-toggle svg { width: 22px; height: 22px; }
  .filters { position: static; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; padding: 20px; background: var(--white); border: 1px solid var(--concrete-2); }
  .filters.is-open { display: grid; }
  .picker-detail { grid-template-columns: 1fr; }
  .estate-grid, .area-grid, .credit-grid, .contact-grid { grid-template-columns: 1fr; }
  .flat-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "plan" "side" "rooms"; }
  .side { position: static; }
  .flat-lower, .flat-interior { grid-template-columns: 1fr; }
  .sim-list { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-media { order: -1; height: min(52svh, 440px); }
  .hero-avail { display: none; }
  .area-map { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .area-map .map-svg { min-width: 620px; }
  .hero-text { padding: 28px var(--gut) 36px; gap: 28px; }
  .hero h1 { max-width: 12ch; }
  .sec-head { grid-template-columns: 1fr; }
  .rows-head { display: none; }
  .row { grid-template-columns: 88px minmax(0, 1fr) auto; grid-template-areas: "t id st" "t m m" "t p p" "a a a"; gap: 4px 14px; padding: 16px 0; align-items: start; }
  .row-thumb { grid-area: t; width: 88px; height: 88px; }
  .row-id { grid-area: id; }
  .row .c-status { grid-area: st; justify-self: end; }
  .row .c-meta { grid-area: m; display: flex; flex-wrap: wrap; gap: 2px 12px; }
  .row .c-rooms, .row .c-area, .row .c-out, .row .c-exp { display: none; }
  .row-price { grid-area: p; margin-top: 4px; }
  .row-price strong { display: inline; margin-right: 8px; }
  .row-price small { display: inline; }
  .row-actions { grid-area: a; justify-content: flex-start; margin-top: 6px; gap: 8px; }
  .row-actions .heart, .row-actions .cmp { border-color: var(--line); background: var(--white); }
  .row-actions .go { display: inline-flex; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { padding: 0 0 26px 40px; }
  .timeline li::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li.is-now::before { background: linear-gradient(180deg, #D2B07C 0 30%, rgba(255, 255, 255, .22) 30%); }
  .timeline li::after { top: 2px; }
  .timeline li.is-now::after { left: -2px; }
  .progress-all { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .estate-media { grid-template-columns: 1fr 1fr; }
  .interiors-head { grid-template-columns: 1fr; }
  .interiors-row { grid-template-columns: 1fr 1fr; }
  .interiors-row .ph:first-child { grid-column: 1 / -1; }
  .area-photos { grid-template-columns: 1fr; }
  .area-photos .ph:last-child img { aspect-ratio: 16 / 11; }
  .titleblock { display: none; }
}
@media (min-width: 901px) { .row .c-meta { display: none; } .row-actions .go { display: none; } }
@media (max-width: 700px) {
  .picker-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; border: 1px solid var(--ink); }
  .picker-tabs button { min-height: 48px; border: 0; background: var(--white); font-weight: 600; cursor: pointer; }
  .picker-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
  .filters { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .estate-media { grid-template-columns: 1fr; }
  .ph-tall, .ph-wide { grid-column: auto; grid-row: auto; margin-top: 0; }
  .ph-wide img { aspect-ratio: 16 / 10; }
  .interiors-row { grid-template-columns: 1fr; }
  .sim-list { grid-template-columns: 1fr; }
  .plan-svg .pl-name, .plan-svg .pl-area { font-size: .34px; }
  .plan-svg .pl-small { font-size: .26px; }
  .plan-svg .pl-dim, .plan-svg .pl-note { font-size: .3px; }
  .plan-box-in { padding: 8px 4px; }
  .foot-grid { grid-template-columns: 1fr; }
  .results-bar .sort { margin-left: 0; width: 100%; }
  .results-bar .sort select { flex: 1; }
  .cb-in { padding-left: 14px; }
  .cb-in p strong { display: block; }
  .flat-head { align-items: flex-start; }
  .pb-row { grid-template-columns: 1fr; }
  .floorplan-head { flex-direction: column; }
  .logo-word { font-size: 1.125rem; }
  .top-actions .btn-sm { display: none; }
}
@media (max-width: 380px) {
  .hero-facts dd { font-size: 1rem; }
  .row { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .row-thumb { width: 72px; height: 72px; }
}
