/* ==========================================================================
   Trinova – style główne
   ========================================================================== */

/* Czcionka Manrope (OFL, pliki z @fontsource/manrope 5.1.0) – lokalnie, bez Google Fonts (RODO).
   Dwa zestawy znaków: latin oraz latin-ext (polskie litery). */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext-700.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--tn-dark: #202220;
	--tn-dark-2: #2c2f2c;
	--tn-accent: #f5a425;          /* tła, obramowania, ikony */
	--tn-accent-text: #a05a00;     /* tekst na jasnym tle – kontrast AA */
	--tn-pale: rgba(242, 246, 224, .8);
	--tn-pale-solid: #f4f7e6;
	--tn-text: #2a2d2a;
	--tn-muted: #5f645d;
	--tn-line: #e6e8e1;
	--tn-white: #fff;
	--tn-free: #1e7e34;
	--tn-reserved: #b26a00;
	--tn-sold: #b3261e;
	--tn-header-h: 80px;
	--tn-radius: 6px;
	--tn-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--tn-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tn-header-h) + 10px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	margin: 0;
	font-family: var(--tn-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--tn-text);
	background: var(--tn-white);
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--tn-accent-text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tn-dark); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; color: var(--tn-dark); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--tn-accent); outline-offset: 2px; }

.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 {
	position: fixed; left: 10px; top: -60px; z-index: 2000;
	padding: 10px 16px; background: var(--tn-dark); color: var(--tn-white);
}
.skip-link:focus { top: 10px; color: var(--tn-white); }

.tn-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -.25em; }

/* ---------- Siatka ---------- */
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 860px; }
.container-fluid { width: 100%; padding: 0 16px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.row > [class*="col-"] { padding: 0 12px; width: 100%; }
@media (min-width: 768px) {
	.col-6 { width: 50% !important; }
	.col-3 { width: 50% !important; }
}
@media (min-width: 992px) {
	.col-3 { width: 25% !important; }
	.col-4 { width: 33.3333% !important; }
}

/* ---------- Przyciski ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .5px;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn--accent { background: var(--tn-accent); color: var(--tn-dark); }
.btn--accent:hover { background: var(--tn-dark); color: var(--tn-white); }
.btn--light { background: var(--tn-white); color: var(--tn-dark); }
.btn--light:hover { background: var(--tn-accent); color: var(--tn-dark); }
.btn--outline { border-color: var(--tn-dark); color: var(--tn-dark); background: transparent; }
.btn--outline:hover { background: var(--tn-dark); color: var(--tn-white); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: var(--tn-white); background: transparent; }
.btn--ghost:hover { border-color: var(--tn-white); background: rgba(255, 255, 255, .1); color: var(--tn-white); }
.btn--ghost-dark { border-color: var(--tn-line); color: var(--tn-dark); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--tn-dark); }
.btn--small { min-height: 36px; padding: 8px 14px; font-size: 12px; }
.btn--block { display: flex; width: 100%; }

.link-button {
	padding: 0; border: 0; background: none; cursor: pointer;
	color: inherit; text-decoration: underline; text-underline-offset: 3px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.main-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	height: var(--tn-header-h);
	background: rgba(255, 255, 255, .96);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30px;
	transition: box-shadow .3s;
}
.main-header.is-scrolled { box-shadow: 0 1px 15px rgba(0, 0, 0, .12); }
body.admin-bar .main-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .main-header { top: 46px; } }

.logo img { height: 64px; width: auto; }
.logo-text { font-size: 26px; font-weight: 800; text-transform: uppercase; color: var(--tn-dark); letter-spacing: 1px; }

/* Telefon do biura – po lewej stronie menu */
.header-phone {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	margin-right: 10px;
	padding-right: 22px;
	border-right: 1px solid var(--tn-line);
	color: var(--tn-dark);
	white-space: nowrap;
}
.header-phone__icon {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	background: var(--tn-accent);
	color: var(--tn-dark);
	transition: background .25s, color .25s;
}
.header-phone__icon .tn-icon { width: 20px; height: 20px; }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--tn-muted); }
.header-phone__number { font-size: 17px; font-weight: 800; letter-spacing: .3px; transition: color .25s; }
.header-phone:hover { color: var(--tn-dark); }
.header-phone:hover .header-phone__icon { background: var(--tn-dark); color: var(--tn-white); }
.header-phone:hover .header-phone__number { color: var(--tn-accent-text); }

.main-menu { display: flex; align-items: center; }
.main-menu > li { position: relative; }
.main-menu > li > a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 10px 15px;
	line-height: 59px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--tn-dark);
}
.main-menu > li > a:hover { color: var(--tn-accent-text); }
.menu-caret { width: 16px; height: 16px; }

.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 190px;
	background: var(--tn-dark);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all .25s;
}
.has-submenu:hover > .sub-menu,
.has-submenu:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a {
	display: block;
	padding: 13px 16px;
	font-size: 12px;
	font-weight: 600;
	line-height: 20px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--tn-white);
	border-left: 3px solid transparent;
}
.sub-menu a:hover { color: var(--tn-accent); border-left-color: var(--tn-accent); padding-left: 20px; }

