:root {
  --forest: #0b354c;
  --forest-deep: #0b354c;
  --sand: #f4f7f9;
  --gold: #5b9aad;
  --gold-deep: #3d7a8c;
  --text: #1a2a33;
  --white: #ffffff;
  --top-nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--top-nav-height);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--sand);
  padding-top: var(--top-nav-height);
  padding-bottom: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--forest) #e6eef2;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: #e6eef2;
}

*::-webkit-scrollbar-thumb {
  background: var(--forest);
  border-radius: 999px;
  border: 1px solid #e6eef2;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--forest-deep);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

.top-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #dbe2ef;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2000;
}

@media (min-width: 992px) {
  body.has-lead-sidebar .top-nav {
    right: 300px;
    width: calc(100% - 300px);
  }
}

.brand-mark {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: 56px;
  width: auto;
}

.navbar-toggler {
  padding: 0.4rem 0.55rem;
  border-radius: 0.6rem;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: none;
  width: 1.6rem;
  height: 1.6rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler .navbar-toggler-icon::before {
  content: "☰";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--forest-deep);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  content: "✕";
  font-size: 1.45rem;
}

.nav-link {
  color: var(--forest-deep);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--forest);
}

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

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

.btn.btn-gold:focus-visible {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
  box-shadow: 0 0 0 0.2rem rgba(11, 53, 76, 0.35);
}

.btn.btn-gold:focus:not(:focus-visible) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: none;
}

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

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

.hero-panel {
  position: relative;
  isolation: isolate;
  color: var(--white);
  height: calc(100dvh - var(--top-nav-height));
  min-height: calc(100dvh - var(--top-nav-height));
  max-height: calc(100dvh - var(--top-nav-height));
  margin-bottom: 0;
  overflow: hidden;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: calc(100dvh - var(--top-nav-height));
  min-height: calc(100dvh - var(--top-nav-height));
  max-height: calc(100dvh - var(--top-nav-height));
  margin-bottom: 0;
}

.hero-slide-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
}

.hero-panel picture {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  background:
    linear-gradient(
      90deg,
      rgba(11, 53, 76, 0.46) 0%,
      rgba(91, 154, 173, 0.32) 48%,
      rgba(11, 53, 76, 0.42) 100%
    ),
    radial-gradient(
      circle at 1px 1px,
      rgba(255, 255, 255, 0.14) 1px,
      transparent 0
    );
  background-size:
    auto,
    20px 20px;
  padding-top: 5.2rem;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 34px;
  height: 34px;
  top: auto;
  bottom: 18px;
  transform: none;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  opacity: 0.95;
}

.hero-carousel .carousel-control-prev {
  left: calc(50% - 56px);
}

.hero-carousel .carousel-control-next {
  left: calc(50% + 10px);
  right: auto;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 0.8rem;
  height: 0.8rem;
  background-size: 0.8rem 0.8rem;
}

