/* =====================================================================
   IMMO 2026 — Modern design system v2
   Photo hero banners + clean light content = perfect readability
   ===================================================================== */
:root {
	--primary: #6366f1;
	--primary-dark: #4f46e5;
	--accent: #8b5cf6;
	--grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	--dark: #0f172a;
	--text: #334155;
	--gray: #64748b;
	--light: #f6f7fb;
	--white: #ffffff;
	--border: #e7e9f2;
	--shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
	--shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 24px 55px rgba(15, 23, 42, 0.16);
	--radius: 18px;
	--radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background:
		radial-gradient(900px 400px at 85% -50px, rgba(139, 92, 246, 0.07), transparent),
		radial-gradient(700px 380px at 0% 120px, rgba(99, 102, 241, 0.06), transparent),
		var(--light);
	min-height: 100vh;
}

img { max-width: 100%; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

/* ---------- Cards ---------- */
.glass-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 1.9rem;
	margin-bottom: 1.5rem;
}

/* ---------- Navbar ---------- */
.navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	transition: box-shadow .3s, background .3s;
}
.navbar.scrolled { box-shadow: var(--shadow); background: rgba(255, 255, 255, 0.96); }

.nav-container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0.65rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.nav-logo a { display: flex; align-items: center; gap: 0.8rem; }
.nav-logo img { height: 44px; width: auto; }
.logo-text h1 {
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1.2;
}
.logo-text p { font-size: 0.7rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.14em; }

