/* ============================================================
   Go Home Real Estate Brokers — main stylesheet
   ============================================================ */

:root{
  --navy-950:#081527;
  --navy-900:#0b1e3b;
  --navy-800:#122a4d;
  --navy-700:#1a3a68;
  --gold-500:#c6a15b;
  --gold-400:#d8b878;
  --gold-100:#f3e6cc;
  --cream:#f8f5ef;
  --white:#ffffff;
  --ink:#182233;
  --ink-soft:#5a6478;
  --border:#e6e2d8;
  --shadow:0 20px 50px -20px rgba(8,21,39,.25);
  --radius:14px;
  --radius-lg:22px;
  --maxw:1180px;
  --ff-head:'Poppins',sans-serif;
  --ff-body:'Inter',sans-serif;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--ff-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
h1,h2,h3,h4{font-family:var(--ff-head);line-height:1.18;color:var(--navy-900);font-weight:600;}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
section{padding:88px 0;}
.section-alt{background:var(--cream);}

.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold-500);font-weight:700;margin-bottom:14px;
}
.eyebrow::before{content:'';width:26px;height:2px;background:var(--gold-500);display:inline-block;}
.section-head{max-width:640px;margin-bottom:48px;}
.section-head h2{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:14px;}
.section-head p{color:var(--ink-soft);font-size:1.05rem;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 28px;border-radius:999px;font-weight:600;font-size:.95rem;
  border:1px solid transparent;cursor:pointer;transition:.25s ease;white-space:nowrap;
}
.btn-primary{background:var(--gold-500);color:var(--navy-950);}
.btn-primary:hover{background:var(--gold-400);transform:translateY(-2px);}
.btn-outline{border-color:rgba(255,255,255,.5);color:var(--white);}
.btn-outline:hover{background:rgba(255,255,255,.12);}
.btn-navy{background:var(--navy-900);color:var(--white);}
.btn-navy:hover{background:var(--navy-800);transform:translateY(-2px);}
.btn-block{width:100%;}
.btn-sm{padding:10px 20px;font-size:.85rem;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(8,21,39,.92);backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar{
  background:var(--navy-950);color:var(--gold-100);font-size:.8rem;
}
.topbar .container{
  display:flex;justify-content:space-between;align-items:center;padding:8px 24px;flex-wrap:wrap;gap:6px;
}
.topbar a{color:var(--gold-100);opacity:.9;}
.topbar a:hover{opacity:1;color:var(--gold-400);}
.topbar-links{display:flex;gap:20px;}
.topbar-links span{display:inline-flex;align-items:center;gap:6px;}

.navbar{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;}
.brand{display:flex;align-items:center;gap:12px;color:var(--white);}
.brand-mark{
  width:46px;height:46px;border-radius:12px;
  background:linear-gradient(145deg,var(--gold-400),var(--gold-500));
  display:flex;align-items:center;justify-content:center;
  font-family:var(--ff-head);font-weight:700;color:var(--navy-950);font-size:1.15rem;
  flex-shrink:0;
}
.brand-text{display:flex;flex-direction:column;line-height:1.15;}
.brand-text strong{font-family:var(--ff-head);font-size:1.15rem;letter-spacing:.02em;color:var(--white);}
.brand-text span{font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-400);}

.nav-links{display:flex;align-items:center;gap:34px;}
.nav-links a{color:rgba(255,255,255,.82);font-size:.94rem;font-weight:500;position:relative;padding:6px 0;}
.nav-links a:hover,.nav-links a.active{color:var(--white);}
.nav-links a.active::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--gold-500);
}
.nav-cta{display:flex;align-items:center;gap:14px;}
.nav-toggle{
  display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px;
}
.nav-toggle span{width:24px;height:2px;background:var(--white);display:block;}

/* ---------- Hero ---------- */
.hero{
  position:relative;color:var(--white);min-height:86vh;display:flex;align-items:center;
  background:linear-gradient(180deg,rgba(6,15,29,.72),rgba(6,15,29,.86)),
    url('https://images.unsplash.com/photo-1613835579153-9bfe32e50da6?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}
.hero .container{padding-top:60px;padding-bottom:60px;}
.hero-content{max-width:680px;}
.hero-content .eyebrow{color:var(--gold-400);}
.hero-content h1{font-size:clamp(2.3rem,5vw,3.6rem);color:var(--white);margin-bottom:20px;}
.hero-content h1 em{font-style:normal;color:var(--gold-400);}
.hero-content p{font-size:1.12rem;color:rgba(255,255,255,.85);max-width:560px;margin-bottom:34px;}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:52px;}

.hero-stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:0;
  border-top:1px solid rgba(255,255,255,.18);padding-top:30px;max-width:820px;
}
.hero-stats div{border-right:1px solid rgba(255,255,255,.14);padding-right:18px;}
.hero-stats div:last-child{border-right:0;}
.hero-stats strong{display:block;font-family:var(--ff-head);font-size:clamp(1.4rem,2.4vw,2rem);color:var(--gold-400);}
.hero-stats span{font-size:.8rem;color:rgba(255,255,255,.7);letter-spacing:.03em;}

