/**
 * Project Box - main stylesheet (mobile-first).
 * Sections: base, layout, header, footer, buttons/forms, results page,
 * cards, map, pagination/chips, empty state, utilities.
 */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--pb-header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--pb-bg);
	color: var(--pb-text);
	font-family: var(--pb-font-sans);
	font-size: var(--pb-fs-md);
	line-height: var(--pb-lh);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
	margin: 0 0 var(--pb-s4);
	color: var(--pb-ink);
	font-family: var(--pb-font-display);
	line-height: var(--pb-lh-tight);
	font-weight: 700;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 var(--pb-s4);
}

a {
	color: var(--pb-blue-deep);
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--pb-blue-ink);
}

:focus-visible {
	outline: 3px solid var(--pb-blue-deep);
	outline-offset: 2px;
}

/* White focus outline on dark surfaces (hero, footer, header over the hero, lightbox). */
.site-footer :focus-visible,
.pb-hero :focus-visible,
.has-hero:not(.is-scrolled) .site-header :focus-visible,
.pb-lightbox :focus-visible,
.pb-area-tile:focus-visible {
	outline-color: var(--pb-white);
}

/* Inside the white hero search card the normal (blue) outline applies again. */
.pb-hero .pb-hero-search :focus-visible {
	outline-color: var(--pb-blue-deep);
}

[hidden] {
	display: none !important;
}

.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: absolute;
	left: var(--pb-s4);
	top: -100px;
	z-index: 1000;
	padding: var(--pb-s2) var(--pb-s4);
	background: var(--pb-ink);
	color: var(--pb-white);
	border-radius: var(--pb-radius);
}

.skip-link:focus {
	top: var(--pb-s4);
	color: var(--pb-white);
}

.pb-icon {
	flex: none;
}

.pb-noscroll,
.pb-noscroll body {
	overflow: hidden;
}

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: calc(var(--pb-container) + 2 * var(--pb-gutter));
	margin-inline: auto;
	padding-inline: var(--pb-gutter);
}

.container--narrow {
	max-width: calc(var(--pb-container-narrow) + 2 * var(--pb-gutter));
}

.site-main {
	min-height: 50vh;
	padding-block: var(--pb-s6) var(--pb-s8);
}

.page-title {
	font-size: var(--pb-fs-2xl);
}

.entry__content > * + * {
	margin-top: var(--pb-s4);
}

.entry__media img {
	border-radius: var(--pb-radius-lg);
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--pb-line);
}

.admin-bar .site-header {
	top: 46px;
}

@media (min-width: 783px) {
	.admin-bar .site-header {
		top: 32px;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--pb-s4);
	min-height: var(--pb-header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: var(--pb-s3);
	text-decoration: none;
	margin-right: auto;
}

.brand__logo {
	display: block;
	width: auto;
	height: 40px;
}

@media (min-width: 960px) {
	.brand--horizontal .brand__logo {
		height: 46px;
	}
}

/* Light logo only where the background is dark (header over the home hero). */
.brand__logo--light {
	display: none;
}

.site-footer .brand--vertical .brand__logo {
	height: 120px;
}

/* The footer is dark: always show the light logo there. */
.site-footer .brand__logo--light {
	display: block;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-white);
	color: var(--pb-ink);
	cursor: pointer;
}

.site-nav {
	display: none;
	position: absolute;
	inset: 100% 0 auto 0;
	padding: var(--pb-s4) var(--pb-gutter) var(--pb-s5);
	background: var(--pb-white);
	border-bottom: 1px solid var(--pb-line);
	box-shadow: var(--pb-shadow);
}

.site-nav.is-open {
	display: block;
}

.site-nav .menu {
	list-style: none;
	margin: 0 0 var(--pb-s4);
	padding: 0;
}

.site-nav .menu a {
	display: block;
	padding: var(--pb-s3) 0;
	color: var(--pb-ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--pb-line);
}

.site-nav .current-menu-item > a,
.site-nav .menu a:hover {
	color: var(--pb-blue-deep);
}

@media (min-width: 960px) {
	.nav-toggle {
		display: none;
	}

	.site-nav {
		display: flex;
		position: static;
		align-items: center;
		gap: var(--pb-s5);
		padding: 0;
		border: 0;
		box-shadow: none;
		background: none;
	}

	.site-nav .menu {
		display: flex;
		gap: var(--pb-s5);
		margin: 0;
	}

	.site-nav .menu a {
		padding: var(--pb-s2) 0;
		border: 0;
		border-bottom: 2px solid transparent;
	}

	.site-nav .current-menu-item > a {
		border-bottom-color: var(--pb-green);
	}
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--pb-blue-ink);
	color: rgba(255, 255, 255, 0.82);
	padding-top: var(--pb-s7);
	font-size: var(--pb-fs-sm);
}

.site-footer a {
	color: var(--pb-white);
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
}

.site-footer__grid {
	display: grid;
	gap: var(--pb-s6);
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

.site-footer__brand {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: var(--pb-s4) var(--pb-s5);
}

.site-footer__brand .brand {
	margin-right: 0;
	flex: none;
}

.site-footer__about {
	flex: 1 1 22ch;
	max-width: 40ch;
}

.site-footer__brand p {
	margin: 0 0 var(--pb-s4);
}

.site-footer__title {
	color: var(--pb-white);
	font-size: var(--pb-fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: var(--pb-s3);
}

.site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--pb-s2);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--pb-s3);
	margin-top: var(--pb-s7);
	padding-block: var(--pb-s5);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	list-style: none;
	display: flex;
	gap: var(--pb-s4);
	margin: 0;
	padding: 0;
}

/* ---------- Buttons & forms ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--pb-s2);
	min-height: 44px;
	padding: var(--pb-s2) var(--pb-s5);
	border: 1px solid transparent;
	border-radius: var(--pb-radius);
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
	background: var(--pb-blue);
	color: var(--pb-white);
}

.btn--primary:hover {
	background: var(--pb-blue-deep);
	color: var(--pb-white);
}

.btn--ghost {
	background: var(--pb-white);
	border-color: var(--pb-line-strong);
	color: var(--pb-ink);
}

.btn--ghost:hover {
	border-color: var(--pb-blue);
	color: var(--pb-blue-deep);
}

.btn--block {
	width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
	width: 100%;
	min-height: 44px;
	padding: var(--pb-s2) var(--pb-s3);
	border: 1px solid var(--pb-line-strong);
	border-radius: var(--pb-radius);
	background: var(--pb-white);
	color: var(--pb-text);
	font: inherit;
}

select {
	appearance: none;
	padding-right: 2.25rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	border-color: var(--pb-blue);
}

/* ---------- Results page ---------- */
.pb-search {
	padding-top: var(--pb-s5);
}

.pb-search__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--pb-s4);
	margin-bottom: var(--pb-s5);
}

.pb-search__title {
	margin: 0;
	font-size: var(--pb-fs-2xl);
}