.nav-menu { display: flex; list-style: none; gap: 0.3rem; }
.nav-menu a {
	display: block;
	padding: 0.5rem 0.85rem;
	border-radius: var(--radius-sm);
	text-align: center;
	transition: background .2s, transform .2s;
}
.nav-menu a .nav-title { display: block; font-size: 0.8rem; font-weight: 700; color: var(--dark); letter-spacing: 0.04em; }
.nav-menu a .nav-subtitle { display: block; font-size: 0.67rem; color: var(--gray); }
.nav-menu a:hover { background: rgba(99, 102, 241, 0.08); transform: translateY(-1px); }
.nav-menu a.active { background: var(--grad); box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35); }
.nav-menu a.active .nav-title, .nav-menu a.active .nav-subtitle { color: #fff; }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; margin-left: 0.4rem; }
.lang-current {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.75rem;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--dark);
	background: rgba(99, 102, 241, 0.07);
	border: 1px solid var(--border);
	border-radius: 999px;
	cursor: pointer;
	transition: background .2s, box-shadow .2s;
}
.lang-current:hover { background: rgba(99, 102, 241, 0.14); }
.lang-current img { width: 20px; height: auto; border-radius: 3px; box-shadow: 0 1px 3px rgba(15,23,42,.25); }
.lang-current i { font-size: 0.6rem; color: var(--gray); transition: transform .2s; }
.lang-switch.open .lang-current i { transform: rotate(180deg); }
.lang-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 160px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: var(--shadow-lg);
	padding: 0.4rem;
	display: none;
	z-index: 1200;
}
.lang-switch.open .lang-menu { display: block; animation: langDrop .18s ease; }
@keyframes langDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.lang-menu a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0.7rem;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--text);
	border-radius: 9px;
	transition: background .15s;
}
.lang-menu a img { width: 20px; height: auto; border-radius: 3px; box-shadow: 0 1px 3px rgba(15,23,42,.25); }
.lang-menu a:hover { background: rgba(99, 102, 241, 0.08); color: var(--primary); }
.lang-menu a.active { background: var(--grad); color: #fff; font-weight: 600; }

/* Hide every Google Translate artifact (engine runs invisibly) */
#google_translate_element, .goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.goog-te-gadget { height: 0; overflow: hidden; }
iframe.skiptranslate { display: none !important; }
font[style] { background: none !important; box-shadow: none !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Layout ---------- */
.main-content { min-height: 62vh; padding: 1.5rem 0 3rem; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Hero banner (home) ---------- */
.hero-banner {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background-color: var(--dark);
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow);
	margin-bottom: 2.2rem;
}
.hero-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(10, 12, 34, 0.88) 0%, rgba(30, 27, 75, 0.72) 45%, rgba(30, 27, 75, 0.38) 100%);
}
.hero-inner { position: relative; padding: 4.2rem 3rem; max-width: 860px; }
.hero-title {
	font-size: clamp(2rem, 4.6vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #fff;
	line-height: 1.12;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.grad-text {
	background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero-subtitle { margin-top: 0.7rem; font-size: 1.08rem; color: rgba(255, 255, 255, 0.85); }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background-color: var(--dark);
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow);
	margin-bottom: 1.8rem;
}
.page-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(10, 12, 34, 0.88) 0%, rgba(30, 27, 75, 0.66) 55%, rgba(30, 27, 75, 0.4) 100%);
}
.page-banner .hero-inner { padding: 2.6rem 3rem; }
.banner-title {
	font-size: clamp(1.6rem, 3.4vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
	line-height: 1.2;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.banner-subtitle { margin-top: 0.45rem; font-size: 0.98rem; color: rgba(255, 255, 255, 0.85); }
.banner-subtitle i { margin-right: 0.35rem; }

/* ---------- Alerts ---------- */
.alert {
	position: fixed;
	top: 84px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1100;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	max-width: min(620px, 92vw);
	padding: 0.9rem 1.2rem;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	font-weight: 500;
	animation: slideDown .35s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translate(-50%, -16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-close { margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; opacity: .6; }
.alert-close:hover { opacity: 1; }
.alert a { color: inherit; text-decoration: underline; }

/* ---------- Search ---------- */
.search-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.1rem;
	margin-top: 2.2rem;
}
.search-container.page-top { margin: 0 0 1.5rem; }
.search-box {
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--radius);
	padding: 1.2rem 1.3rem;
}
.search-box h3 { font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.search-box h3 i:first-child { color: #c4b5fd; }
.search-container.page-top .search-box { background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.search-container.page-top .search-box h3 { color: var(--dark); }
.search-container.page-top .search-box h3 i:first-child { color: var(--primary); }

.search-row { display: flex; gap: 0.6rem; }
.search-input {
	flex: 1;
	min-width: 0;
	padding: 0.75rem 1rem;
	font: inherit;
	font-size: 0.95rem;
	border: 1.5px solid transparent;
	border-radius: var(--radius-sm);
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: border-color .2s, box-shadow .2s;
}
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18); }
.search-btn {
	padding: 0.75rem 1.5rem;
	font: inherit;
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #fff;
	background: var(--grad);
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: transform .15s, box-shadow .2s;
	white-space: nowrap;
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45); }
.help-icon { color: rgba(255,255,255,0.7); cursor: help; margin-left: auto; }
.search-container.page-top .help-icon, .tracking-form .help-icon { color: var(--gray); }

.page-search {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.9rem 1.2rem;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	margin-bottom: 1.5rem;
}
.page-search > i { color: var(--primary); }
.page-search .search-input { box-shadow: none; border-color: var(--border); }

.tracking-form {
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
	border: 1.5px dashed rgba(99, 102, 241, 0.45);
	border-radius: var(--radius-sm);
	padding: 1.3rem;
	margin: 1.4rem 0;
}
.tracking-form h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.tracking-form h3 i:first-child { color: var(--primary); }
.tracking-form .search-input { border-color: var(--border); }

/* ---------- Filter chips (properties page) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.filter-chip {
	padding: 0.5rem 1.15rem;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--text);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
	transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.filter-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--primary); }
.filter-chip.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35); }
.results-count { font-size: 0.88rem; color: var(--gray); margin-bottom: 1rem; }
.empty-state { text-align: center; padding: 3rem; color: var(--gray); }
.empty-state i { font-size: 2.4rem; color: var(--primary); opacity: 0.4; display: block; margin-bottom: 0.8rem; }

/* ---------- Section titles ---------- */
.section-title { margin: 2.6rem 0 1.25rem; }
.section-title h2, .section-heading {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--dark);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.section-title h2 i, .section-heading i { color: var(--primary); font-size: 1.05rem; }
.section-heading { margin-bottom: 1.1rem; }

/* ---------- Property grid & cards ---------- */
.property-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
	gap: 1.4rem;
}
.property-card {
	display: block;
	padding: 0;
	overflow: hidden;
	transition: transform .25s, box-shadow .25s;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.property-image {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background-color: #e2e8f0;
	background-size: cover;
	background-position: center;
	transition: filter .3s;
}
.property-card:hover .property-image { filter: brightness(1.07); }
.property-image.small { aspect-ratio: 16 / 9; }
.property-info { display: block; padding: 1.15rem 1.3rem 1.3rem; }
.property-price { display: block; font-size: 1.15rem; font-weight: 800; color: var(--primary); margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.property-price small { font-size: 0.78rem; font-weight: 500; color: var(--gray); }
.property-title { font-size: 1rem; font-weight: 600; color: var(--dark); line-height: 1.42; }
.property-location { margin-top: 0.35rem; font-size: 0.85rem; color: var(--gray); }
.property-location i { color: var(--primary); margin-right: 0.3rem; }
.property-features { display: flex; gap: 1rem; margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--border); font-size: 0.83rem; color: var(--gray); }
.property-features i { color: var(--primary); margin-right: 0.3rem; }
.read-more-link { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--primary); }

.badge {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	border-radius: 999px;
	vertical-align: middle;
}
.badge-sold { background: #dc2626; color: #fff; box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45); }
.badge-sale { background: #059669; color: #fff; box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4); }
.badge-rent { background: #d97706; color: #fff; box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4); }
.property-image .badge { position: absolute; top: 0.9rem; left: 0.9rem; }
.banner-title .badge { font-size: 0.78rem; position: relative; top: -4px; margin-right: 0.4rem; }

/* ---------- Page layout with sidebar ---------- */
.page-layout { display: grid; grid-template-columns: 264px 1fr; gap: 1.5rem; align-items: start; }
.page-main { min-width: 0; }
.page-side { position: sticky; top: 88px; }
.side-nav { padding: 1.3rem; }
.side-nav .side-heading { margin: 1.2rem 0 0.45rem; }
.side-nav .side-heading:first-child { margin-top: 0; }
.side-nav a {
	display: block;
	padding: 0.44rem 0.65rem;
	border-radius: 9px;
	font-size: 0.9rem;
	color: var(--text);
	transition: background .2s, color .2s, padding-left .2s;
}
.side-nav a i { color: var(--primary); margin-right: 0.45rem; font-size: 0.72rem; }
.side-nav a:hover { background: rgba(99, 102, 241, 0.08); color: var(--primary); padding-left: 0.9rem; }
.side-nav a.active { background: var(--grad); color: #fff; font-weight: 600; }
.side-nav a.active i { color: #fff; }
.side-heading { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.11em; color: var(--gray); display: flex; align-items: center; gap: 0.5rem; }
.side-heading i { color: var(--primary); }

.page-hero-image img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 1.4rem; box-shadow: var(--shadow-sm); }

/* ---------- Legacy content normalisation (immo7 pages) ---------- */
.page-body { color: var(--text); }
.page-body span, .page-body p, .page-body li { font-family: inherit !important; }
.page-body span[style*="font-size:14px"], .page-body span[style*="font-size:12px"] { font-size: 1rem !important; }
.page-body span[style*="font-size:11px"] { font-size: 0.88rem !important; }
.page-body span[style*="font-size:18px"] { font-size: 1.25rem !important; font-weight: 700; }
.page-body span[style*="color:#666666"], .page-body span[style*="color:rgb(102, 102, 102)"] { color: var(--dark) !important; }
.page-body p { margin-bottom: 0.4rem; }
.page-body ul { margin: 0.8rem 0 0.8rem 1.4rem; }
.page-body li { margin-bottom: 0.5rem; }
.page-body table { width: 100% !important; border-collapse: separate; border-spacing: 12px; }
.page-body td {
	vertical-align: top;
	background: var(--light);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 1rem !important;
	transition: box-shadow .2s, transform .2s;
}
.page-body td:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.page-body td:empty { background: none; border: none; }
.page-body img { border: none !important; border-radius: 10px; box-shadow: var(--shadow-sm); height: auto !important; }
.page-body h1, .page-body h2, .page-body h3 { color: var(--dark); margin: 1rem 0 0.6rem; }
.page-body iframe { max-width: 100%; border-radius: var(--radius-sm); }
.home-text { margin-top: 2.2rem; }
.home-text td { background: transparent; border: none; padding: 0.5rem !important; }
.home-text td:hover { box-shadow: none; transform: none; }

/* ---------- Forms ---------- */
.modern-form .form-group { margin-bottom: 0.95rem; }
.modern-form label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--dark); margin-bottom: 0.32rem; }
.modern-form label span, .form-note span { color: #dc2626; }
.form-input, .form-textarea {
	width: 100%;
	padding: 0.72rem 0.95rem;
	font: inherit;
	font-size: 0.95rem;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); }
.form-textarea { resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--gray); margin: 0.6rem 0 1rem; cursor: pointer; }
.checkbox-label input { accent-color: var(--primary); width: 16px; height: 16px; flex: none; }
.form-note { margin-top: 0.7rem; font-size: 0.8rem; color: var(--gray); text-align: center; }

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.82rem 1.8rem;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff;
	background: var(--grad);
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: transform .15s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(99, 102, 241, 0.45); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: start; margin-top: 1.5rem; }
.contact-item { display: flex; gap: 0.85rem; margin-bottom: 1.05rem; font-size: 0.93rem; }
.contact-item i { color: var(--primary); margin-top: 0.28rem; width: 18px; text-align: center; }
.contact-info-card { background: linear-gradient(160deg, #ffffff 0%, #f2f3fd 100%); }

/* ---------- Property detail page ---------- */
.property-layout { display: grid; grid-template-columns: 1fr 368px; gap: 1.5rem; align-items: start; }
.property-main, .property-side { min-width: 0; }
.property-head { padding: 1.1rem 1.6rem; }
.property-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; color: var(--gray); font-size: 0.92rem; font-weight: 500; }
.print-link { margin-left: auto; font-size: 0.85rem; font-weight: 600; }
.print-link i { margin-right: 0.3rem; }

.property-gallery { padding: 1rem; }
.gallery-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.6rem; margin-top: 0.6rem; }
.thumb-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 9px;
	cursor: pointer;
	opacity: 0.72;
	transition: opacity .2s, transform .2s;
	border: 2px solid transparent;
}
.thumb-image:hover, .thumb-image.active { opacity: 1; transform: scale(1.05); border-color: var(--primary); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 0.7rem; }
.feature-item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.8rem 0.95rem;
	background: var(--light);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}
