:root {
  --ivory: #ffffff;
  --cream: #f7f6f2;
  --gold: #b08b58;
  --gold2: #d9c3a0;
  --ink: #1c2927;
  --text: #44554e;
  --forest: #17332d;
  --forest2: #224239;
  --muted: #55675d;
  --line: #e4e9e3;
  --paper: #ffffff;
  --primary: #17332d;
  --primary-hover: #224239;
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'Manrope', 'DM Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 14px/1.65 var(--font-body);
  overflow-x: hidden;
  max-width: 100vw;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img {
  max-width: 100%;
  display: block;
}

.field-error-msg {
  color: #c82333;
  font-size: 11px;
  margin-top: 4px;
  line-height: 1.3;
}

input.has-error, select.has-error, textarea.has-error {
  border-color: #c82333 !important;
  background-color: #fff9f9 !important;
}

.form-status {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.form-status.success {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px 14px;
  border-radius: 8px;
}

.form-status.error {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 10px 14px;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

/* ==========================================================================
   FAQ Accordion Transitions & Smooth Animations
   ========================================================================== */
details.faq {
  overflow: hidden;
}

details.faq summary {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  list-style: none;
  transition: color 0.25s ease;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary:hover {
  color: #8b6e41;
}

details.faq summary:focus-visible {
  outline: 2px solid #bb9257;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Smooth icon rotation for + in summary span (Home & About pages) */
details.faq summary span:last-child {
  display: inline-block;
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center;
}

details.faq[open]:not(.is-closing) summary span:last-child,
details.faq.is-open summary span:last-child {
  transform: rotate(45deg);
}

/* Smooth icon rotation for + in ::after (Project pages) */
details.faq summary::after {
  display: inline-block;
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center;
}

details.faq[open]:not(.is-closing) summary::after,
details.faq.is-open summary::after {
  content: '+' !important;
  transform: rotate(45deg);
}

/* Answer paragraph smoothness */
details.faq p {
  transform-origin: top center;
  will-change: opacity, transform;
}

/* Modal dialog animation for auto-popup and manual open */
.modal.active .modal-dialog,
.modal.open .modal-dialog,
.modal.active .enquiry,
.modal.open .enquiry {
  animation: modalPopupScale 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modalPopupScale {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* ========================================================
   UNIVERSAL Y-DIRECTION SECTION PADDING
   Desktop view: 40px Y-direction
   Phone view:   15px Y-direction
   ======================================================== */
.section,
section:not(.hero),
#amenities.section,
#virtual-tour,
#virtual-tour.vt-premium,
.about-section,
.legal-main-section,
.legal-hero,
.contact {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

@media (max-width: 800px) {
  .section,
  section:not(.hero),
  #amenities.section,
  #virtual-tour,
  #virtual-tour.vt-premium,
  .about-section,
  .legal-main-section,
  .legal-hero,
  .contact {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
  
  .hero .hero-inner {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
}

/* Compact popup modal styling */
#lead-modal .enquiry {
  padding: 22px 20px 18px !important;
}
#lead-modal .enquiry h2,
#lead-modal .enquiry h3 {
  margin: 6px 0 12px !important;
  font-size: 26px !important;
  line-height: 1.15 !important;
}
#lead-modal .enquiry p {
  display: none !important;
}
#lead-modal .enquiry .form-status:not(:empty) {
  display: block !important;
}
#lead-modal .hero-form-consent,
#lead-modal .consent {
  display: none !important;
}
#lead-modal .hero-enquiry-form .field,
#lead-modal .lead-form .field {
  margin-bottom: 9px !important;
}
#lead-modal input,
#lead-modal select {
  min-height: 42px !important;
  padding: 9px 12px !important;
}
#lead-modal .btn,
#lead-modal .hero-submit {
  min-height: 44px !important;
  margin-top: 6px !important;
}

/* ========================================================
   MODERN MINIMAL FLOATING LABEL POPUP FORM (WITH KEYFRAMES)
   ======================================================== */
#lead-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(18, 15, 12, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#lead-modal.active,
#lead-modal.open {
  display: flex !important;
  animation: modalFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#lead-modal.closing {
  animation: modalFadeOut 0.22s ease-in forwards !important;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

#lead-modal .modal-dialog {
  position: relative !important;
  width: 100% !important;
  max-width: 410px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

#lead-modal .enquiry {
  position: relative !important;
  width: 100% !important;
  max-width: 410px !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(18, 15, 12, 0.22), 0 0 0 1px rgba(228, 215, 197, 0.6) !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
}

#lead-modal .enquiry {
  padding: 26px 24px 22px !important;
  overflow: hidden;
  animation: modalPopUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#lead-modal.closing .enquiry {
  animation: modalPopDown 0.22s ease-in forwards !important;
}

