:root{
  --gold:#F5B717;
  --gold-dark:#e0a50a;
  --ink:#161616;
  --charcoal:#20272e;
  --charcoal-2:#2a323a;
  --grey:#6b7280;
  --grey-light:#9aa3ad;
  --line:#e8eaed;
  --bg:#ffffff;
  --bg-soft:#f6f7f8;
  --radius:14px;
  --shadow:0 10px 30px rgba(17,24,39,.08);
  --maxw:1200px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,.brandfont{font-family:'Poppins',sans-serif;letter-spacing:-.01em}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
.btn{display:inline-flex;align-items:center;gap:8px;font-weight:600;border:none;cursor:pointer;border-radius:10px;padding:13px 22px;font-size:14px;transition:.2s;font-family:'Inter',sans-serif}
.btn-gold{background:var(--gold);color:var(--ink)}
.btn-gold:hover{background:var(--gold-dark)}
.btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.55)}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#000}
.sec{padding:78px 0}
.eyebrow{color:var(--gold-dark);font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}

/* ---------- Header ---------- */
.topbar{position:sticky;top:0;z-index:60;transition:.25s}
.topbar.solid{background:#fff;box-shadow:0 2px 18px rgba(0,0,0,.07)}
.nav{display:flex;align-items:center;gap:26px;padding:16px 0}
.logo{display:flex;align-items:center;gap:9px;font-family:'Poppins';font-weight:800;line-height:.95;font-size:15px}
.logo svg{width:38px;height:38px;flex:none}
.logo .lt{letter-spacing:.02em}
.navlinks{display:flex;align-items:center;gap:22px;margin-left:14px}
.navlinks a{font-size:13.5px;font-weight:600;letter-spacing:.01em;color:inherit;white-space:nowrap;opacity:.9}
.navlinks a:hover{color:var(--gold-dark);opacity:1}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:18px}
.nav-right .txtlink{font-size:13.5px;font-weight:600}
.nav-right .txtlink:hover{color:var(--gold-dark)}
/* header colour states */
.topbar:not(.solid) .navlinks a,
.topbar:not(.solid) .nav-right .txtlink,
.topbar:not(.solid) .logo{color:#fff}
.topbar:not(.solid) .logo svg [stroke]{stroke:#fff}
.topbar.solid .logo svg [stroke]{stroke:var(--ink)}
.burger{display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px;padding:6px}
.burger span{width:24px;height:2px;background:currentColor;display:block}
.topbar:not(.solid) .burger{color:#fff}
.topbar.solid .burger{color:var(--ink)}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:660px;display:flex;align-items:center;margin-top:-74px;padding-top:120px;padding-bottom:120px;
  background:linear-gradient(rgba(20,25,30,.45),rgba(20,25,30,.55)),url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1900&q=80');
  background-size:cover;background-position:center}
.hero h1{color:#fff;font-size:clamp(34px,5vw,62px);font-weight:700;line-height:1.05;max-width:760px}
.status-tabs{display:flex;gap:10px;margin:26px 0 6px}
.status-tabs button{border:none;cursor:pointer;font-weight:600;font-size:12.5px;letter-spacing:.04em;padding:9px 18px;border-radius:7px;background:rgba(255,255,255,.9);color:var(--ink);transition:.2s}
.status-tabs button.active{background:var(--gold);color:var(--ink)}
.searchcard{background:#fff;border-radius:14px;padding:20px;display:grid;grid-template-columns:2fr 1.2fr 1.2fr 1.2fr auto;gap:16px;align-items:end;box-shadow:var(--shadow);max-width:1050px}
.field label{display:block;font-size:11px;font-weight:700;letter-spacing:.05em;color:var(--grey);margin-bottom:7px;text-transform:uppercase}
.field input,.field select{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px 13px;font-size:14px;font-family:'Inter';background:#fff;color:var(--ink)}
.field input:focus,.field select:focus{outline:none;border-color:var(--gold)}
.searchcard .btn{height:46px;padding:0 24px;justify-content:center}

/* category strip */
.catstrip{background:#fff;border-radius:16px;box-shadow:var(--shadow);margin-top:-46px;position:relative;z-index:5;
  display:grid;grid-template-columns:repeat(6,1fr);padding:26px 10px}
.cat{display:flex;flex-direction:column;align-items:center;gap:12px;padding:8px;text-align:center;transition:.2s}
.cat:hover{transform:translateY(-3px)}
.cat svg{width:34px;height:34px;stroke:var(--ink);fill:none;stroke-width:1.5}
.cat span{font-family:'Poppins';font-weight:600;font-size:13px}

/* ---------- Section headings ---------- */
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:38px}
.sec-head h2{font-size:clamp(26px,3.2vw,38px);font-weight:700;max-width:560px;line-height:1.12}
.sec-head p{color:var(--grey);max-width:420px;font-size:15px}

/* ---------- Property cards ---------- */
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.pcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s;display:flex;flex-direction:column}
.pcard:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.pcard .img{position:relative;aspect-ratio:16/11;overflow:hidden}
.pcard .img img{width:100%;height:100%;object-fit:cover;transition:.4s}
.pcard:hover .img img{transform:scale(1.05)}
.badge{position:absolute;top:12px;font-size:10.5px;font-weight:700;letter-spacing:.05em;padding:5px 10px;border-radius:6px;text-transform:uppercase}
.badge.feat{left:12px;background:#22a24a;color:#fff}
.badge.veri{right:12px;background:#fff;color:#15803d;display:flex;align-items:center;gap:4px}
.badge.tag{left:12px;background:var(--gold);color:var(--ink)}
.pcard .body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.pcard h3{font-size:17px;font-weight:600}
.pcard .price{font-family:'Poppins';font-weight:700;font-size:19px;color:var(--ink)}
.pcard .rent{font-size:12px;font-weight:500;color:var(--grey)}
.pcard .loc{color:var(--grey);font-size:13px;display:flex;align-items:center;gap:5px}
.pcard .type{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--grey);text-transform:uppercase}
.pcard .meta{display:flex;gap:18px;border-top:1px solid var(--line);margin-top:auto;padding-top:14px;color:var(--grey);font-size:13px}
.pcard .meta span{display:flex;align-items:center;gap:6px}
.pcard .meta svg{width:16px;height:16px;stroke:var(--grey);fill:none;stroke-width:1.6}

/* ---------- Services ---------- */
.services{background:var(--bg-soft)}
.svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.svc{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 22px;transition:.2s}
.svc:hover{box-shadow:var(--shadow)}
.svc svg{width:34px;height:34px;stroke:var(--gold-dark);fill:none;stroke-width:1.5;margin-bottom:14px}
.svc h3{font-size:17px;font-weight:600;margin-bottom:8px}
.svc p{color:var(--grey);font-size:13.5px}

/* ---------- Dark market band ---------- */
.market{background:var(--charcoal);color:#fff;border-radius:20px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:52px;align-items:center}
.market .imgwrap{position:relative}
.market .imgwrap img{border-radius:14px;width:100%;aspect-ratio:4/5;object-fit:cover}
.trust-pill{position:absolute;top:-16px;left:-16px;background:#fff;color:var(--ink);border-radius:40px;padding:12px 20px;display:flex;align-items:center;gap:10px;font-weight:600;font-size:14px;box-shadow:var(--shadow)}
.trust-pill svg{width:22px;height:22px;stroke:var(--gold-dark);fill:none;stroke-width:1.6}
.market h2{font-size:clamp(26px,3vw,36px);font-weight:700;line-height:1.15;margin-bottom:18px}
.market p{color:#c6ccd2;font-size:15px;margin-bottom:26px;max-width:440px}
.market-icons{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:44px;border-top:1px solid rgba(255,255,255,.12);padding-top:30px}
.market-icons svg{width:34px;height:34px;stroke:var(--gold);fill:none;stroke-width:1.4;margin-bottom:8px}
.market-icons div span{font-size:12.5px;color:#c6ccd2}

/* ---------- Agents ---------- */
.agrid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.acard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;display:flex;gap:18px;align-items:center;transition:.2s}
.acard:hover{box-shadow:var(--shadow)}
.acard img{width:96px;height:96px;border-radius:12px;object-fit:cover;flex:none}
.acard .info{flex:1}
.acard .name{font-family:'Poppins';font-weight:600;font-size:16px;display:flex;align-items:center;gap:8px}
.mini-verified{background:#e7f6ec;color:#15803d;font-size:10px;font-weight:700;padding:3px 8px;border-radius:20px;display:inline-flex;align-items:center;gap:3px}
.acard .vl{color:var(--gold-dark);font-size:13px;font-weight:600;margin:3px 0 8px}
.acard .ph{color:var(--grey);font-size:13px;display:flex;gap:14px;flex-wrap:wrap}
.acard .actions{display:flex;flex-direction:column;gap:10px}
.icbtn{width:44px;height:44px;border-radius:10px;background:var(--gold);display:flex;align-items:center;justify-content:center;transition:.2s}
.icbtn:hover{background:var(--gold-dark)}
.icbtn svg{width:20px;height:20px;stroke:var(--ink);fill:none;stroke-width:1.7}
.icbtn.wa{background:#25D366}
.icbtn.wa svg{stroke:#fff;fill:#fff;stroke-width:0}

/* ---------- Testimonials ---------- */
.testi{background:var(--charcoal);color:#fff;border-radius:20px;padding:64px 40px;text-align:center;position:relative}
.stars{color:var(--gold);letter-spacing:4px;font-size:20px;margin-bottom:14px}
.testi h2{font-size:clamp(24px,3vw,34px);font-weight:700;margin-bottom:40px}
.tquote{max-width:720px;margin:0 auto;font-size:19px;line-height:1.6;color:#e4e8ec;font-family:'Poppins';font-weight:400}
.tauthor{margin-top:26px}
.tauthor .n{font-weight:700;font-family:'Poppins'}
.tauthor .r{color:var(--gold);font-size:13px}
.tnav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.08);border:none;width:44px;height:44px;border-radius:10px;color:#fff;cursor:pointer;font-size:18px}
.tnav:hover{background:rgba(255,255,255,.18)}
.tnav.prev{left:24px}.tnav.next{right:24px}

/* ---------- Blog ---------- */
.bgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.bcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.2s;display:flex;flex-direction:column}
.bcard:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.bcard .img{aspect-ratio:16/11;overflow:hidden}
.bcard .img img{width:100%;height:100%;object-fit:cover;transition:.4s}
.bcard:hover .img img{transform:scale(1.05)}
.bcard .body{padding:18px;display:flex;flex-direction:column;gap:9px;flex:1}
.bmeta{display:flex;gap:14px;font-size:12px;color:var(--grey)}
.bmeta .cat{color:var(--gold-dark);font-weight:600}
.bcard h3{font-size:16px;font-weight:600;line-height:1.35}
.bcard p{color:var(--grey);font-size:13.5px}
.bcard .rd{margin-top:auto;font-weight:600;font-size:13.5px;color:var(--ink)}
.bcard .rd:hover{color:var(--gold-dark)}

/* ---------- Valuation CTA ---------- */
.valu{position:relative;border-radius:20px;overflow:hidden;color:#fff;
  background:linear-gradient(rgba(20,25,30,.5),rgba(20,25,30,.55)),url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1600&q=80');
  background-size:cover;background-position:center;padding:64px 52px}
.valu h2{font-size:clamp(26px,3.2vw,40px);font-weight:700;max-width:440px;line-height:1.1;margin-bottom:16px}
.valu p{max-width:440px;color:#e4e8ec;margin-bottom:26px}

/* ---------- Footer ---------- */
.foot{background:var(--charcoal);color:#c6ccd2;padding:64px 0 0}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.6fr;gap:40px;padding-bottom:48px}
.foot .logo{color:#fff;margin-bottom:20px}
.foot .logo svg [stroke]{stroke:#fff}
.foot .contact{display:flex;flex-direction:column;gap:12px;font-size:14px}
.foot .contact div{display:flex;align-items:center;gap:10px}
.foot .contact svg{width:18px;height:18px;stroke:var(--gold);fill:none;stroke-width:1.6;flex:none}
.foot h4{color:#fff;font-size:15px;font-weight:600;margin-bottom:18px}
.foot ul{list-style:none;display:flex;flex-direction:column;gap:11px}
.foot ul a{font-size:14px;color:#c6ccd2;display:flex;align-items:center;gap:7px}
.foot ul a:hover{color:var(--gold)}
.foot ul a::before{content:'›';color:var(--gold)}
.foot ul .ct{color:var(--grey-light);font-size:12px}
.news p{font-size:14px;margin-bottom:16px}
.newsform{display:flex;background:#fff;border-radius:10px;overflow:hidden;max-width:340px}
.newsform input{flex:1;border:none;padding:14px;font-size:14px;font-family:'Inter'}
.newsform input:focus{outline:none}
.newsform button{background:var(--gold);border:none;padding:0 22px;font-weight:700;font-size:12px;letter-spacing:.05em;cursor:pointer;color:var(--ink)}
.newsform button:hover{background:var(--gold-dark)}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1);padding:22px 0;display:flex;justify-content:space-between;font-size:13px;color:var(--grey-light);flex-wrap:wrap;gap:10px}
.foot-bottom a{color:var(--grey-light)}
.foot-bottom a:hover{color:var(--gold)}

/* back to top */
.totop{position:fixed;bottom:26px;right:26px;width:46px;height:46px;border-radius:10px;background:var(--ink);color:#fff;border:none;cursor:pointer;display:none;align-items:center;justify-content:center;font-size:18px;z-index:50}
.totop.show{display:flex}

/* ---------- Responsive ---------- */
@media(max-width:980px){
  .navlinks,.nav-right .txtlink{display:none}
  .burger{display:flex}
  .searchcard{grid-template-columns:1fr 1fr;padding:18px}
  .searchcard .btn{grid-column:span 2}
  .catstrip{grid-template-columns:repeat(3,1fr);gap:8px}
  .pgrid,.svc-grid,.bgrid{grid-template-columns:1fr 1fr}
  .agrid{grid-template-columns:1fr}
  .market{grid-template-columns:1fr;padding:32px}
  .foot-grid{grid-template-columns:1fr 1fr}
  .sec-head{flex-direction:column;align-items:flex-start}
}
@media(max-width:600px){
  .sec{padding:52px 0}
  .searchcard{grid-template-columns:1fr}
  .searchcard .btn{grid-column:span 1}
  .catstrip{grid-template-columns:repeat(2,1fr)}
  .pgrid,.svc-grid,.bgrid,.foot-grid{grid-template-columns:1fr}
  .market-icons{grid-template-columns:1fr 1fr}
  .hero{min-height:560px}
}

/* mobile menu */
.mobile-menu{display:none;position:fixed;inset:0;z-index:200;background:var(--charcoal)}
.mobile-menu.open{display:flex;flex-direction:column;padding:26px}
.mobile-menu .mm-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}
.mobile-menu .logo{color:#fff}.mobile-menu .logo svg [stroke]{stroke:#fff}
.mobile-menu a{color:#fff;font-family:'Poppins';font-weight:600;font-size:19px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.mm-close{background:none;border:none;color:#fff;font-size:30px;cursor:pointer}

/* ---- Interior page additions ---- */
.topbar.static{position:sticky}
.page-hero{background:var(--charcoal);color:#fff;padding:120px 0 60px}
.page-hero.short{padding:110px 0 44px}
.page-hero h1{font-size:clamp(30px,4vw,52px);font-weight:700;line-height:1.05;color:#fff}
.page-hero p{color:#c6ccd2;max-width:620px;margin-top:14px;font-size:16px}
.crumb{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--gold);margin-bottom:18px}
.crumb a{color:#c6ccd2}.crumb a:hover{color:var(--gold)}
.section-white{padding:60px 0}
.filterbar{background:#fff;border-radius:14px;padding:20px;box-shadow:var(--shadow);display:grid;grid-template-columns:2fr 1.2fr 1fr 1.2fr 1.2fr auto;gap:14px;align-items:end;margin-top:-46px;position:relative;z-index:5}
.filterbar .field label{color:var(--grey)}
.filterbar .btn{height:46px;justify-content:center}
.result-count{color:var(--grey);font-size:14px;margin:26px 0 18px}
.empty{text-align:center;padding:60px 20px;color:var(--grey)}
.empty h3{font-family:'Poppins';color:var(--ink);margin-bottom:8px}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:44px}
.pagination a,.pagination span{padding:9px 15px;border:1px solid var(--line);border-radius:9px;font-size:14px;font-weight:600}
.pagination .on{background:var(--gold);border-color:var(--gold)}
.pagination a:hover{border-color:var(--gold)}
.pd-gallery{border-radius:16px;overflow:hidden;aspect-ratio:16/9;background:#eee}
.pd-gallery img{width:100%;height:100%;object-fit:cover}
.pd-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.pd-thumbs img{border-radius:10px;aspect-ratio:4/3;object-fit:cover;cursor:pointer}
.pd-layout{display:grid;grid-template-columns:1fr 340px;gap:36px;margin-top:36px}
.pd-badges{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.pd-title{font-size:30px;font-weight:700;font-family:'Poppins';margin-bottom:6px}
.pd-loc{color:var(--grey);margin-bottom:16px}
.pd-price{font-family:'Poppins';font-weight:700;font-size:30px;color:var(--gold-dark);margin-bottom:20px}
.pd-facts{display:flex;gap:26px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:24px;flex-wrap:wrap}
.pd-facts .f{display:flex;flex-direction:column;gap:4px}
.pd-facts .f b{font-family:'Poppins';font-size:18px}
.pd-facts .f span{font-size:12px;color:var(--grey);text-transform:uppercase;letter-spacing:.04em}
.pd-body h3{font-family:'Poppins';margin:24px 0 10px;font-size:20px}
.pd-body p{color:#374151;margin-bottom:12px}
.agent-box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;position:sticky;top:90px}
.agent-box .top{display:flex;gap:14px;align-items:center;margin-bottom:18px}
.agent-box img{width:64px;height:64px;border-radius:12px;object-fit:cover}
.agent-box .nm{font-family:'Poppins';font-weight:600}
.agent-box .rl{font-size:12px;color:var(--grey);text-transform:uppercase;letter-spacing:.05em}
.agent-box .btn{width:100%;justify-content:center;margin-top:10px}
.inq-form input,.inq-form textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px;font-size:14px;font-family:'Inter';margin-bottom:10px}
.inq-form textarea{min-height:90px;resize:vertical}
.flash{padding:14px 18px;border-radius:10px;margin-bottom:18px;font-size:14px}
.flash.ok{background:#e7f6ec;color:#15803d}
.flash.err{background:#fdeaea;color:#b91c1c}
.agent-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.agent-tile{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.2s}
.agent-tile:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.agent-tile .ph{aspect-ratio:1/1;overflow:hidden;position:relative;background:#eef1f3}
.agent-tile .ph img{width:100%;height:100%;object-fit:cover}
.agent-tile .in{padding:20px;text-align:center}
.agent-tile .in h3{font-family:'Poppins';font-size:18px}
.agent-tile .in .rl{color:var(--grey);font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin:4px 0 12px}
.agent-tile .in .btn{width:100%;justify-content:center}
.auth-wrap{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:120px 20px 60px;background:var(--bg-soft)}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:40px;width:100%;max-width:440px;box-shadow:var(--shadow)}
.auth-card h1{font-size:26px;font-family:'Poppins';margin-bottom:6px}
.auth-card .sub{color:var(--grey);font-size:14px;margin-bottom:24px}
.auth-card label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.auth-card input,.auth-card select{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px;font-size:14px;font-family:'Inter';margin-bottom:16px}
.auth-card input:focus,.auth-card select:focus{outline:none;border-color:var(--gold)}
.auth-card .btn{width:100%;justify-content:center;margin-top:4px}
.auth-card .alt{text-align:center;margin-top:18px;font-size:14px;color:var(--grey)}
.auth-card .alt a{color:var(--gold-dark);font-weight:600}
.dash-layout{display:grid;grid-template-columns:230px 1fr;gap:30px;padding:110px 0 60px}
.dash-side{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;height:fit-content}
.dash-side a{display:block;padding:11px 14px;border-radius:9px;font-size:14px;font-weight:600;color:var(--ink)}
.dash-side a.on,.dash-side a:hover{background:var(--gold);color:var(--ink)}
.dash-main h1{font-family:'Poppins';font-size:26px;margin-bottom:20px}
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}
.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}
.stat b{font-family:'Poppins';font-size:26px;display:block}
.stat span{color:var(--grey);font-size:13px}
table.tbl{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
table.tbl th,table.tbl td{text-align:left;padding:13px 15px;border-bottom:1px solid var(--line);font-size:14px}
table.tbl th{background:var(--bg-soft);font-family:'Poppins';font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--grey)}
.pill{font-size:11px;font-weight:700;padding:4px 9px;border-radius:20px}
.pill.published{background:#e7f6ec;color:#15803d}
.pill.pending{background:#fef3cd;color:#92660a}
.pill.rejected{background:#fdeaea;color:#b91c1c}
@media(max-width:900px){.dash-layout{grid-template-columns:1fr}.stat-row{grid-template-columns:1fr 1fr}.agent-cards{grid-template-columns:1fr 1fr}.pd-layout{grid-template-columns:1fr}.filterbar{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.agent-cards{grid-template-columns:1fr}.filterbar{grid-template-columns:1fr}}

/* ---- Batch 3: property media viewer (video-first) ---- */
.pd-media{display:flex;flex-direction:column;gap:14px}
.pd-video{border-radius:16px;overflow:hidden;background:#000;aspect-ratio:16/9}
.pd-video video{width:100%;height:100%;object-fit:cover;display:block}
.pd-photostrip{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pd-photostrip img{width:100%;border-radius:14px;object-fit:cover;aspect-ratio:4/3}
.pd-photostrip img:first-child:nth-last-child(odd){grid-column:1/-1;aspect-ratio:16/9}
@media(max-width:600px){.pd-photostrip{grid-template-columns:1fr}}

/* ---- Real logo: show white over dark header, dark when header is solid ---- */
/* footer + dashboards are dark -> force white logo there */
/* mobile menu is dark -> white logo */
/* the brand text fallback only shows when using SVG fallback */

/* ---- Batch 8: purpose tag + card contact buttons ---- */
.badge.sale{left:12px;background:#2563eb;color:#fff}
.badge.rent{left:12px;background:#7c3aed;color:#fff}
.pcard .purpose-row{display:flex;align-items:center;gap:8px;margin-top:2px}
.card-contacts{display:flex;gap:8px;padding:0 18px 16px}
.card-contacts a{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;border-radius:9px;font-size:13px;font-weight:600;transition:.15s}
.card-contacts .call{background:var(--ink);color:#fff}
.card-contacts .call:hover{background:#000}
.card-contacts .wa{background:#25D366;color:#fff}
.card-contacts .wa:hover{filter:brightness(.94)}
.card-contacts svg{width:15px;height:15px}
.pcard-wrap{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s}
.pcard-wrap:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.pcard-wrap .pcard{border:none;border-radius:0;transform:none!important;box-shadow:none!important}
.pcard-wrap .pcard:hover{transform:none;box-shadow:none}

/* ---- Batch 10: state filter strip ---- */
.state-strip{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}
.state-chip{text-align:center;transition:.2s}
.state-chip:hover{transform:translateY(-3px)}
.state-chip img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.state-chip-cap{margin-top:8px}
.state-chip-cap b{display:block;font-family:'Poppins';font-size:13px}
.state-chip-cap span{font-size:11px;color:var(--grey)}
@media(max-width:900px){.state-strip{grid-template-columns:repeat(4,1fr)}}
@media(max-width:600px){.state-strip{grid-template-columns:repeat(2,1fr)}}


/* ---- Bulletproof logo toggle (Batch fix) ---- */
.logo{display:flex;align-items:center;gap:0}
.ht-logo{display:none!important}
/* transparent header (over hero) -> white logo */
.topbar:not(.solid) .ht-logo-white{display:block!important}
.topbar:not(.solid) .ht-logo-dark{display:none!important}
/* solid header (scrolled) or static interior pages -> dark logo */
.topbar.solid .ht-logo-dark{display:block!important}
.topbar.solid .ht-logo-white{display:none!important}
/* footer is dark -> white logo only */
.foot .ht-logo-white{display:block!important}
.foot .ht-logo-dark{display:none!important}
/* mobile menu is dark -> white only */
.mobile-menu .ht-logo-white{display:block!important}
.mobile-menu .ht-logo-dark{display:none!important}

/* ---- Header alignment fixes ---- */
.nav{flex-wrap:nowrap}
.navlinks{flex-wrap:wrap}
.btn-outline{white-space:nowrap;padding:11px 18px;line-height:1;border-radius:10px}
.nav-right .btn-outline{align-self:center}
.nav-right{flex-shrink:0}
@media(max-width:1100px){
  .navlinks a{font-size:12.5px}
  .nav{gap:16px}
}