.menu-toggle {
	display: none;
	width: 44px; height: 44px;
	padding: 10px;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--tn-dark); transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
	:root { --tn-header-h: 68px; }
	.main-header { padding: 0 12px 0 16px; }
	.logo img { height: 50px; }
	.header-phone { gap: 10px; margin-right: 6px; padding-right: 0; border-right: 0; }
	.header-phone__icon { width: 40px; height: 40px; }
	.menu-toggle { display: block; }
}
@media (max-width: 575px) {
	.header-phone__text { display: none; }
}
@media (max-width: 991px) {
	.main-nav {
		position: absolute;
		top: var(--tn-header-h);
		left: 0; right: 0;
		background: var(--tn-white);
		box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
		max-height: 0;
		overflow: hidden;
		transition: max-height .35s;
	}
	.menu-open .main-nav { max-height: calc(100vh - var(--tn-header-h)); overflow-y: auto; }
	.main-menu { flex-direction: column; align-items: stretch; }
	.main-menu > li > a { line-height: 24px; padding: 15px 20px; border-top: 1px solid var(--tn-line); justify-content: space-between; }
	.sub-menu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; }
	.has-submenu.is-open > .sub-menu { display: block; }
	.has-submenu.is-open .menu-caret { transform: rotate(180deg); }
}

/* ==========================================================================
   Nagłówki sekcji
   ========================================================================== */
.section { position: relative; }
.section-heading { text-align: center; margin-bottom: 56px; }
.section-heading h1,
.section-heading h2 {
	position: relative;
	display: inline-block;
	margin: 100px 0 8px;
	padding: 15px 22px;
	background: var(--tn-pale);
	color: var(--tn-dark);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: .5px;
}
.section-heading h1::before,
.section-heading h2::before {
	content: "";
	position: absolute;
	top: -102px;
	left: 50%;
	width: 1px;
	height: 100px;
	background: rgba(200, 206, 170, .9);
	transform: translateX(-.5px);
}
.section-lead { max-width: 720px; margin: -30px auto 40px; text-align: center; color: var(--tn-muted); }

@media (max-width: 767px) {
	.section-heading { margin-bottom: 36px; }
	.section-heading h1, .section-heading h2 { margin-top: 70px; font-size: 17px; }
	.section-heading h1::before, .section-heading h2::before { top: -72px; height: 70px; }
	.section-lead { margin-top: -16px; }
}

/* ==========================================================================
   Banner
   ========================================================================== */
.main-banner {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 600px;
	max-height: 1080px;
	overflow: hidden;
	background: var(--tn-dark);
}
.main-banner__img { width: 100%; height: 100%; object-fit: cover; }
.main-banner::after {
	content: "";
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(20, 22, 20, .78) 0%, rgba(20, 22, 20, .45) 38%, rgba(20, 22, 20, 0) 68%),
		linear-gradient(to top, rgba(20, 22, 20, .55) 0%, rgba(20, 22, 20, 0) 45%);
	pointer-events: none;
}
.main-banner .caption {
	position: absolute;
	z-index: 2;
	left: max(30px, calc((100% - 1170px) / 2));
	bottom: clamp(48px, 9vh, 110px);
	width: min(620px, calc(100% - 60px));
	padding-left: 28px;
	border-left: 4px solid var(--tn-accent);
	color: var(--tn-white);
}
.caption__place {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--tn-accent);
}
.main-banner h1 {
	margin: 0 0 16px;
	color: var(--tn-white);
	font-size: clamp(34px, 5vw, 64px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.5px;
}
.caption__sub { color: rgba(255, 255, 255, .88); font-size: clamp(15px, 2vw, 19px); line-height: 1.5; margin: 0 0 24px; }
.counter { display: flex; align-items: stretch; gap: 0; margin: 4px 0 28px; }
.counter > div { display: flex; align-items: baseline; gap: 10px; padding-right: 28px; }
.counter > div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .3); }
.counter .value {
	font-size: clamp(36px, 4.5vw, 54px);
	font-weight: 800;
	line-height: 1;
	color: var(--tn-white);
	font-variant-numeric: tabular-nums;
}
.counter .free .value { color: var(--tn-accent); }
.counter span {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, .85);
}
.main-button { display: flex; flex-wrap: wrap; gap: 12px; }
.main-button .btn--accent:hover { background: var(--tn-white); color: var(--tn-dark); }

@media (max-width: 575px) {
	.main-banner { min-height: 560px; }
	.main-banner::after { background: linear-gradient(to top, rgba(20, 22, 20, .85) 0%, rgba(20, 22, 20, .55) 50%, rgba(20, 22, 20, .1) 100%); }
	.main-banner .caption { left: 16px; bottom: 24px; width: calc(100% - 32px); padding-left: 16px; border-left-width: 3px; }
	.caption__place { font-size: 11px; margin-bottom: 10px; }
	.counter { margin-bottom: 18px; }
	.counter > div { padding-right: 18px; }
	.counter > div + div { padding-left: 18px; }
	.counter span { font-size: 11px; }
	.main-button { gap: 8px; }
	.main-button .btn { flex: 1 1 140px; padding: 10px 12px; font-size: 12px; }
}

/* ==========================================================================
   Kafelki (features) – pas pod banerem
   ========================================================================== */