.feature-item i { color: var(--primary); font-size: 1.05rem; width: 22px; text-align: center; }
.feature-item.highlight { background: var(--grad); border-color: transparent; }
.feature-item.highlight i, .feature-item.highlight .feature-label, .feature-item.highlight .feature-value { color: #fff; }
.feature-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); }
.feature-value { display: block; font-size: 0.95rem; font-weight: 700; color: var(--dark); }

.floor-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.floor-plan-item { display: block; text-align: center; }
.floor-plan-item img { border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; }
.floor-plan-item span { display: block; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 600; }

.property-map iframe { width: 100%; min-height: 380px; border: 0; border-radius: var(--radius-sm); }
.leaflet-map { width: 100%; height: 380px; border-radius: var(--radius-sm); z-index: 1; }
.house-marker span { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: #1a1a1a; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.house-marker i { color: #fff; font-size: 15px; }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.7rem 1rem; }
.amenity { display: flex; align-items: center; gap: 0.7rem; font-size: 0.93rem; color: var(--text); padding: 0.35rem 0; }
.amenity i { color: var(--primary); width: 22px; text-align: center; font-size: 1.05rem; }
.map-area { margin: -0.4rem 0 0.9rem; color: var(--gray); font-size: 0.9rem; }
.map-area i { color: var(--primary); margin-right: 0.35rem; }

.fair-housing-link { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--gray); margin-top: 0.4rem; }
.fair-housing-link img { height: 26px; border-radius: 4px; }

