/* =========================================================
   DETAIL PAGE - GLOBAL
========================================================= */
:root {
   --navy: #101d43;
   --deep-blue: #203f66;
   --bg: #e7eef7;
   --muted: #6e86a7;
}

* {
   box-sizing: border-box;
}

body {
   margin: 0;
   background: var(--bg);
   color: var(--navy);
   font-family: 'Poppins', sans-serif;
   font-size: 14px;
}

.detail-topbar {
   height: 58px;
   background: var(--navy);
}

.detail-topbar-inner {
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.brand {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   color: #fff;
   text-decoration: none;
}

.brand-mark {
   width: 35px;
   height: 35px;
   display: grid;
   place-items: center;
   background: rgba(255, 255, 255, .1);
   color: #d9ad57;
   font-size: 19px;
}

.brand-name {
   font-size: 10px;
   line-height: 1.2;
   font-weight: 700;
   letter-spacing: .4px;
}

.back-link {
   color: #d8e1ef;
   text-decoration: none;
   font-size: 14px;
}

.back-link:hover {
   color: #fff;
}

/* =========================================================
   PROJECT OVERVIEW + GALLERY
========================================================= */
.project-overview {
   padding-top: 100px;
   padding-bottom: 70px;
}

.project-summary {
   padding-top: 17px;
}

.status-pill {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 5px 9px;
   border-radius: 20px;
   background: #d2dce9;
   color: var(--navy);
   font-size: 10px;
   font-weight: 600;
   margin-bottom: 13px;
}

.status-pill span {
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: #315f91;
}

.tag-row {
   display: flex;
   flex-wrap: wrap;
   gap: 5px;
   margin-bottom: 13px;
}

.project-tag {
   border: 1px solid #8fa7c4;
   color: #304d73;
   border-radius: 20px;
   padding: 3px 8px;
   font-size: 10px;
}

.project-tag.filled {
   color: #fff;
   background: #397eaf;
   border-color: #397eaf;
}

.project-summary h1 {
   font-weight: 700;
   letter-spacing: -.8px;
   margin: 0 0 10px;
}

.project-lead {
   color: #6082ad;
   line-height: 1.75;
   max-width: 460px;
   min-height: 54px;
}

.action-row {
   display: flex;
   gap: 10px;
   margin: 17px 0 22px;
}

.btn-navy {
   background: var(--navy);
   border: 1px solid var(--navy);
   color: #fff;
   border-radius: 4px;
   font-size: 10px;
   font-weight: 600;
   padding: 10px 16px;
}

.btn-navy:hover {
   background: #263d70;
   color: #fff;
}

.btn-whatsapp {
   color: #13b96b;
   border: 1px solid #20ca78;
   border-radius: 4px;
   font-size: 14px;
   padding: 10px 16px;
}

.btn-whatsapp:hover {
   color: #078b4b;
   background: #e2fff0;
}

.key-stats {
   border-top: 1px solid #cbd6e4;
   padding-top: 15px;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 16px 10px;
}

.key-stats div {
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.key-stats strong {
   font-size: 16px;
   font-weight: 600;
   color: #10234a;
}

.key-stats small {
   font-size: 12px;
   color: #6985a8;
}

.project-gallery {
   height: 390px;
   display: grid;
   grid-template-columns: 1.05fr 1fr;
   gap: 10px;
}

.gallery-main,
.gallery-side {
   min-width: 0;
   min-height: 0;
   position: relative;
   overflow: hidden;
   border-radius: 10px;
}

.gallery-main img,
.gallery-side img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

.gallery-main span {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   padding: 26px 13px 12px;
   color: #fff;
   font-size: 14px;
   font-weight: 600;
   background: linear-gradient(transparent, rgba(0, 0, 0, .65));
}

.gallery-side {
   display: grid;
   grid-template-rows: 1fr 1fr;
   gap: 10px;
}

.gallery-side img {
   border-radius: 9px;
}

/* =========================================================
   PROPERTY INFORMATION
========================================================= */
.property-information {
   padding-bottom: 70px;
   max-width: 900px;
}

.property-information h2 {
   text-align: center;
   font-weight: 600;
   margin-bottom: 30px;
}

.info-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 17px 22px;
   margin: 0 auto 50px;
}

.info-item {
   display: flex;
   align-items: center;
   gap: 9px;
}

.info-icon {
   width: 32px;
   height: 32px;
   display: grid;
   place-items: center;
   border-radius: 6px;
   background: #d2dce9;
   color: #405a7b;
   font-size: 16px;
   flex-shrink: 0;
}

.info-item div {
   display: flex;
   flex-direction: column;
}

.info-item small {
   font-size: 12px;
   color: #7189a8;
}

.info-item strong {
   font-weight: 600;
}

.cashback-box {
   max-width: 690px;
   margin: 0 auto;
   padding: 16px;
   text-align: center;
   border: 1px solid #b5c9df;
   background: #d7e2ef;
   border-radius: 9px;
   display: flex;
   flex-direction: column;
   gap: 3px;
}

.cashback-box strong {
   color: #397eaf;
   font-size: 16px;
   font-weight: 600;
}

.cashback-box span {
   color: #6985a8;
   font-size: 12px;
}

/* =========================================================
   BENEFITS
========================================================= */
.benefits-section {
   background: #203f66;
   color: #fff;
   padding: 50px 0 70px;
}

.section-title-light {
   text-align: center;
   margin-bottom: 30px;
}

.section-title-light h3 {
   font-weight: 600;
   margin-bottom: 7px;
}

.section-title-light p {
   font-size: 14px;
   color: #c1d0e2;
}

.benefits-grid {
   max-width: 800px;
   margin: 0 auto;
}

.benefit-card {
   height: 100%;
   min-height: 135px;
   border: 1px solid rgba(255, 255, 255, .1);
   background: rgba(255, 255, 255, .09);
   border-radius: 10px;
   padding: 17px 15px;
}

.benefit-card>i {
   color: #4a91c2;
   font-size: 20px;
}

.benefit-card h3 {
   font-size: 14px;
   font-weight: 600;
   margin: 10px 0 6px;
}

.benefit-card p {
   color: #d0dbea;
   font-size: 12px;
   line-height: 1.65;
   margin: 0;
}

/* =========================================================
   CONTACT FORM
========================================================= */
.contact-section {
   padding-top: 70px;
   padding-bottom: 70px;
}

.contact-card {
   max-width: 750px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: 1fr 1fr;
   border-radius: 13px;
   overflow: hidden;
   background: #fff;
   box-shadow: 0 10px 20px rgba(16, 29, 67, .15);
}

.contact-intro {
   background: var(--navy);
   color: #fff;
   padding: 35px 28px;
}

.contact-intro h2 {
   font-size: 24px;
   font-weight: 600;
   line-height: 1.3;
   margin-bottom: 1.5rem;
}

.contact-intro>p {
   line-height: 1.7;
   color: #d1dced;
   margin-bottom: 1.5rem;
   font-size: 12px;
}

.contact-detail {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-top: 12px;
   color: #c5d2e5;
}

.contact-detail>span {
   width: 29px;
   height: 29px;
   flex-shrink: 0;
   border-radius: 50%;
   background: rgba(255, 255, 255, .12);
   display: grid;
   place-items: center;
}

.contact-detail div {
   display: flex;
   flex-direction: column;
   gap: 2px;
   font-size: 12px;
}

.contact-detail strong {
   color: #fff;
   font-weight: 600;
}

.contact-form-wrap {
   padding: 32px 27px 24px;
}

.contact-form-wrap label {
   display: block;
   color: #15274b;
   font-size: 14px;
   margin: 0 0 6px;
}

.contact-form-wrap .form-control {
   background: #e8eef6;
   border: 1px solid #cad7e7;
   border-radius: 4px;
   height: 34px;
   font-size: 14px;
   color: #1b3158;
   box-shadow: none;
}

.contact-form-wrap .form-control::placeholder {
   color: #7690b1;
}

.contact-form-wrap .btn {
   margin-top: 1px;
   padding: 10px;
}

.contact-form-wrap>form>small {
   display: block;
   color: #7890ae;
   text-align: center;
   font-size: 12px;
   line-height: 1.5;
   margin-top: 12px;
}

.err-msg {
   font-size: 12px;
}

.detail-footer {
   background: var(--navy);
   color: #9eafca;
   text-align: center;
   padding: 19px 10px;
   font-size: 12px;
}

.whatsapp-float {
   position: fixed;
   z-index: 20;
   right: 18px;
   background: #18c96b;
   color: #fff;
   padding: 10px 15px;
   border-radius: 30px;
   font-size: 14px;
   font-weight: 600;
   text-decoration: none;
   box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
}

.whatsapp-float:hover {
   color: #fff;
   background: #10ae59;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:991px) {
   .project-gallery {
      height: 340px;
   }

   .project-summary {
      padding-top: 5px;
   }

   .info-grid {
      grid-template-columns: repeat(2, 1fr);
      max-width: 550px;
   }
}

@media (max-width:575px) {
   .detail-topbar {
      height: 54px;
   }

   .project-overview {
      padding-top: 50px;
   }

   .project-gallery {
      height: 300px;
   }

   .key-stats {
      gap: 13px 7px;
   }

   .key-stats strong {
      font-size: 12px;
   }

   .info-grid {
      gap: 15px 10px;
   }

   .benefits-section {
      padding: 38px 0;
   }

   .contact-card {
      grid-template-columns: 1fr;
   }

   .contact-intro {
      padding: 27px 23px;
   }

   .contact-form-wrap {
      padding: 26px 23px;
   }

   .whatsapp-float {
      bottom: 16px;
      right: 12px;
   }
}