:root {
	--navy:        #1a2b47;
	--navy-dark:   #0f1c30;
	--navy-light:  #e8ecf3;
	--gold:        #c9a25d;
	--gold-dark:   #a8823f;
	--cream:       #f7f5f1;
	--text-dark:   #1a1a1a;
	--text-mid:    #4a4a4a;
	--text-muted:  #797979;
	--white:       #ffffff;
	--radius:      14px;
	--radius-lg:   22px;
	--font-heading: 'Playfair Display', serif;
	--font-body:    'Inter', sans-serif;
	--shadow: 0 8px 24px rgba(15,28,48,0.10);
	--shadow-lg: 0 20px 48px rgba(15,28,48,0.16);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text-dark);
	background: var(--white);
	line-height: 1.6;
	overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: var(--navy); margin: 0 0 12px; line-height: 1.2; }
p { margin: 0 0 16px; color: var(--text-mid); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-alt { background: var(--cream); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); }
.link-arrow { font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 50px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; transition: all .25s ease; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }

/* Top bar */
.top-bar { background: var(--navy-dark); color: rgba(255,255,255,0.85); font-size: 13px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 8px; }
.top-bar-contact span { margin-right: 20px; }
.top-bar-contact i { color: var(--gold); margin-right: 6px; }
.top-bar-social a { color: rgba(255,255,255,0.85); margin-left: 14px; }

/* Header */
.site-header { background: var(--white); box-shadow: 0 2px 10px rgba(15,28,48,0.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--navy); }
.logo-icon { color: var(--gold); font-size: 22px; }
.logo-accent { color: var(--gold-dark); font-weight: 800; margin-left: 4px; }
.nav-menu { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav-menu a { font-weight: 600; font-size: 14.5px; color: var(--text-dark); }
.nav-menu a:hover { color: var(--gold-dark); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--navy); }

/* Hero */
.hero-section { position: relative; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: var(--white); padding: 90px 0 60px; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(201,162,93,0.18), transparent 55%); }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-inner .eyebrow { color: var(--gold); }
.hero-inner h1 { color: var(--white); font-size: clamp(32px, 5vw, 54px); max-width: 780px; margin: 0 auto 18px; }
.hero-inner > p { color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto 36px; font-size: 17px; }

.search-bar { background: var(--white); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: end; box-shadow: var(--shadow-lg); max-width: 1000px; margin: 0 auto; }
.search-field { flex: 1; min-width: 140px; text-align: left; }
.search-field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 6px; }
.search-field select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--navy-light); border-radius: 10px; font-size: 14px; color: var(--text-dark); background: var(--white); }
.search-btn { flex-shrink: 0; height: 44px; padding: 0 28px; }

.hero-stats { display: flex; justify-content: center; gap: 56px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-family: var(--font-heading); font-size: 30px; color: var(--gold); }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; }

/* Property grid + cards */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.property-card { display: block; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.property-photo { position: relative; height: 210px; display: flex; align-items: center; justify-content: center; }
.property-photo-icon { font-size: 54px; color: rgba(255,255,255,0.35); }
.badge { position: absolute; top: 14px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 12px; border-radius: 50px; }
.badge-featured { left: 14px; background: var(--gold); color: var(--navy-dark); }
.badge-status { right: 14px; background: rgba(255,255,255,0.92); color: var(--navy); }
.property-body { padding: 22px; }
.property-price { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--navy); }
.property-price span { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.property-title { font-size: 17px; margin: 8px 0 6px; }
.property-address { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.property-address i { color: var(--gold-dark); margin-right: 4px; }
.property-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-mid); border-top: 1px solid var(--navy-light); padding-top: 14px; }
.property-meta i { color: var(--gold-dark); margin-right: 4px; }

/* Neighborhoods */
.hood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hood-card { display: block; border-radius: var(--radius-lg); padding: 32px 26px; color: var(--white); min-height: 180px; position: relative; transition: transform .3s ease; }
.hood-card:hover { transform: translateY(-4px); }
.hood-card h3 { color: var(--white); font-size: 20px; }
.hood-card p { color: rgba(255,255,255,0.8); font-size: 13.5px; margin-bottom: 20px; }
.hood-count { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold); }