.features { position: relative; z-index: 5; background: var(--tn-dark); }
.features .row { margin: 0; flex-wrap: nowrap; }
.features .row > [class*="col-"] { flex: 1 1 0; width: auto !important; padding: 0; }
.features-post { height: 100%; }
.features-content {
	height: 100%;
	padding: 30px 36px;
	color: var(--tn-white);
	transition: background-color .3s, color .3s;
	outline-offset: -3px;
}
.features-post--bordered .features-content { border-left: 1px solid rgba(250, 250, 250, .1); }
.features-content:hover,
.features-content:focus-within,
.features-content:focus { background: var(--tn-accent); color: var(--tn-dark); }
.features-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: inherit;
}
.features-title .tn-icon { width: 28px; height: 28px; color: var(--tn-accent); transition: color .3s; }
.features-content:hover .tn-icon,
.features-content:focus .tn-icon { color: var(--tn-dark); }
.content-hide { margin-top: 10px; }
.content-hide p { margin: 0; font-size: 14px; line-height: 1.6; opacity: .85; }

@media (max-width: 991px) {
	.features .row { flex-wrap: wrap; }
	.features .row > [class*="col-"] { flex-basis: 100%; }
	.features-content { border-left: 0 !important; border-top: 1px solid rgba(250, 250, 250, .1); padding: 22px 20px; }
}

/* ==========================================================================
   Galeria / Opis inwestycji (karuzela)
   ========================================================================== */
.section.gallery { padding: 0 14px 90px; background: var(--tn-white); }
.gallery .item {
	background: var(--tn-white);
	border-radius: var(--tn-radius);
	box-shadow: var(--tn-shadow);
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.gallery .item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.gallery .item a:hover img { transform: scale(1.04); }
.gallery .item > a { display: block; overflow: hidden; }
.item__icon {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 16 / 9;
	background: var(--tn-pale-solid);
	color: var(--tn-dark);
}
.item__icon .tn-icon { width: 64px; height: 64px; stroke-width: 1.4; }
.gallery--icons .item img { object-fit: contain; background: #fafafa; padding: 20px; }
.down-content { padding: 26px; flex: 1; }
.down-content h3 { margin: 0 0 14px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.down-content p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--tn-muted); }

.tn-carousel { position: relative; }
.tn-carousel__viewport { overflow: hidden; padding: 16px 0 24px; margin: -16px 0 -24px; touch-action: pan-y; }
.tn-carousel__track { display: flex; transition: transform .6s ease; will-change: transform; }
.tn-carousel__slide { flex: 0 0 86%; padding: 0 10px; }
.tn-carousel.is-static .tn-carousel__track { justify-content: center; }
@media (min-width: 576px)  { .tn-carousel__slide { flex-basis: 50%; } }
@media (min-width: 992px)  { .tn-carousel__slide { flex-basis: 33.3333%; padding: 0 14px; } }
@media (min-width: 1200px) { .tn-carousel__slide { flex-basis: 25%; } }
@media (min-width: 1500px) { .tn-carousel__slide { flex-basis: 20%; } }

.tn-carousel__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 40px; }
.tn-carousel__dots button {
	width: 28px; height: 28px; padding: 9px;
	border: 0; background: none; cursor: pointer;
}
.tn-carousel__dots button::before { content: ""; display: block; width: 10px; height: 10px; background: #dfe2d8; transition: background .3s; }
.tn-carousel__dots button.is-active::before,
.tn-carousel__dots button:hover::before { background: var(--tn-accent); }

.download-link { margin: 36px 0 0; text-align: center; }

/* ==========================================================================
   Film
   ========================================================================== */
.film { padding-bottom: 90px; }
.film__frame { background: var(--tn-dark) center / cover no-repeat; }

/* Osadzenia ładowane po zgodzie (mapa, film) */
.tn-embed { position: relative; width: 100%; background: #e9ece3; overflow: hidden; }
.tn-embed--map { height: 520px; }
.tn-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tn-embed__placeholder {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	padding: 24px; text-align: center;
	background: rgba(32, 34, 32, .78);
	color: var(--tn-white);
}
.tn-embed--map .tn-embed__placeholder { background: #e9ece3; color: var(--tn-dark); }
.tn-embed__placeholder p { max-width: 460px; margin: 0; font-size: 14px; }
.tn-embed__icon { width: 54px; height: 54px; color: var(--tn-accent); }
.tn-embed__always { font-size: 13px; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.tn-embed.is-loaded .tn-embed__placeholder { display: none; }
@media (max-width: 767px) { .tn-embed--map { height: 380px; } }

/* ==========================================================================
   Standard wykończenia
   ========================================================================== */
.standard { padding-bottom: 90px; background: var(--tn-white); }
.standard__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.standard__item { padding: 28px 24px; border: 1px solid var(--tn-line); border-radius: var(--tn-radius); background: var(--tn-white); transition: box-shadow .3s, border-color .3s; }
.standard__item:hover { border-color: transparent; box-shadow: var(--tn-shadow); }
.standard__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--tn-pale-solid); color: var(--tn-dark); }
.standard__icon .tn-icon { width: 28px; height: 28px; }
.standard__item h3 { font-size: 16px; margin-bottom: 8px; }
.standard__item p { margin: 0; font-size: 14px; color: var(--tn-muted); }

/* ==========================================================================
   Mieszkania – rzuty, filtry, tabela
   ========================================================================== */
.price { padding-bottom: 90px; background: var(--tn-white); }
.lokale-empty { text-align: center; }
.lokale__hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; color: var(--tn-muted); font-size: 14px; }
.lokale__building { margin-bottom: 50px; }

.plan { position: relative; margin: 0; line-height: 0; }
.plan img { width: 100%; height: auto; }
.plan svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plan__shape polygon {
	fill: rgba(30, 126, 52, .28);
	stroke: var(--tn-white);
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
	transition: fill .2s, opacity .2s;
	cursor: pointer;
}
.plan__shape.is-reserved polygon { fill: rgba(178, 106, 0, .35); }
.plan__shape.is-sold polygon { fill: rgba(179, 38, 30, .32); }
.plan__shape--floor polygon { fill: rgba(245, 164, 37, .0); stroke: rgba(255, 255, 255, .0); }
.plan__shape:hover polygon,
.plan__shape:focus polygon,
.plan__shape.is-hover polygon { fill: rgba(245, 164, 37, .6); stroke: var(--tn-accent); }
.plan--building .plan__shape:hover polygon,
.plan--building .plan__shape:focus polygon { fill: rgba(245, 164, 37, .45); stroke: var(--tn-white); }
.plan__shape.is-dim polygon { opacity: .15; }
.plan__shape:focus { outline: none; }
.plan__current { fill: rgba(245, 164, 37, .55); stroke: var(--tn-accent); stroke-width: 3; vector-effect: non-scaling-stroke; }
.plan__tip {
	position: absolute; z-index: 3;
	transform: translate(-50%, calc(-100% - 12px));
	padding: 8px 12px;
	background: var(--tn-dark); color: var(--tn-white);
	font-size: 13px; line-height: 1.4; white-space: nowrap;
	pointer-events: none;
	box-shadow: var(--tn-shadow);
}

.floor-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.floor-tabs__btn {
	min-height: 44px; padding: 10px 18px;
	border: 1px solid var(--tn-line); background: var(--tn-white);
	font-weight: 700; font-size: 14px; cursor: pointer;
	transition: all .2s;
}
.floor-tabs__btn:hover { border-color: var(--tn-dark); }
.floor-tabs__btn.is-active { background: var(--tn-dark); border-color: var(--tn-dark); color: var(--tn-white); }
.floor-info { margin: 20px 0 0; line-height: 1.8; font-size: 15px; }
.floor-info p { margin: 0; }

.plan-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 18px 0 50px; font-size: 14px; }
.plan-legend li { display: flex; align-items: center; gap: 8px; }
.plan-legend__dot { width: 14px; height: 14px; background: var(--tn-free); }
.plan-legend__dot.is-reserved { background: var(--tn-reserved); }
.plan-legend__dot.is-sold { background: var(--tn-sold); }