/* Segmented control: Όλα / Ενοικίαση / Πώληση */
.pb-seg {
	display: inline-flex;
	margin: 0;
	padding: 4px;
	border: 0;
	border-radius: var(--pb-radius-pill);
	background: var(--pb-bg-soft);
	box-shadow: inset 0 0 0 1px var(--pb-line);
}

.pb-seg__opt {
	position: relative;
}

.pb-seg__opt input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.pb-seg__opt span {
	display: block;
	padding: 0.55rem 1.1rem;
	border-radius: var(--pb-radius-pill);
	font-weight: 600;
	font-size: var(--pb-fs-sm);
	color: var(--pb-muted);
	transition: background-color 0.15s, color 0.15s;
}

.pb-seg__opt input:checked + span {
	background: var(--pb-blue);
	color: var(--pb-white);
	box-shadow: var(--pb-shadow-sm);
}

.pb-seg__opt input:focus-visible + span {
	box-shadow: var(--pb-focus);
}

.pb-search__layout {
	display: grid;
	gap: var(--pb-s6);
	align-items: start;
}

@media (min-width: 960px) {
	.pb-search__layout {
		grid-template-columns: 280px minmax(0, 1fr);
	}
}

/* Filters sidebar */
.pb-filters {
	background: var(--pb-white);
}

@media (min-width: 960px) {
	.pb-filters {
		position: sticky;
		top: calc(var(--pb-header-h) + var(--pb-s4));
		max-height: calc(100vh - var(--pb-header-h) - 2rem);
		overflow-y: auto;
		padding-right: var(--pb-s2);
		scrollbar-width: thin;
	}

	.admin-bar .pb-filters {
		top: calc(var(--pb-header-h) + 32px + var(--pb-s4));
	}
}

.pb-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--pb-s2);
}

.pb-filters__title {
	margin: 0;
	font-size: var(--pb-fs-lg);
}

.pb-filters__close {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: none;
	color: var(--pb-ink);
	cursor: pointer;
}

.pb-filter {
	margin: 0;
	padding: var(--pb-s4) 0;
	border: 0;
	border-bottom: 1px solid var(--pb-line);
	min-width: 0;
}

.pb-filter__legend {
	display: block;
	float: left;
	width: 100%;
	margin-bottom: var(--pb-s3);
	padding: 0;
	font-weight: 700;
	font-size: var(--pb-fs-sm);
	color: var(--pb-ink);
}

.pb-filter__legend + * {
	clear: both;
}

.pb-filter--details summary {
	float: none;
	margin: 0;
	cursor: pointer;
	list-style-position: inside;
}

.pb-filter--details[open] summary {
	margin-bottom: var(--pb-s3);
}

.pb-filter__grid {
	display: grid;
	gap: var(--pb-s1);
}

.pb-filter__range {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--pb-s3);
}

.pb-field label {
	display: block;
	margin-bottom: var(--pb-s1);
	color: var(--pb-muted);
	font-size: var(--pb-fs-xs);
}

.pb-area-group + .pb-area-group {
	margin-top: var(--pb-s3);
}

.pb-areas__search {
	margin-bottom: var(--pb-s2);
}

.pb-areas__search input {
	min-height: 40px;
	padding-left: 2.25rem;
	background: var(--pb-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 0.75rem center;
	font-size: var(--pb-fs-sm);
}

/* Long lists (all areas / search results) scroll inside the box on desktop. */
@media (min-width: 960px) {
	.pb-areas__list {
		max-height: 340px;
		overflow-y: auto;
		scrollbar-width: thin;
	}
}

.pb-areas__none {
	margin: var(--pb-s2) 0;
	color: var(--pb-muted);
	font-size: var(--pb-fs-sm);
}

.pb-areas__toggle {
	margin-top: var(--pb-s2);
	padding: var(--pb-s1) 0;
	border: 0;
	background: none;
	color: var(--pb-blue-deep);
	font: inherit;
	font-size: var(--pb-fs-sm);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	cursor: pointer;
}

.pb-area-group__list {
	list-style: none;
	margin: 0;
	padding: 0 0 0 var(--pb-s5);
}

.pb-check {
	display: flex;
	align-items: center;
	gap: var(--pb-s2);
	min-height: 36px;
	cursor: pointer;
	font-size: var(--pb-fs-sm);
}

.pb-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--pb-blue);
	flex: none;
}

.pb-check__label {
	flex: 1;
}

.pb-check__count {
	color: var(--pb-muted);
	font-size: var(--pb-fs-xs);
	font-variant-numeric: tabular-nums;
}

.pb-check.is-empty .pb-check__label {
	color: var(--pb-muted);
}

.pb-pills {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pb-s2);
}

.pb-pill {
	position: relative;
}

.pb-pill input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.pb-pill span {
	display: inline-block;
	min-width: 48px;
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--pb-line-strong);
	border-radius: var(--pb-radius-pill);
	font-size: var(--pb-fs-sm);
	font-weight: 600;
	text-align: center;
}

.pb-pill input:checked + span {
	border-color: var(--pb-blue);
	background: var(--pb-blue-tint);
	color: var(--pb-blue-deep);
}

.pb-pill input:focus-visible + span {
	box-shadow: var(--pb-focus);
}

.pb-filters__foot {
	padding-top: var(--pb-s4);
}

/* With JS on desktop, filtering is instant: no apply button. */
@media (min-width: 960px) {
	.pb-js .pb-filters__foot {
		display: none;
	}
}

/* Mobile: filters become a full-screen panel (JS) */
@media (max-width: 959.98px) {
	.pb-js .pb-filters {
		position: fixed;
		inset: 0;
		z-index: 300;
		display: none;
		flex-direction: column;
		background: var(--pb-white);
	}

	.pb-js .pb-filters.is-open {
		display: flex;
	}

	/* Keep the panel header below the WordPress admin bar (logged-in users). */
	.admin-bar .pb-js .pb-filters {
		top: 46px;
	}

	.pb-js .pb-filters__head {
		padding: var(--pb-s2) var(--pb-gutter);
		border-bottom: 1px solid var(--pb-line);
		margin: 0;
	}

	.pb-js .pb-filters__body {
		flex: 1;
		overflow-y: auto;
		padding: 0 var(--pb-gutter);
		overscroll-behavior: contain;
	}

	.pb-js .pb-filters__foot {
		padding: var(--pb-s3) var(--pb-gutter) calc(var(--pb-s3) + env(safe-area-inset-bottom));
		border-top: 1px solid var(--pb-line);
		box-shadow: 0 -4px 12px rgba(17, 24, 39, 0.06);
	}

}

@media (min-width: 783px) and (max-width: 959.98px) {
	.admin-bar .pb-js .pb-filters {
		top: 32px;
	}
}

/* Toolbar */
.pb-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pb-s3);
	margin-bottom: var(--pb-s4);
}

.pb-toolbar__count:focus,
.pb-form__status:focus {
	outline: none; /* Focused by script only, to announce the new content. */
}

