:root {
  --bg-sand: #f7f4ed;
  --bg-sand-dark: #ebe4d5;
  --bg-travertine: #dfd7c5;
  --bg-dark-espresso: #1a1714;
  --bg-card-glass: rgba(247, 244, 238, 0.92);
  --bg-card-dark: rgba(22, 20, 18, 0.85);
  
  --text-dark: #221c17;
  --text-muted: #6b645b;
  --text-light: #f7f4ed;
  --text-light-muted: #b8b1a5;

  --accent-gold: #c59b27;
  --accent-gold-dark: #9a781b;
  --accent-bronze: #543f30;
  --accent-bronze-light: #735946;
  --accent-emerald: #1b4332;
  --accent-emerald-light: #2d6a4f;

  --border-subtle: rgba(30, 27, 24, 0.08);
  --border-gold: rgba(197, 155, 39, 0.4);
  --border-light-glass: rgba(255, 255, 255, 0.2);

  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-luxury: 0 20px 45px -10px rgba(26, 23, 20, 0.25), 0 0 1px rgba(0,0,0,0.1);
  --shadow-soft: 0 10px 30px -5px rgba(45, 34, 25, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body.banyan-theme {
  background-color: var(--bg-sand);
  color: var(--text-dark);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */
.banyan-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(247, 244, 237, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all 0.3s ease;
}

.orvena-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-frame {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.orvena-crest {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(84, 63, 48, 0.15));
  transition: transform 0.3s ease;
}

.orvena-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ob-title {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-bronze);
  line-height: 1;
  margin-bottom: 4px;
}

.ob-subtitle {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--accent-gold-dark);
  line-height: 1;
}

.orvena-brand-lockup:hover .orvena-crest {
  transform: scale(1.06);
}

.banyan-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-link {
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-dark);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gold);
}

.banyan-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Audio button */
.banyan-audio-btn {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.banyan-audio-btn:hover {
  background: #fff;
  border-color: var(--accent-gold);
}
.banyan-audio-btn.playing {
  background: rgba(45, 106, 79, 0.12);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.audio-wave-icon {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.audio-wave-icon span {
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 1px;
  transition: height 0.2s;
}
.banyan-audio-btn.playing .audio-wave-icon span:nth-child(1) {
  animation: wave 1.2s infinite ease-in-out;
}
.banyan-audio-btn.playing .audio-wave-icon span:nth-child(2) {
  animation: wave 1.2s infinite ease-in-out 0.2s;
}
.banyan-audio-btn.playing .audio-wave-icon span:nth-child(3) {
  animation: wave 1.2s infinite ease-in-out 0.4s;
}
@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}

/* Currency dropdown */
.currency-select {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
}
.currency-select:hover {
  border-color: var(--accent-gold);
}

.banyan-cta-btn {
  background: var(--text-dark);
  color: var(--text-light);
  border: 1px solid var(--text-dark);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.banyan-cta-btn:hover {
  background: var(--accent-bronze);
  border-color: var(--accent-bronze);
}

/* =======================================================
   HERO STAGE
   ======================================================= */
.hero-stage {
  position: relative;
  height: 92vh;
  min-height: 660px;
  margin-top: 88px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-background-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-villa-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 23, 20, 0.2) 0%, rgba(26, 23, 20, 0.05) 50%, rgba(26, 23, 20, 0.7) 100%);
  pointer-events: none;
}

/* FLOATING PROPERTY CARD */
.floating-property-card {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background: var(--bg-card-glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-luxury);
  padding: 30px 28px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.4s ease;
}
.floating-property-card:hover {
  transform: translateY(calc(-50% - 4px));
  box-shadow: 0 26px 50px -10px rgba(26, 23, 20, 0.35);
}

.property-tag-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pulse-emerald {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.2);
}
.property-label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--accent-bronze);
}

.property-title {
  font-family: var(--font-editorial);
  font-size: 2.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--text-dark);
}
.property-location {
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent-bronze);
  margin-top: -6px;
}