/* ---------- Page header (inner pages) ---------- */
.page-hero{
  color:var(--white);padding:150px 0 70px;
  background:linear-gradient(180deg,rgba(6,15,29,.78),rgba(6,15,29,.9)),
    url('https://images.unsplash.com/photo-1603565095944-2a6f33bb517c?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}
.page-hero .eyebrow{color:var(--gold-400);}
.page-hero h1{color:var(--white);font-size:clamp(2rem,4vw,2.8rem);margin-bottom:12px;}
.breadcrumb{font-size:.85rem;color:rgba(255,255,255,.65);}
.breadcrumb a{color:var(--gold-400);}

/* ---------- Trust strip / developer logos ---------- */
.trust-strip{background:var(--navy-950);padding:34px 0;}
.trust-strip p{color:rgba(255,255,255,.55);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;text-align:center;margin-bottom:20px;}
.logo-row{
  display:flex;flex-wrap:wrap;justify-content:center;gap:14px;
}
.logo-chip{
  border:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.85);
  padding:10px 20px;border-radius:999px;font-family:var(--ff-head);font-size:.85rem;letter-spacing:.03em;
}

/* ---------- Cards / grids ---------- */
.grid{display:grid;gap:28px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}

.card{
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius);
  padding:34px 28px;transition:.25s ease;
}
.card:hover{box-shadow:var(--shadow);transform:translateY(-4px);border-color:transparent;}
.card .icon{
  width:52px;height:52px;border-radius:12px;background:var(--gold-100);
  display:flex;align-items:center;justify-content:center;margin-bottom:20px;color:var(--gold-500);font-size:1.4rem;
}
.card h3{font-size:1.15rem;margin-bottom:10px;}
.card p{color:var(--ink-soft);font-size:.95rem;}

.card-dark{
  background:var(--navy-900);color:var(--white);border-radius:var(--radius);padding:34px 28px;
}
.card-dark h3{color:var(--white);}
.card-dark p{color:rgba(255,255,255,.7);}
.card-dark .icon{background:rgba(198,161,91,.16);color:var(--gold-400);}

/* Property type card */
.ptype{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;min-height:280px;
  display:flex;align-items:flex-end;padding:26px;color:var(--white);
  background-size:cover;background-position:center;
}
.ptype::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,21,39,0) 30%,rgba(8,21,39,.85));}
.ptype-content{position:relative;z-index:1;}
.ptype-content h3{color:var(--white);margin-bottom:6px;}
.ptype-content span{font-size:.85rem;color:var(--gold-400);}

/* ---------- Stats band ---------- */
.stats-band{background:var(--navy-900);color:var(--white);padding:64px 0;}
.stats-band .grid-4{gap:20px;}
.stat-item{text-align:center;border-right:1px solid rgba(255,255,255,.12);padding:0 12px;}
.stat-item:last-child{border-right:0;}
.stat-item strong{display:block;font-family:var(--ff-head);font-size:clamp(1.8rem,3vw,2.6rem);color:var(--gold-400);margin-bottom:6px;}
.stat-item span{font-size:.82rem;color:rgba(255,255,255,.7);letter-spacing:.03em;}

/* ---------- Process steps ---------- */
.steps{counter-reset:step;}
.step{display:flex;gap:20px;padding:22px 0;border-bottom:1px solid var(--border);}
.step:last-child{border-bottom:0;}
.step-num{
  counter-increment:step;flex-shrink:0;width:44px;height:44px;border-radius:50%;
  background:var(--navy-900);color:var(--gold-400);display:flex;align-items:center;justify-content:center;
  font-family:var(--ff-head);font-weight:600;
}
.step-num::before{content:counter(step);}
.step h4{margin-bottom:4px;font-size:1.05rem;}
.step p{color:var(--ink-soft);font-size:.93rem;}

