:root{--grl-blue:#0866c6;--grl-blue-dark:#07529e;--grl-green:#21a56b;--grl-lav:#f0efff;--grl-text:#172033;--grl-muted:#667085;--grl-bg:#f7f9fc;--grl-white:#fff;--grl-radius:18px}
.grl-wrap{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--grl-text);background:var(--grl-bg);line-height:1.5}.grl-wrap *{box-sizing:border-box}.grl-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:22px;padding:14px 4%;background:#fff;border-bottom:1px solid #e7eaf0;box-shadow:0 2px 12px #12213d0c}.grl-brand{min-width:150px}.grl-logo{max-height:44px;width:auto}.grl-logo-text{font-size:23px;font-weight:800;color:var(--grl-blue)}.grl-logo-text b{color:var(--grl-green)}.grl-tabs{display:flex;gap:6px;flex:1;justify-content:center;overflow:auto}.grl-tab{border:0;background:transparent;padding:11px 14px;border-radius:11px;font-weight:700;white-space:nowrap;color:#566074;cursor:pointer}.grl-tab:hover,.grl-tab.active{background:var(--grl-lav);color:var(--grl-blue)}.grl-loan-btn,.grl-primary,.grl-card-actions .grl-callback,#grl-search-btn{background:var(--grl-blue);color:#fff;border:0;border-radius:11px;font-weight:800;text-decoration:none;padding:12px 18px;cursor:pointer}.grl-loan-btn:hover,.grl-primary:hover,#grl-search-btn:hover{background:var(--grl-blue-dark)}
.grl-hero{min-height:310px;background:linear-gradient(120deg,#0866c6,#21a56b);background-size:cover;background-position:center;display:flex;align-items:center}.grl-hero-overlay{width:100%;padding:65px 7%;background:linear-gradient(90deg,#082f59d9,transparent)}.grl-hero h1{font-size:44px;line-height:1.1;color:#fff;margin:0 0 12px;max-width:650px}.grl-hero p{font-size:18px;color:#fff;max-width:640px;margin:0}.grl-search-panel{max-width:1200px;margin:-35px auto 35px;position:relative;z-index:5;padding:0 20px}.grl-search-row{display:grid;grid-template-columns:2fr 1fr 1fr 1.15fr 1fr;gap:10px;background:#fff;padding:14px;border-radius:18px;box-shadow:0 12px 35px #1d355710}.grl-search-row input,.grl-search-row select,.grl-modal-card input,.grl-modal-card select{width:100%;height:48px;border:1px solid #d9deea;border-radius:10px;padding:0 13px;background:#fff;color:var(--grl-text);font-size:15px}.grl-section,#grl-results{max-width:1200px;margin:0 auto 42px;padding:0 20px}.grl-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.grl-section-title h2{margin:0;font-size:25px}.grl-section-title span{color:var(--grl-muted)}.grl-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.grl-card{background:#fff;border:1px solid #e7eaf0;border-radius:var(--grl-radius);overflow:hidden;box-shadow:0 5px 18px #10244b08}.grl-image-wrap{position:relative;aspect-ratio:16/10;background:var(--grl-lav);overflow:hidden}.grl-image-wrap img{width:100%;height:100%;object-fit:cover}.grl-image-placeholder{height:100%;display:grid;place-items:center;color:#747d91;font-weight:700}.grl-tag{position:absolute;left:10px;top:10px;padding:5px 8px;border-radius:7px;font-size:11px;font-weight:800;background:#fff}.grl-tag-uc{color:#9b5c00}.grl-tag-rera{right:10px;left:auto;color:#08704a}.grl-card-body{padding:14px}.grl-type{font-size:11px;font-weight:800;color:var(--grl-green);text-transform:uppercase}.grl-card h3{font-size:17px;margin:5px 0}.grl-location{font-size:12px;color:var(--grl-muted);min-height:18px}.grl-specs{display:flex;gap:10px;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;padding:9px 0;margin:10px 0}.grl-specs span{font-size:12px;flex:1}.grl-specs b{display:block;color:#8991a1;font-size:10px}.grl-desc{font-size:12px;color:#596273;min-height:38px}.grl-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}.grl-details{font-size:12px;text-align:center;font-weight:800;color:var(--grl-blue);text-decoration:none}.grl-card-actions .grl-callback{padding:9px 8px;font-size:12px}.grl-builder-list{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.grl-builder-pill{background:var(--grl-lav);border:1px solid #e3e0ff;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:5px}.grl-builder-pill span{font-size:12px;color:var(--grl-muted)}.grl-news{display:grid;gap:10px}.grl-news-item{display:flex;justify-content:space-between;gap:20px;background:#fff;border:1px solid #e7eaf0;border-radius:14px;padding:16px}.grl-news-item h3{margin:4px 0;font-size:17px}.grl-news-item p,.grl-news-item span{font-size:12px;color:var(--grl-muted);margin:0}.grl-news-item a{color:var(--grl-blue);font-weight:800;text-decoration:none;align-self:center;white-space:nowrap}.grl-empty{background:#fff;border:1px dashed #ccd3df;border-radius:14px;padding:28px;text-align:center;color:var(--grl-muted)}
.grl-footer{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px;background:#102b45;color:#eaf1f8;padding:45px 7%;margin-top:50px}.grl-footer h3{color:#fff;margin-top:0}.grl-footer p{color:#c8d4e0;max-width:560px}.grl-footer a{display:block;color:#c8d4e0;text-decoration:none;margin:8px 0}.grl-chatbot{position:fixed;right:22px;bottom:22px;z-index:90}.grl-chatbot>button{width:58px;height:58px;border-radius:50%;border:0;background:var(--grl-green);color:#fff;font-size:25px;box-shadow:0 8px 25px #0003;cursor:pointer}.grl-chat-box{display:none;position:absolute;right:0;bottom:70px;width:320px;background:#fff;border-radius:17px;box-shadow:0 15px 45px #15233d35;overflow:hidden;border:1px solid #e5e8ef}.grl-chat-box.open{display:block}.grl-chat-head{background:var(--grl-blue);color:#fff;padding:14px 16px;font-weight:800;display:flex;justify-content:space-between}.grl-chat-head button{background:none;border:0;color:#fff;font-size:24px;cursor:pointer}.grl-chat-body{padding:16px}.grl-chat-body p{font-size:14px}.grl-chat-actions{display:grid;gap:8px}.grl-chat-actions button{border:1px solid #dce2ec;background:var(--grl-lav);border-radius:9px;padding:9px;text-align:left;cursor:pointer}.grl-chat-actions button:hover{border-color:var(--grl-blue);color:var(--grl-blue)}#grl-chat-response{font-size:13px;margin-top:12px;color:#4b5565}
.grl-modal{display:none;position:fixed;inset:0;background:#07152799;z-index:100;align-items:flex-end;justify-content:center}.grl-modal.open{display:flex}.grl-modal-card{width:min(650px,100%);background:#fff;border-radius:24px 24px 0 0;padding:28px;position:relative;box-shadow:0 -10px 50px #0003}.grl-modal-close{position:absolute;right:18px;top:14px;width:38px;height:38px;border:0;border-radius:50%;background:#eef1f7;font-size:24px;cursor:pointer}.grl-modal-card h2{text-align:center;margin:4px 0 8px;font-size:25px}.grl-modal-project{text-align:center;color:var(--grl-blue);font-weight:700;margin:0 0 20px}.grl-modal-card>input{margin-bottom:12px}.grl-phone-row{display:grid;grid-template-columns:125px 1fr;gap:8px}.grl-consent{display:block;margin:13px 0;font-size:13px;color:#4d5667}.grl-consent input{width:18px;height:18px;vertical-align:middle;margin-right:7px}.grl-consent a{color:var(--grl-blue)}.grl-modal-card .grl-primary{width:100%;height:52px;font-size:16px}.grl-modal-card #grl-lead-message{text-align:center;margin-top:12px;font-weight:700;color:var(--grl-green)}
@media(max-width:1100px){.grl-cards{grid-template-columns:repeat(3,1fr)}.grl-builder-list{grid-template-columns:repeat(3,1fr)}.grl-search-row{grid-template-columns:repeat(3,1fr)}.grl-search-row input{grid-column:1/-1}.grl-header{flex-wrap:wrap}.grl-tabs{order:3;width:100%;justify-content:flex-start}}
@media(max-width:650px){
.grl-header{
  padding:10px 12px 12px;
  gap:10px;
  position:sticky;
  top:0;
  z-index:50;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
}
.grl-brand{min-width:0;display:flex;align-items:center}
.grl-logo{width:auto;max-width:185px;height:auto;max-height:58px;object-fit:contain}
.grl-logo-text{font-size:22px}
.grl-loan-btn{padding:11px 13px;font-size:12px;white-space:nowrap;border-radius:12px}

/* Four category cards: 2 x 2, single-line labels */
.grl-tabs{
  grid-column:1/-1;
  order:3;
  width:100%;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  overflow:visible;
  padding:2px 0 2px;
}
.grl-tab{
  min-width:0;
  min-height:46px;
  height:46px;
  padding:8px 5px;
  border:1px solid #e0e4ee;
  background:#fff;
  border-radius:12px;
  box-shadow:0 3px 10px #10244b0d;
  font-size:12px;
  line-height:1;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:clip;
  font-weight:800;
}
.grl-tab:hover,.grl-tab.active{
  border-color:transparent;
  background:var(--grl-blue);
  color:#fff;
  box-shadow:0 5px 14px #0866c633;
}

.grl-hero{min-height:250px}
.grl-hero-overlay{padding:48px 20px}
.grl-hero h1{font-size:30px}
.grl-hero p{font-size:14px}
.grl-search-panel{margin:-22px auto 24px;padding:0 10px}
.grl-search-row{grid-template-columns:1fr 1fr;gap:7px;padding:9px;border-radius:14px}
.grl-search-row input,#grl-search-btn{grid-column:1/-1}
.grl-search-row input,.grl-search-row select,#grl-search-btn{height:44px;font-size:13px}
.grl-section,#grl-results{padding:0 10px;margin-bottom:30px}
.grl-section-title{margin-bottom:12px}
.grl-section-title h2{font-size:20px}

/* Exactly two property cards per row */
.grl-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.grl-card{border-radius:12px;min-width:0}
.grl-image-wrap{aspect-ratio:1.25/1}
.grl-tag{left:6px;top:6px;padding:4px 5px;font-size:8px;border-radius:5px;white-space:nowrap}
.grl-tag-rera{right:6px;left:auto}
.grl-card-body{padding:9px}
.grl-type{
  font-size:9px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-transform:uppercase;
}
.grl-card h3{
  font-size:13px;
  line-height:1.2;
  margin:4px 0 5px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.grl-location{display:none}
.grl-specs{
  border:0;
  padding:0;
  margin:4px 0 7px;
  display:block;
}
.grl-specs span{
  display:block;
  font-size:12px;
  font-weight:800;
  color:var(--grl-text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.grl-specs b{display:none}
.grl-desc{
  background:var(--grl-lav);
  border-radius:8px;
  padding:7px;
  margin:0 0 8px;
  min-height:38px;
  font-size:9px;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.grl-card-actions{grid-template-columns:1fr 1fr;gap:5px}
.grl-details{
  font-size:9px;
  text-align:center;
  font-weight:800;
  color:var(--grl-blue);
  text-decoration:none;
  background:#f0efff;
  border-radius:8px;
  padding:8px 3px;
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
.grl-card-actions .grl-callback{
  padding:8px 3px;
  font-size:9px;
  border-radius:8px;
  white-space:nowrap;
}
.grl-builder-list{grid-template-columns:1fr 1fr;gap:8px}
.grl-builder-pill{padding:12px;border-radius:11px}
.grl-news-item{padding:12px;gap:10px}
.grl-news-item h3{font-size:14px}
.grl-news-item a{font-size:11px}
.grl-footer{grid-template-columns:1fr;padding:30px 20px}
.grl-chatbot{right:12px;bottom:12px}
.grl-chat-box{width:min(320px,calc(100vw - 24px));right:-3px}
.grl-modal-card{padding:25px 14px 18px;max-height:92vh;overflow:auto}
.grl-phone-row{grid-template-columns:82px 1fr}
}

/* v1.6 property information */
.grl-property-info{margin:5px 0 9px}.grl-price{font-size:16px;font-weight:900;color:var(--grl-text);margin-bottom:5px}.grl-property-info .grl-location{display:block;font-size:11px;color:var(--grl-muted);min-height:0;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grl-info-line{display:flex;justify-content:space-between;gap:6px;font-size:10px;color:var(--grl-muted);padding:2px 0}.grl-info-line b{color:var(--grl-text);font-weight:800;text-align:right}.grl-property-info + .grl-desc{margin-top:2px}
@media(max-width:700px){.grl-price{font-size:12px}.grl-property-info .grl-location{font-size:9px}.grl-info-line{font-size:8.5px;line-height:1.25}.grl-desc{min-height:34px}}


/* v1.7 mobile header isolation fix */
@media (max-width:650px){
  .grl-wrap .grl-header{
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-rows:auto auto !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
    min-height:0 !important;
    padding:12px 12px 12px !important;
    overflow:visible !important;
  }
  .grl-wrap .grl-brand{
    grid-column:1 !important;
    grid-row:1 !important;
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:100% !important;
    min-width:0 !important;
    height:68px !important;
    overflow:visible !important;
  }
  .grl-wrap .grl-brand .grl-logo{
    display:block !important;
    width:auto !important;
    max-width:190px !important;
    height:auto !important;
    max-height:68px !important;
    object-fit:contain !important;
    object-position:left center !important;
    margin:0 !important;
  }
  .grl-wrap .grl-loan-btn{
    grid-column:2 !important;
    grid-row:1 !important;
    align-self:center !important;
    justify-self:end !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-width:150px !important;
    height:54px !important;
    padding:10px 15px !important;
    margin:0 !important;
    white-space:nowrap !important;
    position:relative !important;
    z-index:2 !important;
  }
  .grl-wrap .grl-tabs{
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    order:initial !important;
    position:relative !important;
    inset:auto !important;
    float:none !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-auto-rows:48px !important;
    gap:8px !important;
    align-items:stretch !important;
    justify-content:stretch !important;
    overflow:visible !important;
    transform:none !important;
    flex:none !important;
  }
  .grl-wrap .grl-tabs .grl-tab,
  .grl-wrap .grl-tabs button.grl-tab{
    position:relative !important;
    inset:auto !important;
    float:none !important;
    display:flex !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:48px !important;
    min-height:48px !important;
    margin:0 !important;
    padding:8px 4px !important;
    border:1px solid #e0e4ee !important;
    border-radius:12px !important;
    background:#fff !important;
    color:#566074 !important;
    font-size:12px !important;
    line-height:1 !important;
    font-weight:800 !important;
    text-align:center !important;
    align-items:center !important;
    justify-content:center !important;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow:hidden !important;
    text-overflow:clip !important;
    box-sizing:border-box !important;
    transform:none !important;
    z-index:1 !important;
  }
  .grl-wrap .grl-tabs .grl-tab.active,
  .grl-wrap .grl-tabs .grl-tab:hover{
    background:var(--grl-blue) !important;
    color:#fff !important;
    border-color:var(--grl-blue) !important;
  }
}