.property-specs-line {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  letter-spacing: 0.04em;
}

.property-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 4px 0 8px;
}
.price-val {
  font-family: var(--font-editorial);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  line-height: 1;
}
.price-type {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent-gold-dark);
  margin-top: 4px;
}

.property-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.banyan-primary-btn {
  background: var(--text-dark);
  color: #fff;
  border: 1px solid var(--text-dark);
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.banyan-primary-btn:hover {
  background: var(--accent-bronze);
  border-color: var(--accent-bronze);
}

.banyan-secondary-btn {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.banyan-secondary-btn:hover {
  background: #fff;
  border-color: var(--accent-gold);
}

.banyan-gold-btn {
  background: linear-gradient(135deg, rgba(197, 155, 39, 0.15), rgba(154, 120, 27, 0.25));
  color: var(--text-dark);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.banyan-gold-btn:hover {
  background: var(--accent-gold);
  color: #fff;
}

/* BOTTOM CURATED STRIP */
.hero-bottom-strip {
  position: absolute;
  bottom: 28px;
  left: 64px;
  right: 560px;
  z-index: 10;
}
.strip-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  margin-bottom: 12px;
}
.villa-thumbnails-row {
  display: grid;
  grid-template-columns: 240px;
  gap: 12px;
}
.villa-thumb-card {
  position: relative;
  height: 92px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
}
.villa-thumb-card.disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.5;
  filter: grayscale(50%);
}
.villa-thumb-card.disabled .thumb-price {
  filter: blur(3px);
  user-select: none;
}
.villa-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.villa-thumb-card:hover img {
  transform: scale(1.08);
}
.villa-thumb-card.active {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5);
}
.thumb-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 10, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px 10px;
}
.thumb-title {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thumb-price {
  font-size: 0.62rem;
  color: #fde68a;
}

/* =======================================================
   ORVENA BRAND ETHOS & HERITAGE SHOWCASE
   ======================================================= */
.orvena-heritage-section {
  padding: 100px 64px;
  background: #fff;
  border-bottom: 1px solid var(--border-subtle);
}
.heritage-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 64px;
  align-items: center;
}

.heritage-logo-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.logo-plaque-frame {
  width: 100%;
  background: #f4ede3;
  border: 1px solid rgba(84, 63, 48, 0.2);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.logo-plaque-frame::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(197, 155, 39, 0.35);
  border-radius: calc(var(--radius-md) - 4px);
  pointer-events: none;
}
.logo-plaque-img {
  max-width: 90%;
  max-height: 260px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}
.plaque-caption {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--accent-bronze);
  text-align: center;
}

.heritage-copy-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--accent-gold-dark);
}
.heritage-heading {
  font-family: var(--font-editorial);
  font-size: 3.1rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
}
.heritage-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}
.pillar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}
.pillar-item h4 {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
}
.pillar-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* =======================================================
   CURATED SANCTUARIES PORTFOLIO SECTION
   ======================================================= */
.sanctuaries-section {
  padding: 100px 64px;
  background-color: var(--bg-sand);
  max-width: 1400px;
  margin: 0 auto;
}
.section-header-wrap {
  margin-bottom: 48px;
}
.section-title {
  font-family: var(--font-editorial);
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 780px;
  margin-top: 10px;
  line-height: 1.7;
}

.sanctuaries-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.sanctuary-portfolio-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.sanctuary-portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(30, 27, 24, 0.12);
  border-color: var(--accent-gold);
}

