:root {
  --ink: #1c2430;
  --ink-soft: #55606f;
  --accent: #b98a4b;      /* warm gold */
  --accent-dark: #9c7038;
  --cream: #f7f4ef;
  --line: #e7e1d8;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(28, 36, 48, .28);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

h1, h2, h3, h4, .brand-mark, .hero-title, .section-title, .page-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .2px;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: .6rem 1.5rem;
  border-radius: 999px;
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-dark { border-radius: 999px; background: var(--ink); border-color: var(--ink); padding: .6rem 1.5rem; }
.btn-outline-light { border-radius: 999px; }
.btn-outline-dark { border-radius: 999px; }

/* ---- Nav ---- */
.site-nav {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: .7rem 0;
}
.navbar-brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.brand-sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-dark); margin-top: 3px; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; padding: .4rem 1rem; }
.site-nav .nav-link:hover { color: var(--accent-dark); }

/* ---- Hero ---- */
.hero {
  position: relative;
  color: #fff;
  padding: 8rem 0 7rem;
  background: linear-gradient(120deg, #232f3e 0%, #384759 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(20,28,38,.35), rgba(20,28,38,.6)); }
.hero-inner { position: relative; max-width: 760px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; color: #e9d9bf; margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.05; margin-bottom: 1.2rem; }
.hero-lead { font-size: 1.2rem; color: #eef1f5; max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Stats ---- */
.stats { background: var(--ink); color: #fff; padding: 2.4rem 0; }
.stat-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: #e9d9bf; }
.stat-label { display: block; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #b9c2cf; }

/* ---- Sections ---- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--cream); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--accent-dark); margin-bottom: .5rem; font-weight: 600; }
.section-title { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; margin: 0; }
.lead-muted { color: var(--ink-soft); font-size: 1.08rem; }

/* ---- Listing cards ---- */
.listing-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%; transition: transform .25s, box-shadow .25s;
}
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.listing-media {
  display: block; position: relative; height: 230px;
  background-size: cover; background-position: center;
}
.listing-status {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px; color: #fff; background: var(--ink);
}
.status-active { background: #2f8f5b; }
.status-pending { background: #c9971f; }
.status-sold { background: #b23b3b; }
.listing-body { padding: 1.3rem 1.4rem 1.5rem; }
.listing-price { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 700; color: var(--ink); }
.listing-title { font-size: 1.35rem; margin: .1rem 0 .3rem; }
.listing-title a { color: var(--ink); }
.listing-address { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1rem; }
.listing-specs { list-style: none; display: flex; gap: 1.3rem; padding: 0; margin: 0; border-top: 1px solid var(--line); padding-top: .9rem; font-size: .9rem; color: var(--ink-soft); }
.listing-specs strong { color: var(--ink); }

/* ---- About ---- */
.about-photo {
  border-radius: var(--radius); min-height: 420px; box-shadow: var(--shadow);
  background: url("../img/mia-white.c50191ab6963.jpg") center top/cover;
}
.about-photo-lg { min-height: 520px; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0; }
.check-list li { padding-left: 1.9rem; position: relative; margin-bottom: .7rem; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }
.agent-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.agent-card p { margin-bottom: .4rem; }
.service-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; height: 100%; }
.service-tile h5 { color: var(--accent-dark); margin-bottom: .4rem; }
.service-tile p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---- Testimonials ---- */
.testimonial { background: var(--cream); border-radius: var(--radius); padding: 1.8rem; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; line-height: 1.5; height: 100%; }
.testimonial footer { font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%); color: #fff; padding: 4.5rem 0; }
.cta-band h2 { font-size: 2.4rem; font-weight: 700; }
.cta-band p { font-size: 1.15rem; margin-bottom: 1.6rem; opacity: .95; }

/* ---- Page head ---- */
.page-head { background: var(--cream); padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; margin: 0; }

/* ---- Filters ---- */
.filter-bar { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.filter-pill { padding: .45rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 500; }
.filter-pill.active, .filter-pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- Detail ---- */
.detail-hero { min-height: 46vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; color: #fff; }
.detail-hero-inner { padding: 2.5rem 0; }
.detail-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin: .6rem 0 .3rem; }
.detail-address { font-size: 1.1rem; opacity: .95; }
.detail-price { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 700; color: var(--accent-dark); }
.detail-specs { list-style: none; display: flex; gap: 2.5rem; padding: 1rem 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-num { display: block; font-size: 1.8rem; font-weight: 700; font-family: 'Cormorant Garamond', serif; color: var(--ink); }
.inquiry-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 90px; }
.back-link { font-weight: 600; }

/* ---- Contact ---- */
.contact-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.contact-list li { margin-bottom: 1rem; }
.contact-list span { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--accent-dark); font-weight: 600; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-control { border-radius: 10px; padding: .7rem .9rem; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(185,138,75,.2); }
.errorlist { list-style: none; padding: 0; margin: .3rem 0 0; color: #b23b3b; font-size: .85rem; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cdd5df; padding: 3.5rem 0 1.5rem; }
.footer-brand { font-size: 1.6rem; color: #fff; }
.text-muted-light { color: #9aa4b1; }
.footer-head { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: #e9d9bf; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: #cdd5df; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: #9aa4b1; }

@media (max-width: 575px) {
  .hero { padding: 5.5rem 0 4.5rem; }
  .section { padding: 3.5rem 0; }
  .detail-specs { gap: 1.4rem; }
}
