/* rohitjindal.ca — brand styles
   Deep navy #1b2a4a, burgundy/maroon #7a1f2b, white.
   No black colour values anywhere. */
:root {
  --navy: #1b2a4a;
  --navy-light: #2a3d66;
  --burgundy: #7a1f2b;
  --burgundy-dark: #5f1722;
  --white: #ffffff;
  --off-white: #f7f5f2;
  --grey: #5a6472;
  --grey-light: #e8e6e1;
  --radius: 10px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}
a { color: var(--burgundy); }
a:hover { color: var(--burgundy-dark); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem; z-index: 10; }

/* Header */
.site-header { background: var(--navy); color: var(--white); }
.header-inner { display: flex; align-items: center; gap: 2rem; padding: 1rem 1.25rem; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--white); text-decoration: none; letter-spacing: -.01em; }
.logo span { color: #e8b4bc; }
.main-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }
.main-nav a { color: var(--white); text-decoration: none; font-weight: 600; }
.main-nav a:hover { text-decoration: underline; }
.header-phone { color: var(--white); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); padding: 3.5rem 0 3rem; }
.hero h1 { font-size: 2.5rem; margin: 0 0 .5rem; line-height: 1.15; }
.hero .lede { font-size: 1.2rem; max-width: 640px; margin: 0 0 1.5rem; color: #dbe1ee; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; }
.hero-cta { display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: .7rem 1.4rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--burgundy); color: var(--white); }
.btn-primary:hover { background: var(--burgundy-dark); color: var(--white); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1px solid var(--grey-light); padding: .6rem 1.1rem; border-radius: var(--radius); font-weight: 700; cursor: pointer; font-size: .95rem; font-family: inherit; }
.btn-secondary:hover { border-color: var(--burgundy); color: var(--burgundy); }

/* Filters (Phase 2 — /listings/) — adapted from the bclanded.ca pattern */
.filters { background: var(--off-white); border: 1px solid var(--grey-light); border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0 1rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: .9rem; }
.filter-row:last-child { margin-bottom: 0; }
.filter-group { flex: 1 1 180px; }
.filter-group label, .filter-group legend { display: block; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: .3rem; }
.filter-group input[type="search"], .filter-group select { width: 100%; padding: .6rem .75rem; border: 1px solid var(--grey-light); border-radius: var(--radius); font-size: 1rem; font-family: inherit; background: var(--white); }
.filter-search { flex: 2 1 260px; }
.filter-types { border: none; padding: 0; margin: 0; }
.filter-types .checkbox-label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; margin-right: 1rem; margin-bottom: 0; }
.filter-types input[type="checkbox"] { width: auto; }
.filter-actions { display: flex; align-items: flex-end; flex: 0 0 auto; }
.filter-note { font-size: .85rem; color: var(--grey); margin: .9rem 0 0; }
.empty-state { background: var(--off-white); border: 1px solid var(--grey-light); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; }

/* Sections */
.section { padding: 2.5rem 0; }
.section-alt { background: var(--off-white); }
.section h2 { font-size: 1.75rem; margin: 0 0 .5rem; }
.section-intro { color: var(--grey); max-width: 640px; margin: 0 0 1.5rem; }

/* Listing cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.card { border: 1px solid var(--grey-light); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card h3, .card h2 { margin: 0 0 .25rem; font-size: 1.1rem; }
.card h3 a, .card h2 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { color: var(--burgundy); }
.card .price { font-size: 1.25rem; font-weight: 800; color: var(--burgundy); margin: .25rem 0; }
.card .meta { color: var(--grey); font-size: .95rem; margin: 0; }
.badge { display: inline-block; background: var(--burgundy); color: var(--white); font-size: .8rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }

/* Listing detail */
.listing-header { padding: 2rem 0 1rem; }
.listing-header h1 { margin: .25rem 0; font-size: 2rem; }
.listing-header .price { font-size: 1.6rem; font-weight: 800; color: var(--burgundy); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stat { border: 1px solid var(--grey-light); border-radius: var(--radius); padding: .9rem 1rem; background: var(--white); }
.stat dt { color: var(--grey); font-size: .85rem; }
.stat dd { margin: 0; font-size: 1.15rem; font-weight: 700; }
.note { color: var(--grey); font-size: .95rem; }

/* Why hire me */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.why-item { background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius); padding: 1.25rem; }
.why-item h3 { margin: 0 0 .4rem; }
.why-item p { margin: 0; color: var(--grey); }

/* Forms */
.lead-form { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 1.75rem; }
.lead-form h2, .lead-form h3 { color: var(--white); margin-top: 0; }
.lead-form label { display: block; margin: .75rem 0 .25rem; font-weight: 600; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: .65rem .8rem; border-radius: 6px; border: 1px solid var(--grey-light); font: inherit; }
.lead-form button { margin-top: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-light { background: var(--white); color: var(--navy); }
.form-light h2, .form-light h3 { color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: #dbe1ee; margin-top: 0; padding: 2.5rem 0 1.5rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.footer-brand { font-size: 1.4rem; font-weight: 800; color: var(--white); margin: 0 0 .5rem; }
.footer-brand span { color: #e8b4bc; }
.site-footer h3, .site-footer .footer-heading { color: var(--white); margin: 0 0 .5rem; font-size: 1.17em; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.footer-disclaimer { font-size: .85rem; color: #aab4cc; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; margin-top: 2rem; }
.footer-copy { font-size: .85rem; color: #aab4cc; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .header-phone { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; gap: .75rem 1.25rem; }
  .main-nav { gap: .75rem 1rem; font-size: .9rem; }
}

/* Phase 1: photos, presale CTA, insights gate */
.card-photo { width: 100%; height: 200px; object-fit: cover; display: block; }
.listing-photo { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); display: block; }
.presale-cta { margin-top: 2rem; background: var(--navy); color: var(--white); padding: 1.5rem; border-radius: var(--radius); }
.presale-cta h3, .presale-cta h2 { margin-top: 0; font-size: 1.17em; }
.presale-cta p { color: #dbe1ee; }
.presale-cta .btn-outline { border-color: var(--white); }
.insights-gate { border: 1px solid var(--grey-light); border-radius: var(--radius); padding: 1.5rem; background: var(--off-white); max-width: 640px; }
.lead-form label, .insights-gate label { display: block; font-weight: 600; margin: .75rem 0 .25rem; }
.lead-form input, .lead-form textarea, .insights-gate input { width: 100%; padding: .6rem; border: 1px solid var(--grey-light); border-radius: 6px; font: inherit; }