@keyframes modalPopUp {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalPopDown {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}

#lead-modal .eyebrow,
#lead-modal .tag {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font: 700 9.5px/1.2 'DM Sans', sans-serif !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  color: #a7844c !important;
  margin-bottom: 4px !important;
  position: relative;
  z-index: 1;
}

#lead-modal .eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: #a7844c;
}

#lead-modal h2,
#lead-modal h3 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 27px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  color: #1a1714 !important;
  margin: 4px 0 16px !important;
  letter-spacing: -0.2px;
}

#lead-modal .close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ebdcc8;
  background: #fbf7f0;
  color: #3b3126;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  z-index: 10;
}
#lead-modal .close:hover {
  background: #181613;
  color: #fff;
  border-color: #181613;
  transform: rotate(90deg);
}

/* Floating Label Animated Field */
.float-field {
  position: relative !important;
  margin-bottom: 12px !important;
}

.float-field input {
  width: 100% !important;
  height: 48px !important;
  padding: 16px 14px 6px !important;
  font: 500 13px/1.4 'DM Sans', sans-serif !important;
  color: #1a1714 !important;
  background: #fbf9f5 !important;
  border: 1.5px solid #e7dcce !important;
  border-radius: 8px !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.float-field input:focus {
  background: #ffffff !important;
  border-color: #b48c4c !important;
  box-shadow: 0 0 0 3px rgba(180, 140, 76, 0.15) !important;
}

/* Floating Span Label */
.float-field .floating-span {
  position: absolute !important;
  left: 14px !important;
  top: 15px !important;
  font: 500 12.5px/1 'DM Sans', sans-serif !important;
  color: #837666 !important;
  pointer-events: none !important;
  transform-origin: left top !important;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              font-size 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: transform, color;
}

/* Float Label to Top when input is focused or not empty (placeholder-shown trick) */
.float-field input:focus ~ .floating-span,
.float-field input:not(:placeholder-shown) ~ .floating-span {
  transform: translateY(-8px) scale(0.78) !important;
  color: #9d7433 !important;
  font-weight: 600 !important;
}

/* Input Focus Line Animation via Span::after */
.float-field .floating-line {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  background: #b48c4c;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  pointer-events: none;
}
.float-field input:focus ~ .floating-line {
  transform: scaleX(1);
}

/* Minimal Shimmer Button */
#lead-modal .hero-submit,
#lead-modal .btn {
  position: relative;
  overflow: hidden;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin-top: 6px !important;
  background: linear-gradient(135deg, #221d17 0%, #110e0c 100%) !important;
  color: #ffffff !important;
  border: 1px solid #c9a468 !important;
  border-radius: 8px !important;
  font: 700 12.5px/1 'DM Sans', sans-serif !important;
  letter-spacing: 0.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  box-shadow: 0 6px 18px rgba(24, 22, 19, 0.18) !important;
}

#lead-modal .hero-submit:hover,
#lead-modal .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(24, 22, 19, 0.26) !important;
}
#lead-modal .hero-submit:active,
#lead-modal .btn:active {
  transform: scale(0.98);
}

.btn-shimmer { display: none !important; }

#lead-modal .form-status {
  font-size: 11.5px;
  line-height: 1.4;
  margin-top: 8px;
  text-align: center;
}