.lokale-filters {
	display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 28px;
	padding: 22px 24px;
	background: var(--tn-pale-solid);
	margin-bottom: 18px;
}
.lokale-filters__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.lokale-filters__group legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--tn-muted); }
.lokale-filters__group--end { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.lokale-filters input[type="number"],
.lokale-filters select {
	height: 44px; padding: 0 12px;
	border: 1px solid #cfd3c6; border-radius: 0; background: var(--tn-white);
	width: 130px;
}
.range { display: flex; align-items: center; gap: 6px; }
.range input[type="number"] { width: 84px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip input, .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid #cfd3c6; background: var(--tn-white);
	font-weight: 700; cursor: pointer; transition: all .15s;
}
.chip input:checked + span { background: var(--tn-dark); border-color: var(--tn-dark); color: var(--tn-white); }
.chip input:focus-visible + span,
.switch input:focus-visible + span { outline: 3px solid var(--tn-accent); outline-offset: 2px; }
.switch span { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; }
.switch span::before {
	content: ""; width: 40px; height: 22px; border-radius: 22px;
	background: #cfd3c6 radial-gradient(circle at 11px 50%, #fff 8px, transparent 9px);
	transition: background .2s;
}
.switch input:checked + span::before { background: var(--tn-free) radial-gradient(circle at 29px 50%, #fff 8px, transparent 9px); }

.lokale-count { margin: 0 0 8px; font-size: 14px; color: var(--tn-muted); }
.table-wrap { overflow-x: auto; }
.table_list { width: 100%; border-collapse: collapse; text-align: center; font-variant-numeric: tabular-nums; }
.table_list th { padding: 0; border-bottom: 2px solid var(--tn-dark); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.table_list th button {
	width: 100%; padding: 14px 8px; border: 0; background: none; cursor: pointer;
	font-weight: 700; text-transform: inherit; letter-spacing: inherit;
}
.table_list th button::after { content: " ↕"; color: #b8bcb0; }
.table_list th button[data-dir="asc"]::after { content: " ↑"; color: var(--tn-dark); }
.table_list th button[data-dir="desc"]::after { content: " ↓"; color: var(--tn-dark); }
.table_list td { padding: 12px 8px; border-bottom: 1px solid var(--tn-line); font-weight: 600; }
.table_list tbody tr { transition: background .15s; }
.table_list tbody tr:hover,
.table_list tbody tr.is-hover { background: #fbfcf4; }
.lokal-link { color: var(--tn-dark); font-weight: 800; }
.lokale-table__action { white-space: nowrap; }
.lokale-table__action .btn + .btn { margin-left: 6px; }
.lokale-table__card { gap: 6px; }
.lokale-table__card .tn-icon { width: 16px; height: 16px; }
.status.is-free { color: var(--tn-free); }
.status.is-reserved { color: var(--tn-reserved); }
.status.is-sold { color: var(--tn-sold); }
.lokale-none { padding: 30px; text-align: center; background: var(--tn-pale-solid); }
.lokale-note { margin-top: 16px; font-size: 13px; color: var(--tn-muted); }

/* ---------- Porównywarka ---------- */
.compare-check { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-size: 13px; font-weight: 700; cursor: pointer; vertical-align: middle; }
.compare-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--tn-dark); cursor: pointer; }
.compare-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	background: var(--tn-dark); color: var(--tn-white); box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
}
.compare-bar[hidden] { display: none; }
.compare-bar__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.compare-bar__list { flex: 1 1 220px; font-size: 14px; }
.compare-bar .btn[disabled] { opacity: .45; cursor: not-allowed; }
.compare-bar .link-button { color: #cfd3c6; }
body.has-compare-bar { padding-bottom: 70px; }

.compare-dialog {
	width: min(1000px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0;
	border: 0; border-radius: var(--tn-radius); box-shadow: var(--tn-shadow); color: var(--tn-text);
}
.compare-dialog::backdrop { background: rgba(20, 22, 20, .6); }
body.is-compare-open { overflow: hidden; }
.compare-dialog__head {
	position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 20px; background: var(--tn-white); border-bottom: 1px solid var(--tn-line);
}
.compare-dialog__head h2 { margin: 0; font-size: 20px; }
.compare-dialog__close { display: inline-flex; padding: 8px; border: 0; background: none; cursor: pointer; }
.compare-dialog__close .tn-icon { width: 22px; height: 22px; }
.compare-dialog__body { padding: 16px 20px 20px; }
.compare-explain { margin-bottom: 18px; padding: 14px 16px; background: var(--tn-pale-solid); border-left: 4px solid var(--tn-accent); }
.compare-explain p { margin: 0; }
.compare-explain p + p { margin-top: 8px; }
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--tn-line); text-align: center; }
.compare-table thead th { font-size: 20px; font-weight: 800; border-bottom: 2px solid var(--tn-dark); }
.compare-table tbody th { text-align: left; font-weight: 600; color: var(--tn-muted); white-space: nowrap; }
.compare-table td { font-weight: 700; }
.compare-table tr.is-diff { background: #fffaf0; }
.compare-table td.is-best { color: var(--tn-free); }
.compare-table__plans img { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; }
.compare-table__group th { padding-top: 18px; text-align: left; color: var(--tn-dark) !important; font-weight: 800 !important; text-transform: uppercase; font-size: 13px; letter-spacing: .3px; }
.compare-table__links td, .compare-table__links th { border-bottom: 0; padding-top: 16px; }
.compare-note { margin: 12px 0 0; font-size: 13px; color: var(--tn-muted); }
@media (max-width: 767px) {
	.compare-check { margin-left: 0; justify-content: center; flex: 1 1 100%; padding: 6px 0; }
	body.has-mobile-bar .compare-bar { bottom: calc(56px + env(safe-area-inset-bottom)); }
	body.has-mobile-bar.has-compare-bar { padding-bottom: calc(126px + env(safe-area-inset-bottom)); }
	.compare-dialog__body { padding: 12px; }
	.compare-table th, .compare-table td { padding: 8px 6px; font-size: 14px; }
	.compare-table tbody th { white-space: normal; }
}

@media (max-width: 767px) {
	.lokale-filters { padding: 16px; gap: 14px 18px; }
	.lokale-filters__group--end { margin-left: 0; width: 100%; justify-content: space-between; }
	.lokale-table thead { display: none; }
	.lokale-table, .lokale-table tbody, .lokale-table tr, .lokale-table td { display: block; width: 100%; }
	.lokale-table tr { margin-bottom: 12px; border: 1px solid var(--tn-line); padding: 6px 14px; }
	.lokale-table td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; text-align: right; }
	.lokale-table td:last-child { border-bottom: 0; }
	.lokale-table td::before { content: attr(data-label); font-weight: 400; color: var(--tn-muted); text-align: left; }
	.lokale-table__action { justify-content: stretch !important; }
	.lokale-table__action { gap: 8px; flex-wrap: wrap; }
	.lokale-table__action::before { display: none; }
	.lokale-table__action .btn { flex: 1 1 0; }
	.lokale-table__action .btn + .btn { margin-left: 0; }
	.plan-legend { margin-bottom: 36px; }
}

/* ==========================================================================
   Plan osiedla
   ========================================================================== */
.section-map { padding-bottom: 90px; background: var(--tn-white); }
.plan-zoom { position: relative; display: block; cursor: zoom-in; }
.plan-zoom img { width: 100%; }
.plan-zoom__hint {
	position: absolute; right: 12px; bottom: 12px;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 12px; background: rgba(32, 34, 32, .85); color: var(--tn-white); font-size: 13px; font-weight: 700;
}

/* ==========================================================================
   Harmonogram (oś czasu)
   ========================================================================== */
.harmonogram { padding-bottom: 90px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: var(--tn-line); }
.timeline__item { position: relative; padding-top: 52px; }
.timeline__dot {
	position: absolute; top: 0; left: 0;
	display: flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%;
	background: var(--tn-white); border: 2px solid #cfd3c6; color: var(--tn-dark);
}
.timeline__item.is-zrealizowany .timeline__dot { background: var(--tn-accent); border-color: var(--tn-accent); }
.timeline__item.is-w_trakcie .timeline__dot { border-color: var(--tn-accent); box-shadow: 0 0 0 6px rgba(245, 164, 37, .25); }
.timeline__date { display: block; font-size: 13px; font-weight: 700; color: var(--tn-accent-text); text-transform: uppercase; letter-spacing: .5px; }
.timeline__body h3 { margin: 6px 0; font-size: 17px; }
.timeline__state { font-size: 13px; color: var(--tn-muted); }
.timeline__body p { margin: 8px 0 0; font-size: 14px; color: var(--tn-muted); }
@media (max-width: 767px) {
	.timeline { grid-template-columns: 1fr; gap: 0; }
	.timeline::before { left: 17px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.timeline__item { padding: 4px 0 26px 56px; }
}

/* ==========================================================================
   Postęp budowy
   ========================================================================== */
.postep { padding-bottom: 90px; background: var(--tn-white); }
.postep__list { display: grid; gap: 34px; }
.postep__item { padding-bottom: 34px; border-bottom: 1px solid var(--tn-line); }
.postep__head time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--tn-accent-text); text-transform: uppercase; }
.postep__head h3 { margin: 6px 0 10px; font-size: 20px; }
.postep__item > p { color: var(--tn-muted); }
.postep__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.postep__photos a { position: relative; display: block; overflow: hidden; }
.postep__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.postep__photos a:hover img { transform: scale(1.05); }
.postep__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(32, 34, 32, .6); color: var(--tn-white); font-size: 26px; font-weight: 800; }
@media (max-width: 767px) { .postep__photos { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Kalkulator
   ========================================================================== */
.kalkulator { padding-bottom: 90px; }
.calc { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--tn-pale-solid); }
.calc__inputs { display: grid; gap: 22px; padding: 34px; }
.calc__field span { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.calc__field input[type="number"] { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #cfd3c6; background: var(--tn-white); font-size: 17px; font-weight: 700; }
.calc__field input[type="range"] { width: 100%; accent-color: var(--tn-dark); height: 30px; }
.calc__result { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 34px; background: var(--tn-dark); color: var(--tn-white); }
.calc__label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: .8; }
.calc__rate { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; color: var(--tn-accent); font-variant-numeric: tabular-nums; }
.calc__details { margin: 4px 0 10px; display: grid; gap: 6px; font-size: 14px; }
.calc__details div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 6px; }
.calc__details dt { opacity: .8; }
.calc__details dd { margin: 0; font-weight: 700; }
.calc__note { margin-top: 12px; font-size: 12px; color: var(--tn-muted); }
@media (max-width: 767px) {
	.calc { grid-template-columns: 1fr; }
	.calc__inputs, .calc__result { padding: 22px 18px; }
}

/* ==========================================================================
   O nas (zakładki)
   ========================================================================== */
.about-us { padding-bottom: 90px; background: var(--tn-white); }
.tn-tabs__nav { display: flex; justify-content: center; text-align: center; }
.tn-tabs__btn {
	position: relative;
	flex: 1 1 0;
	padding: 0 6px 34px;
	border: 0; background: none; cursor: pointer;
	font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
	color: var(--tn-dark);
}
.tn-tabs__btn::before {
	content: ""; position: absolute; left: 50%; bottom: 0;
	width: 25px; height: 25px; border: 2px solid var(--tn-accent);
	transform: translateX(-50%);
}
.tn-tabs__btn::after {
	content: ""; position: absolute; left: 50%; bottom: 5px;
	width: 15px; height: 15px; background: var(--tn-accent);
	transform: translateX(-50%) scale(0); transition: transform .3s;
}
.tn-tabs__btn.is-active,
.tn-tabs__btn:hover { color: var(--tn-accent-text); }
.tn-tabs__btn.is-active::after { transform: translateX(-50%) scale(1); }

.tabs-content { margin-top: 50px; }
.tabs-content__title { margin: 0 0 26px; font-size: clamp(24px, 3vw, 32px); color: var(--tn-accent-text); }
.tab-text { font-size: 16px; line-height: 1.8; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-bottom: 20px; }
.person { display: flex; gap: 18px; align-items: flex-start; }
.person__photo { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; }
.person__body { display: flex; flex-direction: column; gap: 4px; }
.person__role { font-size: 13px; color: var(--tn-muted); }
.person__name { font-size: 18px; }
.person__body a { display: inline-flex; align-items: center; gap: 6px; color: var(--tn-dark); font-weight: 700; }
.person__body a:hover { color: var(--tn-accent-text); }

/* ==========================================================================
   Lokalizacja
   ========================================================================== */
.location { padding-bottom: 90px; background: var(--tn-white); }
.location-text { max-width: 900px; margin: 0 auto; }
.location-text p { color: var(--tn-text); font-size: 16px; line-height: 1.8; }
.poi { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 30px 0; }
.poi__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--tn-pale-solid); }
.poi__icon { color: var(--tn-dark); }
.poi__name { flex: 1; font-size: 15px; }
.poi__dist { font-size: 14px; white-space: nowrap; }
#map { margin-top: 30px; }

