:root {
  --navy-900: #0D1B26;
  --navy-800: #14273A;
  --navy-700: #1E3650;
  --gold-500: #B9924F;
  --gold-300: #E0BB86;
  --cream-50: #F7F3EC;
  --cream-100: #EFE8DC;
  --ink: #1F2A33;
  --gray: #6B7580;
  --white: #FFFFFF;
  --line: #E4DED0;
  --shadow: 0 20px 50px -20px rgba(13, 27, 38, 0.25);
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--navy-800);
  margin: 0;
  line-height: 1.15;
}
p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-300); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 26px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand-word { font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; font-weight: 600; letter-spacing: 1.5px; }
.main-nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); border-color: var(--gold-500); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: none;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--white); margin: 0 auto; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,27,38,0.94) 0%, rgba(13,27,38,0.78) 32%, rgba(13,27,38,0.15) 62%, rgba(13,27,38,0.05) 100%);
}
.hero-content {
  position: relative;
  z-index: 5;
  padding: 160px 0 150px;
  max-width: 620px;
}
.hero-content .eyebrow { color: var(--gold-300); }
.hero-content h1 {
  color: var(--white);
  font-size: 3.4rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-content .lede {
  color: rgba(255,255,255,0.82);
  font-size: 1.12rem;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Inner page hero (Residences / Land / Process / Contact) ---------- */
.hero-inner { min-height: 480px; }
.hero-inner .hero-content { padding: 190px 0 70px; max-width: 700px; }
.hero-inner .hero-content h1 { font-size: 2.7rem; }
.hero-solid { background: var(--navy-900); }
.hero-solid .hero-scrim { background: radial-gradient(circle at 20% 30%, rgba(185,146,79,0.16), transparent 55%); }

/* ---------- Numbered step list (The Process) ---------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--cream-100);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.1rem;
  color: var(--gold-500);
  opacity: 0.55;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step-card p { color: var(--gray); font-size: 0.94rem; line-height: 1.5; }

/* ---------- Simple benefit grid (Land) ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card { padding: 6px 0; }
.benefit-card .icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--cream-50); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.benefit-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.5; }

/* ---------- Layout / unit-type cards (Residences) ---------- */
.layout-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.layout-card {
  border: 1px solid var(--cream-100);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.layout-card .layout-name { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; color: var(--navy-800); margin-bottom: 6px; }
.layout-card p { color: var(--gray); font-size: 0.9rem; }

/* ---------- Quote / callout band ---------- */
.quote-band {
  background: var(--cream-50);
  border-radius: 20px;
  padding: 46px 50px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.quote-band .icon-badge {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  background: var(--navy-800); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
}
.quote-band p { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; color: var(--navy-800); line-height: 1.4; }

/* ---------- Team grid (About) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--cream-100);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--cream-50);
  border: 2px solid var(--gold-300);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-role {
  color: var(--gold-500);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.team-langs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lang-pill {
  background: var(--cream-50);
  color: var(--navy-800);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--cream-100);
}

/* ---------- Story / founding narrative (About) ---------- */
.story-block { max-width: 720px; }
.story-block p { color: var(--navy-800); font-size: 1.08rem; line-height: 1.7; margin-bottom: 22px; }
.story-block p:last-child { margin-bottom: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--cream-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 28px;
  text-align: left;
}
.contact-card .icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--cream-50); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p { color: var(--gray); font-size: 0.94rem; margin-bottom: 14px; }
.contact-card .value { font-weight: 700; color: var(--navy-800); font-size: 1rem; }
.contact-card .value:hover { color: var(--gold-500); }

/* ---------- Map embed (Contact) ---------- */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-100);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Quick fact strip (Listing pages) ---------- */
.fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 8px 0 40px;
  border-bottom: 1px solid var(--line);
}
.fact { min-width: 120px; }
.fact-value { font-family: "Fraunces", Georgia, serif; font-size: 1.7rem; color: var(--navy-800); font-weight: 600; }
.fact-label { color: var(--gray); font-size: 0.85rem; margin-top: 4px; }

/* ---------- Listing photo gallery ---------- */
.hiil-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hiil-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Unit-type card (Listing pages) ---------- */
.unit-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--cream-100);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 36px;
}
.unit-plan img {
  width: 100%;
  border-radius: 12px;
  background: #0D1B26;
}
.unit-name { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; color: var(--navy-800); }
.unit-size { color: var(--gray); font-size: 0.95rem; margin-top: 4px; }
.unit-price { font-family: "Fraunces", Georgia, serif; font-size: 2rem; color: var(--gold-500); font-weight: 600; margin-top: 8px; }
.unit-availability { color: var(--gray); font-size: 0.95rem; margin-top: 6px; }
.unit-thumbs { display: flex; gap: 10px; margin-top: 22px; }
.unit-thumbs img { flex: 1; min-width: 0; width: 100%; height: 84px; object-fit: cover; border-radius: 10px; }

