:root {
	--brand: #1a365d; /* Fallback brand color; will be updated from logo */
	--brand-2: #2b6cb0; /* Accent */
	--brand-3: #e6eef8; /* Light background */
	--text: #0f172a;
	--muted: #475569;
	--surface: #ffffff;
	--border: #e2e8f0;
	--shadow: 0 10px 30px rgba(0,0,0,0.06);
}

* {
	box-sizing: border-box;
}

html, body {
	padding: 0;
	margin: 0;
	color: var(--text);
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	line-height: 1.6;
	background: #fafbfc;
}

.container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header / Nav */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}
.nav-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	position: relative;
}
.nav-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 12px;
}
.nav-toggle {
	display: none;
	border: none;
	background: none;
	font-size: 26px;
	color: var(--brand);
	cursor: pointer;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text);
}
.brand img {
	height: 44px;
	width: auto;
	display: block;
	border-radius: 6px;
	box-shadow: var(--shadow);
	background: #fff;
}
.brand-text {
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.2px;
	white-space: nowrap;
}
.site-nav {
	display: flex;
	gap: 18px;
}
.site-nav a {
	text-decoration: none;
	color: var(--muted);
	font-weight: 600;
	padding: 8px 10px;
	border-radius: 8px;
}
.site-nav a:hover {
	color: var(--brand);
	background: var(--brand-3);
}
@media (max-width: 768px) {
	.nav-toggle {
		display: inline-flex;
	}
	.site-nav {
		position: absolute;
		top: 58px;
		right: 20px;
		background: var(--surface);
		border: 1px solid var(--border);
		border-radius: 12px;
		padding: 12px;
		box-shadow: var(--shadow);
		display: none;
		flex-direction: column;
		gap: 12px;
		width: min(220px, 70vw);
	}
	.site-nav.open {
		display: flex;
	}
}

/* Hero */
.hero {
	position: relative;
	border-bottom: 1px solid var(--border);
	background: #0f172a;
	color: var(--text);
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.82);
	z-index: 1;
}
.hero-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
	padding: 48px 0;
}
@media (max-width: 768px) {
	.hero {
		padding: 0;
	}
	.hero-inner {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
		gap: 16px;
		padding: 32px 0 40px;
	}
	.hero-logo {
		order: -1;
		max-width: 100px;
		margin: 0 auto;
		padding: 8px;
		box-shadow: 0 4px 12px rgba(0,0,0,0.08);
		display: block;
		justify-self: center;
	}
	.hero-content {
		text-align: center;
		padding: 0 16px;
	}
	.hero-content h1 {
		font-size: 22px;
		margin-bottom: 8px;
		line-height: 1.3;
	}
	.hero-content p {
		font-size: 14px;
		color: #374151;
		line-height: 1.5;
		margin-bottom: 16px;
	}
	.hero-cta {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
	.hero-cta .btn {
		width: 100%;
		max-width: 260px;
		font-size: 15px;
		padding: 12px 16px;
	}
}
.hero-logo {
	max-width: 200px;
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: var(--shadow);
	background: #fff;
	padding: 12px;
}
@media (max-width: 768px) {
	.hero-logo {
		max-width: 120px;
		margin: 0;
	}
}
.hero-carousel {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	animation: heroSlide 36s infinite;
	will-change: opacity, transform;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }
.hero-slide:nth-child(6) { animation-delay: 30s; }

@keyframes heroSlide {
	0% { opacity: 0; transform: scale(1.05); }
	5% { opacity: 1; transform: scale(1); }
	25% { opacity: 1; transform: scale(1); }
	30% { opacity: 0; transform: scale(1.05); }
	100% { opacity: 0; transform: scale(1.05); }
}
.hero-content h1 {
	margin: 0 0 12px;
	font-size: 32px;
	line-height: 1.2;
	color: var(--brand);
}
.hero-content p {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 18px;
}
.btn {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	text-decoration: none;
	font-weight: 700;
	box-shadow: var(--shadow);
}
.btn.primary {
	border-color: transparent;
	background: var(--brand);
	color: #fff;
}
.btn.primary:hover {
	filter: brightness(1.05);
}
.hero-cta {
	display: flex;
	gap: 10px;
}

/* Sections */
.section {
	padding: 44px 0;
	background: #fff;
}
.section.section-alt {
	--section-bg: #f8fafc;
	background: #f8fafc;
}
.section-divider {
	padding: 40px 0;
	background: var(--brand-3);
	border-top: 2px solid var(--border);
	border-bottom: 2px solid var(--border);
}
.stats-blurb {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 32px;
	text-align: center;
}
@media (min-width: 640px) {
	.stats-blurb {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.stat-number {
	font-size: 36px;
	font-weight: 800;
	color: var(--brand);
	line-height: 1;
}
@media (min-width: 640px) {
	.stat-number {
		font-size: 42px;
	}
}
.stat-label {
	font-size: 16px;
	color: var(--muted);
	font-weight: 600;
}
.section h2 {
	margin: 0 0 10px;
	font-size: 26px;
	color: var(--brand);
}
.section-lead {
	margin: 0 0 18px;
	color: var(--muted);
}
.note {
	margin-top: 6px;
	font-size: 14px;
	color: var(--muted);
}
.note a {
	color: var(--brand-2);
}

/* Team */
.team-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 16px;
	margin-top: 14px;
}
@media (min-width: 640px) {
	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 960px) {
	.team-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
.team-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px;
	box-shadow: var(--shadow);
	text-align: center;
}
.avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	margin: 6px auto 10px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--brand-3);
	display: grid;
	place-items: center;
	position: relative;
}
.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.avatar.fallback::after {
	content: attr(data-initials);
	font-weight: 800;
	font-size: 40px;
	color: var(--brand);
}
.team-name {
	margin: 0;
	font-size: 18px;
	color: var(--text);
}
.team-title {
	margin: 4px 0 0;
	color: var(--muted);
	font-size: 14px;
}

/* Properties carousel */
.properties-carousel {
	display: flex;
	align-items: center;
	gap: 14px;
	position: relative;
}
.properties-carousel::before,
.properties-carousel::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 60px;
	pointer-events: none;
	z-index: 1;
	background: linear-gradient(90deg, rgba(248,250,252,1) 0%, rgba(248,250,252,0) 100%);
}
.properties-carousel::after {
	right: 0;
	transform: rotate(180deg);
}
.properties-carousel::before {
	left: 0;
}
.carousel-btn {
	border: none;
	background: rgba(255,255,255,0.92);
	color: var(--brand);
	width: 42px;
	height: 42px;
	border-radius: 999px;
	box-shadow: var(--shadow);
	font-size: 24px;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: transform .1s ease, box-shadow .1s ease;
}
.carousel-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}
.properties-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 6px;
	margin: 0 -6px;
}
.properties-track::-webkit-scrollbar {
	display: none;
}
.properties-track {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.properties-track:hover {
	scrollbar-width: thin;
}
.properties-track::-webkit-scrollbar {
	height: 6px;
}
.properties-track::-webkit-scrollbar-thumb {
	background: rgba(148, 163, 184, 0.6);
	border-radius: 999px;
}
.property-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 0;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	transition: transform .2s ease, box-shadow .2s ease;
	cursor: pointer;
	min-width: 300px;
	scroll-snap-align: start;
	overflow: hidden;
}
@media (min-width: 640px) {
	.property-card {
		min-width: 340px;
	}
}
.property-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.property-card-body {
	padding: 16px;
}
@media (max-width: 640px) {
	.carousel-btn {
		display: none;
	}
	.properties-carousel {
		gap: 8px;
	}
	.properties-carousel::before,
	.properties-carousel::after {
		display: none;
	}
	.property-card {
		min-width: 280px;
		box-shadow: 0 1px 8px rgba(0,0,0,0.08);
	}
	.property-card-body {
		padding: 14px;
	}
	.property-name {
		font-size: 16px;
	}
	.property-rent {
		font-size: 16px;
	}
	.property-photo {
		height: 160px;
	}
}
@media (max-width: 400px) {
	.property-card {
		min-width: 240px;
	}
	.property-card-body {
		padding: 12px;
	}
	.property-photo {
		height: 150px;
	}
}
.property-photo {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 0;
	margin-bottom: 0;
	background: var(--brand-3);
}
@media (min-width: 640px) {
	.property-photo {
		height: 220px;
	}
}
.property-name {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 600;
	color: var(--text);
	line-height: 1.3;
}
.property-meta {
	margin: 0 0 4px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
}
.property-rent {
	margin: 10px 0 8px;
	color: var(--brand);
	font-size: 18px;
	font-weight: 700;
}
.property-tags {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.tag {
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--brand-3);
	color: var(--brand);
	font-size: 11px;
	font-weight: 600;
	border: none;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.property-cta {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--border);
	font-size: 13px;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 4px;
}
.property-cta::before {
	content: '🚗';
	font-size: 14px;
}

/* Map */
.map-wrap {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: #fff;
}
.map {
	width: 100%;
	height: 440px;
}
@media (max-width: 640px) {
	.map {
		height: 320px;
	}
}

/* Contact */
.contact-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
.form-row {
	display: grid;
	gap: 6px;
}
label {
	font-weight: 600;
	color: var(--muted);
}
input, textarea, select {
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 10px 12px;
	font: inherit;
	background: var(--surface);
}
.form-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
@media (max-width: 640px) {
	.form-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}
	.form-actions .btn {
		width: 100%;
	}
}
.contact-note {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

/* Map popup */
.popup-content {
	text-align: left;
}
.popup-photo {
	margin-top: 8px;
}
.popup-photo img {
	width: 100%;
	max-width: 220px;
	border-radius: 8px;
	display: block;
}

/* Footer */
.site-footer {
	background: #0b1220;
	color: #cbd5e1;
	padding: 20px 0;
}
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Utilities */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


