/* Listed Real Estate — listedrealestate.forsale */
:root {
  --navy: #16243d;
  --navy-light: #1f3458;
  --gold: #c9a227;
  --gold-light: #e3c565;
  --off-white: #f7f5f0;
  --text: #2b2b2b;
  --text-muted: #6b7280;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; color: var(--navy); }

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

/* Header */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  color: var(--white);
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: .5px;
}

.logo span { color: var(--gold); }

nav a {
  color: #d6dbe6;
  text-decoration: none;
  margin-left: 28px;
  font-size: .95rem;
  transition: color .2s;
}

nav a:hover, nav a.active { color: var(--gold-light); }

nav a.btn-nav {
  background: var(--gold);
  color: var(--navy);
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 600;
}

nav a.btn-nav:hover { background: var(--gold-light); color: var(--navy); }

/* Hero */
.hero {
  background: linear-gradient(rgba(22,36,61,.82), rgba(22,36,61,.82)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600"><rect fill="%231f3458" width="1200" height="600"/><polygon fill="%2316243d" points="0,600 400,250 700,450 1200,150 1200,600"/><polygon fill="%23223a63" points="0,600 300,380 650,520 1200,300 1200,600"/></svg>') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 110px 24px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  color: #d6dbe6;
  max-width: 640px;
  margin: 0 auto 34px;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.btn:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
  margin-left: 14px;
}

.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* Sections */
section { padding: 72px 0; }

.section-alt { background: var(--off-white); }

.section-title { text-align: center; font-size: 2rem; margin-bottom: 10px; }

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* Services grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid #e6e3da;
  border-radius: 8px;
  padding: 34px 28px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}

.card:hover { box-shadow: 0 8px 24px rgba(22,36,61,.10); transform: translateY(-3px); }

.card .icon { font-size: 2.2rem; margin-bottom: 14px; }

.card h3 { font-size: 1.25rem; margin-bottom: 10px; }

.card p { color: var(--text-muted); font-size: .97rem; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat h3 { color: var(--gold); font-size: 2.4rem; }

.stat p { color: #d6dbe6; }

.stats-band { background: var(--navy); padding: 56px 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  color: var(--white);
  padding: 72px 24px;
}

.cta-band h2 { color: var(--white); font-size: 1.9rem; margin-bottom: 14px; }

.cta-band p { color: #d6dbe6; margin-bottom: 30px; }

/* About */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col img, .placeholder-img {
  width: 100%;
  border-radius: 8px;
}

.placeholder-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid #e6e3da;
  border-radius: 10px;
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 6px 24px rgba(22,36,61,.07);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-group { margin-bottom: 18px; }

label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.required::after { content: " *"; color: #c0392b; }

input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd4dd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}

textarea { resize: vertical; min-height: 110px; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--off-white);
  border: 1px solid #e6e3da;
  border-radius: 6px;
  padding: 16px;
  margin: 22px 0;
}

.consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--navy);
}

.consent label {
  font-weight: 400;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}

.consent a { color: var(--navy); font-weight: 600; }

.form-note { font-size: .85rem; color: var(--text-muted); margin-top: 14px; text-align: center; }

/* Contact info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
  text-align: center;
}

/* Privacy policy */
.legal { max-width: 800px; margin: 0 auto; }

.legal h1 { font-size: 2.1rem; margin-bottom: 8px; }

.legal .updated { color: var(--text-muted); font-size: .9rem; margin-bottom: 36px; }

.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; }

.legal p, .legal li { color: var(--text); margin-bottom: 12px; }

.legal ul { padding-left: 24px; margin-bottom: 16px; }

.legal .highlight {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 20px 0;
}

/* Footer */
footer { background: var(--navy); color: #aab4c6; padding: 48px 0 28px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

footer h4 { color: var(--white); font-family: Georgia, serif; margin-bottom: 14px; }

footer a { color: #aab4c6; text-decoration: none; display: block; margin-bottom: 8px; font-size: .93rem; }

footer a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid #2b3c5e;
  padding-top: 22px;
  text-align: center;
  font-size: .85rem;
}

.footer-bottom a { display: inline; margin: 0 6px; }

/* Responsive */
@media (max-width: 760px) {
  .nav-wrap { flex-direction: column; gap: 12px; }
  nav a { margin: 0 10px; }
  .two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .hero { padding: 70px 24px; }
}
