/*
Theme Name: Homebridge PM
Theme URI: https://homebridgepm.ca
Author: Homebridge Property Management
Author URI: https://homebridgepm.ca
Description: Custom WordPress theme for Homebridge PM — Tenant & Landlord Realtor Services across Ontario. Gold & black branding, MLS-ready, IDX-compatible.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://homebridgepm.ca
Text Domain: homebridge-pm
Tags: real-estate, property-management, custom-logo, full-width-template
*/

/* ═══════════════════════════════════════════
   HOMEBRIDGE PM — SHARED STYLESHEET
   Colors: Gold #c9a227 | Black #0d0d0d | White #ffffff
═══════════════════════════════════════════ */

:root {
  --gold: #c9a227;
  --gold-light: #e0b82e;
  --gold-dark: #a88520;
  --gold-bg: #fef9ec;
  --gold-subtle: #fffdf5;
  --black: #0d0d0d;
  --white: #ffffff;
  --gray-800: #222;
  --gray-600: #555;
  --gray-400: #999;
  --gray-100: #f5f5f5;
  --tr: all 0.3s ease;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-gold: 0 6px 20px rgba(201,162,39,0.3);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--gray-600); line-height: 1.6; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 7px; font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; font-family: 'Inter', sans-serif;
  transition: var(--tr); text-decoration: none; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #333; }
.btn-outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 74px; background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex; align-items: center;
  justify-content: space-between; padding: 0 52px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--black);
}
.nav-logo svg { width: 40px; height: 40px; }
.nav-brand { font-size: 16px; font-weight: 900; color: var(--black); letter-spacing: 0.5px; display: block; }
.nav-tag { font-size: 10px; color: var(--gray-400); display: block; }
.navbar ul { display: flex; gap: 32px; list-style: none; }
.navbar ul a { color: var(--black); font-size: 14px; font-weight: 500; text-decoration: none; transition: var(--tr); }
.navbar ul a:hover { color: var(--gold); }
.nav-btns { display: flex; gap: 12px; }

/* ═══ PAGE OFFSET ═══ */
body { padding-top: 74px; }

/* ═══ SECTIONS ═══ */
.section { padding: 88px 60px; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--black); }

.s-header { text-align: center; margin-bottom: 56px; }
.s-label {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.s-label-dark { color: var(--gold); }
.s-title { font-size: 38px; font-weight: 900; color: var(--black); margin-bottom: 16px; }
.s-title-white { color: var(--white); }
.s-sub { font-size: 15px; color: var(--gray-600); max-width: 640px; margin: 0 auto; line-height: 1.8; }
.s-sub-white { color: rgba(255,255,255,0.6); }
.gold-line { width: 48px; height: 3px; background: var(--gold); margin: 0 auto 22px; border-radius: 2px; }
.cta-center { text-align: center; margin-top: 44px; }

/* ═══ PAGE HEADER (inner pages) ═══ */
.page-hdr {
  background: var(--black); color: var(--white);
  padding: 72px 60px; text-align: center;
}
.page-hdr .breadcrumb { font-size: 13px; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.page-hdr h1 { font-size: 46px; font-weight: 900; margin-bottom: 16px; line-height: 1.2; }
.page-hdr h1 em { color: var(--gold); font-style: normal; }
.page-hdr p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 700px; margin: 0 auto; }

/* ═══ FOOTER ═══ */
footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 68px 60px 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 48px; }
.foot-brand h3 { font-size: 21px; font-weight: 900; color: var(--gold); letter-spacing: 1.5px; margin-bottom: 4px; }
.foot-brand .ftag { font-size: 10px; color: rgba(255,255,255,0.3); margin-bottom: 14px; display: block; }
.foot-brand p { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.9; }
.fcontact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.fcontact a { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.55); text-decoration: none; font-size: 12px; transition: var(--tr); }
.fcontact a i { color: var(--gold); width: 14px; }
.fcontact a:hover { color: var(--gold); }
.fcol h4 { font-size: 11px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(201,162,39,0.25); }
.fcol ul { display: flex; flex-direction: column; gap: 9px; }
.fcol ul a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 12px; transition: var(--tr); display: flex; align-items: center; gap: 6px; }
.fcol ul a i { font-size: 9px; color: var(--gold); }
.fcol ul a:hover { color: var(--gold); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 11px; flex-wrap: wrap; }
.foot-bottom p { color: rgba(255,255,255,0.3); }
.foot-bottom a { color: var(--gold); text-decoration: none; }

/* ═══ IDX STRIP ═══ */
.idx { background: var(--gold-subtle); border-top: 3px solid var(--gold); padding: 12px 60px; display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--gray-600); }
.idx i { color: var(--gold); flex-shrink: 0; }
.idx a { color: var(--gold-dark); font-weight: 600; }

/* ═══ STATS BAR ═══ */
.stats-bar { background: var(--gold); padding: 20px 60px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.stat { display: flex; align-items: center; gap: 12px; }
.stat-ico { width: 38px; height: 38px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--black); font-size: 16px; }
.stat-txt strong { display: block; font-size: 16px; font-weight: 900; color: var(--black); }
.stat-txt span { font-size: 11px; color: rgba(0,0,0,0.6); }