.pb-toolbar__count {
	margin: 0 auto 0 0;
	font-weight: 700;
	color: var(--pb-ink);
}

.pb-toolbar__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.4rem;
	height: 1.4rem;
	padding: 0 0.35rem;
	border-radius: var(--pb-radius-pill);
	background: var(--pb-blue);
	color: var(--pb-white);
	font-size: var(--pb-fs-xs);
}

.pb-toolbar__sort {
	display: flex;
	align-items: center;
	gap: var(--pb-s2);
}

.pb-toolbar__sort label {
	color: var(--pb-muted);
	font-size: var(--pb-fs-sm);
	white-space: nowrap;
}

.pb-toolbar__sort select {
	width: auto;
	min-height: 40px;
	font-size: var(--pb-fs-sm);
}

.pb-viewtoggle {
	display: inline-flex;
	border: 1px solid var(--pb-line-strong);
	border-radius: var(--pb-radius);
	overflow: hidden;
}

.pb-viewtoggle__btn {
	display: inline-flex;
	align-items: center;
	gap: var(--pb-s1);
	min-height: 40px;
	padding: 0 var(--pb-s3);
	border: 0;
	background: var(--pb-white);
	color: var(--pb-muted);
	font: inherit;
	font-size: var(--pb-fs-sm);
	font-weight: 600;
	cursor: pointer;
}

.pb-viewtoggle__btn + .pb-viewtoggle__btn {
	border-left: 1px solid var(--pb-line-strong);
}

.pb-viewtoggle__btn[aria-pressed="true"] {
	background: var(--pb-blue-tint);
	color: var(--pb-blue-deep);
}

@media (max-width: 639.98px) {
	.pb-toolbar__count {
		width: 100%;
	}

	.pb-toolbar__sort label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.pb-toolbar__sort {
		flex: 1;
	}

	.pb-toolbar__sort select {
		width: 100%;
	}

	.pb-viewtoggle__btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
}

/* Loading state */
.pb-results {
	transition: opacity 0.2s;
}

.is-loading .pb-results,
.is-loading .pb-map {
	opacity: 0.55;
	pointer-events: none;
}

/* ---------- Cards ---------- */
.pb-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--pb-s5);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.pb-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: var(--pb-radius-lg);
	background: var(--pb-white);
	box-shadow: 0 0 0 1px var(--pb-line);
	overflow: hidden;
	transition: box-shadow 0.2s var(--pb-ease), transform 0.2s var(--pb-ease);
}

.pb-card:hover,
.pb-card:focus-within {
	box-shadow: 0 0 0 1px var(--pb-line), var(--pb-shadow-lg);
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
	.pb-card,
	.pb-card:hover {
		transition: none;
		transform: none;
	}
}

.pb-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--pb-bg-soft);
	overflow: hidden;
}

.pb-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--pb-ease);
}

.pb-card:hover .pb-card__img {
	transform: scale(1.03);
}

.pb-card__img--empty {
	background: linear-gradient(135deg, var(--pb-blue-tint), var(--pb-green-tint));
}

.pb-card__badges {
	position: absolute;
	top: var(--pb-s3);
	left: var(--pb-s3);
	display: flex;
	gap: var(--pb-s2);
}

.pb-badge {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: var(--pb-radius-pill);
	background: rgba(255, 255, 255, 0.95);
	color: var(--pb-ink);
	font-size: var(--pb-fs-xs);
	font-weight: 700;
	box-shadow: var(--pb-shadow-sm);
}

.pb-badge--rent {
	color: var(--pb-blue-deep);
}

.pb-badge--sale {
	color: var(--pb-green-deep);
}

.pb-badge--reserved {
	background: var(--pb-warn-tint);
	color: var(--pb-warn);
}

.pb-card--featured .pb-card__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 4px;
	background: var(--pb-green);
}

.pb-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--pb-s2);
	padding: var(--pb-s4) var(--pb-s4) var(--pb-s5);
	flex: 1;
}

.pb-card__price {
	margin: 0;
	color: var(--pb-ink);
	font-size: var(--pb-fs-xl);
	font-weight: 800;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}

.pb-card__per {
	font-size: var(--pb-fs-sm);
	font-weight: 600;
	color: var(--pb-muted);
}

.pb-card__title {
	margin: 0;
	font-size: var(--pb-fs-md);
	font-weight: 600;
	line-height: 1.35;
}

.pb-card__link {
	color: var(--pb-text);
	text-decoration: none;
}

/* Whole card clickable via the title link. */
.pb-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.pb-card__link:focus-visible {
	outline: none; /* The whole card shows the outline (focus-within). */
}

.pb-card:focus-within {
	outline: 3px solid var(--pb-blue-deep);
	outline-offset: 2px;
}

.pb-card__location,
.pb-card__meta {
	display: flex;
	align-items: center;
	gap: var(--pb-s1);
	margin: 0;
	color: var(--pb-muted);
	font-size: var(--pb-fs-sm);
}

.pb-card__facts {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--pb-s2) var(--pb-s4);
	margin: var(--pb-s1) 0 0;
	padding: var(--pb-s3) 0 0;
	border-top: 1px solid var(--pb-line);
	font-size: var(--pb-fs-sm);
	color: var(--pb-text);
}

.pb-card__facts li {
	display: inline-flex;
	align-items: center;
	gap: var(--pb-s1);
}

.pb-card__facts .pb-icon,
.pb-card__location .pb-icon {
	color: var(--pb-blue);
}

.pb-card__meta {
	margin-top: auto;
	font-size: var(--pb-fs-xs);
}

/* ---------- Chips ---------- */
.pb-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--pb-s2);
	margin: 0 0 var(--pb-s4);
	padding: 0;
}

.pb-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--pb-s2);
	min-height: 34px;
	padding: 0.25rem 0.5rem 0.25rem 0.85rem;
	border-radius: var(--pb-radius-pill);
	background: var(--pb-blue-tint);
	color: var(--pb-blue-deep);
	font-size: var(--pb-fs-sm);
	font-weight: 600;
	text-decoration: none;
}

.pb-chip:hover {
	background: #d6e8f6;
}

.pb-chip__x {
	font-size: 1.1rem;
	line-height: 1;
}

.pb-chips__clear {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 var(--pb-s2);
	font-size: var(--pb-fs-sm);
	font-weight: 600;
}

/* ---------- Pagination ---------- */
.pb-pagination ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--pb-s2);
	margin: var(--pb-s7) 0 0;
	padding: 0;
}

.pb-pagination a,
.pb-pagination__current,
.pb-pagination__gap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 var(--pb-s3);
	border-radius: var(--pb-radius);
	font-weight: 600;
	text-decoration: none;
}

.pb-pagination a {
	border: 1px solid var(--pb-line-strong);
	color: var(--pb-ink);
}

.pb-pagination a:hover {
	border-color: var(--pb-blue);
	color: var(--pb-blue-deep);
}

.pb-pagination__current {
	background: var(--pb-blue);
	color: var(--pb-white);
}

