:root {
	--admin-bar-offset: 0px;
	--header-height: 88px;
	--bg-page: #0b0d0f;
	--bg-surface: #12161a;
	--bg-panel: #181d22;
	--bg-panel-alt: #20262d;
	--border-color: rgba(255, 255, 255, 0.1);
	--text-main: #f5f4ef;
	--text-muted: rgba(245, 244, 239, 0.72);
	--text-soft: rgba(245, 244, 239, 0.52);
	--accent: #d6b980;
	--accent-strong: #f0d39b;
	--shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.35);
	--font-sans: "Poppins", "Montserrat", "Open Sans", Arial, Helvetica, sans-serif;
}

body.admin-bar {
	--admin-bar-offset: 32px;
}

@media (max-width: 782px) {
	body.admin-bar {
		--admin-bar-offset: 46px;
	}
}

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

[hidden] {
	display: none !important;
}

html {
	scroll-behavior: smooth;
	font-family: var(--font-sans) !important;
}

body {
	margin: 0;
	font-family: var(--font-sans) !important;
	background:
		radial-gradient(circle at top left, rgba(214, 185, 128, 0.08), transparent 26%),
		radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.04), transparent 24%),
		linear-gradient(180deg, #090b0d 0%, #0b0d0f 100%);
	color: var(--text-main);
	line-height: 1.65;
}

body.nav-open {
	overflow: hidden;
}

a {
	color: inherit;
}

body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-sans) !important;
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.site-header {
	position: fixed;
	top: var(--admin-bar-offset);
	left: 0;
	right: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--border-color);
	background: rgba(11, 13, 15, 0.84);
	backdrop-filter: blur(18px);
}

.site-header__inner {
	min-height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	color: var(--text-main);
	text-decoration: none;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.site-logo-image {
	max-height: 54px;
	width: auto;
}

.site-navigation .menu {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-navigation a,
.footer-links a,
.text-link {
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.site-navigation a:hover,
.site-navigation a:focus,
.footer-links a:hover,
.footer-links a:focus,
.text-link:hover,
.text-link:focus {
	color: var(--text-main);
}

.nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 0;
	width: 44px;
	height: 44px;
	position: relative;
}

.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text-main);
	margin: 5px auto;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 900;
}

.site-main {
	padding-top: calc(var(--header-height) + var(--admin-bar-offset));
}

.hero {
	position: relative;
	overflow: hidden;
	min-height: clamp(380px, 58vh, 760px);
	display: flex;
	align-items: flex-end;
	padding: 72px 0;
}

.hero--compact {
	min-height: clamp(320px, 45vh, 520px);
}

.hero__media,
.hero__overlay {
	position: absolute;
	inset: 0;
}

.hero__media {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: grayscale(0.35);
	transform: scale(1.04);
}

.hero__overlay {
	background:
		linear-gradient(180deg, rgba(9, 11, 13, 0.3), rgba(9, 11, 13, 0.88)),
		linear-gradient(90deg, rgba(9, 11, 13, 0.72), transparent 65%);
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 760px;
	padding-top: 40px;
}

.hero__eyebrow,
.card__eyebrow {
	margin: 0 0 14px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.78rem;
	color: var(--accent-strong);
}

.hero__title {
	margin: 0;
	font-size: clamp(2.5rem, 7vw, 5rem);
	line-height: 0.96;
	letter-spacing: -0.04em;
}

.hero__subtitle,
.section-heading p,
.panel p,
.card__body p,
.timeline-card p,
.trust-card p,
.detail-list,
.narrow-copy,
.empty-state p {
	color: var(--text-muted);
}

.hero__subtitle {
	max-width: 620px;
	font-size: clamp(1.04rem, 2vw, 1.32rem);
	margin: 18px 0 0;
}

.hero__meta,
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 22px;
}

.hero__meta-item {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(7, 8, 10, 0.35);
	font-size: 0.95rem;
}

.hero__meta-item--price {
	font-weight: 700;
	color: var(--accent-strong);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	background: var(--accent);
	color: #15181d;
	text-decoration: none;
	font-weight: 700;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus {
	transform: translateY(-1px);
	background: var(--accent-strong);
}

.button--secondary {
	background: transparent;
	color: var(--text-main);
	border-color: rgba(255, 255, 255, 0.24);
}

.button--secondary:hover,
.button--secondary:focus {
	background: rgba(255, 255, 255, 0.06);
}

.section {
	padding: 72px 0;
}

.section--surface {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.04));
	border-top: 1px solid rgba(255, 255, 255, 0.03);
	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section--compact {
	padding-top: 0;
}

.narrow-copy {
	width: min(760px, 100%);
}

.narrow-copy > *:first-child {
	margin-top: 0;
}

.section-heading {
	max-width: 720px;
	margin-bottom: 28px;
}

.section-heading--left {
	max-width: 100%;
}

.section-heading h2,
.panel h2,
.empty-state h2 {
	margin: 0 0 12px;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	letter-spacing: -0.03em;
}

.card-grid,
.trust-grid,
.timeline-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.timeline-card,
.trust-card,
.panel,
.empty-state,
.section-cta {
	border-radius: 22px;
	border: 1px solid var(--border-color);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
	box-shadow: var(--shadow-lg);
}

.card {
	overflow: hidden;
}

.card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
}

.card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, rgba(214, 185, 128, 0.1), rgba(255, 255, 255, 0.02));
	overflow: hidden;
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__icon {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-size: 3rem;
}

.card__badge {
	position: absolute;
	top: 16px;
	right: 16px;
}

.card__body {
	padding: 20px;
}

.card__body h2,
.card__body h3,
.timeline-card h3,
.trust-card h3 {
	margin: 0 0 10px;
	font-size: 1.4rem;
}

