/* =============================================
   SeaLux Property — Global Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --gold: #B8960C;
  --gold-light: #F5EDCA;
  --navy: #0D1B2A;
  --sand: #F7F4EE;
  --sand-mid: #EDE8DE;
  --text: #1C1C1C;
  --text-mid: #555;
  --text-light: #888;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 12px;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

p {
  margin-bottom: 16px;
}


/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section--sand {
  background: var(--sand);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.four-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 24px;
  padding: 24px;
}
@media (max-width: 767px) {
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 24px;
}
}
@media (max-width: 767px) {
  .card-grid {
    padding: 4px;
  }
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* Currency bar */
.currency-bar {
  background: var(--navy);
  padding: 6px 24px;
  display: flex;
  justify-content: flex-end;
}

.currency-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-bar span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.currency-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .15s;
}

.currency-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 500;
}

.currency-btn:hover:not(.active) {
  border-color: rgba(255, 255, 255, .5);
  color: var(--white);
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--sand-mid);
  padding: 0 24px;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  padding-right: 36px;
  background-image: url('images/home.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 28px auto;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.unit-floorplan img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.nav-links a {
  font-size: 14px;
  color: var(--text-mid);
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

/* Buttons */
.btn.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: none;
}

.btn.btn-gold:hover {
  background: #9e7e0a;
}

.btn.btn-outline {
  background: none;
  border: 1px solid var(--navy);
  color: var(--navy);
}

.btn.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn.btn-outline-white {
  background: none;
  border: 1px solid var(--white);
  color: var(--white);
}

.btn.btn-outline-white:hover {
  background: rgba(255, 255, 255, .1);
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 96px 24px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  color: var(--white);
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, .7);
  max-width: 540px;
  margin: 0 auto 36px;
}

/* Inner page hero */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 24px;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white);
}

.page-hero p {
  color: rgba(255, 255, 255, .65);
  margin-top: 12px;
  max-width: 560px;
}

.page-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-inner {
  background: rgba(13, 27, 42, 0.45);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 440px;
}

@media (max-width: 375px) {
  .page-hero-inner {
    max-width: 300px;
  }
}


/* Labels */
.eyebrow {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .4);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 10px;
}

.section-heading p {
  font-size: 16px;
  color: var(--text-mid);
}

h3 {
  margin-bottom: 10px;
}

/* Cards */
.card {
  display: grid;
  min-height: 400px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

/*.card-img { height: 180px; background: var(--sand-mid); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 13px; }
*/
.card-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card {
  background-size: cover;
  background-position: bottom right;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative;
}

.card-body {
  align-self: end;

  margin: 16px;
  padding: 20px;

  background: rgba(13, 27, 42, .45);
  backdrop-filter: blur(4px);

  border-radius: var(--radius-lg);
  color: white;

  width: fit-content;
  max-width: 50%;
  height: 90%;

}

@media (min-width: 768px) {
  .card-body.style1 {
    width: 40%;
    max-width: 40%;
  }
}

.card-body h3 {
  color: var(--white);
}

.card-price strong {
  color: var(--white);
}

.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tag-thailand {
  background: #EEEDFE;
  color: #3C3489;
}

.tag-philippines {
  background: #E1F5EE;
  color: #085041;
}

.tag-malaysia {
  background: #8891d6;
  color: #1b1b1c;
}

.tag-vietnam {
  background: #da6e6e;
  color: #2b2b2f;
}

.tag-singapore {
  background: #d7e18c;
  color: #28282a;
}







.card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.card p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.card-price strong {
  font-size: 16px;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  color: rgba(255, 255, 255, 0.7);
}

/* Unit cards */
.unit-card {
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
}

@media (max-width: 767px) {
  .unit-card {
    padding: 12px 16px;
  }

  .unit-card h4 {
    margin-bottom: 0;
    font-size: 16px;
  }

}

@media (max-width: 767px) {
  .unit-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

.unit-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.unit-size {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.unit-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}

/* Agent */
.agent-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.agent-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sand-mid);
  border: 2px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--navy);
  flex-shrink: 0;
}