.spc-img-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.spc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.sanctuary-portfolio-card:hover .spc-img-wrap img {
  transform: scale(1.06);
}
.spc-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(14, 12, 10, 0.75);
  backdrop-filter: blur(8px);
  color: #fde68a;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 20, 18, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.spc-img-wrap:hover .coming-soon-overlay {
  opacity: 1;
}
.coming-soon-overlay.always-on {
  opacity: 1;
}
.coming-soon-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--accent-gold);
  border: 1px solid rgba(197, 155, 39, 0.4);
  padding: 12px 24px;
  background: rgba(26, 23, 20, 0.85);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.spc-body {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.spc-loc {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--accent-bronze);
}
.spc-title {
  font-family: var(--font-editorial);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--text-dark);
}
.spc-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}
.spc-specs {
  font-size: 0.78rem;
  color: var(--accent-bronze-light);
  font-weight: 600;
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.spc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.spc-price {
  font-family: var(--font-editorial);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-dark);
}
.spc-action-btn {
  background: var(--text-dark);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.spc-action-btn:hover {
  background: var(--accent-bronze);
}
.spc-action-btn.disabled {
  opacity: 0.4;
  filter: blur(1.5px);
  pointer-events: none;
  cursor: not-allowed;
}
.blurred-price {
  filter: blur(4px);
  user-select: none;
  opacity: 0.6;
}

/* =======================================================
   PHILOSOPHY & BIOPHILIC SECTION
   ======================================================= */
.philosophy-section {
  padding: 100px 64px;
  background-color: #fff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.philosophy-card {
  background: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -10px rgba(30, 27, 24, 0.1);
  border-color: var(--accent-gold);
}
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
.philosophy-card h3 {
  font-family: var(--font-editorial);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.philosophy-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}
.card-metric {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
}


.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-emerald);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  transition: all 0.25s ease;
}
.whatsapp-btn:hover {
  background: var(--accent-gold);
}

/* =======================================================
   MODALS: FLOORPLAN, VR TOUR, PRIVATE SHOWING
   ======================================================= */
.banyan-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 12, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.banyan-modal-backdrop.active {
  display: flex;
}

.banyan-modal-window {
  background: var(--bg-sand);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light-glass);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  width: 90vw;
  max-width: 1180px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 20px 32px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.modal-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-bronze);
}
.modal-title {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 2px;
}
.modal-close-btn {
  background: none;
  border: 1px solid var(--border-subtle);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close-btn:hover {
  background: var(--text-dark);
  color: #fff;
}

/* Floorplan layout */
.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  flex: 1;
  overflow: hidden;
}
.floorplan-view-stage {
  position: relative;
  background: #0f131a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}
.floorplan-base-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: contrast(1.1) brightness(0.95);
}

.plan-hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--accent-gold);
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  transform: translate(-50%, -50%);
}
.plan-hotspot .pin-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  color: #1a1714;
}
.plan-hotspot .pin-ring {
  position: absolute;
  inset: -6px;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  animation: pulsePin 1.8s infinite;
}
@keyframes pulsePin {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.plan-hotspot.active {
  background: #fff;
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px var(--accent-gold);
}
.plan-hotspot.active .pin-label {
  color: var(--accent-gold-dark);
}

.floorplan-detail-card {
  padding: 32px;
  background: #fff;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.detail-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold-dark);
}
.detail-title {
  font-family: var(--font-editorial);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.25;
}
.detail-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.detail-specs-table {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}
.spec-name {
  color: var(--text-muted);
}
.spec-val {
  font-weight: 600;
  color: var(--text-dark);
}

/* VR Modal */
.vr-modal-window {
  max-width: 1080px;
}
.vr-viewport-container {
  position: relative;
  height: 64vh;
  min-height: 480px;
  overflow: hidden;
  background: #000;
}
.vr-pannellum-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}
.vr-pannellum-container:active {
  cursor: grabbing;
}
.vr-hud-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}
.vr-hint-badge {
  background: rgba(14, 12, 10, 0.8);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.vr-room-switcher {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}
.vr-room-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.vr-room-btn.active,
.vr-room-btn:hover {
  background: var(--text-dark);
  color: #fff;
}

/* Showing Form */
.showing-modal-window {
  max-width: 680px;
  padding: 0;
}
.showing-form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.form-group input,
.form-group select {
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--text-dark);
  outline: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-gold);
}
.form-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0;
}
.check-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
}
.submit-showing-btn {
  padding: 16px;
  margin-top: 8px;
}