/* ═══ PROPERTY CARDS ═══ */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.pcard { background: var(--white); border-radius: var(--radius); border: 1px solid #eee; overflow: hidden; cursor: pointer; transition: var(--tr); }
.pcard:hover { box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.pimg { position: relative; height: 200px; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.pcard:hover .pimg img { transform: scale(1.04); }
.pbadges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.badge { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-type { background: var(--black); color: var(--white); }
.badge-avail { background: var(--gold); color: var(--black); }
.badge-mls { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.7); color: rgba(255,255,255,0.8); font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.pinfo { padding: 20px; }
.pprice { font-size: 22px; font-weight: 900; color: var(--black); }
.pprice span { font-size: 13px; font-weight: 400; color: var(--gray-400); }
.padr { font-size: 12px; color: var(--gray-400); margin: 4px 0 8px; display: flex; align-items: center; gap: 5px; }
.padr i { color: var(--gold); }
.ptitle { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.pmeta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.pmeta-i { font-size: 12px; color: var(--gray-600); display: flex; align-items: center; gap: 5px; }
.pmeta-i i { color: var(--gold); }
.pactions { display: flex; gap: 8px; }
.btn-view { flex: 1; padding: 10px; background: var(--black); color: var(--white); border: none; border-radius: 7px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: var(--tr); }
.btn-view:hover { background: #333; }
.btn-apply { flex: 1; padding: 10px; background: var(--gold); color: var(--black); border-radius: 7px; font-size: 13px; font-weight: 700; text-decoration: none; text-align: center; transition: var(--tr); }
.btn-apply:hover { background: var(--gold-light); }

/* ═══ TEAM / SERVICE CARDS ═══ */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card { background: var(--white); border: 1px solid #eee; border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: var(--tr); }
.team-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.team-ico { width: 60px; height: 60px; background: var(--gold-bg); border: 2px solid rgba(201,162,39,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 24px; color: var(--gold); }
.team-card h3 { font-size: 17px; font-weight: 800; color: var(--black); margin-bottom: 10px; }
.team-card p { font-size: 13px; color: var(--gray-600); line-height: 1.75; }

/* ═══ LANDLORD CARDS ═══ */
.landlord-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.landlord-content h2 { font-size: 36px; font-weight: 900; color: var(--white); margin-bottom: 18px; line-height: 1.2; }
.landlord-content h2 em { color: var(--gold); font-style: normal; }
.landlord-content p { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.85; margin-bottom: 28px; }
.landlord-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.landlord-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lcard { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,162,39,0.15); border-radius: var(--radius); padding: 24px; transition: var(--tr); }
.lcard:hover { border-color: var(--gold); background: rgba(201,162,39,0.06); }
.lcard-icon { width: 42px; height: 42px; background: rgba(201,162,39,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 18px; margin-bottom: 12px; }
.lcard h4 { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.lcard p { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ═══ TENANT SECTION ═══ */
.tenant-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tenant-img-wrap { position: relative; border-radius: 18px; overflow: hidden; height: 520px; }
.tenant-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.tenant-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 60%); }
.tenant-img-badge { position: absolute; bottom: 20px; left: 20px; background: var(--gold); color: var(--black); padding: 10px 20px; border-radius: 30px; font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.tenant-content h2 { font-size: 36px; font-weight: 900; color: var(--black); margin-bottom: 18px; line-height: 1.2; }
.tenant-content h2 em { color: var(--gold); font-style: normal; }
.tenant-content p { color: var(--gray-600); font-size: 15px; line-height: 1.85; margin-bottom: 24px; }
.fee-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 30px; border: 1px solid rgba(201,162,39,0.3); font-size: 12px; font-weight: 700; color: var(--gold-dark); background: var(--gold-bg); }
.tenant-steps { display: flex; flex-direction: column; gap: 22px; margin: 24px 0; }
.tstep { display: flex; gap: 16px; align-items: flex-start; }
.tstep-num { width: 34px; height: 34px; background: var(--gold); color: var(--black); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; flex-shrink: 0; }
.tstep-text h4 { font-size: 15px; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.tstep-text p { font-size: 13px; color: var(--gray-600); line-height: 1.7; }

/* ═══ PARALEGAL / CONSTRUCTION ═══ */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pc-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(201,162,39,0.2); border-radius: var(--radius); padding: 40px; }
.pc-icon { width: 56px; height: 56px; background: rgba(201,162,39,0.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 24px; margin-bottom: 20px; }
.pc-card h3 { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.pc-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 20px; }
.pc-list { display: flex; flex-direction: column; gap: 8px; }
.pc-list li { font-size: 13px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 10px; }
.pc-list li i { color: var(--gold); font-size: 11px; flex-shrink: 0; }

/* ═══ BLOG ═══ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid #eee; transition: var(--tr); text-decoration: none; display: block; }
.blog-card:hover { box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-info { padding: 22px; }
.blog-cat { display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 10px; }
.blog-info h3 { font-size: 16px; font-weight: 800; color: var(--black); margin-bottom: 10px; line-height: 1.4; }
.blog-info p { font-size: 13px; color: var(--gray-600); line-height: 1.7; margin-bottom: 14px; }
.blog-meta { font-size: 11px; color: var(--gray-400); display: flex; align-items: center; gap: 6px; }
.blog-meta i { color: var(--gold); }

/* ═══ REFERRAL ═══ */
.referral { background: var(--gold); padding: 60px; text-align: center; }
.referral h2 { font-size: 32px; font-weight: 900; color: var(--black); margin-bottom: 12px; }
.referral p { font-size: 16px; color: rgba(0,0,0,0.65); margin-bottom: 36px; }
.ref-cards { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.ref-card { background: rgba(255,255,255,0.25); backdrop-filter: blur(4px); border-radius: var(--radius); padding: 28px 24px; width: 220px; text-align: center; }
.ref-card .ico { font-size: 32px; margin-bottom: 12px; }
.ref-card h4 { font-size: 16px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.ref-card p { font-size: 13px; color: rgba(0,0,0,0.65); line-height: 1.6; }

/* ═══ HERO ═══ */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 40px 60px; background: linear-gradient(rgba(0,0,0,0.72),rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1800&auto=format') center/cover no-repeat fixed; position: relative; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,162,39,0.18); border: 1px solid rgba(201,162,39,0.4); color: var(--gold); padding: 8px 20px; border-radius: 30px; font-size: 13px; font-weight: 600; margin-bottom: 28px; }
.hero h1 { font-size: 60px; font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 22px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 680px; line-height: 1.75; margin-bottom: 44px; }

/* ═══ SEARCH CARD ═══ */
.search-card { background: var(--white); border-radius: 16px; padding: 28px; width: 100%; max-width: 860px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.stabs { display: flex; gap: 8px; margin-bottom: 20px; }
.stab { padding: 7px 18px; border: 2px solid #eee; border-radius: 20px; background: none; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--tr); color: var(--gray-600); font-family: 'Inter', sans-serif; }
.stab.active { border-color: var(--gold); color: var(--gold); background: var(--gold-bg); }
.sfields { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.sfield label { display: block; font-size: 11px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.sfield select { width: 100%; padding: 11px 14px; border: 2px solid #eee; border-radius: 8px; font-size: 14px; color: var(--black); font-family: 'Inter', sans-serif; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E") right 12px center no-repeat; }
.sfield select:focus { outline: none; border-color: var(--gold); }
.btn-search { padding: 13px 22px; background: var(--gold); color: var(--black); border: none; border-radius: 8px; font-size: 14px; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; transition: var(--tr); white-space: nowrap; }
.btn-search:hover { background: var(--gold-light); }

/* ═══ MODAL ═══ */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 9999; justify-content: center; align-items: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: 18px; width: 100%; max-width: 860px; max-height: 92vh; overflow-y: auto; }
.modal-img { height: 330px; overflow: hidden; border-radius: 18px 18px 0 0; position: relative; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; background: var(--black); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: var(--tr); }
.modal-x:hover { background: #444; }
.mbody { padding: 32px; }
.modal-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.modal-price { font-size: 30px; font-weight: 900; color: var(--black); white-space: nowrap; }
.modal-price span { font-size: 14px; font-weight: 400; color: var(--gray-600); }
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.modal-adr { color: var(--gray-600); font-size: 13px; display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.modal-adr i { color: var(--gold); }
.modal-specs { display: flex; gap: 20px; flex-wrap: wrap; padding: 16px; background: var(--gold-bg); border-radius: 10px; margin-bottom: 20px; border: 1px solid rgba(201,162,39,0.2); }
.mspec { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.mspec i { color: var(--gold); }
.modal-desc { font-size: 13px; color: var(--gray-600); line-height: 1.9; margin-bottom: 22px; }
.modal-feats h4 { font-size: 13px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.modal-feats h4 i { color: var(--gold); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 26px; }
.feat { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray-600); }
.feat i { color: var(--gold); font-size: 11px; }
.modal-acts { display: flex; gap: 12px; }
.mac-apply { flex: 2; padding: 15px; background: var(--gold); color: var(--black); border: none; border-radius: 10px; font-size: 15px; font-weight: 800; cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 9px; transition: var(--tr); font-family: 'Inter', sans-serif; }
.mac-apply:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); }
.mac-contact { flex: 1; padding: 15px; background: var(--black); color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; text-align: center; transition: var(--tr); font-family: 'Inter', sans-serif; }
.mac-contact:hover { background: #333; }

/* ═══ CONTACT PAGE ═══ */
.cta-cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; padding: 60px; background: var(--white); }
.cta-card { background: var(--white); border: 2px solid #eee; border-radius: var(--radius); padding: 40px; text-align: center; transition: var(--tr); }
.cta-card:hover { border-color: var(--gold); box-shadow: 0 12px 32px rgba(201,162,39,0.15); }
.cta-card .icon { font-size: 48px; color: var(--gold); margin-bottom: 20px; }
.cta-card h3 { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 16px; }
.cta-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; }
.fee-note { background: var(--gold-bg); border-left: 3px solid var(--gold); padding: 12px; border-radius: 4px; font-size: 13px; color: var(--black); margin-bottom: 24px; text-align: left; }
.cta-card-links { display: flex; flex-direction: column; gap: 12px; }
.cta-card-links a { padding: 12px; border-radius: 7px; text-decoration: none; font-weight: 600; font-size: 14px; transition: var(--tr); }
.cta-card-links a.primary { background: var(--gold); color: var(--black); }
.cta-card-links a.primary:hover { background: var(--gold-light); }
.cta-card-links a.outline { border: 2px solid var(--gold); color: var(--gold); }
.cta-card-links a.outline:hover { background: var(--gold); color: var(--white); }
.contact-section { padding: 60px; background: #fafafa; }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; }
.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid #eee; border-radius: 7px; font-size: 14px; font-family: 'Inter', sans-serif; color: var(--black); transition: var(--tr); background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { height: 140px; resize: vertical; }
.submit-btn { width: 100%; padding: 16px; background: var(--gold); color: var(--black); border: none; border-radius: 7px; font-size: 16px; font-weight: 800; cursor: pointer; font-family: 'Inter', sans-serif; transition: var(--tr); }
.submit-btn:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); }
.contact-info h3 { font-size: 24px; font-weight: 700; color: var(--black); margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.info-icon { width: 48px; height: 48px; background: var(--gold-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 20px; flex-shrink: 0; }
.info-text h4 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.info-text p, .info-text a { font-size: 14px; color: var(--gray-600); text-decoration: none; line-height: 1.6; }
.info-text a:hover { color: var(--gold); }
.service-hours { background: var(--black); border-radius: var(--radius); padding: 28px; margin-top: 32px; }
.service-hours h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.service-hours h4 i { color: var(--gold); }
.hours-list { display: flex; flex-direction: column; gap: 10px; }
.hours-item { display: flex; justify-content: space-between; font-size: 14px; color: rgba(255,255,255,0.6); padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hours-item:last-child { border-bottom: none; }
.hours-item .available { color: var(--gold); font-weight: 600; }

/* ═══ COMING SOON (Listings) ═══ */
.coming-soon-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 80px 40px; background: var(--gray-100); }
.coming-soon-box { background: var(--white); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); max-width: 780px; width: 100%; overflow: hidden; }
.cs-header { background: var(--black); padding: 52px 48px; text-align: center; }
.cs-icon { width: 80px; height: 80px; background: rgba(201,162,39,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 36px; color: var(--gold); }
.cs-header h2 { font-size: 36px; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.cs-header p { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.cs-body { padding: 48px; }
.cs-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.cs-feat { display: flex; align-items: flex-start; gap: 12px; background: var(--gold-bg); border: 1px solid rgba(201,162,39,0.2); border-radius: var(--radius); padding: 16px; }
.cs-feat i { color: var(--gold); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.cs-feat h4 { font-size: 14px; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.cs-feat p { font-size: 12px; color: var(--gray-600); line-height: 1.6; }
.cs-form h3 { font-size: 20px; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.cs-form p { font-size: 14px; color: var(--gray-600); margin-bottom: 24px; }
.cs-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cs-form input, .cs-form select, .cs-form textarea { width: 100%; padding: 12px 16px; border: 2px solid #eee; border-radius: 8px; font-size: 14px; font-family: 'Inter', sans-serif; color: var(--black); background: var(--white); transition: var(--tr); }
.cs-form input:focus, .cs-form select:focus, .cs-form textarea:focus { outline: none; border-color: var(--gold); }
.cs-form textarea { height: 100px; resize: vertical; margin-bottom: 14px; }
.cs-submit { width: 100%; padding: 16px; background: var(--gold); color: var(--black); border: none; border-radius: 8px; font-size: 16px; font-weight: 900; cursor: pointer; font-family: 'Inter', sans-serif; transition: var(--tr); display: flex; align-items: center; justify-content: center; gap: 10px; }
.cs-submit:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); }
.cs-contact-strip { background: var(--gold); padding: 24px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.cs-contact-strip p { font-size: 14px; font-weight: 600; color: var(--black); }
.cs-contact-strip a { color: var(--black); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* ═══ ABOUT PAGE ═══ */
.about-mission { padding: 80px 60px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: 18px; overflow: hidden; height: 440px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: 36px; font-weight: 900; color: var(--black); margin-bottom: 20px; }
.about-text h2 em { color: var(--gold); font-style: normal; }
.about-text p { font-size: 15px; color: var(--gray-600); line-height: 1.85; margin-bottom: 18px; }
.about-vals { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.aval { display: flex; align-items: flex-start; gap: 12px; }
.aval i { color: var(--gold); font-size: 16px; margin-top: 3px; flex-shrink: 0; }
.aval p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.about-stats { display: flex; gap: 40px; padding: 48px 60px; background: var(--black); flex-wrap: wrap; justify-content: center; }
.mstat { text-align: center; }
.mstat strong { display: block; font-size: 42px; font-weight: 900; color: var(--gold); margin-bottom: 6px; }
.mstat span { font-size: 13px; color: rgba(255,255,255,0.6); }
.team-section { padding: 80px 60px; background: var(--gray-100); }
.team-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.team-member-card { background: var(--white); border-radius: var(--radius); padding: 36px; display: flex; gap: 24px; align-items: flex-start; border: 1px solid #eee; transition: var(--tr); }
.team-member-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.team-member-icon { width: 64px; height: 64px; background: var(--gold-bg); border: 2px solid rgba(201,162,39,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--gold); flex-shrink: 0; }
.team-member-info h3 { font-size: 18px; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.team-member-info .title { font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.team-member-info p { font-size: 13px; color: var(--gray-600); line-height: 1.7; }

/* ═══ BLOG PAGE ═══ */
.blog-page-header { background: var(--black); color: var(--white); padding: 60px 52px; text-align: center; }
.filter-tabs { background: var(--white); border-bottom: 1px solid #eee; padding: 24px 52px; display: flex; gap: 40px; justify-content: center; }
.filter-tabs button { background: none; border: none; font-size: 15px; font-weight: 600; color: var(--gray-600); cursor: pointer; padding: 8px 0; transition: var(--tr); position: relative; font-family: 'Inter', sans-serif; }
.filter-tabs button.active, .filter-tabs button:hover { color: var(--black); }
.filter-tabs button.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--gold); }
.blog-articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 60px 52px; }
.article-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid #eee; transition: var(--tr); text-decoration: none; display: block; }
.article-card:hover { box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.article-img { height: 220px; overflow: hidden; position: relative; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.article-card:hover .article-img img { transform: scale(1.04); }
.article-cat { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--black); padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 800; }
.article-body { padding: 24px; }
.article-body h3 { font-size: 17px; font-weight: 800; color: var(--black); margin-bottom: 10px; line-height: 1.4; }
.article-body p { font-size: 13px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.article-meta { display: flex; gap: 16px; font-size: 12px; color: var(--gray-400); }
.article-meta i { color: var(--gold); }
.newsletter-strip { background: var(--black); padding: 60px; text-align: center; }
.newsletter-strip h3 { font-size: 28px; font-weight: 900; color: var(--white); margin-bottom: 10px; }
.newsletter-strip p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 20px; border: none; border-radius: 8px; font-size: 14px; font-family: 'Inter', sans-serif; }
.newsletter-form button { padding: 14px 28px; background: var(--gold); color: var(--black); border: none; border-radius: 8px; font-size: 14px; font-weight: 800; cursor: pointer; font-family: 'Inter', sans-serif; transition: var(--tr); white-space: nowrap; }
.newsletter-form button:hover { background: var(--gold-light); }

/* ═══ RESPONSIVE ═══ */
@media(max-width:1100px) {
  .grid-3, .team-grid { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .tenant-grid, .landlord-grid { grid-template-columns: 1fr; }
  .landlord-cards { grid-template-columns: 1fr 1fr; }
  .pc-grid { grid-template-columns: 1fr; }
  .cta-cards-grid { grid-template-columns: 1fr 1fr; }
  .blog-articles-grid { grid-template-columns: 1fr 1fr; }
  .cs-features { grid-template-columns: 1fr; }
}
@media(max-width:900px) {
  .section { padding: 60px 30px; }
  .stats-bar { padding: 20px 30px; }
  .referral { padding: 50px 30px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .idx { padding: 12px 30px; }
  .contact-section, .cta-cards-grid { padding: 40px 30px; }
  .newsletter-strip { padding: 40px 30px; }
  .cs-body { padding: 32px; }
  .cs-contact-strip { padding: 20px 32px; }
  .about-mission { padding: 60px 30px; }
}
@media(max-width:700px) {
  .navbar ul { display: none; }
  .navbar { padding: 0 20px; }
  .sfields { grid-template-columns: 1fr 1fr; }
  .grid-3, .blog-grid, .team-grid, .pc-grid { grid-template-columns: 1fr; }
  .landlord-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .section { padding: 52px 20px; }
  .referral { padding: 44px 20px; }
  .hero h1 { font-size: 38px; }
  .cta-cards-grid { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .team-cards-grid { grid-template-columns: 1fr; }
  .blog-articles-grid { grid-template-columns: 1fr; }
  .cs-form .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}


/* ============================================================
   CONTACT PAGE — Two-column intro
   ============================================================ */
.hbpm-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .hbpm-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hbpm-contact-block {
  background: #fff;
  border: 1px solid #e8e0d0;
  border-radius: 8px;
  padding: 2rem;
}

.hbpm-contact-block h2 {
  font-size: 1.4rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.hbpm-contact-block p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ============================================================
   CONTACT PAGE — Contact details three-column
   ============================================================ */
.hbpm-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .hbpm-three-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.hbpm-contact-detail {
  padding: 2rem 1rem;
  background: #f9f6f1;
  border-radius: 8px;
}

.hbpm-contact-detail i {
  font-size: 2rem;
  color: #c9a84c;
  margin-bottom: 0.75rem;
  display: block;
}

.hbpm-contact-detail h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.hbpm-contact-detail p a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.hbpm-contact-detail p a:hover {
  color: #c9a84c;
}

/* ============================================================
   FORM SECTIONS (Contact & Apply pages)
   ============================================================ */
.hbpm-form-section-wrap {
  background: #f9f6f1;
}

.hbpm-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.hbpm-form-wrap h2 {
  font-size: 1.6rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.hbpm-form-intro {
  color: #777;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* ============================================================
   APPLY PAGE — Intro box & checklist
   ============================================================ */
.hbpm-apply-intro {
  max-width: 800px;
  margin: 0 auto;
}

.hbpm-apply-intro-box {
  background: #1a1a1a;
  color: #fff;
  border-radius: 8px;
  padding: 2.5rem 3rem;
}

.hbpm-apply-intro-box h2 {
  color: #c9a84c;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.hbpm-apply-intro-box p {
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hbpm-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}

@media (max-width: 600px) {
  .hbpm-checklist {
    grid-template-columns: 1fr;
  }

  .hbpm-apply-intro-box {
    padding: 1.5rem;
  }

  .hbpm-form-wrap {
    padding: 1.5rem;
  }
}

.hbpm-checklist li {
  color: #e0e0e0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hbpm-checklist li i {
  color: #c9a84c;
  flex-shrink: 0;
}

/* ============================================================
   CF7 FORM STYLING
   ============================================================ */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form .wpcf7-select,
.wpcf7-form .wpcf7-date,
.wpcf7-form .wpcf7-number {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #d0c8b8;
  border-radius: 5px;
  font-size: 0.95rem;
  background: #faf9f7;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-tel:focus,
.wpcf7-form .wpcf7-textarea:focus,
.wpcf7-form .wpcf7-select:focus {
  outline: none;
  border-color: #c9a84c;
  background: #fff;
}

.wpcf7-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wpcf7-form p {
  margin-bottom: 1.2rem;
}

.wpcf7-form .wpcf7-submit {
  background: #c9a84c;
  color: #fff;
  border: none;
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.wpcf7-form .wpcf7-submit:hover {
  background: #b8943e;
}

.wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 5px;
  font-size: 0.95rem;
}

/* ============================================================
   CONTACT PAGE — Intro section spacing
   ============================================================ */
.hbpm-contact-intro .hbpm-container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}


/* ============================================================
   FOR LANDLORDS PAGE
   ============================================================ */
.hbpm-landlord-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .hbpm-landlord-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hbpm-landlord-text h2 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.hbpm-landlord-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.hbpm-landlord-text .btn {
  margin-top: 0.5rem;
  display: inline-block;
}

.hbpm-landlord-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .hbpm-landlord-highlights {
    grid-template-columns: 1fr;
  }
}

.hbpm-highlight-card {
  background: #f9f6f1;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 3px solid #c9a84c;
}

.hbpm-highlight-card i {
  font-size: 1.6rem;
  color: #c9a84c;
  margin-bottom: 0.6rem;
  display: block;
}

.hbpm-highlight-card h3 {
  font-size: 1rem;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
}

.hbpm-highlight-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* How It Works */
.hbpm-how-it-works {
  background: #1a1a1a;
}

.hbpm-section-title {
  text-align: center;
  font-size: 1.8rem;
  color: #c9a84c;
  margin-bottom: 2.5rem;
}

.hbpm-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .hbpm-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .hbpm-steps {
    grid-template-columns: 1fr;
  }
}

.hbpm-step {
  text-align: center;
  padding: 1.5rem 1rem;
}

.hbpm-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #c9a84c;
  color: #1a1a1a;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.hbpm-step h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.hbpm-step p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA section */
.hbpm-landlord-cta {
  background: #c9a84c;
}

.hbpm-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.hbpm-cta-inner h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.hbpm-cta-inner p {
  color: #3a2e10;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hbpm-landlord-cta .btn-gold {
  background: #1a1a1a;
  color: #c9a84c;
  border-color: #1a1a1a;
}

.hbpm-landlord-cta .btn-gold:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
}


/* ════════════════════════════════════════════════════════════
   MOBILE & RESPONSIVE OVERHAUL — Homebridge PM
   Breakpoints: 1100px | 900px | 700px (match theme standard)
   ════════════════════════════════════════════════════════════ */

/* ── NAVBAR MOBILE TOGGLE ── */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--black);
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 700px) {
  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile nav panel — slides in when .nav-open is on .navbar */
  .navbar ul {
    display: none;
    position: fixed;
    top: 74px;
    left: 0; right: 0;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    flex-direction: column;
    gap: 0;
    padding: 0;
    z-index: 999;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }

  .navbar.nav-open ul {
    display: flex;
  }

  .navbar ul li {
    border-bottom: 1px solid #f0ebe0;
  }

  .navbar ul a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
  }

  /* Stack nav-btns under the links */
  .nav-btns {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 10px;
    background: var(--white);
    position: fixed;
    left: 0; right: 0;
    top: 74px;
    z-index: 998;
  }

  .navbar.nav-open .nav-btns {
    display: flex;
  }

  /* Adjust mobile nav to stack btns after links */
  .navbar.nav-open ul {
    padding-bottom: 0;
  }

  /* Overlay behind open menu */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 74px 0 0 0;
    background: rgba(0,0,0,0.35);
    z-index: 997;
  }
  .navbar.nav-open ~ .nav-overlay,
  body.nav-open .nav-overlay {
    display: block;
  }

  .nav-tag { display: none; }
}

/* ── HBPM SECTION SPACING — consistent with theme .section ── */
.hbpm-main { padding-top: 0; }

.hbpm-page-hero {
  padding: 80px 52px 60px;
  background: var(--black);
  color: var(--white);
}

.hbpm-page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.hbpm-page-hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  font-family: 'Inter', sans-serif;
}

.hbpm-section {
  padding: 88px 52px;
}

.hbpm-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ── BUTTON CONSISTENCY ── */
.btn {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--tr);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

/* ── TYPOGRAPHY CONSISTENCY ── */
.hbpm-main h1, .hbpm-main h2, .hbpm-main h3,
.hbpm-main h4, .hbpm-main h5 {
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}
.hbpm-main p, .hbpm-main li, .hbpm-main label {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}

/* ── RESPONSIVE: 900px ── */
@media (max-width: 900px) {
  .hbpm-page-hero { padding: 60px 30px 48px; }
  .hbpm-section { padding: 60px 30px; }

  /* Two-col → single col */
  .hbpm-two-col { grid-template-columns: 1fr; gap: 2rem; }
  .hbpm-three-col { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hbpm-landlord-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hbpm-landlord-highlights { grid-template-columns: 1fr 1fr; }

  /* Steps */
  .hbpm-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* Form wrap */
  .hbpm-form-wrap { padding: 2rem; }

  /* Apply intro */
  .hbpm-apply-intro-box { padding: 2rem; }
  .hbpm-checklist { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ── RESPONSIVE: 700px (mobile) ── */
@media (max-width: 700px) {
  .hbpm-page-hero { padding: 48px 20px 36px; }
  .hbpm-section { padding: 48px 20px; }

  .hbpm-page-hero h1 { font-size: 1.75rem; }
  .hbpm-page-hero p { font-size: 1rem; }

  /* All grids → single col */
  .hbpm-two-col,
  .hbpm-three-col,
  .hbpm-landlord-highlights,
  .hbpm-steps { grid-template-columns: 1fr; gap: 1rem; }

  .hbpm-landlord-grid { grid-template-columns: 1fr; }

  /* Form wrap */
  .hbpm-form-wrap {
    padding: 1.25rem;
    border-radius: 6px;
  }

  /* Apply intro box */
  .hbpm-apply-intro-box { padding: 1.25rem 1.5rem; }

  /* Contact detail */
  .hbpm-contact-detail { padding: 1.25rem; }

  /* Highlight cards */
  .hbpm-highlight-card { padding: 1.25rem; }

  /* CTA */
  .hbpm-cta-inner h2 { font-size: 1.5rem; }
  .hbpm-cta-inner p { font-size: 0.95rem; }

  /* Buttons full-width on mobile */
  .hbpm-contact-block .btn,
  .hbpm-landlord-text .btn,
  .hbpm-cta-inner .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Section title */
  .hbpm-section-title { font-size: 1.4rem; margin-bottom: 1.5rem; }

  /* CF7 form */
  .wpcf7-form .wpcf7-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}

/* ── CF7 FORM — INPUT SIZING FIX ── */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-number,
.wpcf7-form .wpcf7-date,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form .wpcf7-select {
  -webkit-appearance: none;
  appearance: none;
  font-size: 16px; /* Prevents iOS zoom on focus */
  font-family: 'Inter', sans-serif;
}

/* ── FOOTER MOBILE ── */
@media (max-width: 700px) {
  .foot-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .footer { padding: 48px 20px 24px !important; }
}

/* ── GENERAL MOBILE UTILITIES ── */
@media (max-width: 700px) {
  /* Prevent horizontal overflow */
  body { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
  * { box-sizing: border-box; }
}


/* ════════════════════════════════════════════════════════════
   MOBILE FIX v2 — Navbar, grids, homepage sections
   ════════════════════════════════════════════════════════════ */

/* ── Prevent ALL horizontal overflow site-wide ── */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }

/* ── NAVBAR: mobile layout ─────────────────────────────── */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; }
  .nav-brand { font-size: 13px; }
  .nav-btns .btn { padding: 9px 14px; font-size: 12px; }
}

@media (max-width: 700px) {
  /* Hide links and buttons — show hamburger only */
  .navbar ul       { display: none !important; }
  .nav-btns        { display: none !important; }
  .nav-mobile-toggle { display: flex !important; }

  /* When menu is open, show them stacked under the navbar */
  .navbar.nav-open ul {
    display: flex !important;
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: #fff;
    border-top: 3px solid var(--gold);
    flex-direction: column;
    gap: 0;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }
  .navbar.nav-open ul li { border-bottom: 1px solid #f0ebe0; }
  .navbar.nav-open ul a  { display: block; padding: 15px 24px; font-size: 15px; }
  .navbar.nav-open .nav-btns {
    display: flex !important;
    position: fixed;
    top: auto;
    left: 0; right: 0;
    flex-direction: column;
    padding: 12px 20px 20px;
    background: #fff;
    gap: 10px;
    z-index: 9998;
    border-top: 1px solid #f0ebe0;
  }

  /* Nav logo: never wrap, hide tagline */
  .nav-logo { gap: 8px; flex-shrink: 0; min-width: 0; }
  .nav-brand { font-size: 13px; white-space: nowrap; letter-spacing: 0; }
  .nav-tag { display: none !important; }

  /* Hamburger button */
  .nav-mobile-toggle {
    font-size: 20px;
    padding: 6px 8px;
    flex-shrink: 0;
  }
}

/* ── HOMEPAGE: two-column / three-column grids ─────────── */
@media (max-width: 900px) {
  .tenant-grid,
  .landlord-grid,
  .pc-grid,
  .grid-3,
  .team-grid,
  .blog-grid { grid-template-columns: 1fr !important; }

  .section { padding: 60px 24px !important; }
  .hero     { padding: 60px 24px 48px !important; }
}

@media (max-width: 700px) {
  .tenant-grid,
  .landlord-grid,
  .pc-grid,
  .grid-3,
  .team-grid,
  .blog-grid,
  .foot-grid { grid-template-columns: 1fr !important; gap: 24px !important; }

  .section { padding: 48px 20px !important; }
  .hero     { padding: 48px 20px 36px !important; }
  .stats-bar { padding: 16px 20px !important; flex-direction: column; gap: 12px; }

  /* Keep landlord-btns stacked */
  .landlord-btns { flex-direction: column; gap: 10px; }
  .landlord-btns .btn { width: 100%; justify-content: center; text-align: center; }

  /* Footer */
  .footer  { padding: 48px 20px 24px !important; }
  .fcol    { margin-bottom: 16px; }
}

/* ── HBPM CUSTOM PAGES: section/container ───────────────── */
@media (max-width: 900px) {
  .hbpm-page-hero { padding: 60px 24px 48px !important; }
  .hbpm-section   { padding: 60px 24px !important; }
  .hbpm-container { padding: 0 !important; }
}
@media (max-width: 700px) {
  .hbpm-page-hero { padding: 48px 20px 36px !important; }
  .hbpm-section   { padding: 44px 20px !important; }
  .hbpm-form-wrap { padding: 20px !important; border-radius: 8px; }
  .hbpm-apply-intro-box { padding: 20px !important; }
  .hbpm-two-col   { grid-template-columns: 1fr !important; gap: 20px !important; }
  .hbpm-three-col { grid-template-columns: 1fr !important; gap: 16px !important; }
  .hbpm-landlord-grid { grid-template-columns: 1fr !important; }
  .hbpm-landlord-highlights { grid-template-columns: 1fr !important; gap: 12px !important; }
  .hbpm-steps     { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .hbpm-checklist { grid-template-columns: 1fr !important; gap: 8px; }
}

/* CF7 inputs — prevent iOS zoom on focus */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
  font-size: 16px !important;
  max-width: 100%;
  width: 100%;
}


/* ── Contact page intro section ───────────────────────── */
.hbpm-contact-intro-section { background: #111; }
.hbpm-contact-intro-inner   { max-width: 800px; margin: 0 auto; }

/* Tenant redirect line inside the dark box */
.hbpm-tenant-redirect {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.9rem;
}
.hbpm-tenant-redirect a {
  color: var(--gold, #c9a84c);
  text-decoration: none;
  font-weight: 600;
}
.hbpm-tenant-redirect a:hover { text-decoration: underline; }
.hbpm-tenant-redirect strong  { color: rgba(255,255,255,0.85); }


/* ─── LOGO IMAGE ──────────────────────────────────────────────────────────────────────────── */
.nav-logo {
  flex-shrink: 0 !important;
  gap: 0 !important;
}
.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 700px) {
  .nav-logo-img { height: 44px; }
}

/* ─── MOBILE OVERFLOW FIX ────────────────────────────────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 700px) {
  /* Prevent any element from blowing out the viewport width */
  .hero-pill      { max-width: 100%; white-space: normal; }
  .stabs          { flex-wrap: wrap; }
  .search-card    { max-width: 100%; box-sizing: border-box; }
  .stab           { font-size: 12px; padding: 6px 12px; }
  img             { max-width: 100%; height: auto; }
  .hero h1        { word-break: break-word; }
  .hero-sub       { max-width: 100%; }
  .s-header       { max-width: 100%; overflow: hidden; }
}

/* ─── SERVICES SPLIT GRID (FOR TENANTS / FOR LANDLORDS cards) ───────────────── */
.services-split-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

@media (max-width: 700px) {
  .services-split-grid {
    grid-template-columns: 1fr !important;
    padding: 32px 20px !important;
  }
  /* Hide the divider column on mobile */
  .services-split-grid > *:nth-child(2) {
    display: none !important;
  }
}