/* ---------- Testimonials ---------- */
.testi{
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:30px;
}
.testi .stars{color:var(--gold-500);letter-spacing:2px;margin-bottom:14px;}
.testi p{color:var(--ink-soft);font-style:italic;margin-bottom:18px;}
.testi-author{display:flex;align-items:center;gap:12px;}
.testi-avatar{
  width:42px;height:42px;border-radius:50%;background:var(--gold-100);color:var(--gold-500);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-family:var(--ff-head);
}
.testi-author strong{display:block;font-size:.92rem;color:var(--navy-900);}
.testi-author span{font-size:.8rem;color:var(--ink-soft);}

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg,var(--navy-950),var(--navy-800));
  color:var(--white);border-radius:var(--radius-lg);padding:56px;
  display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap;
}
.cta-band h2{color:var(--white);font-size:clamp(1.5rem,3vw,2.1rem);margin-bottom:8px;}
.cta-band p{color:rgba(255,255,255,.75);}
.cta-actions{display:flex;gap:14px;flex-wrap:wrap;}

/* ---------- Forms ---------- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;}
.field.full{grid-column:1/-1;}
.field label{font-size:.85rem;font-weight:600;color:var(--navy-900);}
.field input,.field select,.field textarea{
  border:1px solid var(--border);border-radius:10px;padding:13px 15px;font-family:var(--ff-body);
  font-size:.95rem;color:var(--ink);background:var(--white);
}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--gold-400);border-color:transparent;}
.field textarea{resize:vertical;min-height:120px;}
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}
.form-status{font-size:.88rem;margin-top:10px;min-height:1.2em;}
.form-status-success{color:#1a7a4c;font-weight:600;}
.form-status-info{color:var(--ink-soft);}

/* ---------- Contact info cards ---------- */
.contact-info{display:grid;gap:18px;}
.info-row{display:flex;gap:16px;align-items:flex-start;padding:20px;border:1px solid var(--border);border-radius:var(--radius);}
.info-row .icon{width:44px;height:44px;border-radius:10px;background:var(--gold-100);color:var(--gold-500);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.info-row h4{font-size:.98rem;margin-bottom:4px;}
.info-row p,.info-row a{color:var(--ink-soft);font-size:.92rem;}
.info-row a:hover{color:var(--gold-500);}

.map-embed{border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);height:340px;}
.map-embed iframe{width:100%;height:100%;border:0;}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-950);color:rgba(255,255,255,.72);padding:70px 0 0;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:50px;border-bottom:1px solid rgba(255,255,255,.1);}
.footer-grid h4{color:var(--white);font-size:.95rem;margin-bottom:18px;letter-spacing:.03em;}
.footer-grid ul li{margin-bottom:10px;}
.footer-grid ul li a:hover{color:var(--gold-400);}
.footer-about p{font-size:.9rem;color:rgba(255,255,255,.62);margin:16px 0 20px;max-width:320px;}
.footer-social{display:flex;gap:10px;}
.footer-social a{
  width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.2);
  display:flex;align-items:center;justify-content:center;font-size:.85rem;
}
.footer-social a:hover{background:var(--gold-500);border-color:var(--gold-500);color:var(--navy-950);}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;padding:26px 0;
  font-size:.8rem;color:rgba(255,255,255,.5);flex-wrap:wrap;gap:10px;
}
.footer-bottom a{color:rgba(255,255,255,.6);}

.whatsapp-float{
  position:fixed;bottom:26px;right:26px;z-index:900;
  width:58px;height:58px;border-radius:50%;background:#25D366;color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:1.6rem;box-shadow:0 10px 30px rgba(0,0,0,.3);
}

