/* Perła Mórz — main.css | mobile-first */
:root {
  --ink: #1d1d1f;
  --ink-2: #333336;
  --muted: #6e6e73;
  --teal: #0071e3;
  --teal-d: #0066cc;
  --sky: #f5f5f7;
  --sand: #f5f5f7;
  --paper: #fff;
  --line: #e0e0e0;
  --sun: #0071e3;
  --sun-d: #0066cc;
  --ok: #17895c;
  --warn: #b97a0b;
  --bad: #8a97a1;
  --r: 18px;
  --r-s: 12px;
  --sh: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px -14px rgba(0, 0, 0, .16);
  --sh-l: rgba(0, 0, 0, .22) 3px 5px 30px 0;
  --f-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', system-ui, Roboto, sans-serif;
  --f-head: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', system-ui, Roboto, sans-serif;
  --hdr: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; font: 400 1rem/1.6 var(--f-body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.4vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.ico { flex: none; width: 1.25em; height: 1.25em; }
.muted { color: var(--muted); }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2.5rem); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--sun); color: #2b1600; box-shadow: 0 8px 24px -10px rgba(242, 143, 34, .8); }
.btn--primary:hover { background: #ffb967; color: #2b1600; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: rgba(11, 36, 51, .22); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(11, 36, 51, .04); color: var(--ink); }
.btn--ghost-dark { background: var(--ink); color: #fff; }
.btn--ghost-dark:hover { background: #12364b; color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.btn--link { padding: .5em .2em; color: var(--teal-d); background: none; border: 0; }
.btn--link:hover { color: var(--teal); }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--sm { padding: .5em 1em; font-size: .88rem; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--teal-d); text-decoration: underline; cursor: pointer; }

/* ---------- Nagłówek ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr); display: flex; align-items: center; color: #fff; transition: background .25s, box-shadow .25s, color .25s; }
.site-header__in { display: flex; align-items: center; gap: 1rem; }
.site-header.is-solid, .is-inner .site-header { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; margin-right: auto; }
.brand:hover { color: inherit; }
.brand__mark { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.brand__mark img { width: 34px; height: 34px; object-fit: contain; }
.brand__name { font-family: var(--f-head); font-size: 1.35rem; font-weight: 500; letter-spacing: .01em; }
.nav { display: none; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; font-weight: 800; padding: .5rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); white-space: nowrap; }
.site-header.is-solid .header-phone, .is-inner .header-phone { background: var(--sky); border-color: transparent; color: var(--teal-d); }
.header-phone span { display: none; }
.burger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.nav.is-open { display: flex; flex-direction: column; position: fixed; inset: var(--hdr) 0 auto 0; background: #fff; color: var(--ink); padding: .5rem 1.25rem 1.25rem; box-shadow: var(--sh-l); }
.nav.is-open a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); text-decoration: none; }
@media (min-width: 560px) { .header-phone span { display: inline; } }
@media (min-width: 960px) {
  :root { --hdr: 76px; }
  .burger { display: none; }
  .nav { display: flex; gap: 1.6rem; margin-right: 1rem; }
  .nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: .96rem; position: relative; padding: .3rem 0; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
  .nav a:hover::after { transform: scaleX(1); }
  .brand { margin-right: 1rem; }
  .site-header__in { justify-content: space-between; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: calc(var(--hdr) + 2.2rem) 0 2.5rem; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 28, 41, .62) 0%, rgba(8, 28, 41, .32) 40%, rgba(8, 28, 41, .82) 100%); }
.hero__grid { display: grid; gap: 1.8rem; }
.hero h1 { color: #fff; margin-bottom: .45em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .8rem; }
.eyebrow--light { color: #bfe9ec; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 600; font-size: .95rem; }
.chip--strong { background: var(--sun); color: #2b1600; border-color: transparent; font-weight: 800; }
.hero__sub { font-size: 1.08rem; max-width: 36rem; color: #e8f2f4; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.2rem 0; }
.hero__mini { display: grid; gap: .5rem; max-width: 30rem; margin-top: 1.2rem; }
.hero__mini a { display: flex; gap: .9rem; justify-content: space-between; padding: .7rem 1rem; border-radius: var(--r-s); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; backdrop-filter: blur(8px); font-size: .95rem; }
.hero__mini a:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.card { background: var(--paper); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--sh); border: 1px solid var(--line); }
.card--glass { background: rgba(255, 255, 255, .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--sh-l); border-color: rgba(255, 255, 255, .6); color: var(--ink); }
.card--lift { box-shadow: var(--sh-l); }
.card__title { font-family: var(--f-head); font-size: 1.35rem; font-weight: 500; margin-bottom: .8rem; }
@media (min-width: 960px) {
  .hero { min-height: min(92svh, 860px); display: flex; align-items: center; padding: calc(var(--hdr) + 3rem) 0 4rem; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 28, 41, .5) 0, transparent 140px), linear-gradient(95deg, rgba(8, 28, 41, .8) 0%, rgba(8, 28, 41, .42) 50%, rgba(8, 28, 41, .04) 100%); }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; width: min(1200px, 100% - 2.5rem); }
}

/* ---------- Formularze ---------- */
.form { display: grid; gap: .85rem; }
.field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: .3rem; color: var(--ink-2); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; border: 1.5px solid #cfd8de; border-radius: var(--r-s); background: #fff; font-size: 1rem; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #9aa8b2; }
.field input:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); outline: none; }
.field.is-bad input, .field.is-bad select { border-color: #c0392b; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .8rem; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--teal); }
.check a { color: var(--teal-d); }
.check.is-bad { color: #c0392b; }
.form__error { margin: 0; padding: .7rem .9rem; border-radius: var(--r-s); background: #fdecea; color: #a1281c; font-size: .9rem; font-weight: 600; }
.form__note { display: flex; gap: .4rem; align-items: center; margin: 0; font-size: .8rem; color: var(--muted); }
.form__lokal { margin: 0; font-weight: 800; color: var(--teal-d); }
.form.is-sending button[type=submit] { opacity: .7; pointer-events: none; }
.cf-turnstile { min-height: 65px; }

/* ---------- Sekcje ---------- */
.sec { padding: clamp(3.2rem, 8vw, 6.5rem) 0; }
.sec--tight { padding: clamp(1.8rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.sec--sand { background: var(--sand); }
.sec--ink { background: radial-gradient(1200px 500px at 85% -10%, #14465c 0%, transparent 60%), var(--ink); color: #e9f2f5; }
.sec--ink h2 { color: #fff; }
.sec__head { max-width: 46rem; margin-bottom: 2rem; }
.sec__lead { font-size: 1.1rem; color: var(--ink-2); }
.sec--ink .sec__lead { color: #cfe0e6; }
.page-hero { padding: calc(var(--hdr) + 2rem) 0 1.2rem; background: linear-gradient(180deg, var(--sky), #fff); }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-2); }
.crumbs span { margin: 0 .3rem; }

/* ---------- Pasek zaufania ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__list { display: grid; gap: .2rem 1.5rem; padding: 1.1rem 0; grid-template-columns: 1fr; }
.trust__list li { display: flex; gap: .8rem; align-items: center; padding: .55rem 0; font-size: .92rem; color: var(--ink-2); }
.trust__list .ico { color: var(--teal); width: 1.7rem; height: 1.7rem; }
.trust__list strong { display: block; color: var(--ink); font-size: .95rem; }
@media (min-width: 760px) { .trust__list { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }

/* ---------- Lista lokali ---------- */
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding: 1rem; background: var(--sand); border-radius: var(--r); margin-bottom: 1rem; align-items: end; }
.sel { display: block; }
.sel span { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .25rem; }
.sel select { width: 100%; padding: .7rem .8rem; min-height: 46px; border-radius: 10px; border: 1.5px solid #d3dbe0; background: #fff; }
.switch { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-weight: 700; min-height: 46px; grid-column: 1 / -1; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { width: 46px; height: 26px; border-radius: 999px; background: #b9c5cc; position: relative; transition: background .2s; flex: none; }
.switch__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch input:checked + .switch__ui { background: var(--teal); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--sun); outline-offset: 2px; }
.lots__count { font-size: .9rem; color: var(--muted); margin: .3rem 0 1rem; }
.lot-head { display: none; }
.lot-list { display: grid; gap: .8rem; }
.lot { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; position: relative; transition: box-shadow .2s, transform .2s, border-color .2s; }
.lot:hover { box-shadow: var(--sh); border-color: #cfdde2; }
.lot[hidden], .lot.is-more { display: none; }
.lot__name { grid-column: 1 / 2; font-family: var(--f-head); font-size: 1.3rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.lot__name::before { content: ''; position: absolute; inset: 0; }
.lot__status { grid-column: 2 / 3; grid-row: 1; justify-self: end; }
.lot__cell { font-size: .95rem; }
.lot__cell[data-l]::before { content: attr(data-l); display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lot__price { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .5rem; padding-top: .6rem; border-top: 1px dashed var(--line); position: relative; z-index: 2; }
.lot__price .price { font-size: 1.2rem; }
.lot__price small { color: var(--muted); }
.lot__go { display: none; }
.pill { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.pill--dostepny { background: #dcf4e9; color: #0e6b45; }
.pill--rezerwacja { background: #fdf0d1; color: #8a5a00; }
.pill--sprzedany { background: #e9edf0; color: #5d6c77; }
.lot--sprzedany { opacity: .7; }
.lots__empty { padding: 1.5rem; text-align: center; background: var(--sand); border-radius: var(--r); }
.lots__foot { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; justify-content: space-between; margin-top: 1.4rem; }
.parking { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 2rem; padding: 1.1rem 1.3rem; background: var(--sky); border-radius: var(--r); }
.parking p { margin: 0; flex: 1 1 280px; }
.parking .ico { color: var(--teal-d); width: 1.8rem; height: 1.8rem; }
@media (min-width: 760px) { .filters { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } .switch { grid-column: auto; } }
@media (min-width: 960px) {
  .lot-head, .lot { display: grid; grid-template-columns: 1.25fr .8fr .65fr 1.15fr .8fr 1.35fr .95fr .8fr; align-items: center; gap: .5rem 1rem; }
  .lot-head { padding: .6rem 1.2rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .lot-list { gap: .5rem; }
  .lot { padding: .85rem 1.2rem; border-radius: 14px; }
  .lot[hidden], .lot.is-more { display: none; }
  .lot__name, .lot__status, .lot__price { grid-column: auto; grid-row: auto; justify-self: start; }
  .lot__price { border: 0; padding: 0; flex-direction: column; gap: 0; align-items: flex-start; }
  .lot__cell[data-l]::before { display: none; }
  .lot__go { display: inline-flex; align-items: center; gap: .3rem; font-weight: 800; text-decoration: none; justify-self: end; position: relative; z-index: 2; }
  .lot__go::after { display: none; }
}

/* ---------- Podział / lokalizacja ---------- */
.split { display: grid; gap: 1.6rem; align-items: center; }
.split__media { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-l); position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem 1rem .8rem; background: linear-gradient(transparent, rgba(8, 28, 41, .75)); color: #fff; font-size: .82rem; }
.dist { margin: 0 0 1.4rem; display: grid; gap: .5rem; }
.dist div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; border-radius: var(--r-s); background: #fff; border: 1px solid var(--line); }
.dist dt { color: var(--ink-2); }
.dist dd { margin: 0; font-weight: 800; text-align: right; }
.cards3 { display: grid; gap: 1rem; margin-top: 2.5rem; }
.photo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-card div { padding: 1.2rem 1.3rem 1.4rem; }
.photo-card h3 { margin-bottom: .3em; }
.photo-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split--rev .split__media { order: 2; }
  .cards3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Inwestor ---------- */
.invest { display: grid; gap: 2rem; align-items: center; }
.facts { display: grid; gap: .7rem; margin: 1.2rem 0 1.6rem; }
.facts li { display: flex; gap: .7rem; align-items: flex-start; }
.facts .ico { color: var(--sun); margin-top: .2em; }
.invest__img { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-l); }
.invest__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.calc { color: var(--ink); display: grid; gap: .8rem; }
.calc label { font-weight: 700; font-size: .9rem; }
.calc input { width: 100%; padding: .75rem 1rem; border: 1.5px solid #cfd8de; border-radius: var(--r-s); margin-top: .25rem; }
.calc__out { font-size: 1.1rem; margin: .5rem 0 0; }
.calc__note { font-size: .78rem; color: var(--muted); margin: 0; }
@media (min-width: 900px) { .invest { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

/* ---------- Standard i galeria ---------- */
.features { display: grid; gap: .8rem; margin-bottom: 2.2rem; }
.features li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.features .ico { color: var(--teal); width: 1.9rem; height: 1.9rem; margin-top: .1rem; }
.features strong { display: block; }
.features span { color: var(--ink-2); font-size: .94rem; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.gallery__item { position: relative; display: block; padding: 0; border: 0; border-radius: var(--r-s); overflow: hidden; cursor: zoom-in; background: var(--sand); aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .6rem; text-align: left; color: #fff; font-size: .78rem; font-weight: 600; background: linear-gradient(transparent, rgba(8, 28, 41, .75)); }
@media (min-width: 760px) {
  .gallery:not(.gallery--small) { grid-template-columns: repeat(4, 1fr); gap: .8rem; grid-auto-rows: clamp(170px, 17vw, 240px); }
  .gallery:not(.gallery--small) .gallery__item { aspect-ratio: auto; }
  .gallery:not(.gallery--small) .g0 { grid-column: span 2; grid-row: span 2; }
  .gallery:not(.gallery--small) .g5 { grid-column: span 2; }
  .gallery--small { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Jak kupić ---------- */
.steps { display: grid; gap: 1rem; counter-reset: s; }
.steps li { padding: 1.4rem; border-radius: var(--r); background: var(--sand); position: relative; }
.steps__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: .9rem; font-family: var(--f-head); font-size: 1.2rem; }
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; color: var(--ink-2); }
.buy-note { margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-left: 4px solid var(--teal); background: var(--sky); border-radius: 0 var(--r-s) var(--r-s) 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--sh); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.3rem; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--ink-2); }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 2rem; align-items: start; }
.advisor { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.4rem; }
.advisor strong { display: block; font-size: 1.1rem; }
.advisor span { color: var(--muted); font-size: .92rem; }
.advisor__photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--sky); }
.advisor__photo--ph { display: grid; place-items: center; padding: 12px; }
.advisor__photo--ph img { width: 100%; height: 100%; object-fit: contain; }
.contact__list { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.contact__list li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.05rem; }
.contact__list .ico { color: var(--teal); margin-top: .2em; }
.contact__list a { font-weight: 800; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: #c8d8de; padding: 3.5rem 0 6rem; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer__grid { display: grid; gap: 1.8rem; grid-template-columns: 1fr; }
.footer__brand { font-family: var(--f-head); font-size: 1.6rem; color: #fff; margin-bottom: .3rem; }
.footer__h { font-family: var(--f-body); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8fb3be; margin-bottom: .6rem; }
.footer__legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: #8fa4ae; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.2fr 1.4fr 1.4fr 1fr; } .site-footer { padding-bottom: 3rem; } }

/* ---------- Pasek mobilny ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -6px 24px -8px rgba(11, 36, 51, .25); transition: transform .3s; }
.mbar.is-hidden { transform: translateY(110%); }
.mbar .btn { padding: .95em 1em; }
@media (min-width: 960px) { .mbar { display: none; } }

/* ---------- Modal i lightbox ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(8, 28, 41, .7); backdrop-filter: blur(4px); }
.modal { width: min(520px, calc(100% - 1.5rem)); max-height: calc(100svh - 1.5rem); border-radius: 22px; box-shadow: var(--sh-l); overflow: auto; margin: auto; }
.modal__box { padding: 1.6rem 1.4rem; position: relative; }
.modal__lead { color: var(--ink-2); }
.modal__close { position: absolute; top: .6rem; right: .6rem; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(11, 36, 51, .08); cursor: pointer; }
.modal__close:hover { background: rgba(11, 36, 51, .16); }
.lightbox { background: transparent; width: 100%; max-width: 100%; height: 100%; max-height: 100%; }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 8rem); width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 10px; }
.lightbox figcaption { color: #fff; margin-top: .8rem; font-size: .9rem; }
.lightbox .modal__close { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Karta lokalu ---------- */
.lokal-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; }
.lokal-head h1 { margin: 0; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.lokal-head__price { margin: 0; font-size: 1.15rem; color: var(--ink-2); }
.lokal-head__price strong { font-size: 1.6rem; color: var(--ink); font-family: var(--f-head); }
.lokal { display: grid; gap: 2rem; }
.plan { margin: 0 0 2rem; }
.plan__btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: zoom-in; overflow: hidden; }
.plan__btn img { width: 100%; height: auto; max-height: 70svh; object-fit: contain; margin: 0 auto; }
.plan__zoom { position: absolute; right: .8rem; bottom: .8rem; background: var(--ink); color: #fff; padding: .4rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.plan figcaption { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.spec { display: grid; gap: 0; margin: 0 0 1.4rem; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.1rem; }
.spec div:nth-child(odd) { background: #f9fbfb; }
.spec dt { color: var(--ink-2); }
.spec dd { margin: 0; font-weight: 800; text-align: right; }
.lokal__tools { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.lokal__main .h3 { margin: 1.6rem 0 .8rem; }
.side__phone { margin: 1rem 0 0; font-size: .92rem; text-align: center; }
.similar { display: grid; gap: .8rem; margin-top: 1rem; }
.similar li { display: grid; gap: .3rem; }
.similar strong { font-family: var(--f-head); font-size: 1.2rem; }
@media (min-width: 760px) { .spec { grid-template-columns: 1fr 1fr; } .spec div:nth-child(odd) { background: transparent; } .spec div:nth-child(4n+1), .spec div:nth-child(4n+2) { background: #f9fbfb; } .similar { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .lokal { grid-template-columns: 1.4fr .8fr; gap: 3rem; } .sticky { position: sticky; top: calc(var(--hdr) + 1.2rem); } }

/* ---------- Miejsca postojowe ---------- */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: .5rem; margin-bottom: 1.4rem; }
.slot { display: grid; gap: .1rem; padding: .8rem .4rem; border-radius: var(--r-s); text-align: center; border: 1px solid var(--line); }
.slot strong { font-size: 1.15rem; }
.slot span { font-size: .72rem; font-weight: 800; }
.slot--dostepny { background: #e3f6ec; border-color: #b9e4cd; color: #0e6b45; }
.slot--rezerwacja { background: #fdf3d9; border-color: #f2dba2; color: #8a5a00; }
.slot--sprzedany { background: #f1f4f6; color: #8a97a1; }

/* ---------- Podziękowanie / strony ---------- */
.thanks { padding-top: calc(var(--hdr) + 3rem); min-height: 70svh; display: grid; align-items: center; }
.thanks__box { text-align: center; }
.thanks__ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #dcf4e9; color: var(--ok); margin-bottom: 1.2rem; }
.thanks__ico .ico { width: 42px; height: 42px; }
.thanks__cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.5rem; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }

/* ---------- Zgoda cookies ---------- */
.consent { position: fixed; left: .8rem; right: .8rem; bottom: 4.9rem; z-index: 120; background: #fff; border-radius: var(--r); box-shadow: var(--sh-l); border: 1px solid var(--line); padding: 1rem 1.2rem; display: grid; gap: .8rem; font-size: .9rem; max-width: 640px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent__btns { display: flex; gap: .6rem; flex-wrap: wrap; }
@media (min-width: 960px) { .consent { bottom: 1.2rem; left: 1.2rem; right: auto; } }

/* ---------- Animacje ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Druk: karta lokalu ---------- */
@media print {
  .site-header, .site-footer, .mbar, .no-print, .consent, dialog, .skip { display: none !important; }
  body { color: #000; }
  .page-hero { padding-top: 0; background: none; }
  .lokal { display: block; }
  .plan__btn img { max-height: none; }
  a { color: #000; text-decoration: none; }
}
.lokal__main > .muted { margin-top: .8rem; font-size: .85rem; }

/* ============ Wyszukiwarka na planie ============ */
.tabs { display: inline-flex; gap: .3rem; padding: .3rem; background: var(--sand); border-radius: 999px; margin-bottom: 1.4rem; max-width: 100%; }
.tabs__b { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border: 0; border-radius: 999px; background: transparent; font-weight: 800; font-size: .95rem; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.tabs__b[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 36, 51, .6); }
.tabs__b:not([aria-selected="true"]):hover { background: #fff; color: var(--ink); }
@media (max-width: 520px) { .tabs { display: flex; } .tabs__b { flex: 1; justify-content: center; padding: .7rem .5rem; font-size: .85rem; } .tabs__b .ico { display: none; } }

.finder { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1rem; box-shadow: var(--sh); }
.finder__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem; padding: .2rem .2rem .9rem; }
.finder__crumbs { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--muted); }
.crumb { background: none; border: 0; padding: .3rem .1rem; font: inherit; font-weight: 800; color: var(--muted); cursor: pointer; }
.crumb.is-active { color: var(--ink); cursor: default; }
button.crumb:not(.is-active):hover { color: var(--teal-d); text-decoration: underline; }
.crumb-step { display: inline-flex; gap: .2rem; margin-left: .4rem; }
.crumb-step button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; }
.crumb-step button:hover { background: var(--sky); }
.finder__pills { display: flex; gap: .4rem; overflow-x: auto; max-width: 100%; padding-bottom: 2px; scrollbar-width: none; }
.finder__pills::-webkit-scrollbar { display: none; }
.pill-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .85rem; cursor: pointer; white-space: nowrap; transition: all .18s; }
.pill-btn span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: #dcf4e9; color: #0e6b45; font-size: .75rem; font-weight: 800; padding: 0 .35rem; }
.pill-btn:hover { border-color: var(--teal); }
.pill-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-btn.is-active span { background: var(--sun); color: #2b1600; }

.finder__filters { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem 1.2rem; padding: .8rem 1rem; background: var(--sand); border-radius: var(--r-s); margin-bottom: .9rem; }
.finder__filters[hidden] { display: none; }
.finder__filters .sel { min-width: 150px; }
.finder__filters .switch { grid-column: auto; }
.zoom { display: inline-flex; margin-left: auto; border: 1.5px solid #d3dbe0; border-radius: 999px; overflow: hidden; background: #fff; }
.zoom__b { border: 0; background: transparent; padding: .5rem .9rem; font-weight: 800; cursor: pointer; min-height: 42px; }
.zoom__b + .zoom__b { border-left: 1px solid var(--line); }
.zoom__b:hover { background: var(--sky); }

.finder__stage { position: relative; border-radius: var(--r); overflow: hidden; background: #f4f7f8; }
.fv { animation: none; }
.fv.is-enter { animation: fvIn .55s cubic-bezier(.2, .7, .2, 1); }
@keyframes fvIn { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
.fv[hidden] { display: none; }
.fv__grid { display: grid; gap: 0; }
.fv__fig { position: relative; margin: 0; }
.fv__fig img { width: 100%; height: auto; display: block; }
.fv__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fb { fill: rgba(14, 143, 150, .001); stroke: rgba(255, 255, 255, 0); stroke-width: 3px; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .25s, stroke .25s; outline: none; }
.fb:hover, .fb.is-hover, .fb:focus-visible { fill: rgba(14, 143, 150, .45); stroke: #fff; filter: drop-shadow(0 0 12px rgba(14, 143, 150, .8)); }
.fb:focus-visible { stroke: var(--sun); }
.floors { padding: 1.2rem; display: grid; gap: .55rem; align-content: start; background: #fff; }
.floors__lead { margin: 0 0 .3rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.floor-item { display: grid; gap: .4rem; text-align: left; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; font: inherit; color: inherit; }
.floor-item:hover, .floor-item.is-hover { border-color: var(--teal); box-shadow: 0 8px 22px -12px rgba(14, 143, 150, .6); transform: translateX(3px); }
.floor-item.is-active { border-color: var(--ink); background: var(--sky); }
.floor-item__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.floor-item__top em { font-style: normal; font-weight: 800; color: #0e6b45; font-size: .9rem; }
.floor-item__sub { font-size: .78rem; color: var(--muted); }
.bar { display: flex; height: 7px; border-radius: 99px; overflow: hidden; background: #e9edf0; }
.bar i { display: block; height: 100%; }
.bar__a { background: #2fb383; } .bar__r { background: #f0b03a; } .bar__s { background: #c4ced5; }
@media (min-width: 960px) { .fv__grid { grid-template-columns: 1.7fr 1fr; align-items: stretch; } .floors { padding: 1.6rem; } }

.fv--plan { position: relative; padding: .4rem; }
.fv__hint { display: none; margin: .3rem .5rem .5rem; font-size: .82rem; color: var(--muted); }
.fv__scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-radius: var(--r-s); background: #fff; }
.fv__plan { --minw: 900px; display: block; width: calc(var(--z, 1) * 100%); min-width: calc(var(--z, 1) * var(--minw)); height: auto; touch-action: pan-x pan-y; transition: width .3s ease, min-width .3s ease; }
@media (min-width: 960px) { .fv__plan { --minw: 0px; } }
@media (max-width: 959px) { .fv__hint { display: block; } }
.fl { cursor: pointer; outline: none; }
.fl polygon, .fl rect { fill: rgba(14, 143, 150, .3); stroke: #0b7c82; stroke-width: 2px; vector-effect: non-scaling-stroke; transition: fill .2s, opacity .25s, stroke-width .2s; animation: flIn .5s both; animation-delay: calc(var(--i, 0) * 18ms); }
@keyframes flIn { from { opacity: 0; } to { opacity: 1; } }
.fl--rezerwacja polygon, .fl--rezerwacja rect { fill: rgba(240, 176, 58, .38); stroke: #c98410; }
.fl--sprzedany polygon, .fl--sprzedany rect { fill: rgba(96, 112, 124, .3); stroke: rgba(96, 112, 124, .55); }
.fl:hover polygon, .fl:hover rect, .fl:focus-visible polygon, .fl:focus-visible rect { fill: rgba(14, 143, 150, .62); stroke-width: 3px; }
.fl--rezerwacja:hover polygon, .fl--rezerwacja:hover rect { fill: rgba(240, 176, 58, .7); }
.fl--sprzedany:hover polygon, .fl--sprzedany:hover rect { fill: rgba(96, 112, 124, .5); }
.fl:focus-visible polygon, .fl:focus-visible rect { stroke: var(--sun); stroke-width: 4px; }
.fl.is-sel polygon, .fl.is-sel rect { fill: rgba(255, 169, 77, .78); stroke: #d9730a; stroke-width: 4px; }
.fl.is-dim { opacity: .2; }
.fl-t, .fl-a { pointer-events: none; font-family: var(--f-body); font-weight: 800; fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 3px; stroke-linejoin: round; transition: opacity .25s; }
.fl-a { font-weight: 700; fill: var(--ink-2); }
.fl-t--sprzedany { fill: #5f6f7a; }
.fl-t.is-dim, .fl-a.is-dim { opacity: .2; }
.tip { position: absolute; z-index: 5; pointer-events: none; padding: .45rem .8rem; border-radius: 10px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; white-space: nowrap; box-shadow: var(--sh-l); }
.tip[hidden] { display: none; }

.finder__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: .9rem .4rem .2rem; font-size: .85rem; color: var(--ink-2); }
.finder__legend span { display: inline-flex; align-items: center; gap: .45rem; }
.dot { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.dot--dostepny { background: rgba(14, 143, 150, .5); border: 2px solid #0b7c82; }
.dot--rezerwacja { background: rgba(240, 176, 58, .55); border: 2px solid #c98410; }
.dot--sprzedany { background: rgba(96, 112, 124, .35); border: 2px solid rgba(96, 112, 124, .6); }

.fpanel { margin-top: .9rem; border-radius: var(--r); background: var(--sand); padding: 1rem 1.2rem; position: relative; min-height: 64px; }
.fpanel__empty { margin: 0; color: var(--ink-2); font-size: .95rem; }
.fpanel.is-active { background: #fff; border: 1.5px solid var(--line); box-shadow: var(--sh); animation: fvIn .3s ease; }
.fpanel.is-pinned { border-color: var(--sun); }
.fpanel__close { position: absolute; top: .5rem; right: .6rem; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(11, 36, 51, .07); font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 2; }
.fp { display: grid; gap: 1rem; align-items: center; position: relative; }
.fp__img { background: #fff; border-radius: var(--r-s); border: 1px solid var(--line); min-height: 0; display: grid; place-items: center; padding: .4rem; }
.fp__img:empty { display: none; }
.fp__img img { max-height: 190px; width: auto; max-width: 100%; object-fit: contain; }
.fp__head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .2rem; }
.fp__head h3 { margin: 0; font-size: 1.7rem; }
.fp__price { margin: 0 0 .7rem; color: var(--ink-2); }
.fp__price strong { color: var(--ink); font-size: 1.3rem; font-family: var(--f-head); }
.fp__spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; margin: 0 0 1rem; }
.fp__spec div { display: grid; }
.fp__spec dt { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fp__spec dd { margin: 0; font-weight: 800; }
.fp__cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.fp__sold { margin: 0 0 .5rem; font-weight: 700; }
.fp__sim { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-link { border: 1.5px solid var(--teal); background: var(--sky); color: var(--teal-d); border-radius: 999px; padding: .45rem .9rem; font-weight: 800; font-size: .85rem; cursor: pointer; }
.chip-link:hover { background: var(--teal); color: #fff; }
.fp__nav { position: absolute; right: 0; bottom: 0; display: flex; gap: .4rem; }
.fp__nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.1rem; cursor: pointer; }
.fp__nav button:hover { background: var(--sky); }
.fp--spot { grid-template-columns: 1fr; }
@media (min-width: 760px) { .fp { grid-template-columns: 220px 1fr; gap: 1.6rem; } .fp--spot { grid-template-columns: 1fr; } .fp__spec { grid-template-columns: repeat(4, 1fr); } .fpanel { padding: 1.2rem 1.5rem; } }

/* panel jako dolna szuflada na telefonie */
@media (max-width: 899px) {
  .fpanel.is-pinned.is-open { position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 96; margin: 0; max-height: 72svh; overflow: auto; box-shadow: 0 -10px 50px -10px rgba(11, 36, 51, .5); animation: sheetIn .35s cubic-bezier(.2, .8, .2, 1); }
  .fpanel.is-pinned.is-open .fp__img img { max-height: 120px; }
  .fpanel.is-pinned.is-open .fp__nav { position: static; margin-top: .6rem; }
}
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fv.is-enter, .fl polygon, .fl rect, .fpanel.is-active { animation: none !important; } }
.finder__stage { background: #fff; }
.fv__fig { align-self: center; }
@media (min-width: 960px) {
  .floor-item { padding: .65rem 1rem; gap: .3rem; }
  .floor-item__sub { display: none; }
}
.fl.is-sel.is-dim { opacity: .95; }
@media (max-width: 759px) {
  .finder { padding: .7rem; border-radius: 20px; }
  .finder__filters { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .7rem; align-items: center; }
  .finder__filters .switch { grid-column: 1; min-height: 42px; font-size: .9rem; }
  .finder__filters .zoom { grid-column: 2; justify-self: end; margin: 0; }
  .finder__filters .sel { min-width: 0; }
  .finder__filters .sel select { padding: .55rem .6rem; min-height: 42px; }
  .fv__hint { margin: .1rem .4rem .4rem; }
  .fp__cta .btn { flex: 1; padding: .8em .6em; font-size: .9rem; }
}
@media (max-width: 899px) {
  .fpanel.is-pinned.is-open { padding: .9rem; }
  .fpanel.is-pinned.is-open .fp { grid-template-columns: 92px 1fr; gap: .8rem; align-items: start; }
  .fpanel.is-pinned.is-open .fp__img { padding: .2rem; }
  .fpanel.is-pinned.is-open .fp__img img { max-height: 96px; }
  .fpanel.is-pinned.is-open .fp__head h3 { font-size: 1.25rem; }
  .fpanel.is-pinned.is-open .fp__price { font-size: .85rem; margin-bottom: .5rem; }
  .fpanel.is-pinned.is-open .fp__spec { grid-template-columns: repeat(3, 1fr); gap: .35rem .6rem; margin-bottom: .7rem; }
  .fpanel.is-pinned.is-open .fp__spec dd { font-size: .88rem; }
  .fpanel.is-pinned.is-open .fp__spec dt { font-size: .6rem; }
  .fpanel.is-pinned.is-open .fp__nav { position: absolute; right: 0; top: 0; margin: 0; }
  .fpanel.is-pinned.is-open .fp__nav button { width: 34px; height: 34px; }
  .fpanel.is-pinned.is-open .fpanel__close { top: .3rem; right: .3rem; width: 34px; height: 34px; }
  .fpanel.is-pinned.is-open .fp__head { padding-right: 90px; }
}
@media (max-width: 759px) {
  .finder__filters .switch { order: 1; }
  .finder__filters .zoom { order: 2; }
  .finder__filters .sel { order: 3; }
  .floor-item__sub { display: none; }
  .floors { padding: .9rem; gap: .45rem; }
  .floor-item { padding: .65rem .9rem; }
}
@media (max-width: 899px) {
  .fpanel.is-pinned.is-open .fp__nav { right: 40px; }
  .fpanel.is-pinned.is-open .fp__head { padding-right: 120px; }
}
/* podświetlenie pięter: miękkie, bez ramki */
.fb { fill: rgba(14, 143, 150, .001); stroke: none; transition: fill .3s ease; }
.fb:hover, .fb.is-hover, .fb:focus-visible { fill: rgba(14, 143, 150, .42); stroke: none; filter: none; }
.fb:focus-visible { stroke: var(--sun); stroke-width: 3px; }
/* loader wczytywania planu */
.finder__stage.is-loading::before { content: ''; position: absolute; inset: 0; z-index: 6; background: linear-gradient(100deg, rgba(255,255,255,.55) 20%, rgba(255,255,255,.95) 40%, rgba(255,255,255,.55) 60%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.finder__stage.is-loading::after { content: ''; position: absolute; z-index: 7; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 4px solid rgba(14,143,150,.22); border-top-color: var(--teal); animation: spin .8s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.finder__stage { min-height: 220px; }
@media (prefers-reduced-motion: reduce) { .finder__stage.is-loading::before { animation: none; } .finder__stage.is-loading::after { animation-duration: 1.6s; } }
.switch[hidden], .finder__filters .switch[hidden] { display: none !important; }
.lot--sprzedany .lot__name { color: var(--muted); } .lot--sprzedany { background: #fafbfb; opacity: .78; }

/* ============ Przeglądarka rzutu: 2D + 3D ============ */
.pv__app { margin: 0 0 2rem; }
.pv__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: .8rem; }
.seg { display: inline-flex; padding: .25rem; background: var(--sand); border-radius: 999px; }
.seg button { border: 0; background: transparent; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 800; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.seg--lvl button[aria-pressed="true"] { background: var(--teal); }
.pv__sw { margin-left: auto; min-height: 40px; }
.pv__sw[hidden] { display: none; }
.pv__view[hidden] { display: none; }
.pv__stage { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.pv__stage img { display: block; width: 100%; height: auto; max-height: 74svh; object-fit: contain; margin: 0 auto; }
.pv__ov { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: default; }
.pv__stage .plan__zoom { border: 0; cursor: pointer; z-index: 3; }
.pv__tip { position: absolute; z-index: 4; pointer-events: none; padding: .4rem .75rem; border-radius: 10px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pv__tip[hidden] { display: none; }
.pv__v3 { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #f1f6f6; }
.pv__c3 { display: block; width: 100%; height: min(70svh, 560px); cursor: grab; touch-action: none; }
.pv__c3:active { cursor: grabbing; }
.pv__ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; padding: .7rem 1rem; border-top: 1px solid var(--line); background: #fff; }
.pv__rng { display: flex; align-items: center; gap: .8rem; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.pv__rng input { width: 170px; accent-color: var(--teal); }
.pv__hint { position: absolute; left: 0; right: 0; top: .6rem; margin: 0; text-align: center; font-size: .78rem; color: var(--ink-2); pointer-events: none; }
.pv__legend { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 .4rem; }
.pv__chip { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .88rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.pv__chip i { width: 12px; height: 12px; border-radius: 4px; background: #cfd8de; }
.pv__chip--living i { background: rgb(14, 143, 150); } .pv__chip--bedroom i { background: rgb(242, 150, 40); } .pv__chip--bath i { background: rgb(47, 179, 131); }
.pv__chip[data-room] { cursor: pointer; }
.pv__chip.is-on, .pv__chip[data-room]:hover { border-color: var(--ink); box-shadow: 0 6px 16px -10px rgba(11, 36, 51, .6); }
.pv__chip strong { font-weight: 800; }
.pv__note { font-size: .78rem; color: var(--muted); margin: .3rem 0 0; }
@media (max-width: 640px) { .pv__sw { margin-left: 0; } .pv__rng input { width: 120px; } .pv__c3 { height: 46svh; } }


/* ---------- Motyw Apple (wg DESIGN.md Apple): jeden niebieski akcent, jasne/ciemne płótna, nagłówki SF z ujemnym trackingiem ---------- */
h1, h2, h3, .h3 { font-weight: 600; letter-spacing: -.022em; line-height: 1.07; }
h1 { letter-spacing: -.03em; }
.brand__name, .card__title, .lot__name, .footer__brand, .lokal-head__price strong, .similar strong, .fp__price strong, .steps__n { font-weight: 600; letter-spacing: -.02em; }
.btn { font-weight: 500; border-width: 1px; letter-spacing: -.01em; }
.btn--primary { background: #0071e3; color: #fff; box-shadow: none; }
.btn--primary:hover { background: #0077ed; color: #fff; transform: none; }
.btn--ghost { border-color: #0066cc; color: #0066cc; }
.btn--ghost:hover { background: rgba(0, 102, 204, .06); border-color: #0066cc; color: #0066cc; }
.btn--ghost-dark { background: #1d1d1f; }
.btn--ghost-dark:hover { background: #333336; }
.chip--strong, .pill-btn.is-active span { background: #0071e3; color: #fff; }
.facts .ico { color: #0066cc; }
:focus-visible { outline-color: #0071e3; }
.footer__h { color: #86868b; font-weight: 600; }
.site-header.is-solid, .is-inner .site-header { background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); box-shadow: 0 1px 0 rgba(0, 0, 0, .1); }
.site-header.is-solid .header-phone, .is-inner .header-phone { background: #f5f5f7; color: #0066cc; }

/* ---------- Dopracowanie: filtry, nagłówki sekcji, pasek zaufania ---------- */
.eyebrow { display: none; }
.sec__head h2 { margin-bottom: .35em; }
.filters, .finder__filters { background: #f5f5f7; border-radius: 14px; padding: .9rem 1rem; gap: .8rem 1rem; }
.sel span { font-size: .8rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); margin: 0 0 .3rem .25rem; }
.sel select { min-height: 44px; padding: .6rem 2.2rem .6rem .95rem; border: 1px solid transparent; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1.5 1.5 4.5 4.5 4.5-4.5'/%3E%3C/svg%3E") no-repeat right .95rem center; -webkit-appearance: none; appearance: none; font-size: .95rem; cursor: pointer; transition: box-shadow .15s; }
.sel select:hover { box-shadow: 0 0 0 1px #d2d2d7; }
.sel select:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0, 113, 227, .35); }
.switch { position: relative; font-weight: 500; font-size: .95rem; gap: .7rem; align-self: end; min-height: 44px; }
.switch__ui { width: 51px; height: 31px; background: #e3e3e8; }
.switch__ui::after { top: 2px; left: 2px; width: 27px; height: 27px; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.switch input:checked + .switch__ui { background: #34c759; }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid rgba(0, 113, 227, .45); }
.trust__list .ico { width: 1.4rem; height: 1.4rem; color: var(--ink-2); }
.trust__list strong { font-weight: 600; }

/* ---------- Lista lokali: spokojniejsza, „premium” wersja (wiersze na cienkich liniach, bez ramek i kolorowych plakietek) ---------- */
.tabs { background: none; padding: 0; gap: 2rem; border-radius: 0; border-bottom: 1px solid var(--line); display: flex; margin-bottom: 1.8rem; }
.tabs__b { padding: .8rem 0; border-radius: 0; font-weight: 500; font-size: 1rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs__b .ico { display: none; }
.tabs__b[aria-selected="true"] { background: none; color: var(--ink); box-shadow: none; border-bottom-color: var(--ink); }
.tabs__b:not([aria-selected="true"]):hover { background: none; color: var(--ink); }

.filters { background: none; padding: 0 0 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: .6rem; }
.sel select { border: 1px solid #d2d2d7; background-color: #fff; }
.lots__count { margin: .8rem 0 .4rem; font-size: .85rem; }
.lot-list { gap: 0; }
.lot { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1.1rem 0; background: none; }
.lot:hover { box-shadow: none; border-color: var(--line); background: #fafafc; }
.lot__name { font-weight: 600; font-size: 1.15rem; letter-spacing: -.015em; }
.lot__cell { font-variant-numeric: tabular-nums; }
.lot__cell[data-l]::before { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .75rem; }
.lot .pill { background: none; padding: 0; font-weight: 500; font-size: .9rem; display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); }
.lot .pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lot .pill--dostepny { color: #248a3d; }
.lot .pill--rezerwacja { color: #b25e00; }
.lot .pill--sprzedany { color: #86868b; }
.lot .btn--ghost { border: 0; padding: 0; color: #0066cc; font-weight: 400; font-size: .95rem; background: none; }
.lot .btn--ghost:hover { background: none; text-decoration: underline; }
.lot__price .price { font-weight: 600; }
.lot--sprzedany { opacity: 1; }
.lot--sprzedany .lot__name, .lot--sprzedany .lot__cell { color: #86868b; }
.lot--sprzedany:hover { background: none; }
.lot__go { font-weight: 400; color: #0066cc; }
.lots__foot .btn--ghost { border-color: #0066cc; }
@media (min-width: 960px) {
  .lot-head { padding: .6rem 0; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .8rem; border-bottom: 1px solid var(--ink); }
  .lot { padding: 1.15rem 0; border-radius: 0; }
}
.lot__price { border-top-style: solid; border-top-color: #f0f0f0; }

/* ---------- Pasek zaufania i nagłówek listy: układ ---------- */
.trust { background: #f5f5f7; border-bottom: 0; }
.trust__list { padding: 1.4rem 0; gap: 0; }
.trust__list li { padding: 1rem 0; gap: 1rem; align-items: center; }
.trust__list .ico { box-sizing: content-box; width: 1.3rem; height: 1.3rem; padding: .7rem; background: #fff; border-radius: 50%; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); flex: none; }
.trust__list li > span { font-size: .95rem; line-height: 1.4; color: var(--ink); }
.trust__list strong { font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: .1rem; }
@media (min-width: 760px) {
  .trust__list li { padding: .6rem 1.8rem; border-left: 1px solid #d9d9de; }
  .trust__list li:first-child { padding-left: 0; border-left: 0; }
}
#lokale.sec { padding-top: clamp(4rem, 9vw, 7rem); }
#lokale .sec__head { max-width: none; margin-bottom: 2.6rem; }
#lokale .sec__head h2 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); letter-spacing: -.035em; margin-bottom: .3em; }
#lokale .sec__lead { max-width: 34rem; font-size: 1.15rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 960px) {
  #lokale .sec__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; }
  #lokale .sec__head h2, #lokale .sec__head .sec__lead { margin-bottom: 0; }
  #lokale .sec__lead { justify-self: end; padding-bottom: .5rem; }
}
.tabs { gap: 2.4rem; }
.tabs__b { font-size: 1.05rem; padding: 1rem 0; }
@media (max-width: 759px) {
  .trust__list { padding: .6rem 0; }
  .trust__list li { padding: .6rem 0; }
  .trust__list .ico { width: 1.1rem; height: 1.1rem; padding: .55rem; }
  .trust__list li > span { font-size: .9rem; }
  #lokale .sec__lead { font-size: 1.02rem; }
  .tabs { gap: 1.4rem; }
  .tabs__b { font-size: .95rem; padding: .85rem 0; }
}

/* ---------- Nagłówek listy lokali: wyśrodkowany, z liczbami ---------- */
#lokale .sec__head { display: block; text-align: center; max-width: 44rem; margin: 0 auto 2.4rem; }
#lokale .sec__head h2 { margin-bottom: .4em; }
#lokale .sec__lead { justify-self: auto; max-width: 32rem; margin: 0 auto; padding: 0; }
.figs { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0 0 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figs > div { padding: 1.6rem 1rem; text-align: center; }
.figs > div:nth-child(even) { border-left: 1px solid var(--line); }
.figs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.figs dt { font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.figs dd { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.figs dd small { font-size: .5em; font-weight: 500; letter-spacing: 0; color: var(--muted); }
@media (min-width: 760px) {
  .figs { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
  .figs > div { border: 0 !important; padding: 2rem 1rem; }
  .figs > div + div { border-left: 1px solid var(--line) !important; }
}
.tabs { justify-content: center; }
.figs dd { white-space: nowrap; }

/* ---------- Tło nagłówka listy lokali (ledwo widoczne) ---------- */
#lokale { position: relative; isolation: isolate; }
#lokale::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 640px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(0, 113, 227, .07), transparent 70%),
    radial-gradient(40% 50% at 85% 30%, rgba(14, 143, 150, .06), transparent 70%),
    linear-gradient(#f5f5f7, rgba(245, 245, 247, 0)); }
#lokale::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 600px; z-index: -1; pointer-events: none; opacity: .2;
  background: var(--lokale-bg, none) center 35% / cover no-repeat; filter: saturate(.7);
  -webkit-mask-image: linear-gradient(#000 0, rgba(0, 0, 0, .7) 45%, transparent 100%); mask-image: linear-gradient(#000 0, rgba(0, 0, 0, .7) 45%, transparent 100%); }