/* ==========================================================================
   Formularz kontaktowy
   ========================================================================== */
.contact { padding-bottom: 100px; background: var(--tn-white); }
.contact-form { background: var(--tn-dark); padding: 34px; color: var(--tn-white); }
.field { display: block; margin-bottom: 20px; }
.field__label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: .3px; color: rgba(255, 255, 255, .85); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 0;
	background: rgba(250, 250, 250, .08);
	color: var(--tn-white);
	font-size: 15px;
	outline: none;
	transition: border-color .2s, background .2s;
}
.contact-form select option { color: var(--tn-dark); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--tn-accent); background: rgba(250, 250, 250, .12); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; font-size: 13px; line-height: 1.55; cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--tn-accent); }
.consent a { color: var(--tn-accent); text-decoration: underline; }
.cf-turnstile { margin-bottom: 16px; }
.form-required { margin: 10px 0 0; font-size: 12px; opacity: .7; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-bottom: 20px; padding: 14px 16px; font-size: 15px; font-weight: 600; color: var(--tn-white); }
.form-msg--ok { background: var(--tn-free); }
.form-msg--err { background: var(--tn-sold); }
@media (max-width: 575px) { .contact-form { padding: 22px 16px; } }

/* ==========================================================================
   Karta lokalu
   ========================================================================== */