/* Agent card */
.agent-card { background: linear-gradient(160deg, #ffffff 0%, #f2f3fd 100%); }
.agent-profile { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.3rem; }
.agent-photo { width: 88px; height: 88px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.agent-profile h4 { font-size: 1.05rem; color: var(--dark); }
.agent-profile p { font-size: 0.85rem; color: var(--gray); }
.email-toggle {
	margin-top: 0.45rem;
	padding: 0.32rem 0.75rem;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--primary);
	background: rgba(99, 102, 241, 0.12);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background .2s;
}
.email-toggle:hover { background: rgba(99, 102, 241, 0.2); }
.agent-email { font-size: 0.85rem; letter-spacing: 0.02em; filter: blur(4px); transition: filter .25s; user-select: none; color: var(--gray); }
.agent-email.revealed { filter: none; user-select: auto; color: var(--primary); font-weight: 600; }
.sold-note {
	display: flex;
	gap: 0.6rem;
	padding: 0.85rem 1rem;
	margin-bottom: 1.05rem;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: var(--radius-sm);
	color: #b91c1c;
	font-size: 0.87rem;
}

.side-heading { margin-bottom: 0.9rem; }
.mini-properties { display: flex; flex-direction: column; gap: 0.7rem; }
.mini-property { display: flex; gap: 0.9rem; align-items: center; padding: 0.55rem; border-radius: var(--radius-sm); transition: background .2s; }
.mini-property:hover { background: rgba(99, 102, 241, 0.07); }
.mini-img { flex: 0 0 86px; height: 64px; border-radius: 10px; background-size: cover; background-position: center; background-color: #e2e8f0; box-shadow: var(--shadow-sm); }
.mini-info { min-width: 0; }
.mini-info b { display: block; font-size: 0.88rem; color: var(--dark); line-height: 1.35; }
.mini-info i { display: block; font-style: normal; font-size: 0.78rem; color: var(--gray); margin-top: 0.2rem; }

/* ---------- Gallery navigation on the page ---------- */
.gallery-main { position: relative; }
.gallery-main img.main-image { cursor: zoom-in; display: block; }
.gal-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	font-size: 1.15rem;
	color: #fff;
	background: rgba(15, 23, 42, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	cursor: pointer;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: background .2s, transform .15s;
	z-index: 2;
}
.gal-arrow:hover { background: var(--primary); border-color: var(--primary); }
.gal-prev { left: 14px; }
.gal-prev:hover { transform: translateY(-50%) translateX(-3px); }
.gal-next { right: 14px; }
.gal-next:hover { transform: translateY(-50%) translateX(3px); }
.gal-counter {
	position: absolute;
	bottom: 12px;
	left: 14px;
	padding: 0.25rem 0.8rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	color: #fff;
	background: rgba(15, 23, 42, 0.55);
	border-radius: 999px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 2;
}
.gal-zoom {
	position: absolute;
	bottom: 12px;
	right: 14px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(15, 23, 42, 0.55);
	border-radius: 10px;
	cursor: zoom-in;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: background .2s;
	z-index: 2;
}
.gal-zoom:hover { background: var(--primary); }
@media (max-width: 600px) {
	.gal-arrow { width: 36px; height: 36px; font-size: 0.95rem; }
	.gal-prev { left: 8px; }
	.gal-next { right: 8px; }
}

/* ---------- Lightbox (property gallery) ---------- */
#lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(8, 10, 25, 0.92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
#lightbox.open { display: flex; }
#lightbox img {
	max-width: 92vw;
	max-height: 86vh;
	border-radius: 12px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
	animation: lbZoom .25s ease;
}
@keyframes lbZoom { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.lb-close {
	position: absolute;
	top: 18px;
	right: 24px;
	width: 46px;
	height: 46px;
	font-size: 1.7rem;
	line-height: 1;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	cursor: pointer;
	transition: background .2s, transform .15s;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.25); transform: rotate(90deg); }
.lb-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	font-size: 1.4rem;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	cursor: pointer;
	transition: background .2s, transform .15s;
	z-index: 1;
}
.lb-arrow:hover { background: var(--primary); border-color: var(--primary); }
.lb-prev { left: 22px; }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next { right: 22px; }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }
.lb-counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.35rem 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 999px;
}
@media (max-width: 600px) {
	.lb-arrow { width: 42px; height: 42px; font-size: 1.1rem; }
	.lb-prev { left: 8px; }
	.lb-next { right: 8px; }
	.lb-close { top: 10px; right: 12px; }
	#lightbox img { max-width: 97vw; }
}

