/* ============================================
   Man Houw | Property Agent Site — Shared Styles
   Theme: Pearl & Gold
   ============================================ */

:root {
  --navy: #332b24;
  --navy-light: #4a4038;
  --gold: #b8935a;
  --gold-light: #8a6a3f;
  --cream: #f7f3ec;
  --white: #ffffff;
  --sand: #ede6d8;
  --grey: #8a7f70;
  --grey-light: #ece5d8;
  --whatsapp: #4f9d6e;
  --radius: 10px;
  --max-width: 1160px;
  --shadow: 0 10px 30px rgba(51, 43, 36, 0.08);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  color: var(--navy);
}

p { margin: 0 0 1em; color: #4a4038; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(184, 147, 90, 0.25);
}

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

.logo {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}

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

nav.main-nav {
  display: flex;
  gap: 28px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
}

nav.main-nav a {
  color: var(--navy-light);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  opacity: 1;
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--cream);
  padding: 90px 0 100px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  color: var(--navy);
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p.lead {
  color: #6b6153;
  font-size: 1.05rem;
  max-width: 480px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 30px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold-light);
  background: transparent;
}

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

.hero-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--cream);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

/* ---------- Credibility strip ---------- */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
}

.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 24px;
  text-align: center;
}

.stat-num {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

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

.stat-label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Section ---------- */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-head h2 { font-size: 2rem; }

.eyebrow.eyebrow-lg {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 0;
}

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

/* ---------- Cards / Projects ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(51, 43, 36, 0.14);
}

.card-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #d8cca9, #b79a63);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(51, 43, 36, 0.45);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.card-body h3 { font-size: 1.2rem; margin-bottom: 6px; }

.card-meta {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 14px;
}

.card-price {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.spec-row {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 14px;
}

.card-body .status-pill {
  margin-bottom: 16px;
  align-self: flex-start;
}

.card-link {
  margin-top: auto;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* ---------- Table (Subsale Listings) ---------- */
.listing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.listing-table th, .listing-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--grey-light);
  font-size: 0.92rem;
}

.listing-table th {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--grey);
  background: var(--cream);
}

.listing-table tr:last-child td { border-bottom: none; }

/* ---------- Process Timeline (MM2H Steps) ---------- */
.process-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--sand);
}

.process-step {
  position: relative;
  display: flex;
  gap: 24px;
  padding-bottom: 42px;
}

.process-step:last-child { padding-bottom: 0; }

.process-step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 14px rgba(184, 147, 90, 0.35);
}

.process-step-body {
  padding-top: 8px;
}

.process-step-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.process-step-body p {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.6;
  margin: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--sand);
  padding: 20px 0;
}

.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 400;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p {
  margin: 14px 0 0;
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.65;
}

.chip {
  background: var(--cream);
  border: 1px solid var(--sand);
  color: var(--navy);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .process-step { gap: 16px; }
  .process-step-number { width: 40px; height: 40px; font-size: 1rem; }
  .process-timeline::before { left: 19px; }
}

.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-available { background: #e5f6ea; color: #1e8a4c; }
.status-pending { background: #fdf1de; color: #b6791b; }

.mini-whatsapp {
  color: var(--whatsapp) !important;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- Two column content blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--sand);
  border: 1px solid rgba(184, 147, 90, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(51, 43, 36, 0.35);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-image-logo {
  background: var(--white);
  padding: 40px;
  border: none;
  aspect-ratio: 1.944;
}

.split-image-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-list { list-style: none; padding: 0; margin: 0; }

.feature-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--grey-light);
  color: #4a4038;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--grey);
  padding: 22px 0 0;
}

.breadcrumb a { color: var(--navy); border-bottom: 1px solid var(--gold); }

/* ---------- Page header banner ---------- */
.page-banner {
  background: var(--cream);
  padding: 60px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--grey-light);
}

.page-banner h1 { color: var(--navy); font-size: 2.2rem; }
.page-banner p { color: #6b6153; max-width: 560px; margin: 12px auto 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gold);
  padding: 56px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--navy); font-size: 1.6rem; margin-bottom: 10px; }
.cta-banner p { color: #4a3c28; margin-bottom: 24px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--sand);
  color: #5a5148;
  padding: 56px 0 26px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

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

.footer-grid h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-grid p, .footer-grid a {
  color: #5a5148;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(184, 147, 90, 0.3);
  padding-top: 22px;
  font-size: 0.8rem;
  color: var(--grey);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Floating WhatsApp button ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--whatsapp);
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(79, 157, 110, 0.35);
  z-index: 200;
}

/* ---------- Placeholder note banner ---------- */
.placeholder-note {
  background: #fff8e6;
  border: 1px dashed var(--gold);
  color: #7a5c14;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.grid-3 > .reveal:nth-child(2),
.grid-2 > .reveal:nth-child(2) { transition-delay: 0.1s; }
.grid-3 > .reveal:nth-child(3) { transition-delay: 0.2s; }

.faq-list > .reveal:nth-child(2) { transition-delay: 0.08s; }
.faq-list > .reveal:nth-child(3) { transition-delay: 0.16s; }
.faq-list > .reveal:nth-child(4) { transition-delay: 0.24s; }
.faq-list > .reveal:nth-child(5) { transition-delay: 0.32s; }

.process-timeline > .reveal:nth-child(2) { transition-delay: 0.06s; }
.process-timeline > .reveal:nth-child(3) { transition-delay: 0.12s; }
.process-timeline > .reveal:nth-child(4) { transition-delay: 0.18s; }
.process-timeline > .reveal:nth-child(5) { transition-delay: 0.24s; }
.process-timeline > .reveal:nth-child(6) { transition-delay: 0.3s; }
.process-timeline > .reveal:nth-child(7) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .listing-table { font-size: 0.8rem; }
}