/* ---------- Floating feature cards ---------- */
.feature-row {
  position: relative;
  z-index: 10;
  margin-top: -92px;
  padding-bottom: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 28px;
  border: 1px solid var(--cream-100);
}
.feature-card .icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cream-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-500);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--gray); font-size: 0.96rem; line-height: 1.5; }

/* ---------- Section spacing ---------- */
.section { padding: 130px 0 100px; }
.section-tight { padding: 90px 0; }

/* ---------- About split ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-grid h2 { font-size: 2.3rem; margin-bottom: 18px; }
.about-grid .body-text { color: var(--gray); font-size: 1.05rem; margin-bottom: 26px; max-width: 460px; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.check-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy-800); font-size: 0.98rem; }
.check-item .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--cream-50); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-image { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Explore grid ---------- */
.explore-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; flex-wrap: wrap; gap: 16px;
}
.explore-head h2 { font-size: 2.1rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-800); font-size: 0.95rem; }
.link-arrow:hover { color: var(--gold-500); }
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.explore-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}
.explore-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 360px;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow);
}
.explore-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.explore-card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,38,0) 40%, rgba(13,27,38,0.86) 100%); }
.explore-card .card-body { position: relative; z-index: 2; padding: 26px; color: var(--white); width: 100%; }
.explore-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 4px; }
.explore-card p { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.explore-card .arrow-circle {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.explore-card.navy-panel {
  background: var(--navy-800);
  padding: 26px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
}
.explore-card.navy-panel .icon-badge {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,0.08); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
}
.explore-card.navy-panel h3 { color: var(--white); font-size: 1.3rem; margin: 18px 0 8px; }
.explore-card.navy-panel p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-900);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: 2.1rem; margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-50); padding: 70px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--navy-800); }
.footer-brand .brand-word { color: var(--navy-800); }
.site-footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--navy-800); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer a { color: var(--gray); font-size: 0.95rem; }
.site-footer a:hover { color: var(--gold-500); }
.contact-line { display: flex; align-items: center; gap: 10px; color: var(--gray); font-size: 0.92rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; color: var(--gray); font-size: 0.85rem; flex-wrap: wrap; gap: 10px;
}

/* ---------- Mobile ---------- */
@media (max-width: 920px) {
  .main-nav { display: none; }
  .header-cta .btn-outline.desktop-only { display: none; }
  .nav-toggle { display: flex; }
  /* Keep the header (and its menu button) reachable while scrolling on mobile —
     on desktop the header stays position:absolute, unchanged. Background only
     appears once scrolled, so the hero looks exactly as before at the top. */
  .site-header { position: fixed; }
  .site-header.header-scrolled {
    background: var(--navy-900);
    box-shadow: 0 2px 16px rgba(13, 27, 38, 0.18);
  }
  .hero-content h1 { font-size: 2.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid .image-col { order: -1; }
  .explore-grid, .explore-grid--two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 90px 0 70px; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .layout-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-inner .hero-content h1 { font-size: 2.2rem; }
  .quote-band { flex-direction: column; text-align: center; padding: 36px 28px; }
  .hiil-gallery { grid-template-columns: 1fr 1fr; }
  .unit-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { min-height: 640px; }
  .hero-content { padding: 130px 0 130px; }
  .hero-content h1 { font-size: 2.05rem; }
  .hero-bg { object-position: 68% center; }
  .hero-scrim { background: linear-gradient(180deg, rgba(13,27,38,0.55) 0%, rgba(13,27,38,0.88) 65%, rgba(13,27,38,0.96) 100%); }
  .feature-row { margin-top: -70px; }
  .feature-card { padding: 26px 22px; }
  .hero-inner { min-height: 420px; }
  .hero-inner .hero-content { padding: 150px 0 60px; }
  .step-grid { grid-template-columns: 1fr; }
  .layout-grid { grid-template-columns: 1fr 1fr; }
  .map-embed iframe { height: 300px; }
  .hiil-gallery { grid-template-columns: 1fr 1fr; }
  .hiil-gallery img { height: 180px; }
  .unit-card { grid-template-columns: 1fr; padding: 26px; gap: 26px; }
  .fact-strip { gap: 26px; }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(13, 27, 38, 0.45);
  z-index: 50;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
@media (max-width: 640px) {
  .whatsapp-float { width: 52px; height: 52px; right: 18px; bottom: 18px; }
}

/* ---------- Lightbox (full-size image viewer) ---------- */
.lightbox-trigger { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 27, 38, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 22px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
@media (max-width: 640px) {
  .lightbox { padding: 40px 18px; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

/* off-canvas mobile nav */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 82vw);
  background: var(--navy-900);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 26px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav a {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  padding: 10px 2px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-scrim { position: fixed; inset: 0; background: rgba(13,27,38,0.5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.nav-scrim.open { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }
