body{margin:0;background:#F6F4EE;font-family:Inter,system-ui,sans-serif;color:#1B2420}
a{color:#0F3D2E}a:hover{color:#0A2A20}
h1,h2,h3{font-family:Sora,Inter,sans-serif;margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px;box-sizing:border-box}
.sec{padding:88px 0}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#9A5B00}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:10px;font-weight:600;font-size:15px;text-decoration:none;border:0;cursor:pointer;font-family:inherit}
.fld{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#33403A}
.fld input,.fld select{height:46px;border:1px solid #CBD3CE;border-radius:8px;padding:0 12px;font:inherit;font-weight:400;font-size:16px;background:#fff;color:#1B2420}
table{border-collapse:collapse;width:100%;min-width:620px}
th,td{text-align:left;padding:15px 20px;border-bottom:1px solid #E3E0D6;font-size:15px}
th{background:#0F3D2E;color:#fff;font-weight:600;font-size:14px}
details{border-bottom:1px solid #DDD8CB;padding:20px 0}
summary{cursor:pointer;font-weight:600;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.ph{background:repeating-linear-gradient(135deg,#E7E2D4 0 14px,#EFEBE0 14px 28px);border-radius:14px;display:flex;align-items:center;justify-content:center;color:#6B6553;font-size:14px;font-weight:600;text-align:center;padding:16px;box-sizing:border-box}
.hero{background:linear-gradient(90deg,rgba(10,42,32,.94) 0%,rgba(10,42,32,.82) 50%,rgba(10,42,32,.45) 100%),url(img/hero.jpg) center/cover no-repeat}
.img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;border-radius:14px;background:#E7E2D4}
@media (max-width:760px){.sec{padding:56px 0 !important}.nav-d,.wa-fab{display:none !important}.mbar{display:flex !important}.mpad{display:block !important}.ctas .btn{flex:1 1 100%}table{min-width:0 !important}th,td{padding:12px !important;font-size:14px !important}.gal{grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-auto-rows:170px !important}}
@keyframes mq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.mq{animation:mq 32s linear infinite}.mq:hover{animation-play-state:paused}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(232,163,61,.75)}70%{box-shadow:0 0 0 14px rgba(232,163,61,0)}100%{box-shadow:0 0 0 0 rgba(232,163,61,0)}}
.pulse{animation:pulse 1.6s ease-out infinite}
@media (prefers-reduced-motion:reduce){.mq,.pulse{animation:none}}
.cap{position:absolute;left:12px;bottom:12px;background:rgba(10,42,32,.85);color:#fff;font-size:13px;font-weight:600;padding:6px 10px;border-radius:6px}
html{scroll-behavior:smooth;scroll-padding-top:130px}
[hidden]{display:none !important}
.err{margin:0;font-size:13px;color:#B42318;font-weight:600}


/* ---------- phone layout ---------- */
@media (max-width:760px){
  .wrap{padding:0 16px}
  .hdr-apply{min-height:44px;padding:0 12px;font-size:13px;flex:none}
  .hero-row{padding-top:36px !important;padding-bottom:44px !important;gap:32px !important}
  .hero h1{font-size:30px !important}
  #enquire{padding:22px !important}
  #apply .wrap > div{padding:22px !important}
  #apply .wrap > div:first-child{padding:0 !important}
  #apply .wrap > div:last-child{order:-1}
  details summary{font-size:16px}
  .sec h2{font-size:26px !important}
  .mbar{padding-bottom:calc(8px + env(safe-area-inset-bottom)) !important}
}

/* ---------- sticky top + mobile menu ---------- */
.topbar{position:sticky;top:0;z-index:60;box-shadow:0 2px 12px rgba(15,61,46,.08)}
.menu-btn{display:none;width:44px;height:44px;flex:none;align-items:center;justify-content:center;border:1.5px solid #0F3D2E;border-radius:10px;background:#fff;color:#0F3D2E;cursor:pointer;padding:0}
.menu-btn .ic-close{display:none}
.menu-btn[aria-expanded="true"] .ic-open{display:none}
.menu-btn[aria-expanded="true"] .ic-close{display:block}
.mnav{background:#fff;border-top:1px solid #E3E0D6;padding:8px 16px 16px;display:flex;flex-direction:column;max-height:calc(100vh - 110px);overflow-y:auto}
.mnav > a{display:flex;align-items:center;min-height:48px;padding:0 4px;border-bottom:1px solid #EEEBE2;color:#1B2420;text-decoration:none;font-weight:600;font-size:16px}
.mnav-ctas{display:flex;flex-direction:column;gap:10px;padding-top:14px}
.mnav-ctas .btn{width:100%;box-sizing:border-box}
@media (max-width:760px){
  html{scroll-padding-top:120px}
  .menu-btn{display:inline-flex}
}
@media (min-width:761px){ .mnav{display:none !important} }

/* ---------- register popup ---------- */
.pop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:16px}
.pop-bg{position:absolute;inset:0;background:rgba(10,42,32,.6)}
.pop-card{position:relative;width:100%;max-width:440px;max-height:calc(100vh - 32px);overflow-y:auto;background:#fff;border-radius:18px;padding:28px;box-sizing:border-box;display:flex;flex-direction:column;gap:14px;box-shadow:0 24px 60px rgba(0,0,0,.35);animation:popin .25s ease-out}
.pop-x{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;background:transparent;color:#33403A;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.pop-x:hover{background:#F1F0EA}
@keyframes popin{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.pop-card{animation:none}}
body.pop-open{overflow:hidden}


.hdr-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.hdr-call {
  box-sizing: border-box;
  flex: none;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #0F3D2E;
}
.header-brand,
.header-actions,
.header-logos {
  display: flex;
  align-items: center;
}
.header-brand {
  margin-inline-start: auto;
}
.header-actions {
  flex: none;
  gap: 8px;
}
.header-logos {
  gap: 12px;
}
.header-logos img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 84px;
  object-fit: contain;
}
.hero-loan {
  margin: -12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: #F2C47E;
}
@media (max-width: 760px) {
  .hdr-row {
    justify-content: space-between;
    gap: 8px;
    padding: 7px 12px;
  }
  .header-brand {
    order: -1;
    margin-inline-start: 0;
  }
  .header-logos {
    gap: clamp(4px, 1.5vw, 7px);
  }
  .header-logos img {
    height: clamp(23px, 7.2vw, 32px);
    max-width: clamp(44px, 15vw, 66px);
  }
  .header-actions {
    gap: 5px;
  }
  .header-actions .menu-btn {
    width: 34px;
    height: 40px;
  }
  .hdr-call {
    width: 36px;
    min-height: 40px;
  }
  .hdr-apply {
    padding: 0 9px;
    min-height: 40px;
    white-space: nowrap;
  }
}

.apply-cta {
  background: #C2185B;
  color: #fff;
  animation: apply-pulse 1.8s ease-out infinite;
}
.apply-cta:hover,
.apply-cta:focus-visible {
  background: #A9114D;
  color: #fff;
}
@keyframes apply-pulse {
  from { box-shadow: 0 0 0 0 rgba(227, 39, 119, .6); }
  75%, to { box-shadow: 0 0 0 8px rgba(227, 39, 119, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .apply-cta { animation: none; }
}

.detail-image {
  display: block;
  border-radius: 12px;
}
.detail-image:focus-visible {
  outline: 2px solid #0F3D2E;
  outline-offset: 4px;
}
.gal img[src="img/kitchen.jpg"] {
  object-position: center 57%;
}
@media (max-width: 760px) {
  .hero { background-position: 58% center; }
}

.gal .gi {
  position: relative;
  margin: 0;
}
.gal .cap {
  max-width: calc(100% - 24px);
  box-sizing: border-box;
}

.call-icon {
  box-sizing: border-box;
  width: 48px;
  padding-inline: 0;
}
.ctas .call-icon {
  flex: 0 0 48px;
}
.contact-call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid currentColor;
  border-radius: 10px;
}

.photo-slot {
  position: relative;
  min-width: 0;
  height: var(--photo-height);
  background: #E7E2D4;
  border-radius: 14px;
  overflow: hidden;
}
.photo-slot-interior {
  flex: 1 1 460px;
  --photo-height: 420px;
}
.photo-slot-tower {
  flex: 1 1 380px;
  --photo-height: 520px;
}
.photo-slot-amenity {
  --photo-height: 260px;
}
.photo-slot-amenity img[src="img/pool.jpg"] {
  object-position: 30% center;
}
.suite-diagram {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}
@media (max-width: 760px) {
  .photo-slot-interior {
    --photo-height: clamp(245px, 78vw, 420px);
  }
  .photo-slot-tower {
    --photo-height: clamp(280px, 110vw, 520px);
  }
  .photo-slot-amenity {
    --photo-height: clamp(195px, 58vw, 260px);
  }
}
