/* Earthscape: responsive refinements and Bootstrap component styling. */
:root {
  --earth-forest: #1b382b;
  --earth-gold: #c5a059;
  --earth-cream: #faf8f5;
  --bs-body-font-family: "Plus Jakarta Sans", sans-serif;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--earth-cream);
  color: #121815;
}
body,
button,
input,
select {
  font-family: "Plus Jakarta Sans", sans-serif;
}
h1,
h2,
h3,
.font-serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  text-decoration: none;
}
button {
  touch-action: manipulation;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
[hidden] {
  display: none !important;
}
img,
svg,
video {
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #c5a059 !important;
  outline-offset: 4px;
}
section[id],
[data-background] {
  scroll-margin-top: 96px;
}
.grid > * {
  min-width: 0;
}
.flex > * {
  min-width: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  background: #1b382b;
  color: white;
  padding: 12px;
  z-index: 1100;
}
.skip-link:focus {
  top: 12px;
}
.noscript-note {
  padding: 20px;
  text-align: center;
  background: #1b382b;
  color: white;
}
#site-header {
  z-index: 1030;
}
#site-header.is-scrolled {
  background: rgba(27, 56, 43, 0.97);
  backdrop-filter: blur(12px);
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 4px 20px #0002;
  border-bottom: 1px solid #2d5a4380;
}
#site-header nav {
  gap: clamp(8px, 1vw, 20px);
}
#site-header nav > * {
  margin-left: 0 !important;
}
#site-header a {
  color: inherit;
}
#site-header a:hover {
  color: #c5a059;
}
#mobile-menu {
  max-height: calc(100svh - 100px);
  overflow-y: auto;
}
#mobile-menu.collapse:not(.show) {
  display: none;
}
#mobile-menu.show {
  display: block;
}
#mobile-menu .grid {
  padding-bottom: 6px;
}
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-section {
  height: 100svh;
  min-height: 720px;
  max-height: 1080px;
}
#hero-video {
  opacity: 0;
  transition: opacity 0.5s;
}
#hero-video.is-playing {
  opacity: 1;
}
.hero-section [data-video] {
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal {
  z-index: 1055;
}
.modal-backdrop {
  z-index: 1050;
  background: #000;
}
.modal-backdrop.show {
  opacity: 0.75;
}
.modal-dialog {
  margin: 16px auto;
  width: calc(100% - 32px);
  max-width: 512px;
}
.modal-dialog-centered {
  min-height: calc(100% - 32px);
}
.modal-dialog-scrollable {
  height: calc(100% - 32px);
}
.modal-dialog-scrollable .modal-content {
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-content {
  border-radius: 12px;
  border: 1px solid #2d5a434d;
  box-shadow: 0 24px 80px #0006;
  display: block;
}
.lead-card {
  background: #faf8f5;
}
.lead-card > div:first-child {
  position: sticky;
  top: 0;
  z-index: 2;
}
.lead-card [data-bs-dismiss] {
  min-height: 32px;
  min-width: 32px;
}
.lead-card h3 {
  padding-right: 28px;
}
.form-demo-note {
  font-size: 10px;
  line-height: 1.6;
  display: block;
  opacity: 0.75;
}
.form-status {
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 0;
}
.form-status:empty {
  display: none;
}
.form-status.is-success {
  color: #147a52;
}
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.success-check {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #147a52;
  border-radius: 50%;
  font-size: 38px;
  margin: auto;
}
.earth-btn {
  background: #1b382b;
  color: #fff;
  padding: 12px 15px;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  white-space: normal;
  border: 1px solid #c5a05966;
  border-radius: 4px;
}
.earth-btn:hover,
.earth-btn:focus {
  background: #2d5a43;
  color: white;
}
.earth-whatsapp {
  background: #167740;
}
.earth-whatsapp:hover {
  background: #126534;
}
.site-toast {
  position: fixed;
  top: 90px;
  right: 20px;
  max-width: calc(100vw - 40px);
  padding: 15px 20px;
  font-size: 12px;
  color: #fff;
  background: #1b382b;
  border: 1px solid #c5a059;
  border-radius: 8px;
  z-index: 1080;
  box-shadow: 0 12px 40px #0004;
}
#gallery-modal .modal-dialog {
  max-width: 960px;
}
.gallery-dialog {
  background: #1b382b;
  color: #fff;
  border: 1px solid #c5a05980;
}
.gallery-image-wrap {
  position: relative;
  background: #121815;
  aspect-ratio: 16/9;
}
.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: #000a;
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 26px;
  line-height: 1;
}
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000a;
  color: white;
  width: 36px;
  height: 44px;
  font-size: 28px;
  border-radius: 4px;
}
.gallery-prev {
  left: 12px;
}
.gallery-next {
  right: 12px;
}
.gallery-page {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: #000a;
  color: #c5a059;
  font-size: 11px;
  max-width: 70%;
}
.gallery-feature {
  padding: 10px;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  font-size: 12px;
  height: 100%;
}
.gallery-feature small {
  display: block;
  color: #c5a059;
  margin-bottom: 4px;
}
#gallery-enquire {
  background: #c5a059;
  color: #121815;
}
#gallery-title {
  color: white;
}
[data-gallery-filter] {
  background: #ffffff1a !important;
  color: #fff !important;
}
[data-gallery-filter][aria-pressed="true"] {
  background: #c5a059 !important;
  color: #121815 !important;
}
[data-amenity-filter] {
  background: transparent !important;
  color: #525252 !important;
  box-shadow: none !important;
}
[data-amenity-filter][aria-pressed="true"] {
  background: #fff !important;
  color: #1b382b !important;
  box-shadow: 0 1px 3px #0002 !important;
}
[data-plan],
[data-location],
[data-tenure],
[data-typology] {
  background: white !important;
  color: #404040 !important;
  border-color: #d4d4d4 !important;
  box-shadow: none !important;
}
[data-plan].is-selected,
[data-location].is-selected,
[data-tenure][aria-pressed="true"],
[data-typology].is-selected {
  background: #1b382b !important;
  color: white !important;
  border-color: #1b382b !important;
}
[data-location]:not(.is-selected) > div {
  background: #f5f5f5;
  color: #525252;
}
[data-location]:not(.is-selected) span {
  color: #525252 !important;
}
[data-location].is-selected span {
  color: white !important;
}
[data-location].is-selected > div:first-child {
  background: #2d5a43;
  color: #c5a059;
}
[data-builder] {
  border-color: transparent !important;
  color: #737373 !important;
}
[data-builder].is-selected {
  border-color: #2d5a43 !important;
  color: #1b382b !important;
}
[data-layer] {
  background: #0006 !important;
  color: #ffffffb3 !important;
}
[data-layer][aria-current="true"] {
  background: #c5a059 !important;
  color: #121815 !important;
}
[data-faq][aria-expanded="false"] > div {
  transform: none;
  background: #faf8f5;
  color: #737373;
}
[data-faq][aria-expanded="true"] > div {
  transform: rotate(180deg);
  background: #1b382b;
  color: white;
}
#faq-list .collapse.show {
  visibility: visible;
}
#faq-list .collapse:not(.show) {
  display: none;
}
#amenities h4 {
  white-space: normal;
}
#amenities [data-amenity-filter] {
  white-space: normal;
}
.image-unavailable {
  object-fit: cover;
}
.hero-section form {
  max-width: 100%;
}
/* Source CSS places a wide persistent contact rail over content; collapse its labels until focus/hover. */
aside[aria-label="Direct Builder Connect Panel"] {
  z-index: 1020;
}
aside[aria-label="Direct Builder Connect Panel"]
  > div:first-child
  > a
  > div:last-child,