.showing-success-toast {
  display: none;
  background: var(--accent-emerald);
  color: #fff;
  padding: 14px 20px;
  margin: 0 32px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  align-items: center;
  gap: 10px;
}

/* =======================================================
   FOOTER
   ======================================================= */
.banyan-footer {
  background: var(--bg-dark-espresso);
  color: var(--text-light-muted);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 1fr;
  gap: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
}
.footer-brand {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.12em;
}
.footer-motto {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
}

.footer-desc {
  font-size: 0.84rem;
  line-height: 1.6;
  max-width: 360px;
}
.footer-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 10px;
}
.footer-val {
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.footer-links span {
  color: #fff;
  font-size: 0.82rem;
}

/* =======================================================
   MOBILE & TABLET OPTIMIZATIONS
   ======================================================= */
@media (max-width: 900px) {
  /* Header */
  .banyan-header {
    padding: 10px 16px;
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .orvena-crest {
    height: 32px; /* Scale down logo */
  }
  .ob-title {
    font-size: 1.1rem;
    letter-spacing: 0.25em;
  }
  .ob-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.18em;
  }
  .banyan-nav-links {
    display: flex;
    width: 100%;
    order: 3; /* Push to the next row */
    justify-content: center;
    gap: 16px;
    padding-top: 12px;
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-link {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }
  .banyan-header-actions {
    gap: 8px;
    margin-top: 4px;
  }
  .banyan-cta-btn {
    padding: 8px 12px;
    font-size: 0.65rem;
    background: linear-gradient(135deg, rgba(197, 155, 39, 0.15), rgba(154, 120, 27, 0.25));
    border: 1px solid var(--accent-gold);
    color: var(--text-dark);
  }
  .currency-select {
    padding: 6px 20px 6px 12px;
    font-size: 0.65rem;
  }

  /* Hero Section */
  .hero-stage {
    min-height: calc(100vh - 70px);
    height: auto;
    padding: 45vh 0 40px; /* Reveal the background villa at the top */
    flex-direction: column;
    justify-content: flex-end;
  }
  .floating-property-card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 94%;
    margin: 0 auto;
    max-height: none;
    padding: 24px 20px; /* Tighter padding on mobile */
  }
  .hero-background-wrap {
    bottom: auto;
    height: 60vh;
  }
  .hero-gradient-overlay {
    background: linear-gradient(180deg, rgba(26, 23, 20, 0.1) 0%, rgba(26, 23, 20, 0.05) 50%, rgba(26, 23, 20, 0.9) 100%);
  }
  .hero-villa-image {
    object-position: 80% 100%; /* Focus on the bottom right where the villa is */
  }
  .hero-bottom-strip {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 92%;
    margin: 30px auto 0;
  }
  #cardVillaTitle, .dedicated-hero-content h1 {
    font-size: 2.5rem !important;
  }
  .property-specs-line {
    font-size: 0.75rem;
    flex-wrap: wrap;
  }
  .property-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-action-btn {
    width: 100%;
    justify-content: center;
  }
  .villa-thumbnails-row {
    grid-template-columns: 1fr;
    max-width: 100%;
    justify-content: center;
  }

  /* Grids & Sections */
  .heritage-container, .pillars-row, .sanctuaries-cards-grid, .philosophy-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .banyan-section, .philosophy-section, .orvena-heritage-section, .sanctuaries-section {
    padding: 3rem 1.5rem;
  }
  
  /* Modals */
  .banyan-modal-window {
    width: 95vw;
    max-width: 95vw;
    height: 90vh;
    padding: 1.5rem;
    overflow-y: auto;
  }
  .modal-body-grid, .showing-form .form-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .floorplan-view-stage {
    min-height: 300px;
  }
  .vr-viewport-container {
    height: 50vh;
  }
  
  /* Footer */
  .banyan-footer {
    grid-template-columns: 1fr !important;
    padding: 3rem 2rem;
    text-align: center;
    gap: 2rem;
  }
  .footer-col {
    align-items: center;
  }
  .vr-hud-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
  .vr-room-switcher {
    flex-wrap: wrap;
  }
}