.eyebrow,
.eyebrow-dark {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.eyebrow {
  color: #d4e4ea;
}

.eyebrow-dark {
  color: var(--gold-deep);
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.18;
  margin-bottom: 0.7rem;
}

.hero-subtitle {
  margin: 0 0 0.25rem;
  color: #1d2b4e;
  font-weight: 600;
}

.hero-location {
  margin: 0 0 0.95rem;
  color: #3b475f;
  font-size: 0.9rem;
}

.hero-copy {
  max-width: 620px;
  color: #0f1426;
}

.hero-starting-price {
  margin-bottom: 0;
  color: #121212;
  font-size: 1.08rem;
}

.hero-starting-price strong {
  color: #111;
  font-size: 2rem;
}

.hero-chips {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hero-chips span {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: #192241;
  background: #dce8ed;
}

.hero-info-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1rem;
  border: 1px solid #c5d4db;
  box-shadow: 0 14px 30px rgba(9, 16, 35, 0.3);
  padding: 1rem;
  max-width: 360px;
}

.hero-info-card .hero-title {
  color: #17213f;
  font-size: clamp(2rem, 3.1vw, 2.7rem);
}

.hero-info-card .hero-copy {
  color: #161c2c;
}

.hero-chip-top {
  margin: -1rem -1rem 0.8rem;
  padding: 0.45rem 0.9rem;
  border-radius: 1rem 1rem 0 0;
  background: var(--forest-deep);
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 0.84rem;
}

.hero-offer-tag {
  border: 1px dashed var(--forest);
  border-radius: 0.5rem;
  background: #f6f9ff;
  padding: 0.5rem 0.65rem;
  color: var(--forest-deep);
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.body-copy {
  max-width: 620px;
  color: #3f485d;
}

.hero-card {
  background: rgba(12, 21, 48, 0.5);
  border: 1px solid rgba(91, 154, 173, 0.34);
  border-radius: 1rem;
  padding: 1.4rem;
}

.hero-enquiry-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 18px 38px rgba(7, 14, 33, 0.32);
  border: 1px solid #d5e0e6;
}

.hero-form-title {
  font-size: 1.2rem;
  color: #1a2747;
  margin-bottom: 1rem;
}

.hero-enquiry-card .form-control,
.hero-enquiry-card .form-select {
  border-color: #c0d0d8;
  min-height: 44px;
}

.hero-consent {
  font-size: 0.76rem;
  color: #5a5a5a;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.offer-strip {
  background: #e8eef1;
  border-bottom: 1px solid #c5d5dc;
  border-top: 1px solid #c5d5dc;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0.95rem 0;
}

.offer-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #1c2a49;
}

.offer-grid strong {
  font-size: 0.94rem;
}

.offer-grid span {
  font-size: 0.82rem;
  color: #5c5b58;
}

.hero-card-label {
  color: #cfe0e6;
  margin-bottom: 0.2rem;
}

.hero-card-price {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-card-list {
  margin: 0 0 1.1rem;
  padding-left: 1rem;
  color: #e7ebfb;
}

.section-block {
  padding: 2.3rem 0;
  scroll-margin-top: calc(var(--top-nav-height) + 12px);
}

#highlights.section-block {
  margin-top: 0;
}

.section-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.4rem;
}

.section-cta-row .btn {
  min-width: 190px;
}

.section-cta-row--dark .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
}

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

.section-dark {
  background: var(--forest);
}

.section-head {
  margin-bottom: 1rem;
}

.section-title {
  color: var(--forest-deep);
  font-size: clamp(1.5rem, 3.8vw, 2.4rem);
}

.feature-tile {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.2rem;
  border: 1px solid #e7dcc8;
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(16, 25, 53, 0.12);
}

.highlights-simple-list {
  margin-top: 0.4rem;
  list-style: none;
  padding-left: 0;
}

.highlights-simple-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.7rem;
  color: #24352f;
}

.highlights-simple-list li::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 0.01rem;
  color: var(--forest);
  font-size: 0.78rem;
}

.overview-image {
  border-radius: 1rem;
  box-shadow: 0 18px 34px rgba(16, 25, 53, 0.17);
}

.about-project-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-project-image {
  width: 100%;
  max-width: 100%;
  height: 420px;
  border-radius: 1rem;
  box-shadow: 0 18px 34px rgba(16, 25, 53, 0.14);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .about-project-image {
    height: 300px;
  }
}

.read-more-link {
  border: 0;
  background: none;
  color: var(--forest);
  font-weight: 700;
  padding: 0;
  margin-top: 0.15rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.read-more-link:hover {
  color: var(--forest-deep);
}

.about-read-toggle-wrap {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
}

.about-more-text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition:
    max-height 0.95s ease,
    opacity 0.75s ease,
    margin-top 0.75s ease;
}

.about-more-text.is-open {
  max-height: 280px;
  opacity: 1;
  margin-top: 0.4rem;
}

.tick-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.tick-list li {
  margin-bottom: 0.55rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  border: 0;
  padding: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.video-lock-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 420px;
  background: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-lock-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  background: url("../images/grand-lapalazzo-gallery-1.webp") center/cover
    no-repeat;
  filter: blur(10px) brightness(0.6);
  transform: scale(1.08);
}