aside[aria-label="Direct Builder Connect Panel"]
  > div:first-child
  > button
  > div:last-child {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.2s, opacity 0.2s;
}
aside[aria-label="Direct Builder Connect Panel"]:hover
  > div:first-child
  > a
  > div:last-child,
aside[aria-label="Direct Builder Connect Panel"]:hover
  > div:first-child
  > button
  > div:last-child,
aside[aria-label="Direct Builder Connect Panel"]:focus-within
  > div:first-child
  > a
  > div:last-child,
aside[aria-label="Direct Builder Connect Panel"]:focus-within
  > div:first-child
  > button
  > div:last-child {
  max-width: 130px;
  opacity: 1;
}
aside[aria-label="Direct Builder Connect Panel"] > div:last-child {
  display: none;
}
@media (min-width: 1280px) {
  #mobile-menu {
    display: none !important;
  }
  #site-header > .max-w-7xl {
    max-width: 1480px;
  }
  #site-header nav {
    font-size: 10px;
  }
  #site-header .space-x-6 {
    column-gap: 14px;
  }
  #site-header .space-x-6 > * {
    margin-left: 0 !important;
  }
}
@media (max-width: 1279.98px) {
  .hero-section {
    min-height: 860px;
    max-height: none;
    height: auto;
  }
  .hero-section > div:nth-child(3) {
    padding-top: 40px;
    padding-bottom: 32px;
  }
}
@media (max-width: 1023.98px) {
  [data-background] {
    background-attachment: scroll !important;
  }
  .hero-section {
    min-height: 760px;
  }
  #home > div:last-child > div {
    align-items: stretch;
  }
  .hero-section > div:nth-child(3) {
    padding-top: 28px;
    padding-bottom: 24px;
  }
  nav[aria-label="Mobile Quick Action Navigation"] {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    max-height: none !important;
  }
  body {
    padding-bottom: 58px;
  }
  aside[aria-label="Direct Builder Connect Panel"] {
    display: none;
  }
}
@media (max-width: 639.98px) {
  .hero-section {
    min-height: 820px;
  }
  .hero-section h1 {
    font-size: clamp(34px, 10vw, 46px);
  }
  #home > div:nth-child(3) > div > div:first-child {
    font-size: 9px;
    flex-wrap: wrap;
    justify-content: center;
  }
  #home > div:nth-child(3) {
    gap: 20px;
  }
  #home > div:last-child p:first-child {
    display: block;
  }
  #home > div:last-child p:first-child span {
    display: block;
  }
  #home > div:last-child form {
    flex-wrap: wrap;
  }
  .modal-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .modal-dialog-centered {
    min-height: calc(100% - 20px);
  }
  .modal-dialog-scrollable {
    height: calc(100% - 20px);
  }
  .lead-card > div:first-child {
    padding: 16px;
  }
  .lead-card > div:nth-child(2) {
    padding: 18px;
  }
  .lead-card h3 {
    font-size: 26px;
  }
  .lead-card form > .grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lead-card .grid-cols-4 {
    gap: 5px;
  }
  .lead-card [data-typology] {
    font-size: 10px;
  }
  #builder [role="tablist"] {
    gap: 12px;
  }
  #builder [role="tab"] {
    font-size: 10px;
    letter-spacing: 0.03em;
  }
  #floor-plans [data-plan] {
    flex: 1 1 44%;
    padding: 12px 8px;
    font-size: 10px;
  }
  #floor-plans
    [data-plan-panel]
    > div:nth-child(2)
    > div:first-child
    > div:nth-child(2) {
    position: static;
    text-align: center;
    padding-top: 32px;
  }
  #floor-plans [data-plan-panel] > div:nth-child(2) {
    padding: 16px;
  }
  #floor-plans [data-plan-panel] > div:nth-child(2) > div:first-child {
    padding: 16px;
  }
  #emi-calculator .tabular-nums {
    font-size: 36px;
  }
  #emi-calculator .border-t {
    flex-wrap: wrap;
    gap: 8px;
  }
  footer .font-mono {
    overflow-wrap: anywhere;
  }
  footer .text-justify {
    text-align: left;
  }
  .gallery-page {
    font-size: 9px;
  }
  .gallery-dialog .p-6 {
    padding: 20px;
  }
  .site-toast {
    top: auto;
    bottom: 80px;
  }
}
@media (max-width: 359.98px) {
  #site-header > div {
    padding-left: 10px;
    padding-right: 10px;
  }
  #site-header .text-xl {
    font-size: 18px;
  }
  #site-header .tracking-\[0\.25em\] {
    letter-spacing: 0.15em;
  }
  #site-header [data-lead] {
    font-size: 9px;
    padding: 7px;
  }
  .hero-section {
    min-height: 870px;
  }
  #home .grid-cols-2 {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-background] {
    background-attachment: scroll !important;
  }
}

.collapse {
  visibility: visible;
}
.collapsing {
  visibility: visible;
}
#home form .form-demo-note {
  color: #fff;
  flex-basis: 100%;
  text-align: left;
}
#home form {
  position: relative;
}
#home form > .form-demo-note {
  position: absolute;
  top: 100%;
  right: 0;
  font-size: 9px;
  padding-top: 4px;
}
#home form > .form-status {
  position: absolute;
  top: 100%;
  right: 0;
  color: white;
}
#home form > .form-status:not(:empty) ~ .form-demo-note {
  display: none;
}
@media (max-width: 639.98px) {
  [data-background] [data-lead] {
    white-space: normal;
    max-width: 100%;
  }
  #home > div:last-child {
    padding-bottom: 26px;
  }
}
@media (max-width: 767.98px) {
  [data-lead] {
    max-width: 100%;
    white-space: normal !important;
  }
  #quality [data-lead] {
    width: 100%;
  }
}
/* Keep decorative shadows and transformed backgrounds inside the page bounds. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
main > section {
  overflow-x: clip;
}
