/* ──────────────────────────────────────────────────────────────
   MARCUS ADEBAYO — HOUSTON REAL ESTATE
   Photo-driven, accessible, modern
   Cream / soft black / rust-orange accent
   ────────────────────────────────────────────────────────────── */

:root {
  --bg:           #fefcf7;
  --bg-alt:       #f8f4ec;
  --bg-warm:      #f3eede;
  --ink:          #1a1a1a;
  --ink-soft:     #3d3d3d;
  --ink-muted:    #6b6b6b;
  --rust:         #c75c2b;
  --rust-deep:    #a44818;
  --rust-soft:    #e8a47a;
  --tan:          #e8d5b8;
  --rule:         rgba(26, 26, 26, 0.1);
  --shadow-sm:    0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow-md:    0 8px 24px rgba(26, 26, 26, 0.08);
  --shadow-lg:    0 20px 60px rgba(26, 26, 26, 0.12);

  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 200ms; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin: 0; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 16px;
}
.eyebrow-light { color: var(--rust-soft); }

.accent { color: var(--rust); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-rust { background: var(--rust); color: #fff; border-color: var(--rust); }
.btn-rust:hover { background: var(--rust-deep); border-color: var(--rust-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.link-arrow {
  font-weight: 600;
  color: var(--rust);
  border-bottom: 1px solid transparent;
  display: inline-block;
  transition: all 200ms;
  font-size: 0.95rem;
}
.link-arrow:hover {
  color: var(--rust-deep);
  border-bottom-color: var(--rust-deep);
}

/* ── Layout ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.sec-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.sec-head h2 { margin-bottom: 12px; }
.sec-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.6;
}
.sec-head-center .sec-sub { margin-top: 12px; }
.sec-head-light h2,
.sec-head-light .sec-sub { color: var(--bg); }
.count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-warm);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 252, 247, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 8px;
  letter-spacing: -0.02em;
}
.brand-name {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-name small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--rust); }
.nav-links .btn { padding: 10px 18px; font-size: 0.9rem; }

/* ── Mobile hamburger toggle (hidden on desktop) ── */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  border-radius: 8px;
}
.nav-toggle:hover { background: var(--bg-warm); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 250ms ease, opacity 200ms ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-wide {
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-wide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/Houston Aerial View.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}
.hero-wide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(254, 252, 247, 0.25) 0%, rgba(248, 244, 236, 0.55) 100%);
  z-index: 1;
}
.hero-wide-inner {
  max-width: 1180px;
  position: relative;
  z-index: 2;
}
.hero-wide-inner h1 {
  max-width: 14ch;
  margin-bottom: 28px;
}
.hero-wide-inner .hero-lede {
  max-width: 760px;
  font-size: 1.2rem;
}

/* ── Page header (inner pages) ── */
.page-header {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--rule);
}
.page-header .badge { margin-bottom: 18px; }
.page-header h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin-bottom: 16px;
}
.page-header p {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 680px;
  color: var(--ink-soft);
}

/* ── CTA Strip ── */
.cta-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 64px 0;
}
.cta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-strip h2 { color: var(--bg); font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 0; }
.cta-strip p { color: rgba(254, 252, 247, 0.7); margin: 8px 0 0; font-size: 1rem; }
.cta-strip .btn-outline { color: var(--bg); border-color: var(--bg); }
.cta-strip .btn-outline:hover { background: var(--bg); color: var(--ink); }
.badge {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--rust-soft);
  color: var(--rust-deep);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.hero-text h1 { margin-bottom: 24px; }
.hero-lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-meta div {
  display: flex;
  flex-direction: column;
}
.hero-meta strong {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-meta span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 4px;
}

.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 540px;
}
.hero-photo {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: var(--shadow-md);
  transition: transform 350ms ease;
}
.hero-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-1 { grid-row: span 2; }
.hp-4 { grid-row: span 2; }