.wal-footer {
  background: #171410 !important;
  color: #eae0d1 !important;
  padding: 68px 0 22px !important;
  border-top: 3px solid #b48c4c !important;
}
.wal-footer .wrap,
.wal-footer .container {
  width: min(1200px, calc(100% - 48px)) !important;
  max-width: 1200px !important;
  margin: auto !important;
  padding: 0 !important;
  display: block !important;
}
.wal-footer .wal-footer-top {
  display: grid !important;
  grid-template-columns: minmax(255px, 1.55fr) minmax(100px, 0.72fr) minmax(150px, 0.98fr) minmax(205px, 1.1fr) !important;
  gap: 34px !important;
  padding-bottom: 44px !important;
  text-align: left !important;
}
.wal-footer-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 152px !important;
  min-height: 132px !important;
  margin: 0 !important;
  padding: 16px !important;
  border-radius: 14px !important;
  background: #f8f3eb !important;
  border: 1px solid #d6c7af !important;
}
.wal-footer-logo img {
  width: 96px !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 96px !important;
  object-fit: contain !important;
  filter: brightness(0) !important;
  margin: 0 !important;
}
.wal-footer-brand > p {
  font-size: 13.5px !important;
  line-height: 1.8 !important;
  color: #cdc1b0 !important;
  max-width: 340px !important;
  margin: 22px 0 25px !important;
  text-align: left !important;
}
.wal-footer-social {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #c7ad80 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.6px !important;
}
.wal-footer-column h3 {
  color: #fff !important;
  font: 600 22px / 1.15 'Cormorant Garamond', Georgia, serif !important;
  letter-spacing: 0.1px !important;
  margin: 0 0 25px !important;
  padding-bottom: 13px !important;
  position: relative !important;
  text-align: left !important;
}
.wal-footer-column h3:after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 30px !important;
  height: 2px !important;
  background: #b48c4c !important;
}
.wal-footer-column nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  text-align: left !important;
}
.wal-footer-column a,
.wal-footer-contact .wal-contact-address {
  color: #d1c5b5 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  transition: color 0.2s !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 11px !important;
  text-align: left !important;
}
.wal-footer-column a:hover {
  color: #ecc98a !important;
}
.wal-footer-contact {
  min-width: 0 !important;
  text-align: left !important;
}
.wal-footer-contact > a {
  margin-bottom: 18px !important;
  overflow-wrap: anywhere !important;
}
.wal-contact-icon {
  color: #b48c4c !important;
  flex: none !important;
  font-size: 13px !important;
  margin-top: 4px !important;
}
.wal-footer-legal {
  border-top: 1px solid #4a3e31 !important;
  border-bottom: 1px solid #4a3e31 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 19px 0 !important;
  color: #bdaea0 !important;
  font-size: 12px !important;
  text-align: left !important;
}
.wal-footer-legal nav {
  display: flex !important;
  gap: 15px 22px !important;
  flex-wrap: wrap !important;
}
.wal-footer-legal a {
  color: #d1c5b5 !important;
  transition: color 0.2s !important;
}
.wal-footer-legal a:hover {
  color: #ecc98a !important;
}
.wal-footer-bottom {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 28px !important;
  align-items: center !important;
  padding: 25px 0 0 !important;
  text-align: left !important;
}
.wal-disclaimer h4 {
  color: #ebd0a8 !important;
  font-size: 11.5px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin: 0 0 9px !important;
  text-align: left !important;
}
.wal-disclaimer p {
  color: #b5a897 !important;
  font-size: 11px !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  max-width: 880px !important;
  text-align: left !important;
}
@media (max-width: 1100px) {
  .wal-footer .wal-footer-top {
    grid-template-columns: 1.3fr 1fr 1fr !important;
    row-gap: 35px !important;
  }
  .wal-footer-brand {
    grid-column: 1 / -1 !important;
  }
  .wal-footer-brand > p {
    max-width: 650px !important;
  }
}
@media (max-width: 760px) {
  .wal-footer .wrap,
  .wal-footer .container {
    width: min(100% - 32px, 650px) !important;
  }
}
@media (max-width: 700px) {
  .wal-footer {
    padding: 45px 0 110px !important;
  }
  .wal-footer .wal-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px 18px !important;
    padding-bottom: 30px !important;
  }
  .wal-footer-brand {
    grid-column: 1 / -1 !important;
  }
  .wal-footer-column h3 {
    font-size: 22px !important;
    margin-bottom: 17px !important;
  }
  .wal-footer-legal {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 13px !important;
  }
  .wal-footer-bottom {
    grid-template-columns: 1fr !important;
  }
  .wal-footer-contact {
    grid-column: 1 / -1 !important;
  }
  .wal-footer-brand > p {
    margin: 17px 0 !important;
  }
  .wal-footer-column nav {
    gap: 12px !important;
  }
}
@media (max-width: 370px) {
  .wal-footer .wal-footer-top {
    grid-template-columns: 1fr !important;
  }
  .wal-footer-contact {
    grid-column: auto !important;
  }
}
