/* ===========================================================
   Zilla Management — Shared stylesheet for all pages

   Design concept: brand palette pulled directly from the Zilla
   Management logo — deep navy, teal and gold — on a crisp,
   cool-neutral paper. Condensed architectural display type,
   a mono "ledger" voice for stats/addresses/tags, small-radius
   edges.
   =========================================================== */

:root {
  --ink: #012648;         /* brand navy — headings, hero/footer bands, logo */
  --ink-deep: #01182e;
  --accent: #bb8f32;      /* brand gold — links, CTAs, marks */
  --accent-hover: #9c7726;
  --steel: #014b57;       /* brand teal — Southwestern Ontario tag, alt labels */
  --body: #202a33;
  --muted: #5b6670;
  --line: #dadde1;
  --bg: #f7f7f5;
  --bg-soft: #eeeeea;
  --radius: 4px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--body);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 .5em;
  font-family: "Archivo", "Source Sans 3", Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

.mono {
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

/* ---------- Placeholder markers ---------- */
.placeholder {
  display: inline-block;
  background: #fff3cd;
  color: #7a5b00;
  border: 1px dashed #d8b23a;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: .85em;
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
}
.feature-photo {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}
.img-placeholder {
  background: var(--bg-soft);
  border: 1px dashed #c2c6cb;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .8rem;
  font-family: "IBM Plex Mono", monospace;
  text-align: center;
  min-height: 160px;
  padding: 10px;
}

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
  flex-wrap: wrap;
}
.logo-lockup {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-lockup img { height: 42px; width: auto; display: block; }
.nav { display: flex; align-items: center; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  color: var(--body);
  font-weight: 600;
  font-size: .93rem;
  margin-left: 22px;
}
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a.btn { color: #fff !important; margin-left: 22px; }

@media (max-width: 760px) {
  .site-header .wrap { justify-content: center; text-align: center; padding-top: 14px; padding-bottom: 14px; }
  .nav { justify-content: center; margin-top: 8px; }
  .nav a { margin: 4px 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: "Archivo", sans-serif;
  border: none;
  cursor: pointer;
  font-size: .97rem;
  letter-spacing: -.005em;
}
.btn:hover { background: var(--accent-hover); }
.btn.outline { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.55); }
.btn.outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: var(--ink-deep); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(155deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: #e7e8ea;
  padding: 84px 0;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero p.tagline { color: #b7bcc2; font-size: 1.14rem; max-width: 54ch; }
.hero .btn { margin-top: 10px; margin-right: 10px; }

.page-hero {
  background: linear-gradient(155deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: #fff;
  padding: 58px 0;
}
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { color: #b7bcc2; margin: 0; max-width: 60ch; font-size: 1.05rem; }

/* ---------- Credibility strip (ledger row) ---------- */
.strip {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}
.strip .stat {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-size: .92rem;
  padding: 4px 26px;
  border-left: 1px solid var(--line);
}
.strip .stat:first-child { border-left: none; }
.strip .stat span.num { color: var(--accent); font-weight: 600; }
@media (max-width: 700px) {
  .strip .stat { border-left: none; padding: 4px 14px; }
}

/* ---------- Sections ---------- */
.section { padding: 66px 0; }
.section.soft { background: var(--bg-soft); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.section-head { margin-bottom: 32px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid, .grid.two, .grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid, .grid.two, .grid.four { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 26px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .15s ease, transform .15s ease;
}
a.card:hover { border-top-color: var(--accent); transform: translateY(-2px); }
.card h3 { margin-bottom: .35em; color: var(--ink); font-size: 1.12rem; }
.card p { margin-bottom: 0; color: var(--muted); }
.card .icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: grid; place-items: center;
  font-weight: 700;
  font-family: "IBM Plex Mono", monospace;
  font-size: .85rem;
  margin-bottom: 16px;
}

.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.card ul li { margin-bottom: 4px; }

/* ---------- Property cards ---------- */
.property-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.property-card .img-placeholder { border-radius: 0; border-left: none; border-right: none; border-top: none; min-height: 190px; }
.property-card .body { padding: 20px; }
.property-card .tag {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  color: var(--steel);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.property-card h3 { margin-bottom: .2em; }
.property-card .region { color: var(--muted); font-size: .88rem; margin-bottom: 10px; font-family: "IBM Plex Mono", monospace; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid .img-placeholder { aspect-ratio: 4/3; min-height: 0; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Map ---------- */
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

.coverage-map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.coverage-map img { display: block; width: 100%; height: auto; }

/* ---------- Regions list ---------- */
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 10px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 700px) { .regions { grid-template-columns: 1fr; } }
.region-block {
  background: #fff;
  padding: 26px;
}
.region-block .eyebrow { margin-bottom: 12px; }
.region-block h3 { margin-bottom: .3em; }
.region-block p { color: var(--muted); margin-bottom: 0; }

/* ---------- Contact form ---------- */
form.contact { margin-top: 10px; max-width: 620px; }
form.contact label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: .92rem; }
form.contact input,
form.contact select,
form.contact textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
}
form.contact input:focus,
form.contact select:focus,
form.contact textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
form.contact textarea { min-height: 130px; resize: vertical; }
form.contact .btn { margin-top: 18px; }
form.contact .form-note {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 10px;
  font-family: "IBM Plex Mono", monospace;
}

/* ---------- Contact block (home / footer style) ---------- */
.contact-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 10px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 760px) { .contact-block { grid-template-columns: 1fr; } }
.contact-item {
  background: #fff;
  padding: 20px;
}
.contact-item .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

/* ---------- Steps / list markers ---------- */
.check-list { list-style: none; margin: 18px 0 0; padding: 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); }
.check-list li::before {
  content: "—";
  position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: #9aa1ab;
  padding: 46px 0 30px;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
  margin: 0 0 14px;
}
.footer-grid a { color: #b7bcc4; display: block; text-decoration: none; margin-bottom: 9px; }
.footer-grid a:hover { color: #fff; }
.site-footer .logo-lockup { margin-bottom: 12px; }
.site-footer .brand-desc { color: #7d838d; max-width: 42ch; }
.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  font-size: .8rem;
  font-family: "IBM Plex Mono", monospace;
  color: #6d737d;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Blog ---------- */
.post-list { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 10px; }
.post-card { background: #fff; padding: 28px; text-decoration: none; color: inherit; display: block; }
.post-card:hover h3 { color: var(--accent); }
.post-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
  display: block;
}
.post-card h3 { margin-bottom: .3em; }
.post-card p { color: var(--muted); margin-bottom: 0; }

.article { max-width: 70ch; }
.article h2 { margin-top: 1.6em; }
.article p, .article ul { max-width: 70ch; }
.article ul { color: var(--muted); margin: 0 0 1.2em; padding-left: 20px; }
.article ul li { margin-bottom: 6px; }

.cta-band {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  padding: 28px;
  margin-top: 40px;
  max-width: 70ch;
}
.cta-band h3 { margin-bottom: .3em; }
.cta-band p { color: var(--muted); }
