/* MoJo Real Estate Team — Liberty MO Seller Microsite
   Mobile-first, clean, professional */

:root {
  --navy: #0b1f33;
  --navy-mid: #14304a;
  --gold: #c4a35a;
  --gold-light: #d4b97a;
  --cream: #f7f4ef;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #5a6570;
  --border: #e2ddd4;
  --success: #2d6a4f;
  --shadow: 0 4px 20px rgba(11, 31, 51, 0.08);
  --radius: 6px;
  --max: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold); }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.logo span { display: block; font-weight: 400; font-size: 0.72rem; color: var(--gold-light); letter-spacing: 0.04em; }

.header-cta {
  display: none;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}
.header-cta:hover { background: var(--gold-light); color: var(--navy); }

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
}

.site-nav {
  display: none;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.site-nav.open { display: block; }

.site-nav ul {
  list-style: none;
  padding: 0.5rem 0 1rem;
  margin: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-nav a:hover { background: rgba(255,255,255,0.06); color: var(--gold-light); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .header-cta { display: inline-block; }
  .site-nav {
    display: block;
    background: transparent;
    border: none;
    position: static;
  }
  .header-inner { flex-wrap: nowrap; }
  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
    padding: 0;
    align-items: center;
  }
  .site-nav a {
    padding: 0.4rem 0.55rem;
    border: none;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .logo { margin-right: 0.5rem; }
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

/* —— Hero —— */
.hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 60%, #1a4060 100%);
  color: var(--white);
  padding: 2.75rem 0 3rem;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.2;
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.hero .lead {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 38rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-mid); color: var(--white); }

.proof-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.proof-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.4;
}
.proof-item strong { display: block; color: var(--gold-light); font-size: 0.95rem; margin-bottom: 0.15rem; }

@media (min-width: 700px) {
  .proof-bar { grid-template-columns: repeat(4, 1fr); }
}

/* —— Sections —— */
.section { padding: 2.75rem 0; }
.section-alt { background: var(--cream); }
.section h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.section h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 1.5rem 0 0.6rem;
}
.section p { margin-bottom: 1rem; color: var(--text); }
.section .muted { color: var(--muted); font-size: 0.95rem; }

.grid-2 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
.grid-3 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card a.card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  display: inline-block;
  margin-top: 0.75rem;
}
.card a.card-link:hover { color: var(--gold); }

.checklist { list-style: none; padding: 0; }
.checklist li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.55rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* —— CTA band —— */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-band p { opacity: 0.9; margin-bottom: 1.25rem; max-width: 36rem; margin-inline: auto; }
.phone-display {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem 0 1rem;
}
.phone-display:hover { color: var(--gold); }

/* —— Breadcrumb —— */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 1rem 0 0;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* —— Page hero (inner) —— */
.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0 2rem;
}
.page-hero h1 {
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.page-hero .lead { color: var(--muted); max-width: 40rem; }

/* —— Tables —— */
.table-wrap { overflow-x: auto; margin: 1.25rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
}
th { background: var(--navy); color: var(--white); font-weight: 600; }
tr:nth-child(even) { background: var(--cream); }

/* —— Forms —— */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }

/* —— Footer —— */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.site-footer h4 {
  color: var(--white);
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.55;
  opacity: 0.8;
}
.footer-disclaimer strong { color: var(--gold-light); }

/* —— Misc —— */
.two-col {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .two-col { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
.aside-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.aside-box h3 { margin-top: 0; }
.tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.neighborhood-list {
  columns: 1;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .neighborhood-list { columns: 2; }
}
.neighborhood-list li { break-inside: avoid; }

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