.pb-pagination__gap {
	min-width: auto;
	color: var(--pb-muted);
}

/* ---------- Empty state ---------- */
.pb-empty {
	padding: var(--pb-s6) 0;
}

.pb-empty__title {
	font-size: var(--pb-fs-xl);
}

.pb-empty__text {
	color: var(--pb-muted);
}

.pb-empty__subtitle {
	margin-top: var(--pb-s7);
	font-size: var(--pb-fs-lg);
}

/* ---------- Map ---------- */
.pb-map {
	position: relative;
}

.pb-map__canvas {
	height: calc(100vh - var(--pb-header-h) - 220px);
	min-height: 420px;
	border-radius: var(--pb-radius-lg);
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--pb-line);
	background: var(--pb-bg-soft);
	z-index: 0;
}

.pb-map__note {
	position: absolute;
	top: var(--pb-s4);
	left: 50%;
	transform: translateX(-50%);
	z-index: 500;
	margin: 0;
	padding: var(--pb-s2) var(--pb-s4);
	border-radius: var(--pb-radius-pill);
	background: var(--pb-white);
	box-shadow: var(--pb-shadow);
	font-size: var(--pb-fs-sm);
}

/* Price-tag markers */
.pb-pin {
	width: 0;
	height: 0;
	background: none;
	border: 0;
}

.pb-pin__label {
	position: absolute;
	left: 0;
	bottom: 8px;
	transform: translateX(-50%);
	padding: 0.3rem 0.6rem;
	border-radius: var(--pb-radius-pill);
	background: var(--pb-blue);
	color: var(--pb-white);
	font: 700 12px/1.2 var(--pb-font-sans);
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(17, 24, 39, 0.3);
	cursor: pointer;
}

.pb-pin__label::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -6px;
	margin-left: -6px;
	border: 6px solid transparent;
	border-bottom: 0;
	border-top-color: var(--pb-blue);
}

.leaflet-marker-icon.pb-pin:hover .pb-pin__label,
.leaflet-marker-icon.pb-pin:focus .pb-pin__label {
	background: var(--pb-blue-ink);
}

.leaflet-marker-icon.pb-pin:hover .pb-pin__label::after,
.leaflet-marker-icon.pb-pin:focus .pb-pin__label::after {
	border-top-color: var(--pb-blue-ink);
}

.pb-popup-wrap .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: var(--pb-radius);
	overflow: hidden;
}

.pb-popup-wrap .leaflet-popup-content {
	margin: 0;
	width: 240px !important;
}

.pb-popup {
	display: block;
	color: var(--pb-text);
	text-decoration: none;
}

.pb-popup img {
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.pb-popup__body {
	display: grid;
	gap: 2px;
	padding: var(--pb-s3);
	font: 400 13px/1.4 var(--pb-font-sans);
}

.pb-popup__price {
	font-size: 16px;
	color: var(--pb-ink);
}

.pb-popup__title {
	font-weight: 600;
}

.pb-popup__info {
	color: var(--pb-muted);
}

/* ---------- 404 ---------- */
.pb-404 .btn + .btn {
	margin-left: var(--pb-s2);
}

/* =================================================================
 * Single property page
 * ================================================================= */
.pb-property {
	padding: var(--pb-s4) 0 0;
}

.pb-breadcrumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--pb-s1) var(--pb-s2);
	margin: 0 0 var(--pb-s4);
	padding: 0;
	font-size: var(--pb-fs-sm);
	color: var(--pb-muted);
}

.pb-breadcrumbs li + li::before {
	content: "›";
	margin-right: var(--pb-s2);
	color: var(--pb-line-strong);
}

.pb-breadcrumbs a {
	color: var(--pb-muted);
	text-decoration: none;
}

.pb-breadcrumbs a:hover {
	color: var(--pb-blue-deep);
	text-decoration: underline;
}

.pb-notice {
	margin-bottom: var(--pb-s4);
	padding: var(--pb-s3) var(--pb-s4);
	border-radius: var(--pb-radius);
	background: var(--pb-blue-tint);
	color: var(--pb-blue-ink);
	font-weight: 600;
}

.pb-notice--warn {
	background: var(--pb-warn-tint);
	color: var(--pb-warn);
}

.pb-property__head {
	display: grid;
	gap: var(--pb-s3);
	margin-bottom: var(--pb-s5);
}

@media (min-width: 960px) {
	.pb-property__head {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		gap: var(--pb-s6);
	}
}

.pb-property__badges {
	display: flex;
	gap: var(--pb-s2);
	margin-bottom: var(--pb-s2);
}

.pb-badge--solid.pb-badge--rent {
	background: var(--pb-blue-tint);
	box-shadow: none;
}

.pb-badge--solid.pb-badge--sale {
	background: var(--pb-green-tint);
	box-shadow: none;
}

.pb-property__title {
	margin: 0 0 var(--pb-s2);
	font-size: var(--pb-fs-2xl);
	max-width: 30ch;
}

.pb-property__location {
	display: flex;
	align-items: center;
	gap: var(--pb-s1);
	margin: 0;
	color: var(--pb-muted);
}

.pb-property__location .pb-icon {
	color: var(--pb-blue);
}

.pb-property__pricebox {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pb-s4);
}

@media (min-width: 960px) {
	.pb-property__pricebox {
		flex-direction: column;
		align-items: flex-end;
		gap: var(--pb-s2);
	}
}

.pb-property__price {
	margin: 0;
	color: var(--pb-ink);
	font-size: var(--pb-fs-2xl);
	font-weight: 800;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.pb-property__per {
	font-size: var(--pb-fs-md);
	font-weight: 600;
	color: var(--pb-muted);
}

.pb-share {
	display: inline-flex;
	align-items: center;
	gap: var(--pb-s1);
	min-height: 40px;
	padding: 0 var(--pb-s3);
	border: 1px solid var(--pb-line-strong);
	border-radius: var(--pb-radius-pill);
	background: var(--pb-white);
	color: var(--pb-text);
	font: inherit;
	font-size: var(--pb-fs-sm);
	font-weight: 600;
	cursor: pointer;
}

.pb-share:hover {
	border-color: var(--pb-blue);
	color: var(--pb-blue-deep);
}

/* Gallery: 1 large + 4 small on desktop, single photo on mobile */
.pb-gallery {
	position: relative;
	display: grid;
	gap: var(--pb-s2);
	margin-bottom: var(--pb-s6);
}

.pb-gallery__item {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--pb-bg-soft);
	border-radius: var(--pb-radius);
}

.pb-gallery__item--main {
	aspect-ratio: 4 / 3;
	border-radius: var(--pb-radius-lg);
}

.pb-gallery__item--thumb {
	display: none;
}

.pb-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--pb-ease), filter 0.2s;
}

.pb-gallery__item:hover .pb-gallery__img {
	transform: scale(1.02);
	filter: brightness(0.95);
}