/* ---------- Customer reviews ---------- */
.reviews-section { margin-top: 2.5rem; }
.reviews-summary { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem 1.75rem; }
.rs-score { display: flex; align-items: center; gap: 1rem; }
.rs-num { font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -0.02em; }
.rs-stars { color: #f5a623; font-size: 1.1rem; letter-spacing: 2px; }
.rs-count { color: var(--gray); font-size: 0.9rem; font-weight: 600; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.review-card { padding: 1.4rem 1.5rem; }
.review-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.review-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--shadow-sm); }
.review-av-txt { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1rem; }
.review-meta { min-width: 0; }
.review-meta b { display: block; color: var(--dark); font-size: 0.98rem; }
.review-stars { color: #f5a623; font-size: 0.82rem; letter-spacing: 1px; }
.review-date { margin-left: auto; font-size: 0.8rem; color: var(--gray); white-space: nowrap; align-self: flex-start; }
.review-text { color: var(--text); font-size: 0.93rem; line-height: 1.6; }

/* ---------- Trustpilot-style customer reviews page ---------- */
.tp-hero { text-align: center; padding: 2.5rem 1rem 1.5rem; }
.tp-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.tp-rating { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.tp-word { font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.tp-stars, .tp-score-stars, .tp-card-stars { display: inline-flex; gap: 3px; }
.tp-star { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 5px; background: #dcdce6; color: #fff; font-size: 0.9rem; }
.tp-star.on { background: #00b67a; }  /* Trustpilot green */
.tp-card-stars .tp-star, .tp-score-stars .tp-star { width: 22px; height: 22px; font-size: 0.68rem; }
.tp-based { color: var(--gray); font-size: 0.95rem; }

.tp-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; align-items: start; margin-top: 1rem; }
.tp-summary { position: sticky; top: 90px; text-align: center; padding: 1.6rem; }
.tp-score { font-size: 3rem; font-weight: 800; color: var(--dark); line-height: 1; }
.tp-score-stars { margin: 0.6rem 0 0.4rem; }
.tp-score-word { color: var(--gray); font-size: 0.9rem; font-weight: 600; margin-bottom: 1.2rem; }
.tp-bars { text-align: left; }
.tp-bar-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.8rem; }
.tp-bar-label { width: 48px; color: var(--gray); flex: none; }
.tp-bar { flex: 1; height: 9px; background: #ececf2; border-radius: 999px; overflow: hidden; }
.tp-bar-fill { display: block; height: 100%; background: #00b67a; border-radius: 999px; }
.tp-bar-pct { width: 34px; text-align: right; color: var(--gray); flex: none; }

.tp-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.tp-card { padding: 1.4rem 1.5rem; }
.tp-card-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.tp-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--shadow-sm); }
.tp-av-txt { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.tp-who b { display: block; color: var(--dark); font-size: 0.98rem; }
.tp-verified { font-size: 0.78rem; color: #00b67a; font-weight: 600; }
.tp-verified i { margin-right: 3px; }
.tp-card-stars { margin-bottom: 0.7rem; }
.tp-card-text { color: var(--text); font-size: 0.93rem; line-height: 1.6; }
.tp-card-date { display: block; margin-top: 0.8rem; font-size: 0.8rem; color: var(--gray); }

@media (max-width: 820px) {
	.tp-layout { grid-template-columns: 1fr; }
	.tp-summary { position: static; }
}

/* ---------- Footer ---------- */
.footer {
	background: #0b1120;
	color: #cbd5e1;
	margin-top: 3rem;
	position: relative;
}
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.footer-content {
	max-width: 1320px;
	margin: 0 auto;
	padding: 3rem 1.5rem 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 2rem;
}
.footer-section h3 {
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: #fff;
	margin-bottom: 1rem;
}
.footer-links a, .footer-contact p { display: block; font-size: 0.88rem; color: #94a3b8; padding: 0.26rem 0; }
.footer-links a:hover { color: #fff; }
.footer-links a i { color: var(--accent); margin-right: 0.5rem; width: 14px; }
.footer-contact i { color: var(--accent); margin-right: 0.5rem; width: 16px; }
.footer-contact a { color: #94a3b8; }
.footer-contact a:hover { color: #fff; }
.footer-assoc { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.footer-assoc img { background: #fff; border-radius: 8px; padding: 4px; height: 42px; width: auto; transition: transform .2s; }
.footer-assoc a:hover img { transform: translateY(-3px); }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.2rem 1.5rem;
	text-align: center;
	font-size: 0.82rem;
	color: #64748b;
}
.footer-bottom a { color: #94a3b8; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.property-layout { grid-template-columns: 1fr; }
	.page-layout { grid-template-columns: 224px 1fr; }
}

@media (max-width: 820px) {
	.nav-toggle { display: flex; }
	.nav-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		border-bottom: 1px solid rgba(15, 23, 42, 0.08);
		box-shadow: var(--shadow-lg);
		padding: 0.8rem;
		display: none;
	}
	.nav-menu.active { display: flex; }
	.nav-menu a { text-align: left; display: flex; align-items: baseline; gap: 0.5rem; }

	.page-layout { grid-template-columns: 1fr; }
	.page-side { position: static; order: 2; }
	.contact-grid { grid-template-columns: 1fr; }
	.form-2col { grid-template-columns: 1fr; }
	.hero-inner { padding: 2.6rem 1.6rem; }
	.page-banner .hero-inner { padding: 1.9rem 1.6rem; }
	.glass-card { padding: 1.3rem; }

	.page-body table, .page-body tbody, .page-body tr { display: block; }
	.page-body table { margin: 0 !important; }
	.page-body tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
	.page-body td { display: block; width: auto !important; }
	.page-body td[style*="width"] { width: auto !important; }
	.home-text tr { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.page-body tr { grid-template-columns: 1fr; }
	.search-row { flex-direction: column; }
	.logo-text p { display: none; }
}

/* ---------- Print ---------- */
@media print {
	.navbar, .footer, .property-side, .page-side, .alert, .hero-banner, .page-search, .filter-bar { display: none !important; }
	.glass-card { box-shadow: none; border: 1px solid #ddd; }
	.page-banner { box-shadow: none; }
	.page-banner::before { background: rgba(0,0,0,0.55); }
}