.agent-info {
  flex: 1;
  min-width: 200px;
}

.agent-info h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.agent-form {
  flex: 1;
  min-width: 260px;
}

.agent-form input,
.agent-form textarea,
.agent-form select {
  width: 100%;
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background: var(--white);
  margin-bottom: 10px;
  color: var(--text);
}

.agent-form textarea {
  height: 90px;
  resize: vertical;
}

/* Filters */
.filter-bar {
  background: var(--white);
  padding: 24px 16px;
  border-bottom: 1px solid var(--sand-mid);
}

.filter-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
}

.filter-group select,
.filter-bar select {
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 12px 12px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  min-width: 80px;
  max-width: 20%;
  cursor: pointer;
}

/* Quiz */
.quiz-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.quiz-question {
  font-size: clamp(24px, 4vw, 40px);
  margin: 24px;
}

.quiz-sub {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 48px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.quiz-option {
  border: 1px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  background: var(--navy);
  display: block;
  color: var(--white);
}

.quiz-option:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(184, 150, 12, .12);
}

.quiz-option-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.quiz-option h3 {
  font-size: 22px;
  margin: 0px 12px;
}

.quiz-option p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.quiz-option:nth-child(1) {
  background: linear-gradient(rgba(13, 27, 42, 0.55), rgba(13, 27, 42, 0.55)), url('images/quiz-1.png') center/cover no-repeat;
}

.quiz-option:nth-child(2) {
  background: linear-gradient(rgba(13, 27, 42, 0.55), rgba(13, 27, 42, 0.55)), url('images/quiz-2.png') center/cover no-repeat;
}

.quiz-option:nth-child(3) {
  background: linear-gradient(rgba(13, 27, 42, 0.55), rgba(13, 27, 42, 0.55)), url('images/quiz-3.png') center/cover no-repeat;
}

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .5);
  padding: 40px 20px 20px;
  font-size: 13px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, .45);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 16px;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, .25);
}

/* Utilities */
.text-gold {
  color: var(--gold);
}

.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-32 {
  margin-bottom: 32px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  background: var(--white);
  border-bottom: 1px solid var(--sand-mid);
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
  position: sticky;
  top: 64px;
  z-index: 99;
}

.mobile-nav.open {
  max-height: 320px;
}

.mobile-nav a {
  display: block;
  padding: 13px 24px;
  font-size: 15px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--sand-mid);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--navy);
  font-weight: 500;
  background: var(--sand);
}

/* Find page — path cards */
.paths {
  display: grid;
  gap: 16px;
}

.path-card {
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--text);
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 20px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.path-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(184, 150, 12, .1);
  transform: translateY(-1px);
}

.path-card:hover .arrow {
  color: var(--gold);
  transform: translateX(3px);
}

.path-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: background .2s;
}

.path-card:hover .path-icon {
  background: var(--gold-light);
}

.path-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}

.path-text p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

.arrow {
  font-size: 20px;
  color: var(--sand-mid);
  transition: color .2s, transform .2s;
  flex-shrink: 0;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  color: var(--text-light);
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sand-mid);
}

.page-title {
  font-size: clamp(32px, 6vw, 52px);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
}

.page-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 52px;
}

@media (max-width: 500px) {
  .path-card {
    grid-template-columns: 44px 1fr;
  }

  .arrow {
    display: none;
  }
}

/* Page main content area */

main {
  margin: 0 auto;
  padding: 56px 20px 80px;
  background: var(--sand);
}

/* Budget page */
.dev-group {
  margin-bottom: 48px;
}



.dev-group-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;

  background: var(--navy);
  border-radius: var(--radius-lg);
  color: white;
  padding: 20px;

  text-decoration: none;
  cursor: pointer;
}

.dev-group-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.dev-group-header h2 {
  color: var(--white);
  margin: 0;
}

/* Budget page thumbnails */
.dev-thumb {
  width: 120px;
  height: 90px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand-mid);
  flex-shrink: 0;
}