.lokal-page { padding-top: calc(var(--tn-header-h) + 24px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--tn-muted); }
.breadcrumbs a { color: var(--tn-muted); }
.breadcrumbs a:hover { color: var(--tn-dark); }
.lokal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--tn-line); margin-bottom: 30px; }
.lokal-head h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); }
.lokal-head__meta { margin: 6px 0 0; color: var(--tn-muted); font-size: 17px; }
.status-badge { padding: 8px 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; font-size: 13px; color: var(--tn-white); background: var(--tn-free); }
.status-badge.is-reserved { background: var(--tn-reserved); }
.status-badge.is-sold { background: var(--tn-sold); }

.lokal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.lokal-rzut { position: relative; display: block; border: 1px solid var(--tn-line); cursor: zoom-in; }
.lokal-subtitle { margin: 36px 0 14px; font-size: 20px; }
.lokal-box .lokal-subtitle { margin-top: 0; }
.lokal-rooms, .lokal-extras { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lokal-rooms th, .lokal-rooms td,
.lokal-extras th, .lokal-extras td { padding: 10px 0; border-bottom: 1px solid var(--tn-line); text-align: left; font-weight: 400; }
.lokal-rooms td, .lokal-extras td { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.lokal-rooms tfoot th, .lokal-rooms tfoot td { font-weight: 800; border-bottom: 2px solid var(--tn-dark); }
.lokal-rooms__nr {
	display: inline-grid; place-items: center;
	width: 24px; height: 24px; margin-right: 10px;
	background: #b08a55; color: var(--tn-white);
	font-size: 12px; font-weight: 700; vertical-align: middle;
}
.lokal-extras thead th { font-size: 13px; color: var(--tn-muted); }
.lokal-extras thead th:not(:first-child) { text-align: right; }
.lokal-desc { margin-top: 30px; line-height: 1.8; }
.plan--mini { max-width: 700px; border: 1px solid var(--tn-line); }

.lokal-side { position: sticky; top: calc(var(--tn-header-h) + 20px); display: grid; gap: 20px; }
.lokal-box { padding: 26px; border: 1px solid var(--tn-line); background: var(--tn-white); }
.lokal-price { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--tn-line); }
.lokal-price__label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--tn-muted); }
.lokal-price__value { font-size: 32px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.lokal-price__m2 { font-weight: 700; color: var(--tn-muted); }
.lokal-price__total, .lokal-price__since { font-size: 13px; color: var(--tn-muted); }
.lokal-price--sold { font-size: 20px; font-weight: 800; color: var(--tn-sold); }
.lokal-params { display: grid; gap: 0; margin: 0 0 20px; }
.lokal-params div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--tn-line); }
.lokal-params dt { display: flex; align-items: center; gap: 8px; color: var(--tn-muted); }
.lokal-params dd { margin: 0; font-weight: 700; text-align: right; }
.lokal-actions { display: grid; gap: 10px; }
.lokal-history summary { cursor: pointer; font-weight: 800; font-size: 17px; }
.lokal-history[open] summary { margin-bottom: 12px; }
.lokal-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 50px 0 0; padding: 20px 0; border-top: 1px solid var(--tn-line); font-weight: 700; }
.lokal-nav a { display: inline-flex; align-items: center; gap: 6px; color: var(--tn-dark); }
.lokal-nav a:hover { color: var(--tn-accent-text); }
.lokal-nav__all { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 991px) {
	.lokal-grid { grid-template-columns: 1fr; }
	.lokal-side { position: static; }
}