.video-lock-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 21, 0.38);
}

.video-lock-overlay {
  position: relative;
  z-index: 2;
  max-width: 620px;
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.video-lock-icon {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.video-lock-overlay h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.video-lock-overlay p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.video-player-wrap {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(10, 22, 19, 0.18);
}

.video-player-wrap iframe,
.project-video-frame {
  width: 100%;
  height: 520px;
  border: 0;
}

.gallery-item-extra {
  display: none;
}

.gallery-grid.gallery-expanded-mobile .gallery-item-extra {
  display: block;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 2;
}

.lightbox-prev {
  left: -20px;
}

.lightbox-next {
  right: -20px;
}

#lightboxImage {
  width: 960px;
  max-width: 100%;
  height: 540px;
  max-height: 80vh;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  display: block;
}

#floorPlanLightboxImage {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 0.75rem;
  display: block;
  margin: 0 auto;
  background: #fff;
}

.plan-card {
  border-radius: 0.95rem;
  overflow: hidden;
  border: 1px solid #e8decb;
  background: #fff;
  height: 100%;
}

button.plan-card {
  width: 100%;
  padding: 0;
  cursor: pointer;
}

.plan-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

#masterPlanGalleryWrap .plan-card img {
  height: 520px;
  object-fit: contain;
  background: #fff;
}

.plan-body {
  padding: 1rem;
}

.plan-toggle-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.plan-toggle-btn {
  border: 1px solid #d9e6db;
  background: #ffffff;
  color: var(--forest-deep);
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.plan-toggle-btn:hover,
.plan-toggle-btn.active {
  background: var(--forest);
  color: #ffffff;
  border-color: var(--forest);
}

.floorplan-lock-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  background: url("../images/marvella-villa-plan-1.webp") center/cover no-repeat;
  filter: blur(10px) brightness(0.6);
  transform: scale(1.08);
}

.master-plan-lock-wrap::before {
  background: url("../images/marvella-master-plan.webp") center/cover no-repeat;
}

.plan-gallery-shell {
  width: 100%;
}

.plan-gallery-carousel {
  position: relative;
}

.plan-carousel-viewport {
  overflow: hidden;
}

.plan-carousel-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 53, 76, 0.92);
  color: #fff;
  z-index: 2;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.plan-carousel-prev {
  left: 0;
}

.plan-carousel-next {
  right: 0;
}

.plan-carousel-status {
  display: none;
  margin: 0.85rem 0 0;
  text-align: center;
  font-weight: 600;
  color: var(--forest-deep);
}

.floorplan-lock-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 21, 0.38);
}

.amenities-layout {
  margin-top: 0.35rem;
}

.amenities-layout-detailed .amenity-panel {
  padding: 1.1rem 1.05rem 0.95rem;
}

.amenities-layout-detailed .amenity-panel-title {
  min-height: 2.6rem;
}

.amenities-accordion {
  width: 100%;
}

.amenities-accordion .accordion-button {
  font-weight: 600;
}

.amenities-accordion .accordion-body {
  padding-top: 0.8rem;
  padding-bottom: 0.7rem;
}

.amenities-grid .col-lg-6:last-child:nth-child(odd) {
  margin-right: auto;
  margin-left: auto;
}

.amenities-tab-shell {
  max-width: 980px;
  margin: 0 auto;
}

.amenities-tabs-nav {
  gap: 0.5rem;
  justify-content: center;
}

.amenities-tabs-nav .nav-link {
  border: 1px solid #d9e6db;
  background: #ffffff;
  color: var(--forest-deep);
  font-weight: 600;
  padding: 0.48rem 0.85rem;
}

.amenities-tabs-nav .nav-link.active {
  background: var(--forest);
  color: #ffffff;
  border-color: var(--forest);
}

.amenities-tab-content {
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid #deeadf;
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(19, 54, 47, 0.08);
}

.amenities-tab-content .amenity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  margin: 0;
}