.dev-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dev-link {
  font-size: 13px;
  color: var(--gold);
  margin-left: 0;
}

.dev-link:hover {
  text-decoration: underline;
}

.unit-card h4 {
  font-size: 20px;
}

.unit-desc {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.5;
}

.enquire-btn {
  display: block;
  text-align: center;
  padding: 8px;
  font-size: 13px;
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  color: var(--text-mid);
  transition: all .15s;
}

.enquire-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--sand);
}

/* Other paths section */
.other-paths {
  background: var(--white);
  border-top: 1px solid var(--sand-mid);
  padding: 40px 20px;
  text-align: center;
}

.other-paths-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.other-paths h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.other-paths p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.path-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Results count */
.results-count {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.results-count span {
  color: var(--navy);
  font-weight: 500;
}

/* No results */
.no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 15px;
}

.no-results a {
  color: var(--gold);
}

/* Persona pills */
.persona-bar {
  background: var(--white);
  border-bottom: 1px solid var(--sand-mid);
  padding: 16px 20px;
  overflow-x: auto;
}

.persona-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.pill {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid var(--sand-mid);
  background: var(--white);
  cursor: pointer;
  transition: all .15s;
  font-family: 'DM Sans', sans-serif;
}

.pill:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Results */
.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.results-list {
  display: grid;
  gap: 20px;
}

/* Development row card */
.dev-card {
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: box-shadow .2s;
}

.dev-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .07);
}

.dev-img {
  background: var(--sand-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-lt);
  font-size: 13px;
  min-height: 220px;

}

.dev-img img {
  max-height: 100%;
  max-width: 100%;
  border-radius: 16px;

}

.dev-body {
  padding: 28px;
}

.tag-th {
  background: #EEEDFE;
  color: #3C3489;
}

.tag-ph {
  background: #E1F5EE;
  color: #085041;
}

.dev-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 6px;
}

.persona-match {
  font-size: 12px;
  color: var(--text-lt);
  margin-bottom: 10px;
}

.persona-match strong {
  color: var(--gold);
}

.dev-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tag {
  font-size: 12px;
  background: var(--sand);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-mid);
}

.dev-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.price {
  font-size: 13px;
  color: var(--text-lt);
}

.price strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--text);
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--navy);
  color: var(--navy);
  transition: all .2s;
}

.btn:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: #9e7e0a;
}

/* Other paths */
.other-paths {
  background: var(--white);
  border-top: 1px solid var(--sand-mid);
  padding: 40px 20px;
  text-align: center;
}

.other-paths-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.other-paths h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  margin-bottom: 8px;
}

.other-paths p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.path-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .dev-card {
    grid-template-columns: 1fr;
  }

  .dev-img {
    min-height: 180px;
  }

  .nav-links {
    display: none;
  }
}

/* Why SEA page */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.reason-card {
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.reason-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.reason-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.reason-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.country-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.country-card h3 {
  font-size: 24px;
  margin: 10px 0 12px;
}

.country-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.country-list li {
  font-size: 14px;
  color: var(--text-mid);
  display: flex;
  gap: 8px;
}

.country-list li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
}

/* About page */
.about-values {
  display: grid;
  gap: 24px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.value-item p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius-lg);
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.form-input {
  width: 100%;
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background: var(--white);
  color: var(--text);
}

.form-textarea {
  width: 100%;
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background: var(--white);
  color: var(--text);
  height: 120px;
  resize: vertical;
}


/* Guide cards */
.guide-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}

.guide-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
  border-color: var(--gold);
}

.guide-card h3 {
  font-size: 22px;
  margin: 8px 0;
}

.guide-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.guide-link {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

/* Guide pages */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: flex-start;
}

.guide-intro {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
}

.guide-section {
  margin-bottom: 40px;
}

.guide-section h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.guide-section p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 12px;
}

