:root {
  --navy: #0A2E56;
  --blue: #2F5D9B;
  --orange: #F05A28;
  --ivory: #F1EEE8;
  --slate: #6B6B6B;
  --white: #ffffff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--ivory);
  line-height: 1.6;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(10,46,86,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.nav a:hover { color: var(--orange); }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--blue); color: var(--white) !important; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,46,86,0.75) 0%, rgba(10,46,86,0.35) 60%, rgba(10,46,86,0.15) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 80px 0; }
.eyebrow { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.9; margin-bottom: 12px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-sub { font-size: 18px; max-width: 480px; margin-bottom: 28px; opacity: 0.95; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #d94e1f; }
.btn-secondary { background: transparent; color: var(--white); border: 1.5px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--navy); }

/* Sections */
section { padding: 80px 0; }
h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--navy);
}
.section-intro { font-size: 18px; color: var(--slate); max-width: 640px; margin-bottom: 40px; }

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.market-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  border-top: 4px solid var(--orange);
}
.market-card h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 12px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.value-list { list-style: none; }
.value-list li { margin-bottom: 16px; padding-left: 8px; border-left: 3px solid var(--orange); }
.value-image img { width: 100%; border-radius: 8px; }

.reviews { background: var(--white); }
.reviews .market-card { font-style: italic; }
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { margin-bottom: 24px; font-size: 18px; }

/* Footer */
.footer { background: var(--navy); color: var(--ivory); padding: 60px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.footer-logo { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer a { color: var(--ivory); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.fair-housing, .license { font-size: 13px; opacity: 0.8; margin-top: 16px; max-width: 480px; }
.copyright { text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(241,238,232,0.2); font-size: 13px; opacity: 0.7; }

/* Page specific */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 60px;
}
.page-hero h1 { font-family: var(--serif); font-size: 48px; font-weight: 500; }
.content { padding: 60px 0; }
.content p { margin-bottom: 16px; max-width: 720px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 15px;
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 20px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .menu-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
}