/* ---------- AI Assistant Chat Widget ---------- */
.gh-chat-launcher{
  position:fixed;bottom:26px;left:26px;z-index:900;
  display:flex;align-items:center;gap:10px;
  background:var(--navy-900);color:var(--white);border:none;cursor:pointer;
  border-radius:999px;padding:14px 20px 14px 14px;box-shadow:0 10px 30px rgba(0,0,0,.3);
  font-family:var(--ff-body);font-weight:600;font-size:.9rem;
}
.gh-chat-launcher .gh-chat-avatar{
  width:32px;height:32px;border-radius:50%;background:linear-gradient(145deg,var(--gold-400),var(--gold-500));
  display:flex;align-items:center;justify-content:center;font-family:var(--ff-head);font-weight:700;color:var(--navy-950);flex-shrink:0;
}
.gh-chat-launcher .gh-dot{width:8px;height:8px;border-radius:50%;background:#3ddc84;display:inline-block;margin-right:4px;}

.gh-chat-panel{
  position:fixed;bottom:100px;left:26px;z-index:901;
  width:360px;max-width:calc(100vw - 40px);height:520px;max-height:70vh;
  background:var(--white);border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.35);
  display:none;flex-direction:column;overflow:hidden;border:1px solid var(--border);
}
.gh-chat-panel.open{display:flex;}
.gh-chat-head{
  background:var(--navy-950);color:var(--white);padding:16px 18px;display:flex;align-items:center;gap:12px;
}
.gh-chat-head .gh-chat-avatar{
  width:38px;height:38px;border-radius:50%;background:linear-gradient(145deg,var(--gold-400),var(--gold-500));
  display:flex;align-items:center;justify-content:center;font-family:var(--ff-head);font-weight:700;color:var(--navy-950);flex-shrink:0;
}
.gh-chat-head strong{display:block;font-family:var(--ff-head);font-size:.95rem;}
.gh-chat-head span{font-size:.76rem;color:rgba(255,255,255,.65);}
.gh-chat-close{margin-left:auto;background:none;border:none;color:rgba(255,255,255,.7);font-size:1.2rem;cursor:pointer;line-height:1;}
.gh-chat-close:hover{color:var(--white);}

.gh-chat-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:var(--cream);}
.gh-msg{max-width:82%;padding:10px 14px;border-radius:14px;font-size:.88rem;line-height:1.5;}
.gh-msg-bot{align-self:flex-start;background:var(--white);border:1px solid var(--border);color:var(--ink);border-bottom-left-radius:4px;}
.gh-msg-user{align-self:flex-end;background:var(--navy-900);color:var(--white);border-bottom-right-radius:4px;}

.gh-chat-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;}
.gh-chat-option{
  border:1px solid var(--navy-900);color:var(--navy-900);background:var(--white);
  border-radius:999px;padding:8px 14px;font-size:.8rem;font-weight:600;cursor:pointer;transition:.2s;
}
.gh-chat-option:hover{background:var(--navy-900);color:var(--white);}

.gh-chat-input-row{display:flex;gap:8px;padding:12px;border-top:1px solid var(--border);background:var(--white);}
.gh-chat-input-row input{
  flex:1;border:1px solid var(--border);border-radius:999px;padding:10px 16px;font-family:var(--ff-body);font-size:.88rem;
}
.gh-chat-input-row input:focus{outline:2px solid var(--gold-400);border-color:transparent;}
.gh-chat-send{
  background:var(--gold-500);color:var(--navy-950);border:none;border-radius:50%;width:40px;height:40px;
  flex-shrink:0;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;
}
.gh-chat-send:hover{background:var(--gold-400);}
.gh-chat-footer-link{padding:8px 16px 14px;text-align:center;font-size:.74rem;color:var(--ink-soft);}
.gh-chat-footer-link a{color:var(--gold-500);font-weight:600;}

@media (max-width:480px){
  .gh-chat-panel{left:12px;right:12px;width:auto;bottom:92px;}
  .gh-chat-launcher{left:16px;padding:12px 16px 12px 12px;}
  .gh-chat-launcher span.gh-launcher-text{display:none;}
}

/* ---------- License badge ---------- */
.badge-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px;}
.license-badge{
  display:flex;align-items:center;gap:10px;background:var(--white);border:1px solid var(--border);
  border-radius:999px;padding:10px 18px;font-size:.8rem;color:var(--navy-900);font-weight:600;
}
.license-badge .dot{width:8px;height:8px;border-radius:50%;background:var(--gold-500);}

/* ---------- Utility ---------- */
.text-center{text-align:center;}
.mt-40{margin-top:40px;}
.mb-40{margin-bottom:40px;}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .hero-stats{grid-template-columns:repeat(2,1fr);row-gap:20px;}
  .stat-item{border-right:none;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:16px;}
}
@media (max-width:760px){
  .nav-links{
    position:fixed;top:0;right:0;height:100vh;width:78%;max-width:320px;
    background:var(--navy-950);flex-direction:column;align-items:flex-start;
    padding:100px 30px;gap:24px;transform:translateX(100%);transition:.3s ease;z-index:999;
  }
  .nav-links.open{transform:translateX(0);}
  .nav-toggle{display:flex;}
  .nav-cta .btn-outline{display:none;}
  .topbar-links{gap:12px;}
  .grid-3,.grid-2{grid-template-columns:1fr;}
  .form-grid{grid-template-columns:1fr;}
  .cta-band{flex-direction:column;text-align:center;padding:40px 26px;}
  .footer-grid{grid-template-columns:1fr;}
  section{padding:64px 0;}
}