.pb-gallery__more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(11, 61, 102, 0.55);
	color: var(--pb-white);
	font-size: var(--pb-fs-xl);
	font-weight: 700;
}

.pb-gallery__all {
	position: absolute;
	right: calc(var(--pb-gutter) + var(--pb-s3));
	bottom: var(--pb-s3);
	padding: 0.5rem 0.9rem;
	border: 0;
	border-radius: var(--pb-radius-pill);
	background: rgba(255, 255, 255, 0.95);
	color: var(--pb-ink);
	font: inherit;
	font-size: var(--pb-fs-sm);
	font-weight: 700;
	box-shadow: var(--pb-shadow);
	cursor: pointer;
}

@media (min-width: 768px) {
	.pb-gallery {
		grid-template-columns: 2fr 1fr 1fr;
		grid-template-rows: repeat(2, minmax(0, 1fr));
		height: min(62vh, 560px);
	}

	.pb-gallery__item--main {
		grid-row: 1 / span 2;
		aspect-ratio: auto;
	}

	.pb-gallery__item--thumb {
		display: block;
	}

	.pb-gallery__item--main {
		border-radius: var(--pb-radius-lg) 0 0 var(--pb-radius-lg);
	}

	.pb-gallery__item--thumb:nth-child(3) {
		border-top-right-radius: var(--pb-radius-lg);
	}

	.pb-gallery__item--thumb:nth-child(5) {
		border-bottom-right-radius: var(--pb-radius-lg);
	}

	/* 2 photos: two equal halves; 1 photo: full width */
	.pb-gallery--few {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr;
	}

	.pb-gallery--few .pb-gallery__item--main {
		grid-row: auto;
	}

	.pb-gallery--few .pb-gallery__item--thumb {
		border-radius: 0 var(--pb-radius-lg) var(--pb-radius-lg) 0;
	}
}

/* Layout: content + sticky contact card */
.pb-property__layout {
	display: grid;
	gap: var(--pb-s6);
	padding-bottom: var(--pb-s8);
}

@media (min-width: 960px) {
	.pb-property__layout {
		grid-template-columns: minmax(0, 1fr) 380px;
		align-items: start;
		gap: var(--pb-s8);
	}

	.pb-property__aside {
		position: sticky;
		top: calc(var(--pb-header-h) + var(--pb-s4));
	}

	.admin-bar .pb-property__aside {
		top: calc(var(--pb-header-h) + 32px + var(--pb-s4));
	}
}

.pb-section {
	padding-bottom: var(--pb-s6);
	margin-bottom: var(--pb-s6);
	border-bottom: 1px solid var(--pb-line);
}

.pb-section:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}

.pb-section__title {
	font-size: var(--pb-fs-xl);
	margin-bottom: var(--pb-s4);
}

.pb-facts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0;
	margin: 0;
	border-top: 1px solid var(--pb-line);
}

.pb-facts__item {
	padding: var(--pb-s3) var(--pb-s3) var(--pb-s3) 0;
	border-bottom: 1px solid var(--pb-line);
}

.pb-facts dt {
	color: var(--pb-muted);
	font-size: var(--pb-fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.pb-facts dd {
	margin: 2px 0 0;
	color: var(--pb-ink);
	font-weight: 700;
	font-size: var(--pb-fs-lg);
}

.pb-prose {
	max-width: 68ch;
	font-size: var(--pb-fs-lg);
	line-height: 1.7;
}

.pb-prose p:last-child {
	margin-bottom: 0;
}

.pb-features {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: var(--pb-s3) var(--pb-s5);
	margin: 0;
	padding: 0;
}

.pb-features li {
	display: flex;
	align-items: center;
	gap: var(--pb-s2);
}

.pb-features .pb-icon {
	color: var(--pb-green-deep);
	flex: none;
}

.pb-propmap {
	height: 340px;
	border-radius: var(--pb-radius-lg);
	overflow: hidden;
	background: var(--pb-bg-soft);
	box-shadow: 0 0 0 1px var(--pb-line);
	z-index: 0;
}

.pb-propmap__note {
	margin: var(--pb-s2) 0 0;
	color: var(--pb-muted);
	font-size: var(--pb-fs-sm);
}

/* Contact card + form */
.pb-contact-card {
	padding: var(--pb-s5);
	border-radius: var(--pb-radius-lg);
	background: var(--pb-white);
	box-shadow: 0 0 0 1px var(--pb-line), var(--pb-shadow);
}

.pb-contact-card__title {
	font-size: var(--pb-fs-xl);
	margin-bottom: var(--pb-s2);
}

.pb-contact-card__text {
	color: var(--pb-muted);
	font-size: var(--pb-fs-sm);
}

.pb-contact-card__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--pb-s2);
	margin-bottom: var(--pb-s5);
}

.pb-contact-card__actions .btn:only-child {
	grid-column: 1 / -1;
}

.btn--whatsapp {
	background: #1f8f4e; /* WhatsApp-like green, AA with white text */
	color: var(--pb-white);
}

.btn--whatsapp:hover {
	background: #177540;
	color: var(--pb-white);
}

.pb-form__row {
	display: grid;
	gap: 0 var(--pb-s3);
}

@media (min-width: 480px) {
	.pb-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.pb-form__field {
	margin-bottom: var(--pb-s3);
}

.pb-form__field > label {
	display: block;
	margin-bottom: var(--pb-s1);
	font-size: var(--pb-fs-sm);
	font-weight: 600;
	color: var(--pb-ink);
}

.pb-form textarea {
	resize: vertical;
	min-height: 120px;
}

.pb-form [aria-invalid="true"] {
	border-color: #b32d2e;
}

.pb-form__error {
	margin: var(--pb-s1) 0 0;
	color: #b32d2e;
	font-size: var(--pb-fs-xs);
	font-weight: 600;
}

.pb-form__consent .pb-check {
	align-items: flex-start;
	font-size: var(--pb-fs-xs);
	line-height: 1.5;
	color: var(--pb-muted);
}

.pb-form__consent .pb-check input {
	margin-top: 2px;
}

.pb-form__status {
	margin-bottom: var(--pb-s4);
	padding: var(--pb-s3);
	border-radius: var(--pb-radius);
	font-size: var(--pb-fs-sm);
	font-weight: 600;
}

.pb-form__status[data-state="ok"] {
	background: var(--pb-green-tint);
	color: var(--pb-green-deep);
}

.pb-form__status[data-state="error"] {
	background: #fbeaea;
	color: #b32d2e;
}

.pb-form__submit[aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}

.pb-form__note {
	margin: var(--pb-s2) 0 0;
	color: var(--pb-muted);
	font-size: var(--pb-fs-xs);
}

/* Honeypot: off-screen for people, still in the DOM for bots. */
.pb-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Similar properties: 3 per row on desktop. */
@media (min-width: 960px) {
	.pb-similar .pb-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

.pb-similar {
	padding: var(--pb-s7) 0 var(--pb-s8);
	background: var(--pb-bg-soft);
}

/* Mobile action bar (call / WhatsApp / message) */
.pb-actionbar {
	position: sticky;
	bottom: 0;
	z-index: 90;
	display: flex;
	gap: var(--pb-s2);
	padding: var(--pb-s2) var(--pb-gutter) calc(var(--pb-s2) + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.97);
	border-top: 1px solid var(--pb-line);
	box-shadow: 0 -4px 12px rgba(17, 24, 39, 0.06);
}

.pb-actionbar .btn {
	flex: 1;
	padding-inline: var(--pb-s2);
}

@media (min-width: 960px) {
	.pb-actionbar {
		display: none;
	}
}

/* Lightbox */
.pb-lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(10, 14, 20, 0.96);
	color: var(--pb-white);
}

.pb-lightbox::backdrop {
	background: rgba(10, 14, 20, 0.96);
}

.pb-lightbox__bar {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--pb-s2) var(--pb-s4);
}