/* ==========================================================================
   Podstrony / polityka
   ========================================================================== */
.page-default { padding: calc(var(--tn-header-h) + 10px) 0 90px; }
.page-default .breadcrumbs { margin-top: 20px; }
.page-default .section-heading h1 { margin-top: 30px; }
.page-default .section-heading h1::before { display: none; }
.lokale-archive { padding-top: calc(var(--tn-header-h) + 10px); }
.lokale-archive .breadcrumbs { margin-top: 20px; }
.lokale-archive .section-heading h1 { margin-top: 20px; }
.lokale-archive .section-heading h1::before { display: none; }
.entry-content, .policy { line-height: 1.8; }
.policy__date { text-align: center; color: var(--tn-muted); margin-top: -40px; margin-bottom: 30px; font-size: 14px; }
.policy__toc { padding: 20px 24px; margin: 24px 0 34px; background: var(--tn-pale-solid); }
.policy__toc ol { list-style: decimal; padding-left: 22px; margin-top: 8px; }
.policy__toc a { color: var(--tn-dark); }
.policy__section h2 { margin-top: 34px; font-size: 21px; }
.policy__section ul, .entry-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1rem; }
.entry-content ol { list-style: decimal; padding-left: 22px; margin-bottom: 1rem; }

/* ==========================================================================
   Stopka
   ========================================================================== */
