:root {
  --royal: #f26b2a;
  --royal-dark: #24252b;
  --royal-soft: #fff0e8;
  --mint: #fbfaf7;
  --ink: #24252b;
  --muted: #62646a;
  --line: #e5e1dc;
  --white: #fff;
  --shadow: 0 16px 40px rgba(45, 37, 31, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font: 16px/1.65 "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #ebe5df;
  box-shadow: 0 3px 18px rgba(45, 37, 31, .08);
  backdrop-filter: blur(12px);
}
nav {
  width: min(1500px, 100%);
  margin: auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: clamp(190px, 19vw, 275px); height: auto; max-height: 56px; object-fit: contain; }
nav .links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; align-items: center; font-size: 14px; }
nav .links a {
  padding: 11px 13px;
  border: 1px solid #ebe5df;
  border-radius: 9px;
  background: #fff;
  color: var(--royal-dark);
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s, border-color .18s, transform .18s;
}
nav .links a:hover, nav .links a:focus-visible { background: var(--royal-soft); border-color: #f1b293; text-decoration: none; transform: translateY(-1px); }
nav .links a[aria-current="page"] { background: var(--royal); border-color: var(--royal); color: #fff; }
.menu { display: none; border: 1px solid var(--royal); border-radius: 8px; background: #fff; color: var(--royal); padding: 7px 12px; font-weight: 700; cursor: pointer; }

.wrap { width: min(1250px, 100%); margin: auto; padding: 58px 24px; }
.hero { background: linear-gradient(120deg, #fff3eb 0%, #fff 72%); border-bottom: 1px solid #f0ddd2; }
.hero .wrap { padding-top: 58px; padding-bottom: 58px; }
.hero .wrap { padding-top: 34px; padding-bottom: 34px; }
.hero h1, h2, h3 { font-family: "Segoe UI", system-ui, sans-serif; letter-spacing: -.025em; }
h1 { margin: 15px 0; color: var(--royal-dark); font-size: clamp(38px, 5.5vw, 68px); line-height: 1.05; }
h2 { margin: 0 0 16px; color: var(--royal-dark); font-size: clamp(29px, 3.2vw, 44px); line-height: 1.12; }
h3 { margin: 0 0 8px; color: var(--royal-dark); font-size: 20px; line-height: 1.2; }
p { margin: 0 0 16px; }
.eyebrow, .section-kicker { color: var(--royal); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero p { max-width: 700px; font-size: 18px; color: #505157; }
.package-banner { position: relative; overflow: hidden; aspect-ratio: 1000 / 264; min-height: 190px; background: #29336f; }
.package-banner img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.package-banner::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(31, 31, 33, .78), rgba(31, 31, 33, .1) 75%); pointer-events: none; }
.package-banner-copy { position: absolute; z-index: 1; top: 50%; left: max(24px, calc((100% - 1250px) / 2 + 24px)); max-width: 700px; transform: translateY(-50%); color: #fff; }
.package-banner-copy .section-kicker { color: #fff; }
.package-banner-copy h2 { margin: 7px 0 5px; color: #fff; font-size: clamp(24px, 3.2vw, 40px); }
.package-banner-copy p { margin: 0; color: #fff4ed; font-size: 16px; }
.package-banner--blank { aspect-ratio: 1600 / 210; min-height: 145px; background: var(--mint); border-block: 1px solid #dfe7e1; }
.package-banner--blank img { object-fit: contain; padding: 10px clamp(16px, 4vw, 64px); }
.package-banner--blank::after { display: none; }
.btn, .action-primary, .action-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 9px;
  font-weight: 750;
  line-height: 1.25;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.btn, .action-primary { background: var(--royal); border: 1px solid var(--royal); color: #fff; }
.btn:hover, .action-primary:hover { background: var(--royal-dark); border-color: var(--royal-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn.secondary, .action-outline { background: #fff; border: 1px solid #efb597; color: var(--royal-dark); }
.btn.secondary:hover, .action-outline:hover { background: var(--royal-soft); border-color: var(--royal); color: var(--royal-dark); text-decoration: none; transform: translateY(-1px); }

.full-video-hero { position: relative; height: clamp(320px, 36vw, 560px); overflow: hidden; background: #dedbd7; }
.banner-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-shade { position: absolute; inset: 0; display: flex; align-items: end; pointer-events: none; background: linear-gradient(90deg, rgba(13, 17, 45, .55), transparent 74%); }
.banner-caption { width: min(1450px, 100%); margin: auto; padding: 0 32px 30px; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.banner-caption span { font-size: 12px; font-weight: 800; letter-spacing: .19em; }
.banner-caption h1 { max-width: 700px; margin: 5px 0 0; color: #fff; font-size: clamp(30px, 4.2vw, 56px); }
.action-strip { background: var(--mint); border-bottom: 1px solid #eadfd8; }
.action-inner { width: min(1230px, 100%); margin: auto; padding: 28px 24px; display: grid; grid-template-columns: 1fr 360px; gap: 42px; align-items: center; }
.action-intro h2 { margin: 7px 0 6px; font-size: clamp(25px, 2.6vw, 37px); }
.action-intro p { color: #5b5050; }
.home-about .action-inner { display: block; }
.home-about .action-intro h2 { margin: 7px 0 16px; font-size: clamp(12.5px, 1.3vw, 18.5px); }
.home-agency-copy { columns: 2 360px; column-gap: 36px; }
.home-agency-copy p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; }
.home-agency-copy a { color: var(--royal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.action-buttons { display: grid; gap: 10px; }
.action-primary, .action-outline { min-height: 50px; text-align: center; }
.action-secondary-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.action-secondary-row .action-outline { width: 100%; }

.home-pathways { padding-top: 56px; padding-bottom: 56px; }
.home-pathways h2 { margin-top: 8px; }
.pathway-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.pathway { padding: 24px; background: #fff; border: 1px solid #eee3dc; border-radius: 14px; box-shadow: 0 8px 26px rgba(45, 37, 31, .07); transition: transform .18s, box-shadow .18s; }
.pathway:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.pathway-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--royal-soft); color: var(--royal); font-size: 24px; }
.pathway h3 { margin-top: 14px; }
.pathway p { min-height: 63px; color: var(--muted); font-size: 14px; }
.pathway strong { color: var(--royal); font-size: 14px; }
.packages-feature { background: #fff3eb; border-block: 1px solid #f2d8ca; }
.packages-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 42px; padding-top: 58px; padding-bottom: 58px; }
.packages-copy h2 { margin-top: 12px; font-size: clamp(31px, 3.4vw, 46px); }
.packages-copy p { color: #5b4d46; }
.packages-video { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #c7d8cb; box-shadow: var(--shadow); }
.packages-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.package-link { margin-top: 8px; }
.packages-story > .wrap { padding-top: 38px; padding-bottom: 38px; }
.packages-story h2 { max-width: 900px; margin: 10px 0 24px; }
#home-and-land-packages { scroll-margin-top: 130px; }
.packages-story-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.packages-story-text { min-width: 0; color: #5b4d46; font-size: 16px; line-height: 1.7; }
.packages-story-text p { margin-bottom: 16px; }
.packages-story-text h3 { margin-bottom: 10px; color: var(--ink); font-size: 20px; letter-spacing: 0; }
.package-benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-top: 24px; }
.package-summary { margin: 20px 0 12px; }
.home-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; padding-top: 54px; padding-bottom: 68px; }
.home-bottom h2 { font-size: 31px; }
.home-bottom .action-outline { margin-top: 4px; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; }
.search { position: relative; margin: 24px 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(33, 44, 75, .06); }
.home-search-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; margin-bottom: 8px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.home-search-cta h2 { margin: 2px 0; font-size: clamp(25px, 2.7vw, 36px); line-height: 1.2; letter-spacing: .01em; }
.home-search-cta p { margin: 0; color: var(--muted); }
/* Compact the buy-page search header so the property cards start sooner. */
.wrap.property-search-section { padding-top: 20px; padding-bottom: 28px; scroll-margin-top: 90px; }
.property-search-section > h2 { margin-bottom: 10px; font-size: 17.6px; line-height: 1.3; letter-spacing: 0; }
.property-search-section > .notice { margin-bottom: 12px; padding: 8px 12px; font-size: 14px; line-height: 1.45; }
.property-search-section > .search { margin: 12px 0 16px; padding: 12px; }
.property-search-section .controls input, .property-search-section .controls select { min-height: 44px; padding: 9px 12px; }
.designs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.designs-grid .info-card { padding: 22px; }
.designs-grid h2 { margin-top: 0; color: var(--ink); font-size: 25px; }
.designs-grid strong { color: var(--blue); font-size: 15px; }
.designs-grid .feature-list { margin-bottom: 0; }
.designs-grid .design-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.design-facade { position: relative; margin: 0; background: #edf0ed; }
.design-facade img { display: block; width: 100%; height: auto; aspect-ratio: 1500 / 852; object-fit: contain; }
.design-facade figcaption { position: absolute; right: 10px; bottom: 8px; padding: 2px 7px; border-radius: 4px; background: rgba(255,255,255,.92); color: #3f4244; font-size: 10px; }
.design-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 20px; }
.design-room-counts { margin-bottom: 14px; color: #505157; font-size: 14px; line-height: 1.5; }
.design-dimensions { display: grid; gap: 10px; margin: 0 0 16px; padding: 12px 0; border-block: 1px solid var(--line); }
.design-dimensions dt { color: #62646a; font-size: 12px; }
.design-dimensions dd { margin: 2px 0 0; color: var(--ink); font-size: 15px; font-weight: 600; }
.design-dimensions dd span { font-size: 13px; font-weight: 400; }
.design-area-note { margin: 0 0 24px; padding: 12px 16px; border-left: 3px solid var(--royal); background: #fff; color: #555158; font-size: 14px; }
.design-area-note strong { display: block; margin-bottom: 3px; }
.design-enquiry { margin-top: auto; padding-top: 18px; color: var(--royal-dark); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; }
input, select, textarea { width: 100%; min-width: 0; max-width: 100%; padding: 12px 13px; border: 1px solid #d9d0c9; border-radius: 8px; background: #fff; color: var(--ink); }
.controls input { flex: 2 1 280px; }
.controls select { flex: 1 1 190px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(242, 107, 42, .2); border-color: var(--royal); }
#suggestions { position: absolute; right: 22px; left: 22px; z-index: 4; max-height: 220px; overflow: auto; background: #fff; border: 1px solid var(--line); border-top: 0; box-shadow: 0 10px 24px rgba(33, 44, 75, .12); }
#suggestions:empty { display: none; }
#suggestions button { display: block; width: 100%; padding: 10px 12px; border: 0; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
#suggestions button:hover { background: var(--royal-soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.card, .info-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(33, 44, 75, .05); }
.card { overflow: hidden; }
.card .visual { display: grid; place-items: center; height: 190px; background: linear-gradient(135deg, #fff1e9, #f9ddce); color: var(--royal-dark); font-weight: 700; }
.card .visual.has-photo { padding: 0; background: #f5ebe5; }
.property-photo { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; color: #fff; cursor: zoom-in; }
.property-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.property-photo::after { position: absolute; inset: auto 0 0; height: 58px; content: ""; background: linear-gradient(transparent, rgba(24, 24, 26, .78)); pointer-events: none; }
.property-photo:hover img, .property-photo:focus-visible img { transform: scale(1.035); }
.property-photo-label { position: absolute; right: 12px; bottom: 10px; z-index: 1; color: #fff; font-size: 13px; font-weight: 750; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.card .inner, .info-card { padding: 22px; }
.card .inner p { margin-bottom: 8px; }
.card .btn { margin-top: 7px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.card-actions .btn { flex: 1 1 130px; margin-top: 0; padding-inline: 12px; font-size: 14px; }
.notice { padding: 14px 16px; border-left: 3px solid var(--royal); background: #fff; color: #555158; }
.editorial { padding-top: 12px; }
.page-lead { max-width: 820px; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.info-card p { color: var(--muted); }
.feature-band { background: #fff3eb; border-block: 1px solid #f2d8ca; }
.feature-band .wrap { padding-top: 52px; padding-bottom: 52px; }
.steps { margin: 0; padding-left: 23px; }
.steps li { margin: 0 0 11px; padding-left: 5px; }
.muted { color: var(--muted); font-size: 14px; }
form { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(33, 44, 75, .05); }
form label { display: block; margin: 13px 0 5px; font-weight: 650; }
form label input, form label select, form label textarea { display: block; margin-top: 5px; }
form label input[type="checkbox"] { display: inline-block; width: auto; margin: 0 7px 0 0; vertical-align: middle; }
form button { margin-top: 17px; }
.otp-panel { margin-top: 8px; padding: 16px; border: 1px solid #d8dbe8; border-radius: 10px; background: #f8f9ff; }
.otp-panel-heading { color: #414395; font-weight: 800; }
.otp-panel > p { margin: 4px 0 10px; }
.otp-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.otp-actions button { margin-top: 0; }
.otp-status { min-height: 1.5em; margin: 10px 0 0; color: #414395; font-size: 14px; font-weight: 650; }
.otp-status.is-error { color: #a52f2f; }
.turnstile-placeholder { min-height: 34px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.email-otp-modal[hidden] { display: none; }
.email-otp-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; background: rgba(22, 24, 50, .72); }
.email-otp-panel { position: relative; width: min(480px, 100%); padding: 32px 28px; border: 1px solid #d8dbe8; border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgba(20, 24, 58, .3); text-align: center; }
.email-otp-panel h2 { margin: 10px 0; color: #414395; }
.email-otp-panel p { margin: 0 0 12px; }
.email-otp-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; background: #414395; color: #fff; font-size: 24px; }
.email-otp-address { color: #414395; overflow-wrap: anywhere; }
.email-otp-panel label { display: grid; gap: 7px; margin: 20px 0 12px; text-align: left; font-weight: 700; }
.email-otp-panel .otp-code { text-align: center; letter-spacing: .35em; font-size: 24px; }
.email-otp-panel .btn, .email-otp-panel .action-outline { width: 100%; margin-top: 10px; }
.email-otp-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; }
.email-otp-close:hover, .email-otp-close:focus-visible { background: #f0f1fa; color: #414395; }
.otp-modal-status { min-height: 1.5em; margin-top: 14px !important; font-size: 14px; font-weight: 650; }
.otp-modal-status.is-error { color: #a52f2f; }

/* Home & land gallery */
.package-gallery-section { padding-top: 16px; }
.incentive-section { padding-top: 34px; padding-bottom: 28px; }
.incentive-section h2 { max-width: 900px; margin-bottom: 24px; }
.incentive-grid { gap: 18px; }
.incentive-grid > .incentive-card { display: flex; flex-direction: column; min-height: 300px; }
.incentive-card { border: 0; color: #fff; box-shadow: 0 12px 28px rgba(33, 44, 75, .14); }
.incentive-card h2, .incentive-card p { color: #fff; }
.incentive-card h3 { margin-top: 0; color: #fff; font-size: 23px; line-height: 1.2; }
.incentive-card p { opacity: .96; }
.incentive-card--cash { background: #414395; }
.incentive-card--equity { background: #e85d2a; }
.incentive-card--first { background: #157a72; }
.incentive-card--cash, .incentive-card--equity, .incentive-card--first { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.incentive-card--cash h3, .incentive-card--equity h3, .incentive-card--first h3 { color: var(--ink); }
.incentive-card--cash p, .incentive-card--equity p, .incentive-card--first p { color: var(--muted); }
.incentive-disclaimer { margin-top: 18px; border-left: 4px solid #e85d2a; background: #fff7f1; }
.package-video-hero { position: relative; min-height: clamp(300px, 42vw, 540px); overflow: hidden; background: #29336f; }
.package-hero-video { display: block; width: 100%; height: clamp(300px, 42vw, 540px); object-fit: cover; }
.package-video-hero-shade { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(12, 16, 42, .86), rgba(12, 16, 42, .38) 62%, rgba(12, 16, 42, .12)); color: #fff; }
.package-video-hero-shade .wrap { transform: translateY(-7%); }
.package-hero-label { color: #fff; font-size: clamp(16px, 2vw, 23px); font-weight: 800; letter-spacing: .12em; text-transform: none; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.package-video-hero-shade .section-kicker, .package-video-hero-shade h1, .package-video-hero-shade p { color: #fff; }
.package-video-hero-shade h1 { max-width: 720px; margin: 8px 0; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; text-shadow: 0 3px 12px rgba(0,0,0,.5); }
.package-video-hero-shade p { max-width: 620px; font-size: clamp(16px, 1.55vw, 20px); }
.package-gallery { position: relative; overflow: hidden; border-radius: 18px; background: #e6e0db; box-shadow: var(--shadow); }
.gallery-viewport { aspect-ratio: 16 / 9; touch-action: pan-y; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease; }
.gallery-slide.is-active { opacity: 1; visibility: visible; }
.gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; justify-content: space-between; align-items: end; gap: 16px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.gallery-caption strong { font-size: clamp(17px, 2vw, 24px); }
.gallery-caption span { display: block; font-size: 13px; }
.gallery-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(28, 28, 30, .56); color: #fff; font-size: 25px; cursor: pointer; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: var(--royal); }
.gallery-arrow.prev { left: 16px; }
.gallery-arrow.next { right: 16px; }
.gallery-dots { display: flex; justify-content: center; gap: 8px; padding: 15px 10px 4px; }
.gallery-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #c8bbb4; cursor: pointer; }
.gallery-dot.is-active { background: var(--royal); transform: scale(1.25); }
.estate-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 25px 0 0; padding: 0; list-style: none; }
.estate-list li { padding: 13px 15px; border: 1px solid #efd6c7; border-radius: 10px; background: rgba(255,255,255,.78); color: var(--royal-dark); font-weight: 700; }
.estate-list small { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; }
.disclaimer { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #fff; color: #566070; font-size: 14px; }

/* Property card photo lightbox */
body.modal-open { overflow: hidden; }
.property-lightbox[hidden] { display: none; }
.property-lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 22px; background: rgba(18, 18, 20, .88); }
.property-lightbox-panel { position: relative; display: grid; width: min(1120px, 100%); max-height: 94vh; padding: 22px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; background: #24252b; box-shadow: 0 24px 80px rgba(0, 0, 0, .35); }
.property-lightbox-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 48px 14px 4px; color: #fff; }
.property-lightbox-title { font-size: clamp(18px, 2.3vw, 26px); }
.property-lightbox-count { color: #ffd5c3; font-size: 14px; white-space: nowrap; }
.property-lightbox-close { position: absolute; top: 10px; right: 12px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 27px; line-height: 1; cursor: pointer; }
.property-lightbox-close:hover, .property-lightbox-close:focus-visible { background: var(--royal); }
.property-lightbox-image-wrap { position: relative; display: grid; place-items: center; min-height: 220px; }
.property-lightbox-image { display: block; max-width: 100%; max-height: min(76vh, 780px); object-fit: contain; border-radius: 8px; }
.property-lightbox-arrow { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; transform: translateY(-50%); border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: rgba(18, 18, 20, .7); color: #fff; font-size: 28px; cursor: pointer; }
.property-lightbox-arrow:hover, .property-lightbox-arrow:focus-visible { background: var(--royal); }
.property-lightbox-arrow.prev { left: 12px; }
.property-lightbox-arrow.next { right: 12px; }
.property-lightbox-dots { display: flex; justify-content: center; gap: 8px; padding: 15px 4px 2px; }
.property-lightbox-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #9fa5d2; cursor: pointer; }
.property-lightbox-dot.is-active { background: #fff; transform: scale(1.25); }

/* Dedicated property detail pages */
.property-detail-hero { background: linear-gradient(120deg, #fff3eb 0%, #fff 72%); border-bottom: 1px solid #f0ddd2; }
.property-detail-hero .wrap { padding-top: 38px; padding-bottom: 38px; }
.back-link, .property-back-link { display: inline-flex; margin-bottom: 25px; color: var(--royal-dark); font-weight: 750; }
.back-link:hover, .property-back-link:hover { color: var(--royal); }
.property-detail-hero h1 { max-width: 900px; margin: 9px 0 6px; font-size: clamp(34px, 5vw, 62px); }
.property-detail-address { margin-bottom: 8px; color: var(--muted); font-size: 18px; }
.property-detail-price { color: var(--royal); font-size: clamp(21px, 2.4vw, 31px); font-weight: 800; }
.property-detail-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 38px; align-items: start; }
.property-detail-main { min-width: 0; }
.property-gallery { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.property-detail-hero-image { display: block; width: 100%; height: min(56vw, 610px); min-height: 300px; padding: 0; overflow: hidden; border: 0; background: #eee; cursor: zoom-in; }
.property-detail-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.property-detail-hero-image:hover img, .property-detail-hero-image:focus-visible img { transform: scale(1.015); }
.property-gallery-empty { display: grid; place-items: center; min-height: 330px; padding: 24px; color: var(--muted); text-align: center; }
.property-thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; padding: 12px; background: #fff; }
.property-thumbnail { height: 74px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 7px; background: #f4f1ef; cursor: pointer; }
.property-thumbnail.is-active, .property-thumbnail:hover, .property-thumbnail:focus-visible { border-color: var(--royal); }
.property-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.property-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 22px 0 0; padding: 20px 4px; border-block: 1px solid var(--line); background: #fff; }
.property-facts span { display: grid; min-width: 120px; padding: 0 18px; border-right: 1px solid var(--line); }
.property-facts span:first-child { padding-left: 4px; }
.property-facts span:last-child { border-right: 0; }
.property-facts strong { color: var(--royal-dark); font-size: 21px; line-height: 1.2; }
.property-facts small { color: var(--muted); font-size: 13px; }
.property-detail-section { margin-top: 38px; }
.property-detail-section h2 { margin-top: 8px; font-size: clamp(26px, 3vw, 37px); }
.property-detail-section > p { max-width: 850px; color: #4f5158; }
.property-disclaimer { padding: 15px 17px; border-left: 3px solid var(--royal); background: #fff; color: var(--muted) !important; font-size: 14px; }
.property-detail-aside { position: sticky; top: 105px; }
.property-enquiry-card { padding: 27px; border: 1px solid #f1d4c4; border-radius: 16px; background: #fff3eb; box-shadow: var(--shadow); }
.property-enquiry-card h2 { margin-top: 8px; font-size: 29px; }
.property-enquiry-card p { color: #5f5551; }
.property-enquiry-card .actions { display: grid; margin-top: 22px; }
.property-enquiry-card .action-primary, .property-enquiry-card .action-outline { width: 100%; }
.property-back-link { margin: 20px 0 0; padding: 0 4px; }
.property-video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.property-video { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.property-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; object-fit: cover; }
.property-video figcaption { padding: 11px 13px; color: var(--royal-dark); font-weight: 700; }
.property-detail-lightbox .property-lightbox-panel { width: min(1240px, 100%); }

footer { padding: 34px 24px; background: var(--royal-dark); color: #fff4ed; }
footer .wrap { padding: 0; }
footer .footer-logo { display: block; width: min(310px, 90%); height: auto; margin-bottom: 15px; }
footer p { margin-bottom: 7px; }
footer a { color: #fff; text-decoration: underline; }
footer small { display: block; max-width: 880px; margin-top: 18px; color: #f1cdbd; }
.footer-contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 14px; font-size: 16px; }
.footer-phone, .footer-social { display: inline-flex; align-items: center; gap: 8px; }
.contact-icon { display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; vertical-align: middle; }
.footer-contact-links .contact-icon { flex-basis: 18px; width: 18px; height: 18px; }
footer .footer-legal { margin-top: 18px; color: #fff; font-size: 8px; line-height: 1.8; }
.footer-legal p { margin: 3px 0; }
.footer-legal a { font-size: inherit; }
.contact-layout { align-items: start; }
.contact-detail { display: flex; align-items: flex-start; gap: 10px; }
.contact-detail .contact-icon { margin-top: 3px; color: var(--royal); }
.contact-map { overflow: hidden; margin: 24px 0 8px; border: 1px solid var(--line); border-radius: 12px; background: #f2eee8; }
.contact-map iframe { display: block; width: 100%; height: clamp(240px, 25vw, 320px); border: 0; }
.map-link { display: inline-block; padding: 8px 0; font-size: 14px; text-decoration: underline; }
#contact-form { scroll-margin-top: 130px; }

/* Version 9 content, tables and form acknowledgement */
.form-section { padding-top: 18px; }
.form-card { max-width: 900px; margin: 0 auto; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(33, 44, 75, .07); }
.form-card form { display: grid; gap: 16px; margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-card label { display: grid; gap: 7px; color: var(--royal-dark); font-weight: 700; }
.form-card input:not([type="checkbox"]), .form-card select, .form-card textarea { width: 100%; padding: 12px 13px; border: 1px solid #d8dbe8; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 3px solid rgba(65, 67, 149, .18); border-color: var(--royal); }
.form-card button[disabled] { opacity: .65; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.feature-list { margin: 0 0 18px; padding-left: 20px; color: var(--muted); }
.feature-list li { margin: 8px 0; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.table-wrap table { width: 100%; min-width: 690px; border-collapse: collapse; }
.table-wrap caption { padding: 15px; text-align: left; color: var(--royal-dark); font-weight: 700; }
.table-wrap th, .table-wrap td { padding: 13px 15px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { color: var(--royal-dark); background: #f7f8fc; }
.property-meta { color: var(--royal-dark) !important; font-weight: 700; }
.form-feedback-modal[hidden] { display: none; }
.form-feedback-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(22, 24, 50, .68); }
.form-feedback-panel { width: min(520px, 100%); padding: 34px 30px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 24px 70px rgba(0, 0, 0, .25); }
.form-feedback-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--royal); color: #fff; font-size: 30px; font-weight: 800; }
.form-feedback-modal.is-error .form-feedback-icon { background: #b33b2e; }
.form-feedback-message { max-width: 440px; margin: 10px auto 24px; color: var(--muted); }
.form-feedback-close { min-width: 110px; }

@media (max-width: 1100px) {
  nav { flex-wrap: wrap; }
  nav .links { justify-content: flex-start; }
  .estate-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .packages-story-lead, .package-benefits-grid { grid-template-columns: 1fr; gap: 20px; }
  .menu { display: block; }
  nav .links { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  nav .links.open { display: flex; }
  nav .links a { width: 100%; }
  .action-inner, .packages-grid, .grid2, .home-bottom { grid-template-columns: 1fr; }
  .designs-grid { grid-template-columns: 1fr; }
  .action-buttons { max-width: 460px; }
  .info-grid { grid-template-columns: 1fr; }
  .estate-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-detail-layout { grid-template-columns: 1fr; }
  .property-detail-aside { position: static; }
}
@media (max-width: 600px) {
  .wrap { padding: 40px 20px; }
  nav { padding: 9px 18px; }
  .brand img { width: 220px; max-height: 48px; }
  .full-video-hero { height: 300px; }
  .banner-caption { padding: 0 18px 19px; }
  .banner-caption h1 { font-size: 31px; }
  .action-inner { padding: 21px 20px; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway p { min-height: 0; }
  .packages-grid { padding-top: 34px; padding-bottom: 34px; }
  .action-secondary-row { grid-template-columns: 1fr; }
  .gallery-caption { right: 14px; bottom: 13px; left: 14px; }
  .gallery-arrow { width: 38px; height: 38px; }
  .gallery-arrow.prev { left: 10px; }
  .gallery-arrow.next { right: 10px; }
  .estate-list { grid-template-columns: 1fr; }
  .package-banner--blank { min-height: 108px; }
  .package-banner--blank img { padding: 8px 12px; }
  .property-lightbox { padding: 10px; }
  .property-lightbox-panel { padding: 14px 10px; }
  .property-lightbox-arrow { width: 36px; height: 36px; font-size: 23px; }
  .property-lightbox-arrow.prev { left: 4px; }
  .property-lightbox-arrow.next { right: 4px; }
  .property-detail-hero .wrap { padding-top: 28px; padding-bottom: 28px; }
  .property-detail-hero h1 { font-size: 34px; }
  .property-detail-hero-address { font-size: 16px; }
  .property-detail-hero-image { height: 70vw; min-height: 230px; }
  .property-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; }
  .property-facts span, .property-facts span:first-child { min-width: 0; padding: 0 14px; border-right: 1px solid var(--line); }
  .property-facts span:nth-child(2n) { border-right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .otp-actions button { width: 100%; }
  .email-otp-panel { padding: 30px 20px 22px; }
  .form-feedback-panel { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .banner-video, .packages-video video { display: none; }
  .full-video-hero { background: url('/assets/video/hero-new-poster.jpg') center / cover; }
  .packages-video { background: url('/assets/video/packages-poster.jpg') center / cover; }
  .gallery-slide { transition: none; }
}




.package-gallery-section > h1 { max-width: none; margin-top: 8px; font-size: clamp(24px, 2.45vw, 34px); line-height: 1.2; white-space: nowrap; }
.designs-top-link { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 14px auto 0; text-align: center; }
.disclaimer-bottom { margin-top: 22px; margin-bottom: 20px; }


.home-search-actions { display: grid; gap: 10px; min-width: min(520px, 42%); }
.home-search-primary { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.home-search-primary .action-primary { flex: 1 1 220px; text-align: center; }
.home-search-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-search-secondary .action-outline { text-align: center; }


.incentive-section { padding-top: 22px; padding-bottom: 16px; }
.incentive-section h2 { margin-bottom: 14px; font-size: clamp(15px, 1.7vw, 22px); line-height: 1.2; }
.incentive-grid > .incentive-card { min-height: 220px; padding: 20px; }
.incentive-card h3 { font-size: 20px; }
.incentive-card p { line-height: 1.45; }

/* Keep the explanatory copy aligned with the full-width slideshow below. */
.package-gallery-section > .page-lead { max-width: none; }



.designs-top-link a { display: inline-flex; flex: 0 1 270px; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid var(--royal); border-radius: 9px; background: var(--royal); color: #fff; font-weight: 700; text-decoration: none; }
.designs-top-link a:hover, .designs-top-link a:focus-visible { background: #d9531f; border-color: #d9531f; color: #fff; text-decoration: none; }


@media (max-width: 600px) { .package-gallery-section > h1 { white-space: normal; } }


/* Keep the established tablet layout independent of phone rules and input type. */
@media (min-width: 768px) and (max-width: 900px) {
  .home-search-cta { display: block; width: 100%; padding: 20px 16px; }
  .home-search-cta > div:first-child { width: 100%; }
  .home-search-cta > div:first-child h2 { font-size: clamp(30px, 6vw, 40px); line-height: 1.15; }
  .home-search-cta > div:first-child p { font-size: 17px; line-height: 1.45; }
  .home-search-actions { display: block; width: 100%; min-width: 0; max-width: 340px; margin: 16px auto 0; }
  .home-search-primary, .home-search-secondary { display: grid; grid-template-columns: 1fr; width: 100%; gap: 7px; }
  .home-search-primary { justify-content: stretch; }
  .home-search-secondary { margin-top: 10px; }
  .home-search-primary .action-primary, .home-search-secondary .action-outline { display: flex; width: 100%; min-height: 54px; padding: 13px 14px; font-size: 16px; line-height: 1.25; white-space: normal; }
}

/* Phone homepage search: copy above two primary actions and a paired contact row. */
@media (max-width: 767px) {
  .home-search-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    width: calc(100% - 24px);
    margin: 12px auto;
    padding: 20px 18px;
  }
  .home-search-cta > div { min-width: 0; width: 100%; }
  .home-search-cta h2 { margin: 6px 0 10px; font-size: clamp(25px, 6.8vw, 28px); line-height: 1.2; letter-spacing: 0; }
  .home-search-cta p { font-size: 15px; line-height: 1.55; }
  .home-search-cta .home-search-actions { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; max-width: none; margin: 0; gap: 12px; }
  .home-search-cta .home-search-primary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-search-cta .home-search-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; gap: 12px; }
  .home-search-cta .home-search-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .home-search-cta .home-search-actions span[aria-hidden="true"] { display: none; }
}