.pb-lightbox__count {
	font-size: var(--pb-fs-sm);
	font-variant-numeric: tabular-nums;
	opacity: 0.85;
}

.pb-lightbox__close,
.pb-lightbox__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: var(--pb-white);
	cursor: pointer;
}

.pb-lightbox__close:hover,
.pb-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.25);
}

.pb-lightbox__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 64px var(--pb-s2);
}

.pb-lightbox__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--pb-radius-sm);
}

.pb-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.pb-lightbox__nav--prev {
	left: var(--pb-s3);
}

.pb-lightbox__nav--next {
	right: var(--pb-s3);
}

@media (max-width: 639.98px) {
	.pb-lightbox__nav {
		top: auto;
		bottom: var(--pb-s4);
		transform: none;
	}
}

/* =================================================================
 * Step 4: typography refinements, home page, pages, header over hero
 * ================================================================= */

/* Serif for editorial headings; sans for small UI headings. */
h1,
h2,
h3,
h4 {
	font-weight: 600;
	letter-spacing: -0.005em;
}

.pb-card__title,
.pb-filters__title,
.pb-filter__legend,
.site-footer__title,
.pb-service__title,
.pb-step__title,
.pb-contact-card__title,
.pb-empty__title,
.pb-empty__subtitle {
	font-family: var(--pb-font-sans);
	letter-spacing: 0;
}

.pb-card__price,
.pb-property__price {
	font-family: var(--pb-font-sans);
}

.pb-eyebrow {
	margin: 0 0 var(--pb-s2);
	color: var(--pb-green-deep);
	font-size: var(--pb-fs-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pb-lead {
	max-width: 60ch;
	color: var(--pb-muted);
	font-size: var(--pb-fs-lg);
}

.pb-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: var(--pb-s2);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.pb-link-arrow:hover span {
	transform: translateX(3px);
}

.pb-link-arrow span {
	transition: transform 0.2s var(--pb-ease);
}

/* ---------- Header over the hero (home) ---------- */
.has-hero .site-header {
	position: fixed;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom-color: transparent;
	backdrop-filter: none;
	transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.has-hero .site-header .site-nav .menu a {
	color: var(--pb-white);
}

.has-hero .site-header .nav-toggle {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.35);
	color: var(--pb-white);
}

/* Solid again after scrolling or when the mobile menu is open. */
.has-hero.is-scrolled .site-header,
.has-hero .site-header:has(.site-nav.is-open) {
	background: rgba(255, 255, 255, 0.97);
	border-bottom-color: var(--pb-line);
	box-shadow: var(--pb-shadow-sm);
}

.has-hero.is-scrolled .site-header .site-nav .menu a,
.has-hero .site-header .site-nav.is-open .menu a {
	color: var(--pb-ink);
}

.has-hero.is-scrolled .site-header .nav-toggle,
.has-hero .site-header:has(.site-nav.is-open) .nav-toggle {
	background: var(--pb-white);
	border-color: var(--pb-line);
	color: var(--pb-ink);
}

/* ---------- Hero ---------- */
.pb-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(92vh, 860px);
	padding: calc(var(--pb-header-h) + var(--pb-s7)) 0 var(--pb-s7);
	background: var(--pb-blue-ink);
	color: var(--pb-white);
	overflow: hidden;
}

.pb-hero__media {
	position: absolute;
	inset: 0;
}

.pb-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Darken for text contrast (WCAG): strong at the bottom where the text sits. */
.pb-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	/* Top (header), left (text column) and bottom are darkened for WCAG contrast over busy photos. */
	background:
		linear-gradient(90deg, rgba(8, 22, 38, 0.7) 0%, rgba(8, 22, 38, 0.35) 45%, rgba(8, 22, 38, 0) 75%),
		linear-gradient(180deg, rgba(11, 30, 50, 0.55) 0%, rgba(11, 30, 50, 0.1) 30%, rgba(11, 30, 50, 0.25) 55%, rgba(8, 22, 38, 0.85) 100%);
}

.pb-hero__inner {
	position: relative;
	z-index: 1;
}

.pb-hero__eyebrow {
	margin: 0 0 var(--pb-s3);
	color: var(--pb-green);
	font-size: var(--pb-fs-xs);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.pb-hero__title {
	max-width: 16ch;
	margin: 0 0 var(--pb-s6);
	color: var(--pb-white);
	font-size: var(--pb-fs-3xl);
	line-height: 1.08;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.pb-hero-search {
	max-width: 1040px;
	padding: var(--pb-s4);
	border-radius: var(--pb-radius-lg);
	background: var(--pb-white);
	color: var(--pb-text);
	box-shadow: var(--pb-shadow-lg);
}

.pb-seg--light {
	margin-bottom: var(--pb-s4);
}

.pb-hero-search__fields {
	display: grid;
	gap: var(--pb-s3);
}

@media (min-width: 768px) {
	.pb-hero-search {
		padding: var(--pb-s5);
	}

	.pb-hero-search__fields {
		grid-template-columns: 1.4fr 1fr 1fr auto;
		align-items: end;
	}
}

.pb-hero-search__field label {
	display: block;
	margin-bottom: var(--pb-s1);
	color: var(--pb-muted);
	font-size: var(--pb-fs-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pb-hero-search__field input,
.pb-hero-search__field select {
	min-height: 50px;
	font-size: var(--pb-fs-md);
}

.pb-hero-search__submit {
	min-height: 50px;
	padding-inline: var(--pb-s6);
}

.pb-hero__quick {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pb-s2) var(--pb-s3);
	margin: var(--pb-s4) 0 0;
	font-size: var(--pb-fs-sm);
	font-weight: 600;
}

.pb-hero__quick a {
	color: var(--pb-white);
	text-underline-offset: 0.25em;
}

/* ---------- Bands (home sections) ---------- */
.pb-band {
	padding: var(--pb-s8) 0;
}

@media (min-width: 960px) {
	.pb-band {
		padding: var(--pb-s9) 0;
	}
}

.pb-band--soft {
	background: var(--pb-bg-soft);
}

/* Home cards: 3 per row on desktop (6 = 3 + 3, no orphans). */
@media (min-width: 960px) {
	.pb-band .pb-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

.pb-band__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--pb-s4);
	margin-bottom: var(--pb-s6);
}

.pb-band__head--center {
	justify-content: center;
	text-align: center;
}

.pb-band__head--center .pb-band__title {
	margin-inline: auto;
}

.pb-band__title {
	max-width: 24ch;
	margin: 0;
	font-size: var(--pb-fs-2xl);
}

/* Services */
.pb-services {
	list-style: none;
	display: grid;
	gap: var(--pb-s5);
	margin: 0;
	padding: 0;
}

@media (min-width: 768px) {
	.pb-services {
		grid-template-columns: repeat(3, 1fr);
	}
}

.pb-service {
	padding: var(--pb-s6) var(--pb-s5);
	border-radius: var(--pb-radius-lg);
	background: var(--pb-white);
	box-shadow: 0 0 0 1px var(--pb-line);
}

.pb-service__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: var(--pb-s4);
	border-radius: var(--pb-radius);
	background: var(--pb-blue-tint);
	color: var(--pb-blue-deep);
}

.pb-service:nth-child(2) .pb-service__icon {
	background: var(--pb-green-tint);
	color: var(--pb-green-deep);
}

.pb-service__title {
	font-size: var(--pb-fs-lg);
	font-weight: 700;
}

.pb-service p {
	margin: 0;
	color: var(--pb-muted);
}

/* How we work */
.pb-steps {
	list-style: none;
	counter-reset: pbstep;
	display: grid;
	gap: var(--pb-s5);
	margin: 0;
	padding: 0;
}

@media (min-width: 640px) {
	.pb-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.pb-steps {
		grid-template-columns: repeat(4, 1fr);
	}
}

.pb-step {
	counter-increment: pbstep;
	padding-top: var(--pb-s4);
	border-top: 2px solid var(--pb-line);
}

.pb-step::before {
	content: "0" counter(pbstep);
	display: block;
	margin-bottom: var(--pb-s3);
	color: var(--pb-blue);
	font-family: var(--pb-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1;
}

.pb-step__title {
	font-size: var(--pb-fs-lg);
	font-weight: 700;
	margin-bottom: var(--pb-s2);
}

.pb-step p {
	margin: 0;
	color: var(--pb-muted);
}

/* Areas grid */
.pb-areas-grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--pb-s3);
	margin: 0;
	padding: 0;
}

@media (min-width: 960px) {
	.pb-areas-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--pb-s4);
	}
}

.pb-area-tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--pb-radius-lg);
	overflow: hidden;
	background: var(--pb-blue-ink);
	color: var(--pb-white);
	text-decoration: none;
}

.pb-area-tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--pb-ease);
}

.pb-area-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(8, 22, 38, 0.85) 100%);
}

.pb-area-tile:hover .pb-area-tile__img {
	transform: scale(1.05);
}

.pb-area-tile__body {
	position: absolute;
	left: var(--pb-s4);
	right: var(--pb-s4);
	bottom: var(--pb-s3);
	z-index: 1;
	display: grid;
}

.pb-area-tile__name {
	font-family: var(--pb-font-display);
	font-size: var(--pb-fs-xl);
	font-weight: 600;
	line-height: 1.2;
}

.pb-area-tile__count {
	font-size: var(--pb-fs-sm);
	opacity: 0.9;
}

.pb-area-tile:hover,
.pb-area-tile:focus-visible {
	color: var(--pb-white);
}

/* Contact split (home + contact page) */
.pb-contact-split {
	display: grid;
	gap: var(--pb-s6);
	align-items: start;
}

@media (min-width: 960px) {
	.pb-contact-split {
		grid-template-columns: 1fr minmax(0, 480px);
		gap: var(--pb-s8);
	}
}

.pb-details {
	list-style: none;
	display: grid;
	gap: var(--pb-s4);
	margin: var(--pb-s5) 0 0;
	padding: 0;
}

.pb-details li {
	display: flex;
	gap: var(--pb-s3);
	align-items: flex-start;
}

.pb-details .pb-icon {
	flex: none;
	margin-top: 2px;
	color: var(--pb-blue);
}

.pb-details__label {
	display: block;
	color: var(--pb-muted);
	font-size: var(--pb-fs-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pb-details a {
	color: var(--pb-ink);
	font-weight: 600;
	text-decoration: none;
}

.pb-details a:hover {
	color: var(--pb-blue-deep);
	text-decoration: underline;
}

/* ---------- Generic pages ---------- */
.pb-page__head {
	padding: var(--pb-s7) 0 var(--pb-s5);
	background: var(--pb-bg-soft);
	border-bottom: 1px solid var(--pb-line);
	margin-bottom: var(--pb-s6);
}

.pb-page__title {
	margin: 0 0 var(--pb-s3);
	font-size: var(--pb-fs-3xl);
}

.pb-page__head .pb-lead {
	margin: 0;
}

.pb-page__media img {
	width: 100%;
	border-radius: var(--pb-radius-lg);
	margin-bottom: var(--pb-s6);
}

.pb-page__content {
	padding-bottom: var(--pb-s8);
}

.pb-prose h2 {
	margin-top: var(--pb-s6);
	font-size: var(--pb-fs-xl);
}

.pb-prose ul {
	padding-left: 1.25rem;
}

.pb-prose li + li {
	margin-top: var(--pb-s2);
}

.pb-page--contact .pb-contact-split {
	padding-bottom: var(--pb-s8);
}

/* ---------- Accessibility helpers ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}


/* Social links (footer, contact) */
.pb-social {
	list-style: none;
	display: flex;
	gap: var(--pb-s2);
	margin: var(--pb-s4) 0 0;
	padding: 0;
}

.pb-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--pb-blue-tint);
	color: var(--pb-blue-deep);
	transition: background-color 0.15s, color 0.15s;
}

.pb-social a:hover {
	background: var(--pb-blue);
	color: var(--pb-white);
}

.pb-social--footer a {
	background: rgba(255, 255, 255, 0.1);
	color: var(--pb-white);
}

.pb-social--footer a:hover {
	background: var(--pb-green);
	color: var(--pb-blue-ink);
}

.site-footer__gemi {
	white-space: nowrap;
}


/* Home: light logo over the dark hero, normal logo after scrolling / with the mobile menu open. */
.has-hero:not(.is-scrolled) .site-header:not(:has(.site-nav.is-open)) .brand__logo--default {
	display: none;
}

.has-hero:not(.is-scrolled) .site-header:not(:has(.site-nav.is-open)) .brand__logo--light {
	display: block;
}

/* ---------- Αναθέστε μας το ακίνητό σας ---------- */
.pb-anathesi__subtitle {
	margin: var(--pb-s6) 0 var(--pb-s3);
	font-size: var(--pb-fs-lg);
}