.card__meta {
	margin: 0 0 12px;
	color: var(--text-soft);
}

.card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0;
}

.card__tags span,
.status-pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.9rem;
	background: rgba(255, 255, 255, 0.04);
}

.status-for-sale { color: #9fddb2; }
.status-sale-agreed { color: #f5cf86; }
.status-sold { color: #f08d8d; }
.status-for-rent { color: #99c9eb; }
.status-upcoming { color: #d7b3f4; }
.status-contact { color: #d0d3d8; }
.status-default { color: #d0d3d8; }

.timeline-card,
.trust-card,
.panel,
.empty-state,
.section-cta {
	padding: 24px;
}

.timeline-card__index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(214, 185, 128, 0.14);
	border: 1px solid rgba(214, 185, 128, 0.28);
	color: var(--accent-strong);
	font-weight: 700;
	margin-bottom: 16px;
}

.trust-card__media {
	margin-bottom: 16px;
}

.trust-card__media img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 50%;
}

.trust-card__media span {
	font-size: 2rem;
}

.section-actions,
.panel__actions {
	margin-top: 18px;
}

.section-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
	gap: 28px;
	align-items: start;
}

.detail-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 12px;
}

.detail-list li {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.detail-list strong {
	color: var(--text-main);
	font-size: 0.9rem;
}

.agent-card h3 {
	margin-top: 0;
}

.contact-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.page-intro {
	font-size: 1.1rem;
}

.form-shell .wpcf7,
.form-shell form {
	display: block;
}

.form-shell input[type="text"],
.form-shell input[type="email"],
.form-shell input[type="tel"],
.form-shell input[type="url"],
.form-shell textarea,
.form-shell select {
	width: 100%;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid var(--border-color);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-main);
}

.form-shell input[type="submit"],
.form-shell button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 0;
	background: var(--accent);
	color: #15181d;
	font-weight: 700;
}

.map-panel__embed {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--border-color);
	margin-bottom: 14px;
}

.map-panel__embed::before {
	content: "";
	display: block;
	padding-top: 56%;
}

.map-panel__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.gallery-viewer {
	display: grid;
	gap: 14px;
}

.gallery-viewer__stage {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid var(--border-color);
	background: #06080a;
	min-height: 320px;
}

.gallery-viewer__main {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: zoom-in;
}

.gallery-viewer__main img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.gallery-viewer__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	border: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(7, 8, 10, 0.64);
	color: var(--text-main);
}

.gallery-viewer__nav--prev { left: 16px; }
.gallery-viewer__nav--next { right: 16px; }

.gallery-viewer__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
	gap: 10px;
}

.gallery-viewer__thumb {
	padding: 0;
	border: 1px solid var(--border-color);
	border-radius: 14px;
	overflow: hidden;
	background: transparent;
	cursor: pointer;
}

.gallery-viewer__thumb.is-active {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px rgba(214, 185, 128, 0.35);
}

.gallery-viewer__thumb img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.model-panel {
	display: grid;
	gap: 16px;
}

.model-panel__poster,
.model-panel__viewer {
	border-radius: 22px;
	border: 1px solid var(--border-color);
	overflow: hidden;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	min-height: 320px;
}

.model-panel__poster {
	display: grid;
	place-items: center;
	padding: 20px;
	gap: 16px;
}

.model-panel__poster img,
.model-panel__viewer model-viewer {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.model-panel__viewer {
	position: relative;
}

.model-panel__fullscreen {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
}

.site-footer {
	padding: 56px 0 34px;
	border-top: 1px solid var(--border-color);
	background: rgba(0, 0, 0, 0.28);
}

.post-entry + .post-entry {
	margin-top: 26px;
	padding-top: 26px;
	border-top: 1px solid var(--border-color);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.site-footer__panel h2 {
	margin-top: 0;
	font-size: 1.2rem;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 24px;
}

.site-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1500;
	display: grid;
	place-items: center;
	background: rgba(4, 5, 7, 0.9);
}

.site-lightbox__image {
	max-width: min(92vw, 1200px);
	max-height: 86vh;
	object-fit: contain;
}

.site-lightbox__close,
.site-lightbox__nav {
	position: absolute;
	border: 0;
	border-radius: 50%;
	background: rgba(18, 22, 26, 0.82);
	color: var(--text-main);
	width: 48px;
	height: 48px;
}

.site-lightbox__close { top: 20px; right: 20px; }
.site-lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.site-lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }

[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 980px) {
	.card-grid,
	.trust-grid,
	.timeline-grid,
	.site-footer__grid,
	.contact-layout,
	.detail-layout {
		grid-template-columns: 1fr 1fr;
	}

	.detail-layout__main,
	.detail-layout__side {
		grid-column: span 2;
	}

	.section-cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 782px) {
	.nav-toggle {
		display: inline-block;
	}

	.site-navigation {
		position: fixed;
		top: calc(var(--header-height) + var(--admin-bar-offset));
		right: 20px;
		left: 20px;
		padding: 20px;
		border-radius: 22px;
		border: 1px solid var(--border-color);
		background: rgba(18, 22, 26, 0.96);
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.site-navigation.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.site-navigation .menu {
		flex-direction: column;
		align-items: flex-start;
	}

	.card-grid,
	.trust-grid,
	.timeline-grid,
	.site-footer__grid,
	.contact-layout,
	.detail-layout {
		grid-template-columns: 1fr;
	}

	.detail-layout__main,
	.detail-layout__side {
		grid-column: auto;
	}

	.hero {
		min-height: 360px;
	}

	.hero__title {
		font-size: clamp(2.1rem, 10vw, 3.4rem);
	}

	.container {
		width: min(1180px, calc(100% - 28px));
	}
}