.guide-list {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.guide-list li {
  font-size: 15px;
  color: var(--text-mid);
  display: flex;
  gap: 10px;
  line-height: 1.6;
}

.guide-list li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-callout {
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 40px;
}

.guide-callout-title {
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 15px;
}

.guide-callout p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* Guide sidebar */
.guide-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.sidebar-card h4 {
  font-size: 16px;
  margin-bottom: 14px;
}

.sidebar-list {
  display: grid;
  gap: 10px;
}

.sidebar-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px solid var(--sand-mid);
  padding-bottom: 10px;
}

.sidebar-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-list li span {
  color: var(--text-light);
}

.sidebar-dev-link {
  display: block;
}

.sidebar-dev-link p {
  font-size: 16px;
  font-weight: 500;
  margin: 6px 0;
}

.sidebar-guide-link {
  display: block;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 8px;
}

.sidebar-guide-link:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--navy);
}


.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;

}

.hero-slide:first-child {
  min-height: 500px;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, var(--overlay-opacity));
  z-index: 2;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 48px;
  color: var(--white);
}

.hero-slide-content h1 {
  font-size: clamp(28px, 5vw, 52px);
  color: var(--white);
  margin-bottom: 10px;
}

.hero-slide-content p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  font-size: 16px;
}

.hero-slide-content .breadcrumb {
  margin-bottom: 16px;
}

.hero-slide-content .eyebrow {
  margin-bottom: 10px;
}

.hero-slide-content .btn {
  margin-right: 12px;
}

/* Gold play button — mobile only */
.hero-play-btn {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  background: none;
  border: none;
  color: var(--gold);
  width: 64px;
  height: 64px;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity .2s, transform .2s;
}

.hero-play-btn:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.hero-play-btn svg {
  width: 64px;
  height: 64px;
}

.hero-play-btn.playing {
  display: none !important;
}

/* Progress bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 5;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width linear;
}



.hero-slide-content .container {
  background: rgba(13, 27, 42, 0.45);
  backdrop-filter: blur(4px);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: inline-block;
  max-width: 560px;
  margin-left: 24px;
  margin-top: 48px;
}

.hero-slide-content .container a {
  margin-top: 20px;
}

/* Floating contact button */
.float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform .2s, background .2s;
  color: var(--white);
}

.float-btn:hover {
  transform: scale(1.08);
  background: #9e7e0a;
}

.float-btn svg {
  width: 22px;
  height: 22px;
}

/* Floating form panel */
.float-form-wrap {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 200;
  width: 320px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.float-form-wrap.open {
  max-height: 600px;
}

.float-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.float-form-header {
  background: var(--navy);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.float-form-header h4 {
  color: var(--white);
  font-size: 16px;
}

.float-form-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: color .15s;
}

.float-form-close:hover {
  color: var(--white);
}

.float-form form {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.float-form input,
.float-form select,
.float-form textarea {
  width: 100%;
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  background: var(--white);
  color: var(--text);
}

.float-form textarea {
  height: 80px;
  resize: vertical;
}

.float-form .btn {
  width: 100%;
}

.float-form-note {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
}

.float-form-success {
  display: none;
  padding: 32px 20px;
  text-align: center;
  font-size: 15px;
  color: var(--navy);
}

.float-form .form-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: -6px;
}

@media (max-width: 400px) {
  .float-form-wrap {
    right: 12px;
    left: 12px;
    width: auto;
  }

  .float-btn {
    right: 12px;
    bottom: 12px;
  }
}

/* Responsive */
@media (max-width: 640px) {

  /* Nav */
  .two-col {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Carousel — content-driven height */
  .hero-carousel {
    height: auto;
    min-height: 480px;
  }

  .hero-slide {
    position: relative;
    inset: auto;
    min-height: 480px;
  }

  .hero-slide:not(.active) {
    position: absolute;
    inset: 0;
    min-height: unset;
  }

  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
  }

  /* Content positioning */
  .hero-slide-content {
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  /* Glass panel */
  .hero-slide-content .container {
    padding: 20px;
    margin-left: 16px;
    margin-right: 16px;
    max-width: calc(100% - 32px);
  }

  /* Typography */
  .hero-slide-content h1 {
    font-size: 28px;
  }

  .hero-slide-content p {
    font-size: 14px;
  }

  .hero-slide-content .btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* Play button */
  .hero-play-btn {
    display: block;
    top: 30%;
  }
}

@media (max-width: 640px) {
  .hero-slide-content {
    position: relative;
    inset: auto;
  }
}

@media (max-width: 640px) {
  .hero-slide-content {
    align-items: flex-start;
    align-self: flex-start;
  }
}

/* Completion pill */
.completion-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* Mini map */
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

.map-overlay-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  text-decoration: none;
}

.map-overlay-link span {
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-weight: 500;
}

/* Amenities tabs */
.amenity-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--sand-mid);
  margin-bottom: 32px;
}