/* Agents */
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.agent-card { background: var(--white); border: 1px solid var(--navy-light); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; }
.agent-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-heading); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.agent-card h3 { font-size: 18px; margin-bottom: 4px; }
.agent-title { font-size: 13.5px; color: var(--gold-dark); font-weight: 600; margin-bottom: 4px; }
.agent-license { font-size: 12px; color: var(--text-muted); margin-bottom: 18px; }
.agent-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.agent-contact a { color: var(--navy); font-weight: 600; }
.agent-contact i { color: var(--gold-dark); margin-right: 6px; }

/* Page header (archive) */
.page-header { background: var(--cream); padding: 60px 0 44px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; background: var(--white); border: 1px solid var(--navy-light); border-radius: var(--radius); padding: 18px; }
.filter-bar select { padding: 10px 12px; border: 1.5px solid var(--navy-light); border-radius: 10px; font-size: 14px; }
.results-count { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.pagination { margin-top: 40px; display: flex; gap: 8px; justify-content: center; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--navy-light); font-size: 14px; }

/* Single property */
.property-hero { position: relative; padding: 100px 0 50px; color: var(--white); overflow: hidden; }
.property-hero-icon { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); font-size: 220px; color: rgba(255,255,255,0.08); }
.property-hero-inner { position: relative; z-index: 1; }
.property-hero-inner h1 { color: var(--white); font-size: clamp(28px, 4vw, 42px); margin: 14px 0 10px; }
.property-hero-inner p { color: rgba(255,255,255,0.8); font-size: 15px; }
.property-hero-inner i { color: var(--gold); }

.property-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.property-price-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 24px; border-bottom: 2px solid var(--navy-light); margin-bottom: 32px; }
.property-price-big { font-family: var(--font-heading); font-size: 34px; font-weight: 700; color: var(--navy); }
.property-price-big span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.property-quickstats { display: flex; gap: 22px; font-size: 14.5px; font-weight: 600; }
.property-quickstats i { color: var(--gold-dark); margin-right: 6px; }
.property-description { margin-bottom: 20px; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.details-grid div { background: var(--cream); border-radius: 10px; padding: 16px; }
.details-grid span { display: block; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.details-grid strong { font-size: 16px; color: var(--navy); }
.property-map { border-radius: var(--radius); overflow: hidden; }

.property-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.agent-contact-card, .tour-card { background: var(--cream); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.agent-avatar-sm { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-heading); font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.agent-contact-name { font-weight: 700; font-size: 16px; color: var(--navy); }
.agent-contact-title { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.agent-contact-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.tour-card { text-align: left; }
.tour-card h3 { text-align: center; }
.tour-card form { display: flex; flex-direction: column; gap: 10px; }
.tour-card input { padding: 11px 14px; border: 1.5px solid var(--navy-light); border-radius: 10px; font-size: 14px; }

/* CTA + Footer */
.cta-section { background: var(--navy); color: var(--white); padding: 72px 0; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-text h2 { color: var(--white); font-size: 28px; }
.cta-text p { color: rgba(255,255,255,0.78); }
.cta-form { display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,0.06); padding: 24px; border-radius: var(--radius-lg); }
.cta-form input { padding: 12px 14px; border-radius: 10px; border: none; font-size: 14px; }

.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 44px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-widget-title { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.contact-list i { color: var(--gold); margin-top: 3px; }
.footer-social a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border-radius: 50%; margin-right: 8px; margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 13px; text-align: center; color: rgba(255,255,255,0.5); }
.footer-bottom em { font-style: italic; }

.scroll-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--navy); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 99; }
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* Responsive */
@media (max-width: 991px) {
	.property-grid, .hood-grid, .agent-grid { grid-template-columns: repeat(2, 1fr); }
	.property-layout, .cta-inner { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.nav-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); flex-direction: column; padding: 90px 30px; gap: 22px; transition: right .3s ease; box-shadow: var(--shadow-lg); }
	.nav-menu.open { right: 0; }
	.menu-toggle { display: flex; }
	.property-grid, .hood-grid, .agent-grid { grid-template-columns: 1fr; }
	.details-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.top-bar-contact span:nth-child(2) { display: none; }
	.search-bar { flex-direction: column; align-items: stretch; }
	.search-btn { width: 100%; justify-content: center; }
}
