/* =====================================================================
   Domuly – design system + style bloków wtyczki Domuly.
   Paleta: zieleń + natura. Brand #72CB20.
   ===================================================================== */

:root {
	--green:      #72cb20;
	--green-600:  #5fae16;
	--green-700:  #4d8f10;
	--green-soft: #eef7e3;
	--ink:        #1d2a16;
	--text:       #2c352a;
	--muted:      #6c776380;
	--muted-2:    #6b7669;
	--bg:         #ffffff;
	--bg-soft:    #f5f8f0;
	--bg-soft-2:  #eef2e8;
	--line:       #e3e9da;
	--line-2:     #d7dece;
	--white:      #ffffff;

	--status-free:     #ffffff;
	--status-reserved: #e1c281;
	--status-sold:     #c9c9c9;

	--shadow-sm: 0 1px 2px rgba(29,42,22,.06), 0 1px 3px rgba(29,42,22,.05);
	--shadow-md: 0 6px 22px rgba(29,42,22,.10);
	--shadow-lg: 0 18px 50px rgba(29,42,22,.16);

	--radius:    14px;
	--radius-lg: 22px;
	--radius-pill: 999px;

	--wrap: 1200px;
	--header-h: 76px;

	--font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-style: none; }

a { color: var(--green-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--green-600); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(40px, 7vw, 47px); }

.eyebrow, .subtitle {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: .78rem;
	color: var(--green-700);
	margin-bottom: .65rem;
}

.muted { color: var(--muted-2); }

/* ---------- Accessibility helpers ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 9999;
	width: auto; height: auto; clip: auto;
	background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px;
}

/* ---------- Buttons ---------- */
.gbtn, .gbtn--ghost, .pill {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-head); font-weight: 600; font-size: .98rem;
	padding: 13px 22px; border-radius: var(--radius-pill);
	cursor: pointer; border: 2px solid transparent; transition: all .18s ease;
	text-decoration: none; line-height: 1;
}
.gbtn { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(114,203,32,.28); }
.gbtn:hover { background: var(--green-600); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(114,203,32,.34); }
.gbtn .arr { width: 18px; height: 18px; transition: transform .18s ease; }
.gbtn:hover .arr { transform: translateX(3px); }

.gbtn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.gbtn--ghost:hover { border-color: var(--green); color: var(--green-700); }

.pill { background: var(--ink); color: #fff; padding: 14px 26px; }
.pill:hover { background: var(--green-700); color: #fff; }

/* =====================================================================
   Header
   ===================================================================== */
.site-topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: .82rem; }
.site-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.site-topbar a { color: rgba(255,255,255,.8); display: inline-flex; align-items: center; gap: 7px; }
.site-topbar a:hover { color: var(--green); }
.site-topbar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.site-topbar__left { display: inline-flex; align-items: center; gap: 14px; }
.site-topbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.2); }
@media (max-width: 760px) { .site-topbar__right, .site-topbar__hours, .site-topbar__sep { display: none; } }

.site-header__cta { padding: 10px 18px; font-size: .9rem; }

.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 200;
	background: #fff;
	border-bottom: 1px solid var(--line);
	transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* Treść stron wewnętrznych nie chowa się pod stałym nagłówkiem */
body:not(.home) .site-main { padding-top: var(--header-h); }