.amenity-tab {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.amenity-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.amenity-panel {
  display: none;
}

.amenity-panel.active {
  display: block;
}

.amenity-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.amenity-panel H3 {
  display: none;
}

.amenity-gallery img,
.amenity-gallery iframe {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Clickable unit cards + detail panel */
.unit-card[data-unit] {
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.unit-card.active {
  border-color: var(--gold);
  background: var(--gold);
}

.unit-detail-panel {
  display: none;
  margin-top: 40px;
}

.unit-detail-panel.active {
  display: block;
}

.unit-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.unit-floorplan img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.unit-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.unit-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .unit-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared enquiry form template — used inline and inside .float-form.
   Declared after .float-form's own input/select/textarea rule so it
   wins the tie on specificity and looks identical in both places. */
.enquiry-form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--sand-mid);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background: var(--white);
  color: var(--text);
}

.enquiry-form textarea {
  height: 100px;
  resize: vertical;
}

.enquiry-form .enquiry-submit {
  width: 100%;
}

.form-note {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
}

.form-success {
  display: none;
  padding: 32px 20px;
  text-align: center;
  font-size: 15px;
  color: var(--navy);
}

/* Unified form error style */
.form-error {
  font-size: 13px;
  color: #c0392b;
  background: #fdecea;
  border: 1px solid #f5c6cb;
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 0 0 12px;
  display: none;
}

/* Overlay container */
#image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Full image */
#image-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Close button */
.overlay-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

.overlay-close:hover {
  color: var(--gold);
}

#shang {
  background-image: url('images/ShangSummit/Building3.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

#laya {
  background-image: url('images/Laya/Building4.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

#lifeStyle {
  background-image: url('images/general20.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

#search {
  background-image: url('images/general22.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

#budget {
  background-image: url('images/general17.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

#bauhinia {
  background-image: url('images/Bauhinia/Building5.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

#blueroc {
  background-image: url('images/Blueroc/Building4.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

#haraya {
  background-image: url('images/Haraya/Building3.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.agent-avatar {
  width: 120px;
  /* make it wider */
  height: 240px;
  /* make it taller */
  border-radius: 12px;
  /* rounded rectangle corners */
  overflow: hidden;
  /* clip the image to the shape */
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ensures the image fills without distortion */
  display: block;
}

.container.heros img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--sand-mid);
  width: 250px;
  height: auto;
}

@media (max-width: 768px) {
  .container.heros img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--sand-mid);
    width: 80%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .card {
    min-height: 600px;
  }

  .card-body {
    width: 75%;
  }

  .filter-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .filter-group {
    min-width: 0;
  }

  .filter-group select {
    width: 100%;
  }

}

p.note {
  font-size: 12px;
  color: var(--text-light);
  padding: 0;
  margin: 0;
}

.unit-tag {
  color: var(--gold);
  font-size: 14px;
}

.clear-btn {
  padding: 8px 16px;
  background: var(--sand);
  border: 1px solid var(--sand-mid);
  margin-top: 1px;
}

@media (max-width: 768px) {
  .clear-btn {
    height: 50%;
    background: var(--sand);
    border: 1px solid var(--sand-mid);
  }
}

.unit-floorplan img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
}