.amenity-panel {
  background: #ffffff;
  border: 1px solid #deeadf;
  border-radius: 0.9rem;
  padding: 1rem 1rem 0.85rem;
  box-shadow: 0 8px 22px rgba(19, 54, 47, 0.08);
}

.amenity-panel-title {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 0 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #cadecf;
}

.amenity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.amenity-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.55rem;
  color: #2b3f39;
  font-size: 0.95rem;
}

.amenity-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.02rem;
  color: var(--forest);
  font-weight: 700;
}

.location-list {
  padding-left: 1.1rem;
  margin: 0;
}

.location-list li {
  margin-bottom: 0.65rem;
}

.map-card {
  border-radius: 1rem;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid #e5dbc7;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

.table-shell {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e6dbc6;
  overflow: hidden;
}

.table th {
  background: #f5efdf;
}

.pricing-note {
  color: #6a5e4f;
}

.pricing-price-locked {
  color: #8a8f98;
  font-weight: 600;
}

.pricing-price-unlocked {
  color: var(--forest-deep);
  font-weight: 700;
}

.text-light-soft {
  color: rgba(255, 255, 255, 0.82);
}

.lead-form-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.2rem;
}

.lead-form-card .form-label {
  font-weight: 600;
  color: #273456;
}

.faq-wrap .accordion-item {
  border: 1px solid #e5daca;
  border-radius: 0.7rem;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

#faq .faq-wrap .accordion-button {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

#faq .faq-wrap .accordion-body {
  font-family: "Lora", serif;
  font-weight: 400;
  line-height: 1.7;
}

.faq-wrap .accordion-button:not(.collapsed) {
  background: #f0e6d4;
  color: #1a2747;
}

.site-tail {
  background: var(--sand);
  border-top: 1px solid #dbe2ef;
}

.footer-title {
  color: var(--forest);
  font-size: 1.1rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.footer-logo {
  display: block;
  height: 52px;
  width: auto;
}

.footer-top-grid .footer-logo {
  display: inline-block;
}

.footer-divider {
  border: 0;
  border-top: 2px solid #c5d0e4;
  margin: 1.1rem 0 0.9rem;
}

.footer-legal-line {
  font-size: 0.88rem;
  color: #51607f;
  line-height: 1.4;
}

.footer-legal-line a {
  color: #51607f;
  text-decoration: none;
}

.footer-legal-line a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.footer-phone-link {
  color: #1b2847;
  text-decoration: none;
}

.footer-phone-link:hover {
  text-decoration: underline;
}

.footer-text {
  color: #3e5a53;
  font-size: 0.95rem;
}

.thank-you-panel {
  background:
    linear-gradient(rgba(11, 53, 76, 0.88), rgba(11, 53, 76, 0.88)),
    url("https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
  padding: 7rem 0;
  color: var(--white);
}

.thank-you-panel .hero-copy {
  color: rgba(255, 255, 255, 0.88);
}

.fixed-enquiry-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: 300px;
  z-index: 1030;
  background: #f3f8f5;
  border-left: 1px solid #d9deea;
  display: block;
  box-shadow: -6px 0 18px rgba(9, 14, 30, 0.12);
}

.sidebar-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--forest-deep);
  position: relative;
  z-index: 3;
}

.sidebar-top-row a,
.sidebar-top-row button {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.82rem 0.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  width: 100%;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  cursor: pointer;
}

.sidebar-top-row a:last-child,
.sidebar-top-row button:last-child {
  border-right: 0;
}

.sidebar-card {
  margin: 0;
  padding: 1rem 0.85rem 0;
  border: 0;
  border-radius: 0;
  background: #f3f8f5;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: calc(100dvh - 46px);
  overflow: hidden;
  position: relative;
  padding-bottom: 72px;
}

.sidebar-card h2 {
  font-size: 1.2rem;
  font-family: "Inter", sans-serif;
  margin: 0 0 0.95rem;
  color: var(--forest-deep);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: none;
}

.sidebar-scroll-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 0.5rem;
}