.pb-benefits {
	list-style: none;
	display: grid;
	gap: var(--pb-s3);
	margin: 0;
	padding: 0;
}

.pb-benefits li {
	display: flex;
	gap: var(--pb-s3);
	align-items: flex-start;
}

.pb-benefits .pb-icon {
	flex: none;
	margin-top: 2px;
	color: var(--pb-green-deep);
}

.pb-form__fieldset {
	border: 0;
	margin: 0 0 var(--pb-s3);
	padding: 0;
	min-width: 0;
}

.pb-form__fieldset legend,
.pb-form__label {
	display: block;
	margin-bottom: var(--pb-s1);
	padding: 0;
	font-size: var(--pb-fs-sm);
	font-weight: 600;
	color: var(--pb-ink);
}

.pb-seg--block {
	display: flex;
	width: 100%;
}

.pb-seg--block .pb-seg__opt {
	flex: 1;
	text-align: center;
}

.pb-seg--block .pb-seg__opt span {
	padding-inline: 0.5rem;
}

.pb-form__section {
	margin: var(--pb-s5) 0 var(--pb-s3);
	padding-top: var(--pb-s4);
	border-top: 1px solid var(--pb-line);
	font-size: var(--pb-fs-md);
}

.pb-form__hint {
	margin: var(--pb-s2) 0 0;
	color: var(--pb-muted);
	font-size: var(--pb-fs-xs);
	line-height: 1.5;
}

.pb-form__hint strong {
	display: block;
	margin-top: var(--pb-s1);
	color: var(--pb-text);
}

.pb-upload {
	position: relative;
}

.pb-upload input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}

.pb-upload__zone {
	display: grid;
	justify-items: center;
	gap: var(--pb-s2);
	padding: var(--pb-s5) var(--pb-s4);
	border: 2px dashed var(--pb-line-strong);
	border-radius: var(--pb-radius);
	background: var(--pb-bg-soft);
	color: var(--pb-blue-deep);
	text-align: center;
	font-size: var(--pb-fs-sm);
	transition: border-color 0.15s, background-color 0.15s;
}

.pb-upload:hover .pb-upload__zone,
.pb-upload.is-drag .pb-upload__zone {
	border-color: var(--pb-blue);
	background: #eef6fc;
}

.pb-upload:focus-within .pb-upload__zone {
	box-shadow: var(--pb-focus);
}

.pb-upload input[aria-invalid="true"] + .pb-upload__zone {
	border-color: #b32d2e;
}

.pb-upload__list {
	list-style: none;
	display: grid;
	gap: var(--pb-s2);
	margin: var(--pb-s3) 0 0;
	padding: 0;
}

.pb-upload__item {
	display: flex;
	align-items: center;
	gap: var(--pb-s3);
	padding: var(--pb-s2) var(--pb-s3);
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	font-size: var(--pb-fs-sm);
}

.pb-upload__name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pb-upload__size {
	color: var(--pb-muted);
	font-size: var(--pb-fs-xs);
	font-variant-numeric: tabular-nums;
}

.pb-upload__remove {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--pb-muted);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.pb-upload__remove:hover {
	background: #fbeaea;
	color: #b32d2e;
}

.pb-progress {
	margin-bottom: var(--pb-s3);
}

.pb-progress__bar {
	height: 8px;
	border-radius: var(--pb-radius-pill);
	background: var(--pb-line);
	overflow: hidden;
}

.pb-progress__bar span {
	display: block;
	height: 100%;
	background: var(--pb-blue);
	transition: width 0.2s;
}

.pb-progress__text {
	margin: var(--pb-s1) 0 0;
	color: var(--pb-muted);
	font-size: var(--pb-fs-xs);
}

/* Owner call-to-action (home services, footer). */
.pb-owner-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--pb-s4);
	margin-top: var(--pb-s7);
	padding: var(--pb-s5) var(--pb-s6);
	border-radius: var(--pb-radius-lg);
	background: var(--pb-blue-ink);
	color: rgba(255, 255, 255, 0.85);
}

.pb-owner-cta__title {
	margin: 0 0 var(--pb-s1);
	color: var(--pb-white);
	font-size: var(--pb-fs-xl);
}

.pb-owner-cta p {
	margin: 0;
}

.pb-owner-cta .btn--primary {
	background: var(--pb-green);
	border-color: var(--pb-green);
	color: var(--pb-blue-ink);
}

.pb-owner-cta .btn--primary:hover {
	background: #a3d679;
	border-color: #a3d679;
	color: var(--pb-blue-ink);
}

.site-footer__links .site-footer__owner a {
	color: var(--pb-green);
	font-weight: 600;
}


/* ---------- Language switcher ---------- */
.pb-lang {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 2px;
	list-style: none;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius-pill);
	font-size: var(--pb-fs-xs);
	font-weight: 700;
	letter-spacing: 0.04em;
}

.pb-lang a {
	display: block;
	min-width: 36px;
	padding: 0.35rem 0.6rem;
	border-radius: var(--pb-radius-pill);
	color: var(--pb-muted);
	text-align: center;
	text-decoration: none;
}

.pb-lang a:hover {
	color: var(--pb-blue-deep);
}

.pb-lang a[aria-current="true"] {
	background: var(--pb-blue);
	color: var(--pb-white);
}

.site-nav__lang {
	align-self: flex-start;
	width: max-content;
	margin: var(--pb-s3) 0;
}

/* Mobile: the switcher sits in the header bar (not inside the closed menu). */
.site-nav__lang {
	display: none;
}

.site-header__lang {
	flex: none;
}

.site-header__lang a {
	min-width: 32px;
	padding: 0.3rem 0.45rem;
}

@media (max-width: 359px) {
	.site-header__inner {
		gap: var(--pb-s2);
	}
}

@media (min-width: 960px) {
	.site-header__lang {
		display: none;
	}

	.site-nav__lang {
		display: flex;
		align-self: center;
		margin: 0;
	}
}

/* Over the dark home hero (header not scrolled). */
.has-hero:not(.is-scrolled) .site-header:not(:has(.site-nav.is-open)) .pb-lang {
	border-color: rgba(255, 255, 255, 0.4);
}

.has-hero:not(.is-scrolled) .site-header:not(:has(.site-nav.is-open)) .pb-lang a:not([aria-current="true"]) {
	color: rgba(255, 255, 255, 0.85);
}


/* ---------- Unavailable (sold / rented) ribbon ---------- */
.pb-ribbon {
	position: absolute;
	z-index: 2;
	inset: auto 0 0 0;
	padding: 0.5rem var(--pb-s3);
	background: #d00000;
	color: #fff;
	font-size: var(--pb-fs-sm);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
	pointer-events: none;
}

.pb-card:has(.pb-ribbon) .pb-card__img {
	filter: grayscale(1);
	opacity: 0.8;
}

/* Sold / rented notice on the property page: bold red, white text. */
.pb-notice--gone {
	background: #d00000;
	border-color: #d00000;
	color: #fff;
	font-weight: 700;
}