/* Na stronie głównej nagłówek leży na hero – przezroczysty, jasny tekst */
body.home .site-header { background: transparent; border-bottom-color: transparent; }
body.home .site-header .brand,
body.home .site-header .brand__text b { color: #fff; }
body.home .site-header .brand__text span { color: rgba(255,255,255,.75); }
body.home .site-header .brand__mark { color: #fff; }
body.home .site-header .site-nav .menu > li > a { color: #fff; }
body.home .site-header .site-nav .menu > li > a:hover,
body.home .site-header .site-nav .menu > .current-menu-item > a { background: rgba(255,255,255,.16); color: #fff; }
body.home .site-header .site-header__phone { color: #fff; }
body.home .site-header .site-header__phone svg { color: #fff; }
body.home .site-header .site-header__cta { color: #fff; border-color: rgba(255,255,255,.7); }
body.home .site-header .site-header__cta:hover { background: #fff; color: var(--ink); }
body.home .site-header__burger { background: transparent; border-color: rgba(255,255,255,.5); }
body.home .site-header__burger span { background: #fff; }

/* Po przewinięciu – nagłówek staje się biały także na stronie głównej */
body.home .site-header.is-stuck { background: #fff; border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

/* Logo swap na froncie: jasna wersja nad hero, ciemna po przewinięciu */
.brand--swap { position: relative; display: inline-flex; }
.brand--swap .brand__img--dark { display: none; }
body.home .site-header.is-stuck .brand--swap .brand__img--light { display: none; }
body.home .site-header.is-stuck .brand--swap .brand__img--dark  { display: inline-block; }
body.home .site-header.is-stuck .brand,
body.home .site-header.is-stuck .brand__text b,
body.home .site-header.is-stuck .brand__mark { color: var(--ink); }
body.home .site-header.is-stuck .brand__mark { color: var(--green); }
body.home .site-header.is-stuck .brand__text span { color: var(--muted-2); }
body.home .site-header.is-stuck .site-nav .menu > li > a { color: var(--ink); }
body.home .site-header.is-stuck .site-header__phone { color: var(--ink); }
body.home .site-header.is-stuck .site-header__cta { color: var(--ink); border-color: var(--line-2); }
body.home .site-header.is-stuck .site-header__cta:hover { background: var(--green); color: #fff; border-color: var(--green); }
body.home .site-header.is-stuck .site-header__burger { border-color: var(--line-2); }
body.home .site-header.is-stuck .site-header__burger span { background: var(--ink); }

.site-header__cta { padding: 11px 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-2); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.site-header__cta:hover { background: var(--green); color: #fff; border-color: var(--green); }
.site-header__bar {
	display: flex; align-items: center; gap: 24px;
	min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; color: var(--green); flex: none; }
.brand__text { font-family: var(--font-head); line-height: 1; display: flex; flex-direction: column; }
.brand__text b { font-weight: 800; font-size: 1.18rem; letter-spacing: .02em; }
.brand__text span { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); }
.custom-logo-link { display: inline-flex; align-items: center; }
.brand--img { display: inline-flex; align-items: center; }
.brand--img img { display: block; height: 48px; width: auto; max-height: calc(var(--header-h) - 24px); }
.brand--footer.brand--img img { height: 56px; max-height: 64px; }

.site-nav { margin-left: auto; }
.site-nav .menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.site-nav .menu > li > a {
	display: inline-block; padding: 10px 14px; border-radius: 10px;
	font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--ink);
}
.site-nav .menu > li > a:hover,
.site-nav .menu > .current-menu-item > a { background: var(--green-soft); color: var(--green-700); }
.menu-home-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.site-nav .menu > li > a:has(.menu-home-icon) { padding: 8px 12px; line-height: 1; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.site-header__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.site-header__phone svg { width: 18px; height: 18px; color: var(--green-700); }

.site-header__burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line-2); background: #fff; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.site-header__burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.site-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
	.site-header__phone span { display: none; }
	.site-header__cta { display: none; }
	.site-header__burger { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		background: #fff; border-bottom: 1px solid var(--line);
		padding: 12px 20px 20px; box-shadow: var(--shadow-md);
		transform: translateY(-130%); transition: transform .25s ease; margin: 0;
	}
	.site-nav.is-open { transform: translateY(0); }
	.site-nav .menu { flex-direction: column; gap: 2px; }
	.site-nav .menu > li > a { display: block; padding: 14px; border-radius: 10px; }
	/* Mobile: menu na froncie ma białe tło – wymuszamy czarne litery
	   (specyficzność matchuje .site-header .site-nav .menu > li > a). */
	body.home .site-header .site-nav .menu > li > a,
	body.home .site-header.is-stuck .site-nav .menu > li > a { color: var(--ink); }
	body.home .site-header .site-nav .menu > li > a:hover,
	body.home .site-header .site-nav .menu > .current-menu-item > a {
		background: var(--green-soft); color: var(--green-700);
	}
}

/* =====================================================================
   Strona główna
   ===================================================================== */
.home-hero { position: relative; min-height: clamp(440px, 70vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.home-hero__media { position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg, #2f4a18, #6aa52a); }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,30,12,.05) 0%, rgba(20,30,12,.65) 100%); }
.home-hero__inner { position: relative; z-index: 2; padding-block: clamp(40px, 8vw, 96px); }
.home-hero__eyebrow { font-family: var(--font-head); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; opacity: .92; margin: 0 0 .5rem; }
.home-hero__title { color: #fff; font-size: clamp(2.2rem, 5.5vw, 4rem); margin: 0 0 .4em; max-width: 16ch; }
.home-hero__lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 54ch; opacity: .95; }
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.home-hero__cta .gbtn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.home-hero__cta .gbtn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.home-about { background: var(--bg-soft); }
.home-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.home-about__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.home-about__media img { width: 100%; height: 100%; object-fit: cover; }
.home-about__stats { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.home-about__stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px; text-align: center; }
.home-about__stats b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--green-700); line-height: 1; }
.home-about__stats span { font-size: .8rem; color: var(--muted-2); }

/* Features / dlaczego my */
.home-features__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.home-features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--green-soft); color: var(--green-700); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--muted-2); font-size: .92rem; margin: 0; }

.home-cta { background: var(--ink); color: #fff; }
.home-cta h2 { color: #fff; }
.home-cta__inner p { color: rgba(255,255,255,.8); }
.home-cta__inner { text-align: center; max-width: 640px; margin-inline: auto; }
.home-cta__buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; }

@media (max-width: 1000px) {
	.home-features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
	.home-about__grid { grid-template-columns: 1fr; }
	.home-about__media { order: -1; }
}
@media (max-width: 540px) {
	.home-features__grid { grid-template-columns: 1fr; }
	.home-cta__buttons { flex-direction: column; }
}

/* =====================================================================
   Blok: Lista inwestycji (domuly/investments-list)
   ===================================================================== */
.invest { padding-block: clamp(48px, 7vw, 96px); }
.invest > .subtitle { display: block; }
.invest > h2 { margin-bottom: 28px; }
.invest .carousel { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: stretch; }
.invest .stats { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px; min-width: 220px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.invest .stats h3 { color: #fff; font-size: 1rem; opacity: .8; font-weight: 600; margin-bottom: 10px; }
.invest .stats .big { font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; color: var(--green); line-height: 1; }
.invest .stats .muted { color: rgba(255,255,255,.7); }

.invest .viewport { overflow: hidden; }
.invest .rail { display: flex; gap: 22px; transition: transform .4s ease; }
.invest .icard {
	flex: 0 0 340px; max-width: 340px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
}
.invest .icard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.invest .icard .media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft-2); }
.invest .icard .media img { width: 100%; height: 100%; object-fit: cover; }
.invest .icard .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.invest .icard h4 { font-size: 1.25rem; margin: 0 0 4px; }
.invest .icard .meta { color: var(--muted-2); font-size: .92rem; }
.invest .icard .line { height: 1px; background: var(--line); margin: 14px 0; }
.invest .icard .price { font-family: var(--font-head); font-weight: 700; color: var(--green-700); }
.invest .icard .spacer { flex: 1; min-height: 14px; }

.invest .nav { display: flex; gap: 10px; margin-top: 22px; }
.invest .nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: .15s; }
.invest .nav button:hover { background: var(--green); border-color: var(--green); }
.invest .nav button svg { width: 20px; height: 20px; stroke: var(--ink); }
.invest .nav button:hover svg { stroke: #fff; }
.invest .more { margin-top: 30px; }

@media (max-width: 860px) {
	.invest .carousel { grid-template-columns: 1fr; }
	.invest .icard { flex-basis: 280px; max-width: 280px; }
}

/* Statyczna siatka inwestycji (fallback bez wtyczki) */
.invest__static-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; margin-top: 28px; }
.invest__static-grid .icard { flex: none; max-width: none; }
.invest__static-grid .media { position: relative; }
.invest__static-grid .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.invest__static-grid .icard:hover .media img { transform: scale(1.05); }
.icard__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.92); color: var(--green-700); font-family: var(--font-head); font-weight: 700; font-size: .74rem; padding: 5px 12px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }

/* =====================================================================
   Blok: Nagłówek inwestycji (domuly/investment-hero)
   ===================================================================== */
.inv { display: block; }
.inv__wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.inv__head { padding-top: clamp(28px, 4vw, 52px); }
.inv__title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0 0 .35em; }
.inv__meta { display: flex; flex-wrap: wrap; gap: 14px 26px; color: var(--muted-2); margin-bottom: 22px; }
.inv__meta-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.inv__meta-item svg { width: 20px; height: 20px; fill: none; stroke: var(--green-700); stroke-width: 2; }

.inv__tabs-outer { position: sticky; top: var(--header-h); z-index: 90; background: #fff; border-block: 1px solid var(--line); }
.inv__tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.inv__tabs::-webkit-scrollbar { display: none; }
.inv__tab { white-space: nowrap; padding: 16px 16px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--muted-2); border-bottom: 3px solid transparent; }
.inv__tab:hover { color: var(--ink); }
.inv__tab.is-active { color: var(--green-700); border-bottom-color: var(--green); }

.inv__hero { position: relative; margin: 0; max-width: 1480px; margin-inline: auto; padding: 22px 20px 0; }
.inv__hero img, .inv__hero video { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius-lg); }
.inv__hero-cta { position: absolute; left: 44px; bottom: 26px; margin: 0; }

/* =====================================================================
   Blok: Lokalizacja (domuly/investment-location)
   ===================================================================== */
.inv-loc { padding-block: clamp(40px, 6vw, 80px); }
.inv-loc__title { margin-bottom: 12px; }
.inv-loc__text { color: var(--muted-2); max-width: 70ch; margin-bottom: 22px; }
.inv-loc__map { height: 460px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }

/* =====================================================================
   Blok: Lista mieszkań / oferty (domuly/investment-offers)
   ===================================================================== */
.citybar, .searchbar { padding-block: 18px; }
.citybar__wrap, .sale__wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.citybar__title { font-size: 1.4rem; margin: 0 0 10px; }
.citybar__list { display: flex; flex-wrap: wrap; gap: 8px; }
.citybar__list a, .citybar__list button { padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 600; color: var(--ink); }
.citybar__list .is-active { background: var(--green); color: #fff; border-color: var(--green); }
.citybar__rule { height: 2px; background: var(--line); margin-top: 14px; position: relative; }
.citybar__rule-fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--green); transition: .3s; }

/* Wyszukiwarka */
.hero-search, .inv-search { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-sm); align-items: end; }
.hs-field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.hs-field > label { font-size: .8rem; font-weight: 600; color: var(--muted-2); }
.hs-select { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-soft); cursor: pointer; font-weight: 600; color: var(--ink); }
.hs-field.open .hs-select { border-color: var(--green); }
.hs-menu { list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); z-index: 30; display: none; max-height: 280px; overflow: auto; }
.hs-field.open .hs-menu { display: block; }
.hs-menu li { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.hs-menu li:hover { background: var(--green-soft); }
.search-btn { height: 46px; padding-inline: 26px; border: 0; border-radius: var(--radius-pill); background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 700; cursor: pointer; letter-spacing: .04em; }
.search-btn:hover { background: var(--green-600); }

@media (max-width: 900px) { .hero-search, .inv-search { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hero-search, .inv-search { grid-template-columns: 1fr; } }

/* Sekcja sprzedaży */
.sale { padding-block: clamp(40px, 6vw, 80px); }
.sale__bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.sale__view { display: inline-flex; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px; }
.sale__tab { padding: 9px 18px; border: 0; background: transparent; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 600; color: var(--muted-2); cursor: pointer; }
.sale__tab.is-active { background: #fff; color: var(--green-700); box-shadow: var(--shadow-sm); }

.statusbar, .buildingbar { margin-bottom: 18px; }
.statusbar__title, .buildingbar__title { font-size: 1rem; color: var(--muted-2); margin-bottom: 8px; }
.statusbar__list, .buildingbar__list { display: flex; flex-wrap: wrap; gap: 8px; }
.statusbar__list button, .buildingbar__list button, .buildingbar__list a { padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 600; }

/* Karty mieszkań – ciemny motyw (białe teksty na ciemnym tle) */
.sale__cards, .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.aptcard { background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; }
.aptcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.aptcard.status_2 { opacity: .82; }

.aptcard__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 4px; background: transparent; position: relative; }
.aptcard__badge { position: static !important; padding: 6px 13px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .02em; }
.aptcard__badge.status_0, .aptcard__badge:not(.status_1):not(.status_2) { background: var(--green); color: #fff; }
.aptcard__badge.status_1 { background: var(--status-reserved); color: #4a3a12; }
.aptcard__badge.status_2 { background: var(--status-sold); color: #3a3a3a; }
.aptcard__fav, .card__fav { position: static !important; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; transition: background .15s ease; }
.aptcard__fav:hover { background: rgba(255,255,255,.22); }

.aptcard__title { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; color: #fff; margin: 0; padding: 0 16px; letter-spacing: -.01em; }
.aptcard__sub { color: rgba(255,255,255,.7); font-size: .9rem; padding: 2px 16px 14px; margin: 0; }

.aptcard__plan { margin: 0 16px; aspect-ratio: 4/3; background: rgba(255,255,255,.06); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.aptcard__plan img { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; }
.aptcard__plan-badge { position: absolute !important; top: 10px; right: 10px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 700; font-family: var(--font-head); background: rgba(0,0,0,.55); color: #fff; }
.aptcard__plan .noimg, .noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.04); color: rgba(255,255,255,.55); }
.aptcard__plan .noimg::after { content: 'Plan w przygotowaniu'; font-family: var(--font-head); font-weight: 600; font-size: .85rem; }

.aptcard__price { padding: 16px 16px 4px; }
.aptcard__price-main { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff; display: block; line-height: 1.2; }
.aptcard__price-main.is-green, .aptcard__price-main .is-green { color: var(--green); }
.aptcard__price-old, .old { color: rgba(255,255,255,.5); text-decoration: line-through; font-size: .85rem; display: block; }
.aptcard__price-m2 { color: rgba(255,255,255,.7); font-size: .85rem; display: block; }

.aptcard__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: #fff; padding: 6px 16px 18px; margin: 0; }
.aptcard__facts > div { white-space: nowrap; }
.aptcard__facts span { color: rgba(255,255,255,.55); margin-right: 4px; font-weight: 500; }

/* Tag (legenda statusu w pasku miast/budynków) – zostawiamy globalnie */
.tag.status_0 { background: var(--green); color: #fff; }
.tag.status_1 { background: var(--status-reserved); color: #4a3a12; }
.tag.status_2 { background: var(--status-sold); color: #3a3a3a; }

/* Tabela ofert */
.sale__table { width: 100%; border-collapse: collapse; }
.sale__table th, .sale__table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.sale__table th { font-family: var(--font-head); color: var(--muted-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.sale__table tbody tr:hover { background: var(--bg-soft); cursor: pointer; }

/* Skeletony */
.sk { background: linear-gradient(90deg, #eef1ea 25%, #f6f8f3 37%, #eef1ea 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 8px; display: block; height: 14px; }
.sk--xs { height: 10px; } .sk--sm { height: 14px; } .sk--md { height: 20px; } .sk--lg { height: 28px; }
.sk-w-30 { width: 30%; } .sk-w-50 { width: 50%; } .sk-w-70 { width: 70%; } .sk-w-100 { width: 100%; }
.sk-row { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.plan.sk { aspect-ratio: 4/3; height: auto; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Skeleton w trybie .aptcard – delikatny, neutralny look (zamiast jaskrawych biało-zielonych pasów na ciemnym tle) */
.aptcard.skeleton { background: #eef2e8; color: transparent; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: none; cursor: default; }
.aptcard.skeleton:hover { transform: none; box-shadow: none; }
.aptcard.skeleton .sk { background: linear-gradient(90deg, #d8dfd0 0%, #e6ebdd 50%, #d8dfd0 100%); background-size: 220% 100%; border-radius: 6px; }
.aptcard.skeleton .sk.plan { aspect-ratio: 4/3; height: auto; border-radius: var(--radius); margin: 4px 0; }

.noimg { width: 100%; aspect-ratio: 4/3; background: var(--bg-soft-2); }

/* =====================================================================
   Strony pomocnicze (blog, page-head, 404)
   ===================================================================== */
.page-head { padding-block: clamp(20px, 5vw, 23px) 8px; }
.page__content--blocks { display: block; }
.entry h2, .entry h3 { margin-top: 1.4em; }
.entry img { border-radius: var(--radius); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.post-card__meta { color: var(--muted-2); font-size: .85rem; }
.post-card .gbtn { margin-top: auto; align-self: flex-start; }

.error-404 { text-align: center; max-width: 560px; }
.error-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* =====================================================================
   Stopka
   ===================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); margin-top: 40px; }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.1fr; gap: 40px; padding-block: clamp(44px, 6vw, 80px); }
.site-footer h4 { color: var(--green); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin-bottom: 18px; }
.site-footer__addr { font-style: normal; line-height: 1.8; }
.site-footer__addr strong { color: #fff; }
.site-footer__brandcol .brand--footer { margin-bottom: 14px; }
.site-footer__social { display: flex; gap: 12px; margin-top: 18px; }
.site-footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; }
.site-footer__social a:hover { background: var(--green); }
.site-footer__social svg { width: 20px; height: 20px; fill: currentColor; color: #fff; }
.brand--footer { color: #fff; margin-bottom: 14px; }
.brand--footer .brand__mark { color: var(--green); }
.brand--footer .brand__text span { color: rgba(255,255,255,.6); }
.site-footer__tagline { font-family: var(--font-head); font-size: 1.05rem; color: rgba(255,255,255,.9); max-width: 26ch; }
.site-footer .menu, .site-footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--green); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bottom .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-block: 18px; font-size: .85rem; }

@media (max-width: 980px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =====================================================================
   STRONA GŁÓWNA – układ edytorski (wzór edinvest.pl)
   ===================================================================== */

.section-title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--ink); margin: 0 0 36px; }

.btn-outline-light { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid #fff; color: #fff; padding: 14px 30px; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 600; transition: .18s; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-dark { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 13px 26px; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 600; transition: .18s; }
.btn-dark:hover { background: var(--green-700); color: #fff; }

/* HERO + slider z animacją Ken Burns */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; will-change: opacity, transform; }
.hero__slide.is-active { opacity: 1; animation: heroKenBurns 8s ease-out forwards; }
@keyframes heroKenBurns { from { transform: scale(1.02); } to { transform: scale(1.13); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,18,6,.66) 0%, rgba(10,18,6,.32) 60%, rgba(10,18,6,.15) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: 132px 188px; color: #fff; }
.hero__copy { transition: opacity .5s ease, transform .5s ease; }
.hero__copy.is-changing { opacity: 0; transform: translateY(10px); }
.hero__title { color: #fff; font-weight: 500; font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 48ch; margin: 22px 0 0; opacity: .92; }
.hero__copy .btn-outline-light { margin-top: 30px; }
.hero__dots { position: absolute; right: 0; bottom: 26px; display: flex; gap: 10px; }
.hero__dots button { width: 13px; height: 13px; padding: 0; border: 1.5px solid rgba(255,255,255,.8); background: transparent; border-radius: 50%; cursor: pointer; transition: .2s; }
.hero__dots button:hover { background: rgba(255,255,255,.5); }
.hero__dots button.is-active { background: var(--green); border-color: var(--green); }

/* Pasek wyszukiwania – etykiety w jednej linii, pola obrysowane (wzór: zrzut edinvest) */
.hsearch { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: var(--green); border: 0; border-radius: 0; padding: 16px 0; }
.hsearch__inner { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hsearch__badge { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: #fff; }
.hsearch__badge svg { width: 24px; height: 24px; }
.hsearch__field { display: flex; align-items: center; gap: 12px; }
.hsearch label { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: .95rem; white-space: nowrap; margin: 0; }
.hsearch__control { position: relative; }
.hsearch select, .hsearch input { font: inherit; color: #fff; background: rgba(255,255,255,.16); border: 0; border-radius: 0; padding: 13px 16px; }
.hsearch select { min-width: 190px; appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; }
.hsearch__control::after { content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #fff; pointer-events: none; }
.hsearch select option { color: var(--ink); }
.hsearch input::placeholder { color: rgba(255,255,255,.85); }
.hsearch__pills { display: flex; gap: 6px; }
.pillbtn { position: relative; }
.pillbtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pillbtn span { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: rgba(255,255,255,.16); border: 0; border-radius: 0; font-family: var(--font-head); font-weight: 600; color: #fff; transition: .15s; }
.pillbtn span:hover { background: rgba(255,255,255,.3); }
.pillbtn input:checked + span { background: #fff; color: var(--green-700); }
.hsearch__range { display: flex; gap: 8px; }
.hsearch__range input { width: 82px; }
.hsearch__submit { margin-left: auto; flex: 0 0 auto; height: 50px; padding: 0 38px; border: 0; border-radius: 0; background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .01em; cursor: pointer; transition: .18s; }
.hsearch__submit:hover { background: var(--ink); color: #fff; }

/* INWESTYCJE W SPRZEDAŻY */
.invcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.invcard__media { position: relative; }
.invcard__badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; padding: 5px 12px; border-radius: var(--radius-pill); letter-spacing: .04em; text-transform: uppercase; }
.invcard--done .invcard__badge { background: rgba(29,42,22,.85); }
.invcard { display: flex; flex-direction: column; background: #f7f7f7; border-radius: 4px; overflow: hidden; }
.invcard__media { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 0; }
.invcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.invcard:hover .invcard__media img { transform: scale(1.05); }
.invcard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.invcard__addr { color: var(--muted-2); font-size: .9rem; }
.invcard__name { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .015em; font-size: 1.35rem; margin: 6px 0 0; }
.invcard__name a { color: var(--ink); }
.invcard__name a:hover { color: var(--green-700); }
.invcard__rule { display: block; width: 110px; height: 2px; background: var(--green); margin: 16px 0; }
.invcard__desc { color: #55604f; font-size: .96rem; line-height: 1.65; margin: 0; }
.invcard__foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 24px; padding-top: 4px; }
.invcard__date { font-size: .9rem; color: var(--muted-2); }
.invcard__date b { color: var(--ink); font-weight: 600; }
.invcard__from { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--green-700); white-space: nowrap; }

/* O NAS */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 76px); align-items: stretch; }
.about__media { margin: 0 0 24px; border-radius: 6px; overflow: hidden; aspect-ratio: 16/11; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__text p { color: #55604f; }
.about__text .btn-dark { margin-top: 8px; }
.about__stats { list-style: none; margin: 0; padding: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; 
    padding-top: 70px; padding-bottom: 70px; }
.about__stats li { display: flex; gap: 26px; align-items: flex-start; }
.about__stats b { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 5vw, 4.6rem); line-height: .85; color: var(--green); flex: none; min-width: 2.8ch; text-align: right; }
.about__stats .plus { font-size: .55em; vertical-align: super; }
.about__stats strong { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.about__stats p { color: var(--muted-2); font-size: .94rem; margin: 0; line-height: 1.6; }

/* PROCES */
.process .section-title { margin-bottom: 24px; }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.process__panel { position: relative; min-height: clamp(420px, 46vw, 560px); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.process__panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,18,8,.35), rgba(12,18,8,.68)); transition: background .3s ease; }
.process__panel:hover::before { background: linear-gradient(180deg, rgba(40,70,16,.45), rgba(20,35,8,.78)); }
.process__label { position: relative; z-index: 2; font-family: var(--font-head); color: #fff; }
.process__label em { display: block; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green); font-size: 1.05rem; }
.process__label b { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.55rem; margin-top: 4px; }
.process__label::after { content: ""; display: block; width: 90px; height: 2px; background: #fff; margin: 18px auto 0; }

@media (max-width: 1000px) {
	.invcards { grid-template-columns: repeat(2, 1fr); }
	.process__grid { grid-template-columns: 1fr; }
	.about__grid { grid-template-columns: 1fr; }
	.about__stats { margin-top: 8px; }
}
@media (max-width: 920px) {
	.hsearch__inner { flex-direction: column; align-items: stretch; gap: 14px; }
	.hsearch__badge { display: none; }
	.hsearch__field { justify-content: space-between; }
	.hsearch select { min-width: 0; width: 100%; flex: 1; }
	.hsearch__control { flex: 1; }
	.hsearch__submit { margin-left: 0; width: 100%; }
	.hero__inner { padding-bottom: 340px; }
}
@media (max-width: 760px) {
	.invcards { grid-template-columns: 1fr; }
	.hsearch__field { flex-wrap: wrap; }
}

/* =====================================================================
   WIDOK POJEDYNCZEJ INWESTYCJI (page-investment.php)
   ===================================================================== */
.inv-single { padding-top: 8px; }
.sec-rule { display: block; width: 120px; height: 2px; background: var(--green); margin: -18px 0 28px; }

/* Okruszki – reużywalne na podstronach */
.crumbs, .inv-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted-2); padding-block: 18px; }
.crumbs a, .inv-crumbs a { color: var(--muted-2); }
.crumbs a:hover, .inv-crumbs a:hover { color: var(--green-700); }
.crumbs b, .inv-crumbs b { color: var(--green-700); font-weight: 700; }
.crumbs__sep { color: var(--muted-2); }
.crumbs__home, .inv-crumbs .crumbs__home { display: inline-flex; align-items: center; color: var(--muted-2); }
.crumbs__home:hover { color: var(--green-700); }
.crumbs-home-icon { width: 18px; height: 18px; }

/* Lista inwestycji – przełącznik widoku (Kafelki / Mapa) */
.invlist-page__toolbar { display: flex; justify-content: flex-end; margin-bottom: 22px; }
.invlist-page__views { display: inline-flex; gap: 8px; }
.invlist-page__pane { display: block; }
.invlist-page__pane[hidden] { display: none; }
.invlist-page__map { width: 100%; height: clamp(420px, 60vh, 640px); border-radius: 6px; overflow: hidden; background: var(--bg-soft-2); }

/* Niestandardowy marker mapy */
.bmp-pin-wrap { background: transparent !important; border: 0 !important; }
.bmp-pin { position: relative; width: 44px; height: 56px; transform: translate(0, 0); filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.bmp-pin__bubble { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--green); border: 3px solid #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 0 rgba(0,0,0,.05); }
.bmp-pin__bubble svg { width: 22px; height: 22px; }
.bmp-pin__tail { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 14px solid var(--green); }
.bmp-pin-wrap:hover .bmp-pin__bubble { background: var(--green-700); }
.bmp-pin-wrap:hover .bmp-pin__tail { border-top-color: var(--green-700); }

/* Popup */
.bmp-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.bmp-popup .leaflet-popup-content { margin: 0; width: 260px !important; }
.bmp-pop { font-family: var(--font-body); }
.bmp-pop__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.bmp-pop__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bmp-pop__media:hover img { transform: scale(1.05); }
.bmp-pop__body { padding: 14px 16px 16px; }
.bmp-pop__addr { color: var(--muted-2); font-size: .8rem; margin-bottom: 4px; }
.bmp-pop h4 { font-family: var(--font-head); font-size: 1.05rem; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .015em; }
.bmp-pop__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-bottom: 12px; }
.bmp-pop__from { font-family: var(--font-head); font-weight: 700; color: var(--green-700); font-size: 1rem; }
.bmp-pop__date { color: var(--muted-2); font-size: .82rem; }
.bmp-pop__date b { color: var(--ink); font-weight: 600; }
.bmp-pop__btn { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line-2); border-radius: 6px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--ink); }
.bmp-pop__btn:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* Hero inwestycji */
.invh { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.invh__media { margin: 0; }
.invh__media img { width: 100%; height: 100%; object-fit: cover; }
.invh__panel { background: #f7f7f7; padding: clamp(28px, 4vw, 56px) max(28px, calc(50vw - var(--wrap) / 2)) clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.invh__addr { color: var(--muted-2); font-size: .92rem; }
.invh__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 0; }
.invh__rule { display: block; width: 100%; height: 2px; background: var(--green); margin: 18px 0; }
.invh__desc { color: #55604f; line-height: 1.7; margin: 0; }
.invh__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 26px; }
.invh__date span { display: block; color: var(--muted-2); font-size: .85rem; }
.invh__date b { font-family: var(--font-head); font-size: 1.05rem; }
.invh__from { text-align: right; font-family: var(--font-head); font-weight: 700; color: var(--green-700); font-size: 1.5rem; line-height: 1.25; }
.invh__panel .gbtn--ghost { margin-top: 22px; align-self: flex-start; }

/* Sticky nawigacja sekcji */
.inv-subnav { position: sticky; top: var(--header-h); z-index: 90; background: #fff; border-bottom: 1px solid var(--line); }
.inv-subnav__inner { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.inv-subnav__brand { font-family: var(--font-head); font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.inv-subnav__links { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.inv-subnav__links a { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--muted-2); padding: 8px 12px; border-bottom: 2px solid transparent; }
.inv-subnav__links a:hover { color: var(--ink); }
.inv-subnav__links a.is-active { color: var(--green-700); border-bottom-color: var(--green); }
.inv-subnav__cta { background: var(--green); color: #fff !important; border-radius: var(--radius-pill); padding: 9px 18px !important; border-bottom: 0 !important; }
.inv-subnav__cta:hover { background: var(--green-600); }

.invsec { padding-block: clamp(40px, 6vw, 80px); }

/* Lista lokali */
.invlist__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.invlist__head .section-title { margin: 0; }
.invlist__views { display: inline-flex; align-items: center; gap: 8px; }
.invview { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line-2); background: #fff; border-radius: 8px; cursor: pointer; color: var(--ink); }
.invview svg { width: 20px; height: 20px; }
.invview:hover { border-color: var(--green); color: var(--green-700); }
.invview.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.invview--wiz { font-family: var(--font-head); font-weight: 700; font-size: .9rem; padding: 0 18px; }
.invview--icon { width: 44px; padding: 0; justify-content: center; }

.invfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 18px 20px; background: #f7f7f7; border-radius: 6px; margin-bottom: 24px; }
.invfilters__group { display: flex; align-items: center; gap: 10px; }
.invfilters label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); }
.invfilters__pills { display: flex; gap: 6px; flex-wrap: wrap; }
.invfilters__pills button { width: 40px; height: 40px; border: 1.5px solid var(--line-2); background: #fff; border-radius: 8px; cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--ink); padding: 0 10px; min-width: 40px; }
.invfilters__pills[data-filter="features"] button { width: auto; padding: 0 16px; }
.invfilters__pills button:hover { border-color: var(--green); }
.invfilters__pills button.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.invfilters__range { display: flex; gap: 8px; }
.invfilters__range input, .invfilters__sort select { height: 40px; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 12px; font: inherit; background: #fff; }
.invfilters__range input { width: 84px; }
.invfilters__reset { margin-left: auto; height: 40px; padding: 0 18px; border: 0; background: transparent; color: var(--muted-2); cursor: pointer; font-weight: 600; text-decoration: underline; }
.invfilters__reset:hover { color: var(--green-700); }

/* Tabela */
.invtable__scroll { overflow-x: auto; }
.invtable { width: 100%; border-collapse: collapse; }
.invtable thead th { text-align: left; font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); padding: 12px 14px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.invtable td { padding: 16px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.invtable tbody tr:hover { background: #f7f7f7; }
.udl { display: inline-flex; }
.udl svg { width: 20px; height: 20px; color: var(--muted-2); }
.udl:hover svg { color: var(--green-700); }
.ubtn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1.5px solid var(--line-2); border-radius: 8px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--ink); white-space: nowrap; }
.ubtn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.ubtn.is-disabled { opacity: .45; pointer-events: none; }

.ustatus { font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.ustatus--0 { color: var(--green-700); }
.ustatus--1 { color: #b8860b; }
.ustatus--2 { color: #9aa19a; }

/* Widok inwestycji zrealizowanej – chowamy ceny i filtry */
.inv-single--done .invfilters { display: none; }
.inv-single--done .invtable th:nth-child(8),
.inv-single--done .invtable th:nth-child(9),
.inv-single--done .invtable td:nth-child(8),
.inv-single--done .invtable td:nth-child(9) { display: none; }
.inv-single--done .ucard__price,
.inv-single--done .ucard__pm2 { display: none; }
.inv-single--done .ubtn { display: none; }
.bmp-pin--done .bmp-pin__bubble { background: var(--ink); }
.bmp-pin--done .bmp-pin__tail { border-top-color: var(--ink); }
.invlist__empty { padding: 30px; text-align: center; color: var(--muted-2); }

/* Karty lokali */
.ucards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ucard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; transition: .2s; overflow: hidden; }
.ucard > *:not(.ucard__plan) { padding-left: 20px; padding-right: 20px; }
.ucard > .ucard__top { padding-top: 16px; }
.ucard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ucard__plan {
	display: block;
	position: relative;
	background: var(--bg-soft);
	aspect-ratio: 4/3;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}
.ucard__plan img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 14px; transition: transform .35s ease; }
.ucard__plan:hover img { transform: scale(1.04); }
.ucard__plan-empty {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	color: var(--muted-2);
}
.ucard__plan-empty svg { width: 44px; height: 44px; opacity: .55; }
.ucard__plan-empty small { font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.ucard__status {
	position: absolute;
	left: 12px; top: 12px;
	background: rgba(255,255,255,.95);
	padding: 4px 10px;
	border-radius: 999px;
	font-size: .78rem;
	box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.ucard__top { display: flex; justify-content: space-between; align-items: center; }
.ucard__nr { font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.ucard__type { color: var(--muted-2); font-size: .88rem; }
.ucard__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text); font-size: .9rem; margin: 8px 0; }
.ucard__facts b { font-family: var(--font-head); }
.ucard__price { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.ucard__pm2 { color: var(--muted-2); font-size: .82rem; margin-bottom: 8px; }
.ucard .ubtn { align-self: flex-start; margin-top: auto; }

/* O inwestycji */
.invabout { background: #f7f7f7; }
.invabout__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.invabout__cols--single { grid-template-columns: 1fr; }
.invabout__cols p { color: #55604f; line-height: 1.8; }

/* Galeria */
.invgal__viewport { position: relative; }
.invgal__rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.invgal__rail::-webkit-scrollbar { display: none; }
.invgal__item { flex: 0 0 clamp(260px, 32%, 460px); margin: 0; scroll-snap-align: start; border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; }
.invgal__item img { width: 100%; height: 100%; object-fit: cover; }
.invgal__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-md); cursor: pointer; font-size: 26px; line-height: 1; color: var(--ink); }
.invgal__nav--prev { left: -10px; } .invgal__nav--next { right: -10px; }
.invgal__nav:hover { background: var(--green); color: #fff; }
.invgal__disclaimer { color: var(--muted-2); font-size: .78rem; margin-top: 16px; }

/* Okolica – kafle */
.invhood__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hoodtile { background: #f7f7f7; border-radius: 6px; padding: 26px 24px; }
.hoodtile__head { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.hoodtile__icon { width: 48px; height: 48px; flex: none; color: var(--green-700); }
.hoodtile__icon svg { width: 40px; height: 40px; }
.hoodtile__head h3 { font-size: 1.05rem; margin: 0; text-transform: uppercase; letter-spacing: .02em; }
.hoodtile__rule { display: block; width: 60px; height: 2px; background: var(--green); margin: 14px 0; }
.hoodtile ul { margin: 0; padding-left: 18px; color: var(--muted-2); font-size: .92rem; line-height: 1.7; }

/* Oś czasu dojazdów */
.invhood__timeline-title { margin: 48px 0 24px; text-transform: uppercase; letter-spacing: .02em; }
.invtime { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 10px; position: relative; }
.invtime::before { content: ""; position: absolute; left: 5%; right: 5%; top: 46px; height: 2px; background: var(--line-2); z-index: 0; }
.invtime li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; z-index: 1; flex: 1; }
.invtime__min { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.invtime__dot { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.invtime__lab { color: var(--muted-2); font-size: .85rem; max-width: 16ch; }

/* Mapa */
.invmap__lead { color: var(--muted-2); max-width: 60ch; }
.invmap__canvas { height: 460px; margin-top: 12px; background: var(--bg-soft-2); }

/* Galeria inwestycji */
.invgallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.invgallery__item { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4/3; background: var(--bg-soft); position: relative; }
.invgallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(15,22,10,0); transition: background .2s ease; }
.invgallery__item:hover::after { background: rgba(15,22,10,.18); }
.invgallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.invgallery__item:hover img { transform: scale(1.04); }
@media (max-width: 720px) { .invgallery__grid { grid-template-columns: 1fr 1fr; } }

/* Lightbox */
.invgallery-lb { position: fixed; inset: 0; z-index: 1100; background: rgba(10,16,6,.92); display: none; align-items: center; justify-content: center; padding: 40px 60px; }
.invgallery-lb.is-open { display: flex; }
.invgallery-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); border-radius: 6px; }
.invgallery-lb__close { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font-size: 30px; line-height: 1; }
.invgallery-lb__close:hover { background: rgba(255,255,255,.25); }
.invgallery-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font-size: 32px; line-height: 1; }
.invgallery-lb__nav:hover { background: rgba(255,255,255,.25); }
.invgallery-lb__nav--prev { left: 18px; } .invgallery-lb__nav--next { right: 18px; }
@media (max-width: 640px) { .invgallery-lb { padding: 16px; } .invgallery-lb__nav { font-size: 22px; width: 38px; height: 38px; } }

@media (max-width: 980px) {
	.invh { grid-template-columns: 1fr; }
	.invh__panel { padding: clamp(28px, 4vw, 56px); }
	.invh__media { aspect-ratio: 16/10; }
	.invabout__cols { grid-template-columns: 1fr; }
	.invhood__grid { grid-template-columns: 1fr 1fr; }
	.inv-subnav__brand { display: none; }
	.inv-subnav__links { margin-left: 0; }
}
@media (max-width: 720px) {
	.invhood__grid { grid-template-columns: 1fr; }
	.invtime { flex-wrap: wrap; gap: 22px; }
	.invtime::before { display: none; }
	.invtime li { flex: 0 0 40%; }
	.invlist__head { align-items: flex-start; }
	/* Tabela -> układ kartowy na mobile */
	.invtable thead { display: none; }
	.invtable, .invtable tbody, .invtable tr, .invtable td { display: block; width: 100%; }
	.invtable tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; padding: 6px 0; }
	.invtable td { border: 0; display: flex; justify-content: space-between; gap: 16px; white-space: normal; padding: 8px 16px; }
	.invtable td::before { content: attr(data-label); font-family: var(--font-head); font-weight: 700; color: var(--muted-2); }
	.invtable td[data-label=""]::before { display: none; }
}

/* === Standard wykonania – siatka kafelków z ikonami ============================ */
.invabout .sec-rule--in-content { margin: -8px 0 22px; }
.std-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 8px 0 4px;
}
.std-grid__item {
	appearance: none;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px 14px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	cursor: pointer;
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
	font: inherit;
	color: var(--ink);
	position: relative;
	min-height: 138px;
}
.std-grid__item:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 8px 22px -16px rgba(0,0,0,.25); }
.std-grid__item[aria-expanded="true"] { border-color: var(--green); background: var(--green-soft); }
.std-grid__svg {
	width: 52px; height: 52px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--green-soft);
	color: var(--green-700);
	flex-shrink: 0;
	transition: background .18s ease, color .18s ease;
}
.std-grid__item:hover .std-grid__svg { background: var(--green); color: #fff; }
.std-grid__item[aria-expanded="true"] .std-grid__svg { background: var(--green); color: #fff; }
.std-grid__icon { width: 28px; height: 28px; }
.std-grid__label {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .9rem;
	line-height: 1.25;
	color: var(--ink);
}
.std-grid__more {
	position: absolute;
	right: 10px; bottom: 8px;
	width: 18px; height: 18px;
	color: var(--muted-2);
	opacity: .55;
	transition: transform .18s ease, opacity .18s ease;
}
.std-grid__more svg { width: 100%; height: 100%; }
.std-grid__item[aria-expanded="true"] .std-grid__more { transform: rotate(180deg); opacity: 1; color: var(--green-700); }
.std-grid__desc {
	grid-column: 1 / -1;
	background: var(--bg-soft);
	border-left: 3px solid var(--green);
	border-radius: 6px;
	padding: 14px 18px;
	color: var(--muted-2);
	font-size: .95rem;
	line-height: 1.55;
	margin-top: -4px;
}
.std-grid__desc[hidden] { display: none; }

@media (max-width: 900px) {
	.std-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.std-grid__item { padding: 14px 10px; min-height: 124px; }
}
@media (max-width: 540px) {
	.std-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.std-grid__svg { width: 44px; height: 44px; }
	.std-grid__icon { width: 24px; height: 24px; }
	.std-grid__label { font-size: .82rem; }
}

/* === Strona "O nas" =============================================================== */
.about-page { background: var(--bg); }
.about-page .eyebrow--center { text-align: center; display: block; }
.about-page .section-title--center { text-align: center; }
.about-page .sec-rule--center { margin-left: auto; margin-right: auto; }

/* --- HERO --- */
.about-hero { position: relative; padding: 80px 0 96px; color: #fff; overflow: hidden; }
.about-hero__media { position: absolute; inset: 0; z-index: 0; }
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-hero::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(110deg, rgba(15,40,18,.86) 0%, rgba(15,40,18,.72) 45%, rgba(15,40,18,.25) 100%);
	z-index: 1;
}
.about-hero__inner { position: relative; z-index: 2; display: flex; }
.about-hero__panel { max-width: 640px; }
.about-hero__panel .eyebrow { color: var(--green); font-weight: 700; letter-spacing: .12em; }
.about-hero__title {
	font-family: var(--font-head);
	font-size: clamp(2rem, 4.4vw, 3.2rem);
	line-height: 1.1;
	margin: 14px 0 18px;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: #fff;
}
.about-hero__lead { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.92); max-width: 560px; }
.about-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about-hero__cta .gbtn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.about-hero__cta .gbtn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* --- STATYSTYKI --- */
.about-stats { background: var(--green); color: #fff; padding: 32px 0; }
.about-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}
.about-stats__item { display: flex; flex-direction: column; gap: 4px; }
.about-stats__num {
	font-family: var(--font-head);
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1;
}
.about-stats__lbl { font-size: .92rem; letter-spacing: .04em; opacity: .92; }

/* --- WARTOŚCI --- */
.about-values { padding: 80px 0; background: var(--bg-soft); }
.about-values__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin-top: 32px;
}
.about-values__item {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 28px 22px 26px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.about-values__item:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 16px 32px -22px rgba(0,0,0,.3); }
.about-values__icon {
	width: 56px; height: 56px;
	border-radius: 14px;
	background: var(--green-soft);
	color: var(--green-700);
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 16px;
}
.about-values__icon svg { width: 28px; height: 28px; }
.about-values__item h3 {
	font-family: var(--font-head);
	font-size: 1.15rem;
	letter-spacing: .02em;
	margin: 0 0 10px;
	color: var(--ink);
}
.about-values__item p { color: var(--muted-2); line-height: 1.6; margin: 0; font-size: .96rem; }

/* --- PROCES ZAKUPU --- */
.about-process { padding: 80px 0; background: var(--bg); }
.about-process__steps {
	list-style: none;
	margin: 36px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	position: relative;
}
.about-process__steps::before {
	content: "";
	position: absolute;
	top: 28px; left: 8%; right: 8%;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--green-soft) 0 8px, transparent 8px 14px);
	z-index: 0;
}
.about-process__step {
	position: relative;
	z-index: 1;
	background: var(--bg);
	padding: 0 8px;
	text-align: center;
}
.about-process__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	font-family: var(--font-head);
	font-size: 1.4rem;
	font-weight: 800;
	margin-bottom: 18px;
	box-shadow: 0 10px 22px -10px rgba(114,203,32,.55);
}
.about-process__step h3 {
	font-family: var(--font-head);
	font-size: 1.05rem;
	margin: 0 0 8px;
	color: var(--ink);
	letter-spacing: .02em;
}
.about-process__step p { color: var(--muted-2); line-height: 1.55; font-size: .92rem; margin: 0; }

/* --- Pasek zdjęć pod procesem --- */
.about-process__photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 36px 0 8px;
}
.about-process__photo { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 14px 30px -22px rgba(0,0,0,.35); }
.about-process__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.about-process__photo:hover img { transform: scale(1.04); }
.about-process__photo figcaption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 22px 16px 12px;
	color: #fff;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .95rem;
	letter-spacing: .03em;
	background: linear-gradient(transparent, rgba(15,40,18,.85));
}

/* --- CTA --- */
.about-cta { background: linear-gradient(120deg, var(--green-700) 0%, var(--green) 100%); color: #fff; padding: 72px 0; }
body.page-onas-edge .site-footer { margin-top: 0; }

/* === Interaktywna wizualizacja osiedla ============================================ */
.invviz { padding: 60px 0 40px; background: var(--bg); }
.invviz__lead { color: var(--muted-2); margin: 0 0 18px; max-width: 720px; }
.invviz__stage {
	position: relative;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 8px;
	overflow: hidden;
	line-height: 0;
}
.invviz__stage svg { width: 100%; height: auto; display: block; border-radius: 10px; }

/* Strefa interaktywna (grupa lub kształt z ID) */
.invviz__zone { transition: filter .15s ease; }
.invviz__zone:hover { filter: brightness(1.08); }

/* Kolory wg statusu – nakładamy na poligony wewnątrz grupy. !important żeby pobić cls-1/cls-2 z embed SVG. */
.invviz__shape { transition: fill .2s ease, opacity .2s ease; }
.invviz__shape--free     { fill: #5fae16 !important; opacity: .68 !important; }
.invviz__shape--reserved { fill: #e58a1a !important; opacity: .72 !important; }
.invviz__shape--sold     { fill: #d8362d !important; opacity: .65 !important; }
.invviz__shape--gray     { fill: #7a847e !important; opacity: .65 !important; }

.invviz__zone:hover .invviz__shape,
.invviz__zone:hover.invviz__shape { opacity: .85 !important; }

/* Tooltip */
.invviz__tooltip {
	position: absolute;
	transform: translate(-50%, -100%);
	background: rgba(20, 32, 22, .92);
	color: #fff;
	padding: 8px 14px;
	border-radius: 8px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .88rem;
	letter-spacing: .03em;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity .12s ease;
	z-index: 5;
	box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.invviz__tooltip::after {
	content: "";
	position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
	width: 0; height: 0;
	border-left: 5px solid transparent; border-right: 5px solid transparent;
	border-top: 6px solid rgba(20, 32, 22, .92);
}
.invviz__tooltip.is-visible { opacity: 1; }

/* Legenda */
.invviz__legend {
	display: flex; flex-wrap: wrap; gap: 18px;
	margin-top: 18px;
	color: var(--muted-2);
	font-size: .92rem;
}
.invviz__legend span { display: inline-flex; align-items: center; gap: 8px; }
.invviz__sw {
	width: 14px; height: 14px; border-radius: 4px; display: inline-block;
}
.invviz__sw--free     { background: #5fae16; }
.invviz__sw--reserved { background: #e58a1a; }
.invviz__sw--sold     { background: #d8362d; }
.invviz__sw--gray     { background: #7a847e; }

/* === Strona "Kontakt" ============================================================ */
.contact-page { background: var(--bg); }

/* HERO */
.contact-hero {
	background: linear-gradient(135deg, var(--green-700) 0%, var(--green) 100%);
	color: #fff;
	padding: 60px 0 50px;
	position: relative;
	overflow: hidden;
}
.contact-hero::before {
	content: "";
	position: absolute;
	right: -120px; top: -120px;
	width: 360px; height: 360px;
	background: radial-gradient(rgba(255,255,255,.16), transparent 65%);
	border-radius: 50%;
}
.contact-hero__inner { position: relative; z-index: 1; max-width: 680px; margin-inline: 0; text-align: left; }
.contact-hero .eyebrow { color: rgba(255,255,255,.92); font-weight: 700; letter-spacing: .12em; }
.contact-hero__title { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 12px 0 14px; color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.contact-hero__lead { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.94); margin: 0; }

/* KARTY */
.contact-cards { padding: 56px 0 24px; }
.contact-cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 28px 24px;
	display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 16px 32px -22px rgba(0,0,0,.3); }
.contact-card__icon {
	width: 52px; height: 52px;
	border-radius: 14px;
	background: var(--green-soft);
	color: var(--green-700);
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 6px;
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card h3 { font-family: var(--font-head); font-size: 1.05rem; margin: 0 0 6px; letter-spacing: .03em; color: var(--ink); }
.contact-card__link {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--green-700);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.08rem;
	letter-spacing: .02em;
}
.contact-card__link:hover { color: var(--green); }
.contact-card__link--small { font-size: .9rem; margin-top: 4px; }
.contact-card__link--small svg { width: 14px; height: 14px; }
.contact-card__addr { margin: 0; color: var(--muted-2); line-height: 1.5; }
.contact-card__hint { margin: 4px 0 0; color: var(--muted-2); font-size: .88rem; font-style: italic; }

/* FORMULARZ + MAPA */
.contact-main { padding: 40px 0 80px; }
.contact-main__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }

.contact-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 36px 32px; }
.contact-form .section-title { margin-bottom: 22px; }
.contact-form .sec-rule { margin-top: -14px; margin-bottom: 24px; }

.askform .askgrid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px;
}
.askform .field { display: flex; flex-direction: column; gap: 6px; }
.askform .field span { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--muted-2); letter-spacing: .04em; }
.askform .field span b { color: var(--green-700); margin-left: 2px; }
.askform .field input, .askform .field textarea, .askform .field select {
	font: inherit; color: var(--ink);
	background: var(--bg);
	border: 1px solid var(--line-2);
	border-radius: 10px;
	padding: 12px 14px;
	transition: border-color .15s ease, box-shadow .15s ease;
	width: 100%;
}
.askform .field input:focus, .askform .field textarea:focus, .askform .field select:focus {
	outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(114,203,32,.18);
}
.askform .field textarea { resize: vertical; min-height: 110px; }
.askform .field--full { grid-column: 1 / -1; }
.askform .field--phone .phonewrap { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.askform .check { grid-column: 1 / -1; display: flex; gap: 10px; font-size: .88rem; color: var(--muted-2); line-height: 1.5; }
.askform .check input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
.askform .check a { color: var(--green-700); text-decoration: underline; }
.askform .check b { color: var(--green-700); }
.askform button[type="submit"] { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.askform__msg { margin-top: 12px; font-size: .92rem; color: var(--muted-2); }
.askform__msg.is-ok { color: var(--green-700); font-weight: 600; }
.askform__msg.is-error { color: #b53a26; font-weight: 600; }

/* ASIDE z mapą */
.contact-aside { position: sticky; top: 100px; }
.contact-aside .section-title { margin-bottom: 16px; }
.contact-aside .sec-rule { margin-top: -10px; margin-bottom: 18px; }
.contact-aside__addr { color: var(--muted-2); line-height: 1.5; margin: 0 0 16px; }
.contact-map {
	height: 360px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--bg-soft);
}

/* Pin (kopia z inv) – jeśli już istnieje globalnie, te reguły są no-op */
.bmp-pin-wrap { background: transparent; border: 0; }
.bmp-pin { position: relative; transform: translate(-50%, -100%); }
.bmp-pin__bubble {
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--green);
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.bmp-pin__bubble svg { width: 22px; height: 22px; }
.bmp-pin__tail {
	position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
	width: 0; height: 0;
	border-left: 8px solid transparent; border-right: 8px solid transparent;
	border-top: 12px solid var(--green);
}

/* Responsive */
@media (max-width: 980px) {
	.contact-cards__grid { grid-template-columns: 1fr; }
	.contact-main__grid { grid-template-columns: 1fr; gap: 28px; }
	.contact-aside { position: static; }
}
@media (max-width: 560px) {
	.contact-form { padding: 26px 20px; }
	.askform .askgrid { grid-template-columns: 1fr; }
	.askform .field--phone .phonewrap { grid-template-columns: 90px 1fr; }
}

/* === Strony prawne (regulamin / polityka prywatności) ============================ */
.page__content .legal__intro {
	font-size: 1.05rem;
	color: var(--muted-2);
	background: var(--bg-soft);
	border-left: 3px solid var(--green);
	padding: 18px 22px;
	border-radius: 8px;
	line-height: 1.65;
	margin-bottom: 28px;
}
.page__content h2 {
	font-family: var(--font-head);
	font-size: 1.3rem;
	color: var(--ink);
	margin-top: 36px;
	margin-bottom: 12px;
	padding-left: 16px;
	border-left: 4px solid var(--green);
	letter-spacing: .01em;
}
.page__content p, .page__content li { line-height: 1.75; color: #3a463a; }
.page__content ol, .page__content ul { padding-left: 22px; margin: 10px 0 14px; }
.page__content li { margin-bottom: 6px; }
.page__content ul ul, .page__content ol ul, .page__content ol ol { margin: 6px 0 6px; }
.page__content a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.page__content a:hover { color: var(--green); }
.page__content strong { color: var(--ink); }
.about-cta__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
	align-items: center;
}
.about-cta .eyebrow--on-green { color: rgba(255,255,255,.85); font-weight: 700; letter-spacing: .12em; }
.about-cta__title { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 12px 0 10px; line-height: 1.15; letter-spacing: .02em; }
.about-cta__lead { font-size: 1.05rem; opacity: .92; margin: 0; }
.about-cta__contacts { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.about-cta__phone {
	display: inline-flex; align-items: center; gap: 12px;
	background: rgba(255,255,255,.14);
	border: 1px solid rgba(255,255,255,.32);
	color: #fff;
	padding: 14px 20px;
	border-radius: 999px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.05rem;
	letter-spacing: .03em;
	transition: background .18s ease, transform .18s ease;
}
.about-cta__phone:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); color: #fff; }
.about-cta__phone svg { width: 18px; height: 18px; }
.about-cta__btn { background: #fff; color: var(--green-700); box-shadow: 0 12px 24px -10px rgba(0,0,0,.25); }
.about-cta__btn:hover { background: #fff; color: var(--green-700); transform: translateY(-1px); }

/* --- Responsive --- */
@media (max-width: 1100px) {
	.about-values__grid { grid-template-columns: repeat(2, 1fr); }
	.about-process__steps { grid-template-columns: repeat(5, 1fr); gap: 12px; }
}
@media (max-width: 900px) {
	.about-hero { padding: 64px 0 72px; }
	.about-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.about-process__steps { grid-template-columns: 1fr; }
	.about-process__steps::before { display: none; }
	.about-process__step { display: grid; grid-template-columns: 80px 1fr; align-items: start; text-align: left; gap: 16px; padding: 0; }
	.about-process__num { margin-bottom: 0; }
	.about-cta__inner { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
	.about-values__grid { grid-template-columns: 1fr; }
	.about-stats__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