.sidebar-form {
  padding-bottom: 0.35rem;
}

.sidebar-form .form-control,
.sidebar-form .form-select {
  min-height: 43px;
  border: 1px solid #c9ddd5;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.45rem;
}

.sidebar-form .input-group {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.4rem;
}

.sidebar-form .input-group .form-select,
.sidebar-form .input-group .form-control {
  width: 100%;
  border-radius: 0.375rem !important;
}

.sidebar-consent {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0.7rem;
}

.sidebar-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 1rem;
  margin-bottom: 0.7rem;
  text-align: center;
}

.sidebar-benefits div {
  border: 1px solid #d3dae7;
  border-radius: 0.5rem;
  background: #ffffff;
  padding: 0.5rem 0.25rem;
  box-shadow: none;
}

.sidebar-benefits span {
  display: block;
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--forest-deep);
}

.sidebar-benefits small {
  font-size: 0.69rem;
  color: #6b7280;
}

.sidebar-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0;
  padding-top: 0.35rem;
}

.sidebar-fixed-actions {
  background: #f3f8f5;
  border-top: 1px solid #d9e6df;
  padding: 0.35rem 0 0.55rem;
  margin-top: 0;
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  z-index: 4;
  flex-shrink: 0;
}

.sidebar-action-row .btn {
  font-size: 0.84rem;
  padding: 0.56rem 0.35rem;
  font-weight: 600;
  border-radius: 0.45rem;
  box-shadow: none;
}

.fixed-enquiry-sidebar .btn-outline-gold {
  background: #ffffff;
  border-color: var(--forest);
  color: var(--forest);
}

.fixed-enquiry-sidebar .btn-outline-gold:hover {
  background: var(--forest);
  color: #ffffff;
}

.fixed-enquiry-sidebar .btn-gold {
  border-color: var(--gold);
  background: var(--gold);
}

.fixed-enquiry-sidebar .btn.btn-gold:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.fixed-enquiry-sidebar .btn.btn-gold:focus-visible {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
  box-shadow: 0 0 0 0.2rem rgba(11, 53, 76, 0.35);
}

.fixed-enquiry-sidebar .btn.btn-gold:focus:not(:focus-visible) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: none;
}

.fixed-enquiry-sidebar .btn.btn-gold:active {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--white);
}

.mobile-quickbar {
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0 !important;
  z-index: 2000;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--forest-deep);
  border-top: 1px solid rgba(91, 154, 173, 0.35);
  place-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

.mobile-quickbar a,
.mobile-quickbar button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.7rem 0.25rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.87rem;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-quickbar a:not(:last-child),
.mobile-quickbar button:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

#ctaLeadModal .modal-backdrop,
.lead-popup-modal .modal-backdrop {
  --bs-backdrop-opacity: 0.65;
}

.modal-backdrop {
  z-index: 2050 !important;
}

.modal {
  z-index: 2100 !important;
}

.cta-modal-dialog {
  max-width: 520px;
}

.cta-modal-content {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(15, 24, 45, 0.35);
}

.cta-modal-header {
  background: linear-gradient(
    120deg,
    var(--forest-deep) 0%,
    var(--forest) 100%
  );
  border-bottom: 0;
  padding: 0.9rem 1rem;
  justify-content: center;
  position: relative;
}

.cta-modal-title {
  margin: 0;
  color: #f6f8ff;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  text-align: center;
  width: 100%;
}