.site-footer { background: var(--tn-dark); color: var(--tn-white); padding: 70px 0 30px; }
.footer-title { margin: 0 0 24px; font-size: 19px; font-weight: 700; color: var(--tn-white); }
.site-footer p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.site-footer a { color: var(--tn-white); font-size: 14px; }
.site-footer a:hover { color: var(--tn-accent); }
.footer-item { margin-bottom: 30px; }
.menu-list li { margin-bottom: 10px; font-size: 14px; }
.menu-list--icons li { display: flex; align-items: center; gap: 10px; }
.menu-list--icons .tn-icon { color: var(--tn-accent); }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: rgba(250, 250, 250, .1);
	transition: background .3s, color .3s;
}
.social-icons a:hover { background: var(--tn-accent); color: var(--tn-dark); }

.sub-footer { background: var(--tn-dark); border-top: 1px solid rgba(250, 250, 250, .1); padding: 16px 0; }
.sub-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.sub-footer p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 13px; }
.sub-footer a, .sub-footer .link-button { color: rgba(255, 255, 255, .8); font-size: 13px; }
.sub-footer a:hover, .sub-footer .link-button:hover { color: var(--tn-accent); }
.sub-footer__links { display: flex; gap: 18px; }
@media (max-width: 767px) {
	.sub-footer__inner { flex-direction: column; text-align: center; align-items: center; }
}

/* ==========================================================================
   Pasek mobilny „Zadzwoń / Napisz”
   ========================================================================== */
.mobile-bar { display: none; }
@media (max-width: 991px) {
	.mobile-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
		display: flex;
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--tn-dark);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .2);
	}
	.mobile-bar__btn {
		flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
		min-height: 56px; color: var(--tn-white); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .5px;
	}
	.mobile-bar__btn:hover { color: var(--tn-white); }
	.mobile-bar__btn--accent { background: var(--tn-accent); color: var(--tn-dark); }
	.mobile-bar__btn--accent:hover { color: var(--tn-dark); }
	body.has-mobile-bar { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
	body.has-mobile-bar .cookie-bar { bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   Cookies
   ========================================================================== */
.cookie-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
	background: var(--tn-dark); color: var(--tn-white);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, .25);
}
.cookie-bar__inner { max-width: 1170px; margin: 0 auto; padding: 18px 16px; display: flex; align-items: center; gap: 24px; }
.cookie-bar__text { flex: 1; margin: 0; font-size: 14px; line-height: 1.6; }
.cookie-bar__text a { color: var(--tn-accent); text-decoration: underline; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-bar .btn { min-height: 42px; padding: 10px 16px; font-size: 12px; }
@media (max-width: 767px) {
	.cookie-bar__inner { flex-direction: column; align-items: stretch; gap: 12px; }
	.cookie-bar__text { font-size: 13px; }
	.cookie-bar__actions .btn { flex: 1 1 auto; }
}

.cookie-modal {
	position: fixed; inset: 0; z-index: 10001;
	display: flex; align-items: center; justify-content: center; padding: 16px;
	background: rgba(0, 0, 0, .6);
}
.cookie-modal__box { position: relative; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; padding: 30px; background: var(--tn-white); }
.cookie-modal__box h3 { margin-right: 40px; font-size: 22px; }
.cookie-modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.cookie-cat { padding: 14px 0; border-bottom: 1px solid var(--tn-line); }
.cookie-cat__head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; cursor: pointer; }
.cookie-cat__head input { width: 22px; height: 22px; accent-color: var(--tn-free); }
.cookie-cat p { margin: 6px 0 0; font-size: 14px; color: var(--tn-muted); }
.cookie-modal__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cookie-modal__actions .btn { flex: 1 1 auto; min-height: 42px; font-size: 12px; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.tn-lightbox {
	position: fixed; inset: 0; z-index: 10000;
	display: none; align-items: center; justify-content: center;
	background: rgba(0, 0, 0, .92);
	touch-action: pan-y pinch-zoom;
}
.tn-lightbox.is-open { display: flex; }
.tn-lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.tn-lightbox button {
	position: absolute; display: flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border: 0; background: rgba(255, 255, 255, .08);
	color: var(--tn-white); cursor: pointer;
}
.tn-lightbox button .tn-icon { width: 28px; height: 28px; }
.tn-lightbox__close { top: 12px; right: 12px; }
.tn-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.tn-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.tn-lightbox.is-single .tn-lightbox__prev,
.tn-lightbox.is-single .tn-lightbox__next { display: none; }