/* ── Property grid ── */
.listings-section { background: var(--bg); }
.sales-section { background: var(--bg-alt); }
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property {
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: all 250ms ease;
}
.property:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rust);
}
.property-link {
  display: block;
  height: 100%;
}
.property-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-warm);
}
.property-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.property:hover .property-photo img {
  transform: scale(1.04);
}
.property-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
}
.tag-active { background: var(--bg); color: var(--ink); }
.tag-new { background: var(--rust); color: #fff; }
.tag-pending { background: var(--ink); color: var(--bg); }
.tag-sold { background: var(--rust-deep); color: #fff; }
.property-body { padding: 20px 22px 24px; }
.property-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 12px;
}
.property-loc {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0;
}
.property-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}
.property h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 14px;
}
.property-stats {
  display: flex;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.property-stats li {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.property-stats strong {
  font-weight: 700;
  color: var(--ink);
}
.sold-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.property-sold .property-photo img {
  filter: saturate(0.85);
}
.listings-foot {
  text-align: center;
  margin-top: 40px;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ── About ── */
.about-section { background: var(--bg); padding: 120px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-text h2 { margin-bottom: 24px; }
.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.about-text .link-arrow {
  margin-top: 12px;
}

/* ── Neighborhoods ── */
.neighborhoods-section { background: var(--bg); }
.hood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hood-card {
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  transition: transform 300ms ease;
  box-shadow: var(--shadow-sm);
}
.hood-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.hood-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 26, 0.85) 100%);
  z-index: 1;
}
.hood-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 20px;
  color: var(--bg);
}
.hood-overlay h3 {
  color: var(--bg);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.hood-overlay span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rust-soft);
  letter-spacing: 0.04em;
}

/* ── Process ── */
.process-section {
  background: var(--ink);
  color: var(--bg);
}
.process-section h2,
.process-section h3,
.process-section h4 { color: var(--bg); }
.process-section p { color: rgba(254, 252, 247, 0.7); }
.process-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
}
.process-col-title {
  font-size: 1.4rem;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(254, 252, 247, 0.15);
  color: var(--rust-soft);
  font-weight: 700;
}
.process-col ol {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.process-col li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.step {
  width: 40px; height: 40px;
  background: var(--rust);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.process-col h4 { margin-bottom: 6px; font-size: 1.05rem; }
.process-col p { font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* ── Reviews ── */
.reviews-section { background: var(--bg-alt); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: var(--bg);
  padding: 32px;
  border-radius: 14px;
  border: 1px solid var(--rule);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 250ms;
}
.review:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.stars {
  color: var(--rust);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.review blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
.review figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.review figcaption strong {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.review figcaption span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ── Contact ── */
.contact-section { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-text h2 { margin-bottom: 16px; }
.contact-text > p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.contact-list li:last-child { border-bottom: none; }
.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}
.contact-list a,
.contact-list span:not(.contact-label) {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.contact-list a:hover { color: var(--rust); }

.contact-form {
  background: var(--bg-warm);
  padding: 36px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--rule);
}
.contact-form h3 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 200ms;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rust);
}
.contact-form textarea { resize: vertical; }
.form-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
  margin: 4px 0 0;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(254, 252, 247, 0.65);
  padding: 56px 0 36px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  align-items: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .brand-mark { background: var(--rust); color: #fff; }
.footer-brand strong {
  display: block;
  font-size: 1.05rem;
  color: var(--bg);
  margin-bottom: 2px;
}
.footer-brand span {
  font-size: 0.82rem;
  color: rgba(254, 252, 247, 0.5);
}
.footer-compliance {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 760px;
}
.footer-compliance a { color: var(--rust-soft); }
.footer-credit {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(254, 252, 247, 0.45);
  padding-top: 16px;
  border-top: 1px solid rgba(254, 252, 247, 0.1);
  width: 100%;
  max-width: 760px;
}
.footer-credit a { color: var(--rust-soft); }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .hood-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }

  /* Slide-out drawer */
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 82vw);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 88px 36px 40px;
    transform: translateX(105%);
    transition: transform 280ms ease;
    box-shadow: -16px 0 40px rgba(26, 26, 26, 0.18);
    border-left: 1px solid var(--rule);
    z-index: 100;
  }
  .nav.nav-open .nav-links { transform: translateX(0); }
  .nav-links a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
  }
  .nav-links .btn {
    padding: 14px 22px;
    font-size: 0.95rem;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }

  /* Backdrop */
  .nav::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
    z-index: 99;
  }
  .nav.nav-open::before { opacity: 1; pointer-events: auto; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photos { height: 380px; max-width: 540px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; max-width: 540px; }
  .about-photo { aspect-ratio: 5 / 4; max-width: 380px; }
  .hood-grid { grid-template-columns: repeat(2, 1fr); }
  .process-cols { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .property-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; flex-wrap: wrap; }
  .hero-meta strong { font-size: 1.4rem; }
  .contact-form { padding: 24px; }
  .review { padding: 24px; }
}