.cta-modal-header .btn-close {
  filter: invert(1) grayscale(1) brightness(1.5);
  opacity: 0.85;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.cta-modal-body {
  background: linear-gradient(180deg, #f9fbff 0%, #f2f5fc 100%);
  padding: 1rem;
}

.cta-modal-subtitle {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #5d6782;
  margin-bottom: 0.9rem;
}

.popup-lead-form .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.popup-lead-form .form-control,
.popup-lead-form .form-select {
  min-height: 44px;
  border-color: #c8d2e8;
  background: #ffffff;
  border-radius: 0.5rem;
}

.popup-lead-form .form-control:focus,
.popup-lead-form .form-select:focus {
  border-color: #6683c0;
  box-shadow: 0 0 0 0.2rem rgba(102, 131, 192, 0.2);
}

/* .form-select {
  padding: 0px;
} */

.form-privacy-note {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #5f6d8f;
  margin-bottom: 0.7rem;
}

.form-privacy-note a {
  color: var(--forest-deep);
  font-weight: 600;
  text-decoration: underline;
}

.cta-modal-body .lp-form > .row-form,
.cta-modal-body .app-unlock-lead-form > .row-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cta-modal-body .lp-form .row-form-phone-inline,
.cta-modal-body .app-unlock-lead-form .row-form-phone-inline {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.5rem;
}

.cta-modal-body .lp-form .col-form-code {
  flex: 0 0 5.5rem;
}

.cta-modal-body .lp-form .col-form-phone {
  flex: 1;
  min-width: 0;
}

.cta-modal-body .lp-form .app-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.35rem;
}

.cta-modal-body .lp-form .app-required {
  color: #c0392b;
}

.cta-modal-body .lp-form .sm-form-control {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #c8d2e8;
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 0.95rem;
}

.cta-modal-body .lp-form .sm-form-control:focus {
  border-color: #6683c0;
  box-shadow: 0 0 0 0.2rem rgba(102, 131, 192, 0.2);
  outline: 0;
}

.cta-modal-body .lp-form .col-form-btn {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .offer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 60px;
  }

  :root {
    --top-nav-height: 66px;
  }

  .hero-overlay {
    padding: 5rem 0 1.5rem;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    display: none;
  }

  .section-cta-row .btn {
    width: 100%;
    min-width: 100%;
  }

  .amenities-tab-content .amenity-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .modal-dialog {
    margin-top: calc(var(--top-nav-height) + 0.75rem);
    margin-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .modal-dialog-centered {
    min-height: calc(100% - var(--top-nav-height) - 1.5rem);
  }
}

@media (max-width: 767.98px) {
  .hero-panel {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .hero-panel picture {
    height: auto;
  }

  .hero-slide-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
  }

  .amenities-tabs-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    justify-content: stretch;
  }

  .amenities-tabs-nav .nav-item {
    width: 100%;
    margin: 0;
  }

  .amenities-tabs-nav .nav-link {
    width: 100%;
    font-size: 0.78rem;
    line-height: 1.3;
    padding: 0.5rem 0.45rem;
    text-align: center;
    white-space: normal;
    min-height: 100%;
  }

  .amenities-tabs-nav .nav-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .amenities-tab-content .amenity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.75rem;
    row-gap: 0.35rem;
  }

  .gallery-grid .gallery-item:nth-child(n + 4) {
    display: none;
  }

  .gallery-grid.gallery-expanded-mobile .gallery-item:nth-child(n + 4) {
    display: block;
  }

  #lightboxImage {
    width: 100%;
    height: 300px;
  }

  .floorplan-fourth-image {
    max-height: 60vh;
  }

  .video-lock-wrap {
    min-height: 320px;
  }

  .video-player-wrap iframe {
    height: 300px;
  }

  .plan-gallery-carousel {
    padding: 0 2.5rem;
  }

  .plan-carousel-nav,
  .plan-carousel-status {
    display: flex;
  }

  .plan-carousel-status {
    display: block;
  }

  .plan-gallery-track {
    flex-wrap: nowrap !important;
    transition: transform 0.35s ease;
    margin-top: 0 !important;
  }

  .plan-gallery-track > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .plan-card img {
    height: 260px;
    object-fit: contain;
    background: #fff;
  }

  #masterPlanGalleryWrap .plan-card img {
    height: 320px;
  }
}

@media (min-width: 992px) {
  body.has-lead-sidebar {
    padding-right: 300px;
  }

  body.has-lead-sidebar.modal-open {
    padding-right: 300px !important;
  }

  .hero-overlay .container,
  .top-nav .container {
    max-width: 1180px;
  }
}
