/* ============================================
   LORVEN REALTY PROPERTY HUB — PREMIUM UI
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --charcoal: #111317;
  --charcoal-light: #1e2025;
  --ivory: #f5f2ec;
  --ivory-dim: #edeae4;
  --bronze: #b08d57;
  --bronze-dark: #96784a;
  --bronze-light: #c9a96e;
  --stone: #7a7872;
  --max-width: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
}
h1,h2,h3,h4,.font-display { font-family: 'Playfair Display', Georgia, serif; margin: 0; font-weight: 500; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
select { font-family: inherit; }
::selection { background: rgba(176,141,87,0.25); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
@media(min-width:1024px){ .container { padding: 0 48px; } }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bronze);
  display: inline-block;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  border: none; border-radius: 0; transition: all 0.35s var(--ease); white-space: nowrap;
  cursor: pointer; position: relative; overflow: hidden;
}
.btn::after { content:''; position:absolute; inset:0; background:rgba(255,255,255,0.1); transform:translateX(-101%); transition:transform 0.35s var(--ease); }
.btn:hover::after { transform:translateX(0); }
.btn-primary { background: var(--charcoal); color: var(--ivory); }
.btn-primary:hover { background: #1a1d22; }
.btn-bronze { background: var(--bronze); color: #fff; }
.btn-bronze:hover { background: var(--bronze-dark); }
.btn-secondary { background: transparent; color: var(--charcoal); border: 1.5px solid rgba(17,19,23,0.2); }
.btn-secondary:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color: #fff; background: #fff; color: var(--charcoal); }

/* ---- HEADER ---- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.4s var(--ease); background: transparent;
}
#site-header.scrolled {
  background: rgba(245,242,236,0.92); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(17,19,23,0.06);
}

/* -- Top info bar (contact + social) -- */
.header-topbar {
  background: transparent;
}
.header-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 9px 24px; min-height: 38px;
}
@media(min-width:1024px){ .header-topbar-inner { padding: 9px 48px; } }
.topbar-contact { display: flex; align-items: center; gap: 12px; min-width: 0; }
@media(min-width:640px){ .topbar-contact { gap: 24px; } }
.topbar-item {
  display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 700;
  color: rgba(255,255,255,0.85); white-space: nowrap; transition: color 0.2s;
}
.topbar-item:hover { color: #fff; }
.topbar-item svg { flex-shrink: 0; color: var(--bronze-light); width: 16px; height: 16px; }
.topbar-item-email { display: none; font-weight: 400; }
@media(min-width:640px){ .topbar-item-email { display: flex; overflow: hidden; text-overflow: ellipsis; } }
.topbar-social { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.topbar-social a { color: rgba(255,255,255,0.95); display: flex; transition: color 0.2s; }
.topbar-social a svg { width: 17px; height: 17px; }
.topbar-social a:hover { color: var(--bronze-light); }

/* ---- HEADER INNER ---- */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 24px;
  transition: padding 0.4s var(--ease);
}

#site-header.scrolled .header-inner {
  padding: 17px 24px;
}

@media(min-width:1024px) {
  .header-inner {
    padding: 27px 48px;
  }

  #site-header.scrolled .header-inner {
    padding: 17px 48px;
  }
}

.logo-link {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo-wordmark {
  font-size: 49px;
  font-weight: 500;
  color: #fff;
  transition: color 0.4s;
  white-space: nowrap;
}

#site-header.scrolled .logo-wordmark {
  color: var(--charcoal);
}

nav.main-nav {
  display: none;
  gap: 42px;
  margin-left: 48px;
}

@media(min-width:1024px) {
  nav.main-nav {
    display: flex;
    align-items: center;
  }
}

nav.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.25s;
  padding: 4px 0;
  letter-spacing: 0.02em;
}

#site-header.scrolled nav.main-nav a {
  color: rgba(17,19,23,0.65);
}

nav.main-nav a:hover {
  color: #fff;
}

#site-header.scrolled nav.main-nav a:hover {
  color: var(--charcoal);
}

nav.main-nav a.active {
  color: #fff;
  font-weight: 600;
}

#site-header.scrolled nav.main-nav a.active {
  color: var(--bronze);
}

.hamburger {
  display: block;
  background: none;
  padding: 8px;
  color: #fff;
}

#site-header.scrolled .hamburger {
  color: var(--charcoal);
}

@media(min-width:1024px) {
  .hamburger {
    display: none;
  }
}
.hamburger { display: block; background: none; padding: 8px; color: #fff; }
#site-header.scrolled .hamburger { color: var(--charcoal); }
@media(min-width:1024px){ .hamburger { display: none; } }

#mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--charcoal);
  transform: translateX(100%); transition: transform 0.5s var(--ease); overflow-y: auto;
}
#mobile-menu.open { transform: translateX(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; padding: 24px; }
.mobile-menu-top span { color: #fff; font-size: 20px; }
.mobile-menu-top button { color: #fff; padding: 8px; }
#mobile-menu nav { display: flex; flex-direction: column; padding: 0 24px; margin-top: 16px; }
#mobile-menu nav a { color: rgba(255,255,255,0.85); font-size: 28px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-family: 'Playfair Display', serif; }
.mobile-menu-actions { padding: 24px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 8px; }
.mobile-topbar-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.8); font-size: 16px; font-weight: 700; }
.mobile-topbar-item svg { color: var(--bronze-light); flex-shrink: 0; width: 16px; height: 16px; }
.mobile-topbar-item-email { font-weight: 400; }
.mobile-topbar-social { display: flex; align-items: center; gap: 18px; margin-top: 4px; }
.mobile-topbar-social a { color: rgba(255,255,255,0.95); display: flex; }
.mobile-topbar-social a svg { width: 18px; height: 18px; }
.mobile-topbar-social a:hover { color: var(--bronze-light); }

/* ---- HERO ---- */
.hero { position: relative; }
.hero-media { position: relative; height: 94vh; min-height: 680px; width: 100%; overflow: hidden; background: #111317; }
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(17,19,23,0.4) 0%, rgba(17,19,23,0.3) 40%, rgba(17,19,23,0.75) 80%, rgba(17,19,23,0.92) 100%);
}
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.hero-content h1 { font-weight: 400; color: #fff; font-size: 2.8rem; line-height: 1.1; margin-top: 20px; max-width: 700px; letter-spacing: -0.02em; }
@media(min-width:640px){ .hero-content h1 { font-size: 3.8rem; } }
@media(min-width:1024px){ .hero-content h1 { font-size: 36px; } }
.hero-content p.sub { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 540px; margin-top: 24px; line-height: 1.65; font-weight: 300; }
@media(min-width:1024px){ .hero-content p.sub { font-size: 1.15rem; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero-indicators {
  position: absolute; bottom: 120px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; gap: 10px; align-items: center;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: all 0.4s var(--ease); padding: 0; }
.hero-dot.active { background: var(--bronze-light); width: 28px; border-radius: 4px; }

/* ---- SEARCH PANEL ---- */
.search-panel-wrap { position: relative; z-index: 10; margin-top: -56px; }
@media(min-width:1024px){ .search-panel-wrap { margin-top: -44px; } }
.search-panel { background: #fff; box-shadow: 0 20px 60px -20px rgba(17,19,23,0.25); padding: 28px 24px; border: 1px solid rgba(17,19,23,0.04); }
@media(min-width:1024px){ .search-panel { padding: 32px 40px; } }
.search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
@media(min-width:1024px){ .search-grid { grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 28px; } }
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); font-weight: 500; }
.search-field select { background: transparent; border: none; border-bottom: 1.5px solid transparent; font-size: 14px; font-weight: 500; color: var(--charcoal); padding: 6px 0; transition: border-color 0.2s; }
.search-field select:hover { border-bottom-color: rgba(17,19,23,0.15); }
.search-field select:disabled,.search-field select.field-not-applicable { color: var(--stone); cursor: not-allowed; opacity: 0.6; }
.search-submit { grid-column: span 2; margin-top: 8px; }
@media(min-width:1024px){ .search-submit { grid-column: span 1; margin-top: 0; } }

/* ---- SECTIONS ---- */
section.section { padding: 100px 0; }
@media(min-width:1024px){ section.section { padding: 120px 0; } }
.section-head { display: flex; flex-direction: column; gap: 20px; justify-content: space-between; margin-bottom: 56px; }
@media(min-width:640px){ .section-head { flex-direction: row; align-items: flex-end; } }
.section-head h2 { font-size: 2rem; margin-top: 12px; letter-spacing: -0.02em; }
@media(min-width:1024px){ .section-head h2 { font-size: 2.5rem; } }
.section-head p { color: var(--stone); margin-top: 12px; max-width: 420px; line-height: 1.65; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; transition: all 0.25s; }
.link-arrow:hover { color: var(--bronze); gap: 10px; }

/* ---- PROPERTY CARDS ---- */
.property-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media(min-width:640px){ .property-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .property-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; } }
.property-card { background: #fff; border: 1px solid rgba(17,19,23,0.05); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.property-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px -16px rgba(17,19,23,0.18); }
.property-card:hover .property-card-img { transform: scale(1.05); }
.property-card-media { position: relative; height: 240px; overflow: hidden; display: block; }
.property-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.status-badge { position: absolute; top: 16px; left: 16px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; z-index: 2; }
.status-ready { background: #fff; color: var(--charcoal); }
.status-construction { background: var(--bronze); color: #fff; }
.status-launch { background: var(--charcoal); color: #fff; }
.fav-btn { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.2s; }
.fav-btn:hover { background: #fff; }
.fav-btn.saved svg { fill: var(--bronze); color: var(--bronze); }
.property-card-body { padding: 24px; }
.property-card-body h3 { font-size: 18px; }
.property-loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--stone); margin-top: 6px; }
.property-meta { display: flex; align-items: center; gap: 20px; margin-top: 16px; font-size: 13px; color: rgba(17,19,23,0.6); }
.property-meta span { display: flex; align-items: center; gap: 6px; }
.property-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(17,19,23,0.06); }
.property-footer .price-label { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--stone); }
.property-footer .price { font-size: 17px; margin-top: 2px; }
.view-link { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; transition: all 0.25s; }
.property-card:hover .view-link { color: var(--bronze); gap: 10px; }
.icon-bronze { color: var(--bronze); flex-shrink: 0; }

/* ---- DARK SECTIONS ---- */
.dark-section { background: var(--charcoal); color: #fff; }
.dark-section .eyebrow { color: var(--bronze-light); }
.reasons-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
@media(min-width:640px){ .reasons-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .reasons-grid { grid-template-columns: repeat(4,1fr); gap: 32px; } }
.reason h3 { font-size: 17px; margin-top: 16px; }
.reason p { font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 8px; line-height: 1.65; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 72px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.08); }
@media(min-width:1024px){ .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-value { font-size: 2.5rem; color: var(--bronze-light); }
@media(min-width:1024px){ .stat-value { font-size: 3rem; } }
.stat-label { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 8px; }
.demo-note { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 20px; }

/* ---- HUB / LOCATION ---- */
.hub-section { background: var(--ivory-dim); }
.hub-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-top: 48px; }
@media(min-width:900px){ .hub-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.hub-map-preview { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; background: repeating-linear-gradient(0deg,transparent,transparent 38px,rgba(17,19,23,0.05) 38px,rgba(17,19,23,0.05) 39px),repeating-linear-gradient(90deg,transparent,transparent 38px,rgba(17,19,23,0.05) 38px,rgba(17,19,23,0.05) 39px),var(--ivory); box-shadow: 0 20px 56px -16px rgba(17,19,23,0.2); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.hub-map-preview:hover { transform: translateY(-4px); box-shadow: 0 28px 64px -16px rgba(17,19,23,0.3); }
.hub-map-preview::before { content:""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%,rgba(176,141,87,0.14),transparent 55%); }
.hub-map-pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-100%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--charcoal); }
.hub-map-pin-badge { width: 52px; height: 52px; border-radius: 50%; background: var(--charcoal); color: var(--bronze-light); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(17,19,23,0.4); }
.hub-map-pin-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--charcoal); box-shadow: 0 0 0 6px rgba(17,19,23,0.1); margin-top: -4px; }
.hub-map-label { position: absolute; left: 20px; bottom: 20px; background: #fff; padding: 14px 20px; box-shadow: 0 10px 24px -10px rgba(17,19,23,0.25); }
.hub-map-label .font-display { font-size: 16px; }
.hub-map-label span.eyebrow { display: block; margin-top: 2px; }
.hub-map-cta { position: absolute; right: 16px; top: 16px; display: flex; align-items: center; gap: 6px; background: rgba(17,19,23,0.9); color: #fff; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 14px; }
.hub-content h2 { font-size: 2rem; margin-top: 12px; }
@media(min-width:1024px){ .hub-content h2 { font-size: 2.5rem; } }
.hub-content > p { color: var(--stone); margin-top: 16px; max-width: 480px; line-height: 1.7; }
.hub-brand { margin-top: 32px; padding: 24px; background: #fff; border: 1px solid rgba(17,19,23,0.05); display: flex; align-items: flex-start; gap: 16px; }
.hub-brand-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--charcoal); color: var(--bronze-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hub-brand-text .font-display { font-size: 17px; }
.hub-brand-text p { color: var(--stone); font-size: 13px; margin-top: 4px; }
.hub-content .btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* ---- FINAL CTA ---- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: 2rem; margin-top: 16px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.2; }
@media(min-width:1024px){ .final-cta h2 { font-size: 2.8rem; } }
.final-cta .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }

/* ---- FOOTER ---- */
footer { background: var(--charcoal); color: #fff; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 80px 0 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media(min-width:900px){ .footer-top { grid-template-columns: repeat(2,1fr); gap: 40px; } }
@media(min-width:1280px){ .footer-top { grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1fr; gap: 32px; } }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 16px; max-width: 320px; line-height: 1.65; }
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 12px; font-weight: 600; transition: all 0.25s; }
.social-btn:hover { border-color: var(--bronze); color: var(--bronze); }
.footer-col h4 { margin-top: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 14px; }
.footer-contact li:first-child { margin-top: 18px; }
.footer-email { white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.footer-hub-address { white-space: nowrap; }
.footer-bottom { padding: 28px 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.35); text-align: center; }
@media(min-width:640px){ .footer-bottom { flex-direction: row; text-align: left; } }

/* ---- FLOATING CONTACT ---- */
#mobile-contact-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: rgba(17,19,23,0.96); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.08); display: grid; grid-template-columns: 1fr 1fr 1fr; }
@media(min-width:1024px){ #mobile-contact-bar { display: none; } }
#mobile-contact-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; color: rgba(255,255,255,0.8); font-size: 11px; }
#mobile-contact-bar a:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.08); border-right: 1px solid rgba(255,255,255,0.08); }

/* ---- WHATSAPP BUTTON ---- */
#desktop-whatsapp {
  display: none; position: fixed; bottom: 32px; right: 32px; z-index: 40;
  width: auto; height: 60px; border-radius: 0;
  background: transparent; color: #fff;
  align-items: center; justify-content: flex-end; gap: 8px;
  text-decoration: none;
}
.desktop-whatsapp-label {
  display: flex; align-items: center; height: 34px;
  padding: 0 14px; border-radius: 4px;
  background: rgba(255,255,255,0.96); color: var(--charcoal);
  font-size: 12px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(17,19,23,0.35);
}
.desktop-whatsapp-circle {
  width: 60px; height: 60px; flex: 0 0 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(37,211,102,0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.desktop-whatsapp-circle svg { width: 30px; height: 30px; }
#desktop-whatsapp:hover .desktop-whatsapp-circle { transform: scale(1.1); box-shadow: 0 12px 32px -4px rgba(37,211,102,0.55); }
@media(max-width:639px){
  #desktop-whatsapp{
    display:flex;
    width:56px;
    height:56px;
    right:16px;
    bottom:80px;
    border-radius:50%;
    background:#25d366;
    align-items:center;
    justify-content:center;
    padding:0;
  }

  .desktop-whatsapp-label{
    display:none;
  }

  .desktop-whatsapp-circle{
    width:56px;
    height:56px;
    border-radius:50%;
  }

  .desktop-whatsapp-circle svg{
    width:28px;
    height:28px;
  }
}

@media(min-width:1024px){
  #desktop-whatsapp{
    display:flex;
  }
}

/* ---- PROPERTY MEDIA PLACEHOLDER ---- */
.property-media-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 240px; background: linear-gradient(135deg,#f0ede7,#e8e4dc); color: var(--stone); text-align: center; padding: 24px; }
.property-media-placeholder.tall { min-height: 360px; }
.property-media-placeholder-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze); background: rgba(176,141,87,0.1); padding: 6px 14px; margin-bottom: 12px; }
.property-media-placeholder-text { font-size: 13px; }

/* ---- CONTACT MODAL ---- */
#contact-modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(17,19,23,0.55); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; }
#contact-modal-overlay.open { display: flex; }
@media(min-width:640px){ #contact-modal-overlay { align-items: center; padding: 40px 24px; } }
.contact-modal { background: #fff; width: 100%; max-width: 440px; box-shadow: 0 24px 64px -16px rgba(17,19,23,0.4); margin: auto; }
.contact-modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 28px 28px 0; }
.contact-modal-head h3 { font-size: 20px; margin-top: 8px; }
.contact-modal-close { padding: 6px; color: var(--stone); flex-shrink: 0; margin-left: 16px; transition: color 0.2s; }
.contact-modal-close:hover { color: var(--charcoal); }
.contact-modal-body { padding: 20px 28px 28px; }
.contact-phone-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ivory-dim); border: 1px solid rgba(17,19,23,0.06); padding: 16px 18px; margin-top: 4px; }
.contact-phone-row .contact-phone-number { font-family: 'Playfair Display', serif; font-size: 18px; }
.contact-copy-btn { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; padding: 8px 14px; border: 1px solid rgba(17,19,23,0.15); color: var(--charcoal); flex-shrink: 0; transition: all 0.2s; }
.contact-copy-btn:hover { border-color: var(--bronze); color: var(--bronze); }
.contact-copy-btn.copied { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.contact-actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.contact-actions-grid .btn { width: 100%; font-size: 13px; padding: 12px 16px; }
.contact-email-row { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; color: var(--charcoal); word-break: break-all; }

/* ---- VISIT MODAL ---- */
#visit-modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(17,19,23,0.55); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; }
#visit-modal-overlay.open { display: flex; }
@media(min-width:640px){ #visit-modal-overlay { align-items: center; padding: 40px 24px; } }
.visit-modal { background: #fff; width: 100%; max-width: 560px; box-shadow: 0 24px 64px -16px rgba(17,19,23,0.4); margin: auto; }
.visit-modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 28px 28px 0; }
.visit-modal-head h3 { font-size: 22px; margin-top: 8px; }
.visit-modal-head p { color: var(--stone); margin-top: 8px; font-size: 14px; line-height: 1.6; }
.visit-modal-close { padding: 6px; color: var(--stone); flex-shrink: 0; margin-left: 16px; transition: color 0.2s; }
.visit-modal-close:hover { color: var(--charcoal); }
.visit-modal-body { padding: 24px 28px 28px; }
.visit-field { margin-bottom: 20px; }
.visit-field label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.visit-field select,.visit-field input,.visit-field textarea { width: 100%; padding: 12px 14px; font-size: 14px; border: 1.5px solid rgba(17,19,23,0.1); background: #fff; color: var(--charcoal); border-radius: 0; transition: border-color 0.2s; font-family: inherit; }
.visit-field select:focus,.visit-field input:focus,.visit-field textarea:focus { outline: none; border-color: var(--bronze); }
.visit-field textarea { min-height: 80px; resize: vertical; }
.visit-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:480px){ .visit-row.two-col { grid-template-columns: 1fr; } }
.visit-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.visit-slot-btn { padding: 8px 14px; font-size: 12px; border: 1.5px solid rgba(17,19,23,0.12); color: var(--charcoal); transition: all 0.2s; cursor: pointer; background: #fff; }
.visit-slot-btn:hover:not(:disabled) { border-color: var(--bronze); color: var(--bronze); }
.visit-slot-btn.selected { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.visit-slot-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.visit-slots-hint { font-size: 12px; color: var(--stone); margin-top: 8px; }
.visit-status { display: none; font-size: 13px; padding: 12px 16px; margin-top: 16px; }
.visit-status.show { display: block; }
.visit-status.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.visit-status.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.visit-submit-row { margin-top: 20px; }
.visit-submit-row .btn { width: 100%; }
.visit-success-state { text-align: center; padding: 40px 20px; }
.visit-success-state svg { color: var(--bronze); margin-bottom: 16px; }
.visit-success-state h4 { font-size: 22px; margin-top: 8px; }
.visit-success-state p { color: var(--stone); margin-top: 12px; line-height: 1.6; }

/* ---- PROPERTY DETAIL ---- */
.property-hero-detail { position: relative; height: 60vh; min-height: 400px; overflow: hidden; }
.property-hero-detail-img { width: 100%; height: 100%; object-fit: cover; }
.property-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(17,19,23,0.2) 0%,rgba(17,19,23,0.7) 100%); }
.property-hero-detail-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 48px; }
.property-detail-layout { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media(min-width:900px){ .property-detail-layout { grid-template-columns: 1fr 340px; gap: 56px; } }
.property-sidebar { position: sticky; top: 120px; align-self: start; }
.property-sidebar-card { background: #fff; border: 1px solid rgba(17,19,23,0.06); padding: 28px; }
.price-label { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--stone); }
.price { font-size: 28px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(17,19,23,0.06); margin-top: 20px; }
.detail-row { background: #fff; padding: 14px 16px; }
.detail-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); display: block; margin-bottom: 4px; }
.detail-value { font-size: 14px; font-weight: 500; }
.highlight-list { list-style: none; padding: 0; margin-top: 16px; }
.highlight-list li { padding: 8px 0; border-bottom: 1px solid rgba(17,19,23,0.05); font-size: 14px; color: rgba(17,19,23,0.75); display: flex; align-items: flex-start; gap: 10px; }
.highlight-list li::before { content:""; width: 6px; height: 6px; background: var(--bronze); flex-shrink: 0; margin-top: 7px; }
.amenities-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.amenity-pill { font-size: 13px; padding: 8px 16px; background: var(--ivory-dim); color: var(--charcoal); }
.legal-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 40px; padding: 20px; background: var(--ivory-dim); font-size: 13px; color: var(--stone); line-height: 1.65; }

/* ---- GALLERY ---- */
.gallery-thumbs { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding-bottom: 8px; }
.gallery-thumb { flex-shrink: 0; width: 100px; height: 72px; overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color 0.2s; padding: 0; background: none; }
.gallery-thumb.active { border-color: var(--bronze); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---- LIGHTBOX ---- */
.lightbox-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(17,19,23,0.95); display: none; align-items: center; justify-content: center; }
.lightbox-overlay.open { display: flex; }
.lightbox-close { position: absolute; top: 20px; right: 20px; color: #fff; padding: 8px; z-index: 10; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; padding: 12px; z-index: 10; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
#lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 13px; letter-spacing: 0.05em; }

/* ---- ABOUT PAGE ---- */
.about-story { max-width: 760px; }
.about-story p + p { margin-top: 20px; }
.about-story p { line-height: 1.8; color: rgba(17,19,23,0.75); }
.founder-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; margin-top: 48px; }
@media(min-width:640px){ .founder-grid { flex-direction: row; align-items: flex-start; text-align: left; gap: 32px; } }
.founder-photo-col { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.founder-photo-frame { position: relative; width: 160px; height: 160px; border-radius: 50%; overflow: hidden; background: var(--ivory-dim); display: flex; align-items: center; justify-content: center; border: 3px solid var(--bronze-light); }
.founder-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo-accent { display: block; width: 40px; height: 3px; background: var(--bronze); margin-top: 16px; }
.founder-info { max-width: 520px; }
.founder-name-block { margin-bottom: 20px; }
.founder-name-block .name { font-size: 22px; }
.founder-name-block .role { font-size: 14px; color: var(--stone); margin-top: 4px; }
.founder-name-block .org { font-size: 13px; color: var(--bronze); margin-top: 2px; }
.founder-info > p { font-size: 15px; line-height: 1.75; color: rgba(17,19,23,0.7); }

.category-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width:640px){ .category-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .category-grid { grid-template-columns: 1fr 1fr 1fr; } }
.category-card { background: #fff; border: 1px solid rgba(17,19,23,0.05); padding: 28px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -12px rgba(17,19,23,0.12); }
.category-card-icon { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: rgba(176,141,87,0.08); border-radius: 50%; margin-bottom: 16px; }
.category-card h3 { font-size: 17px; margin-top: 0; }
.category-card p { font-size: 14px; color: var(--stone); margin-top: 8px; line-height: 1.65; }

.brand-strip-section { text-align: center; }
.brand-strip-section h2 { font-size: 2rem; margin-top: 12px; }
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.brand-strip-item { font-size: 13px; font-weight: 500; padding: 10px 20px; border: 1.5px solid rgba(17,19,23,0.12); color: var(--charcoal); }

.trust-section { background: var(--ivory-dim); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
@media(min-width:768px){ .trust-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.trust-card { background: #fff; padding: 32px; border: 1px solid rgba(17,19,23,0.05); }
.trust-id-row { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 16px; background: var(--ivory-dim); }
.trust-id-icon { flex-shrink: 0; color: var(--bronze); }
.trust-id-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.trust-id-value { font-family: 'Playfair Display', serif; font-size: 18px; margin-top: 4px; }
.trust-note { font-size: 13px; color: var(--stone); line-height: 1.7; margin-top: 16px; }
.trust-text p { font-size: 15px; line-height: 1.75; color: rgba(17,19,23,0.7); }

.approach-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
@media(min-width:640px){ .approach-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .approach-grid { grid-template-columns: repeat(4,1fr); } }
.approach-step { padding: 28px; border: 1px solid rgba(17,19,23,0.05); background: #fff; }
.approach-step .step-num { font-family: 'Playfair Display', serif; font-size: 40px; color: var(--bronze-light); font-weight: 500; }
.approach-step h3 { font-size: 15px; font-weight: 600; margin-top: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-family: 'Inter', sans-serif; }
.approach-step p { font-size: 14px; color: var(--stone); margin-top: 8px; line-height: 1.65; }

.serve-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media(min-width:640px){ .serve-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .serve-grid { grid-template-columns: repeat(4,1fr); } }
.serve-card { padding: 28px; border: 1px solid rgba(255,255,255,0.08); }
.serve-card h3 { font-size: 17px; }
.serve-card p { font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 8px; line-height: 1.65; }

.mission-vision-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width:768px){ .mission-vision-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.mission-vision-panel { padding: 40px; background: var(--ivory-dim); }
.mission-vision-panel h2 { font-size: 1.5rem; margin-top: 12px; }
.mission-vision-panel p { font-size: 15px; color: rgba(17,19,23,0.7); margin-top: 16px; line-height: 1.75; }

.founder-message-section { background: var(--ivory-dim); }
.founder-message-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 32px; align-items: start; }
@media(min-width:640px){ .founder-message-grid { grid-template-columns: auto 1fr; gap: 40px; } }
.founder-message-photo { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--ivory); display: flex; align-items: center; justify-content: center; color: var(--stone); flex-shrink: 0; border: 2px solid var(--bronze-light); }
.founder-message-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-message-quote { font-style: italic; }
.founder-message-quote p + p { margin-top: 16px; }
.founder-message-quote p { font-size: 16px; line-height: 1.8; color: rgba(17,19,23,0.75); }
.founder-message-sign { margin-top: 24px; font-size: 15px; font-weight: 600; }
.founder-message-sign span { display: block; font-size: 13px; font-weight: 400; color: var(--stone); margin-top: 2px; }

/* ---- EMI CALCULATOR ---- */
.emi-layout { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
@media(min-width:768px){ .emi-layout { grid-template-columns: 1fr 1fr; gap: 48px; } }
.emi-inputs-card { background: #fff; border: 1px solid rgba(17,19,23,0.05); padding: 32px; }
.emi-field { margin-bottom: 24px; }
.emi-field label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.emi-field input,.emi-field select { width: 100%; padding: 14px 16px; font-size: 15px; border: 1.5px solid rgba(17,19,23,0.1); background: #fff; color: var(--charcoal); font-family: inherit; transition: border-color 0.2s; }
.emi-field input:focus,.emi-field select:focus { outline: none; border-color: var(--bronze); }
.emi-loan-display { margin-top: 8px; padding: 14px 16px; background: var(--ivory-dim); border: 1px solid rgba(17,19,23,0.05); }
.emi-loan-display .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--stone); }
.emi-loan-display .value { font-family: 'Playfair Display', serif; font-size: 20px; margin-top: 4px; }
.emi-validation { font-size: 13px; color: #991b1b; margin-top: 8px; display: none; }
.emi-validation.show { display: block; }
.emi-reset-row { margin-top: 16px; }
.emi-results-card { background: var(--charcoal); color: #fff; padding: 36px; }
.emi-result-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); }
.emi-result-value { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-top: 8px; }
.emi-result-value span { font-size: 1rem; font-family: 'Inter', sans-serif; color: rgba(255,255,255,0.5); }
.emi-donut-wrap { display: flex; justify-content: center; margin: 32px 0; }
.emi-donut-wrap svg { width: 160px; height: 160px; }
.emi-donut-center { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 160px; height: 160px; }
.emi-donut-center .amt { font-family: 'Playfair Display', serif; font-size: 18px; }
.emi-donut-center .lbl { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.04em; }
.emi-donut-wrap { position: relative; }
.emi-legend { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; }
.emi-legend span { font-size: 13px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 8px; }
.emi-legend .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.emi-legend .dot.principal { background: var(--bronze-light); }
.emi-legend .dot.interest { background: rgba(255,255,255,0.35); }
.emi-legend strong { color: #fff; font-weight: 500; }
.emi-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.06); }
.emi-stats-grid > div { background: var(--charcoal); padding: 14px 16px; }
.emi-stats-grid .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); }
.emi-stats-grid .value { font-size: 14px; margin-top: 4px; font-weight: 500; }
.emi-affordability-note { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.65; margin-top: 20px; }
.emi-disclaimer { font-size: 12px; color: var(--stone); line-height: 1.65; margin-top: 32px; text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ---- SEARCH RESULTS ---- */
.property-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-tab { padding: 8px 18px; font-size: 13px; border: 1.5px solid rgba(17,19,23,0.12); color: var(--stone); transition: all 0.2s; cursor: pointer; background: transparent; }
.filter-tab:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter-tab.active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.property-filter-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 24px; }
.results-count { font-size: 14px; color: var(--stone); margin-bottom: 8px; }
.empty-state { text-align: center; padding: 64px 24px; }

/* ---- PROPERTY CARD ACTIONS ---- */
.property-card-actions { display: flex; gap: 8px; margin-top: 16px; }
.property-card-actions .btn { flex: 1 1 0; padding: 12px 14px; font-size: 12px; min-height: 44px; box-sizing: border-box; }

/* ---- COMING SOON ---- */
.coming-soon { text-align: center; padding: 140px 0 100px; }
.coming-soon h1 { font-size: 2rem; margin-top: 12px; }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- CONTACT PAGE ---- */
.contact-info-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
@media(min-width:640px){ .contact-info-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .contact-info-grid { grid-template-columns: repeat(4,1fr); gap: 24px; } }
.contact-info-card { display: block; background: #fff; border: 1px solid rgba(17,19,23,0.06); padding: 32px 26px; text-decoration: none; color: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.contact-info-card-link:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -14px rgba(17,19,23,0.14); border-color: rgba(176,141,87,0.3); }
.contact-info-icon { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; background: rgba(176,141,87,0.08); color: var(--bronze); border-radius: 50%; margin-bottom: 18px; }
.contact-info-card h3 { font-size: 16px; }
.contact-info-card p { font-size: 14px; color: var(--stone); margin-top: 6px; line-height: 1.6; }
.contact-social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.contact-social-row .eyebrow { margin-right: 4px; }
.contact-social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 13px; color: var(--charcoal); border: 1.5px solid rgba(17,19,23,0.14); text-decoration: none; transition: all 0.2s; }
.contact-social-btn:hover { border-color: var(--bronze); color: var(--bronze); }
.contact-enquiry-panel { background: #fff; border: 1px solid rgba(17,19,23,0.06); padding: 32px 24px; margin-top: 32px; max-width: 640px; }
@media(min-width:640px){ .contact-enquiry-panel { padding: 40px 44px; } }
.contact-enquiry-note { font-size: 13px; color: var(--stone); margin-top: 14px; line-height: 1.6; }
/* ===== MOBILE PROPERTY GRID FIX ===== */

@media (max-width: 639px) {

  .property-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .property-card {
    width: 100% !important;
    min-width: 0 !important;
  }

  .property-card-img {
    width: 100% !important;
  }

  .property-card-body {
    padding: 20px !important;
  }

}

/* ===== MOBILE PROPERTY DETAIL FIX ===== */

@media (max-width: 639px) {

  .property-detail-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    width: 100% !important;
  }

  .property-sidebar {
    position: static !important;
    width: 100% !important;
    order: 2 !important;
  }

  .property-sidebar-card {
    width: 100% !important;
    padding: 22px !important;
  }

  .property-detail {
    width: 100% !important;
  }

  .detail-grid {
    grid-template-columns: 1fr !important;
  }

  .detail-row {
    padding: 14px 16px !important;
  }

  .amenities-grid {
    gap: 6px !important;
  }

  .amenity-pill {
    font-size: 12px !important;
    padding: 8px 12px !important;
  }

}
/* ===== FINAL MOBILE UI FIXES ===== */

@media (max-width: 639px) {

  /* Mobile header */
  .header-inner {
    padding: 16px 18px !important;
    min-height: 64px;
  }

  .logo-wordmark {
    font-size: 24px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
  }

  .logo-link {
    max-width: calc(100vw - 60px);
    overflow: hidden;
  }

  /* Mobile bottom contact bar */
  #mobile-contact-bar {
    height: 64px !important;
  }

  #mobile-contact-bar a {
    height: 64px !important;
    padding: 8px 0 !important;
    gap: 3px !important;
    font-size: 11px !important;
  }

  #mobile-contact-bar a svg {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
  }

  /* Prevent the floating desktop WhatsApp from appearing
     separately on mobile */
  #desktop-whatsapp {
    display: none !important;
  }

}
/* =========================================================
   FINAL LORVEN REALTY — APPROVED UI POLISH
   ========================================================= */

/* =========================================================
   1. HEADER MUST SCROLL AWAY WITH THE PAGE
   ========================================================= */

#site-header,
#site-header.scrolled {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;

  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Do not shrink the header when the JS adds .scrolled */
#site-header.scrolled .header-inner {
  padding: 24px 24px;
}

@media (min-width: 1024px) {
  #site-header.scrolled .header-inner {
    padding: 27px 48px;
  }
}


/* =========================================================
   2. PROPERTIES + ENQUIRIES HEADER TEXT
   DARK TEXT — NO HEADER BACKGROUND
   ========================================================= */

body:has(#view-properties:not([style*="display: none"])) #site-header .topbar-item,
body:has(#view-enquiries:not([style*="display: none"])) #site-header .topbar-item {
  color: rgba(17,19,23,0.82);
}

body:has(#view-properties:not([style*="display: none"])) #site-header .topbar-item:hover,
body:has(#view-enquiries:not([style*="display: none"])) #site-header .topbar-item:hover {
  color: var(--charcoal);
}

body:has(#view-properties:not([style*="display: none"])) #site-header .topbar-social a,
body:has(#view-enquiries:not([style*="display: none"])) #site-header .topbar-social a {
  color: rgba(17,19,23,0.82);
}

body:has(#view-properties:not([style*="display: none"])) #site-header .topbar-social a:hover,
body:has(#view-enquiries:not([style*="display: none"])) #site-header .topbar-social a:hover {
  color: var(--bronze);
}

body:has(#view-properties:not([style*="display: none"])) #site-header .logo-wordmark,
body:has(#view-enquiries:not([style*="display: none"])) #site-header .logo-wordmark {
  color: var(--charcoal);
}

body:has(#view-properties:not([style*="display: none"])) #site-header nav.main-nav a,
body:has(#view-enquiries:not([style*="display: none"])) #site-header nav.main-nav a {
  color: rgba(17,19,23,0.72);
}

body:has(#view-properties:not([style*="display: none"])) #site-header nav.main-nav a:hover,
body:has(#view-enquiries:not([style*="display: none"])) #site-header nav.main-nav a:hover {
  color: var(--charcoal);
}

body:has(#view-properties:not([style*="display: none"])) #site-header nav.main-nav a.active,
body:has(#view-enquiries:not([style*="display: none"])) #site-header nav.main-nav a.active {
  color: var(--bronze);
  font-weight: 600;
}

body:has(#view-properties:not([style*="display: none"])) #site-header .hamburger,
body:has(#view-enquiries:not([style*="display: none"])) #site-header .hamburger {
  color: var(--charcoal);
}


/* =========================================================
   3. ENQUIRY PAGE — CLEAN TITLE POSITION
   ========================================================= */

#view-enquiries {
  padding-top: 128px;
}

#view-enquiries > .section.container:first-child {
  padding-top: 34px !important;
}

/* PROPERTY ENQUIRY */
#view-enquiries > .section.container:first-child .eyebrow {
  display: block;
  width: fit-content;
  margin: 0 auto;

  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.24em;

  text-align: center;
  color: var(--bronze);
}

/* Tell Us What You Are Looking For */
#view-enquiries > .section.container:first-child h2 {
  margin-top: 13px !important;
  text-align: center;
}

/* Description */
#view-enquiries > .section.container:first-child > p {
  max-width: 680px;

  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 22px !important;

  text-align: center;
  line-height: 1.75;
}


/* =========================================================
   4. ENQUIRY FORM — PREMIUM CLEAN UI
   ========================================================= */

#view-enquiries .contact-enquiry-panel {
  width: 100%;
  max-width: 900px;

  margin: 38px auto 0;
  padding: 38px 42px 34px;

  background: #fff;

  border: 1px solid rgba(17,19,23,0.06);

  box-shadow:
    0 20px 50px -20px rgba(17,19,23,0.16);
}

/* Form labels */
#view-enquiries .contact-enquiry-panel .visit-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--stone);
}

/* Inputs */
#view-enquiries .contact-enquiry-panel .visit-field input,
#view-enquiries .contact-enquiry-panel .visit-field select,
#view-enquiries .contact-enquiry-panel .visit-field textarea {
  min-height: 48px;

  padding: 12px 14px;

  border: 1.5px solid rgba(17,19,23,0.10);

  background: #fff;
}

/* Input hover */
#view-enquiries .contact-enquiry-panel .visit-field input:hover,
#view-enquiries .contact-enquiry-panel .visit-field select:hover,
#view-enquiries .contact-enquiry-panel .visit-field textarea:hover {
  border-color: rgba(176,141,87,0.45);
}

/* Input focus */
#view-enquiries .contact-enquiry-panel .visit-field input:focus,
#view-enquiries .contact-enquiry-panel .visit-field select:focus,
#view-enquiries .contact-enquiry-panel .visit-field textarea:focus {
  outline: none;

  border-color: var(--bronze);

  box-shadow:
    0 0 0 3px rgba(176,141,87,0.08);
}

/* Requirement dropdown */
#view-enquiries .contact-enquiry-panel #enquiry-category {
  min-height: 50px;
  font-weight: 500;
}

/* Dynamic fields divider */
#view-enquiries .contact-enquiry-panel #enquiry-dynamic-fields {
  margin-top: 4px;
  padding-top: 20px;

  border-top: 1px solid rgba(17,19,23,0.07);
}

/* Submit button */
#view-enquiries .contact-enquiry-panel .visit-submit-row {
  margin-top: 22px;
}

#view-enquiries .contact-enquiry-panel .visit-submit-row .btn {
  width: 100%;
  min-height: 52px;
}

/* Enquiry note */
#view-enquiries .contact-enquiry-panel .contact-enquiry-note {
  text-align: center;
  margin-top: 14px;
}


/* =========================================================
   5. WHATSAPP — EXACT REFERENCE STYLE
   ========================================================= */

@media (min-width: 640px) {

  #desktop-whatsapp {
    display: flex;

    right: 32px;
    bottom: 24px;

    width: auto;
    height: 60px;

    gap: 8px;

    background: transparent;
    box-shadow: none;
  }

  /* White text box */
  .desktop-whatsapp-label {
    display: flex;
    align-items: center;

    height: 34px;

    padding: 0 14px;

    margin: 0;

    border-radius: 4px;

    background: rgba(255,255,255,0.96);
    color: var(--charcoal);

    font-size: 12px;
    font-weight: 500;

    white-space: nowrap;

    box-shadow:
      0 6px 18px -8px rgba(17,19,23,0.35);
  }

  /* Green circular WhatsApp button */
  .desktop-whatsapp-circle {
    width: 60px;
    height: 60px;

    flex: 0 0 60px;

    border-radius: 50%;

    background: #25d366;
    color: #fff;

    box-shadow:
      0 8px 24px -4px rgba(37,211,102,0.40);
  }

  .desktop-whatsapp-circle svg {
    width: 30px;
    height: 30px;
  }
}


/* =========================================================
   6. MOBILE ENQUIRY PAGE
   ========================================================= */

@media (max-width: 639px) {

  #view-enquiries {
    padding-top: 82px;
  }

  #view-enquiries > .section.container:first-child {
    padding-top: 26px !important;
  }

  #view-enquiries > .section.container:first-child .eyebrow {
    font-size: 13px;
    letter-spacing: 0.20em;
  }

  #view-enquiries > .section.container:first-child h2 {
    margin-top: 11px !important;

    font-size: 2rem;
    line-height: 1.2;
  }

  #view-enquiries > .section.container:first-child > p {
    margin-top: 18px !important;

    font-size: 14px;
  }

  #view-enquiries .contact-enquiry-panel {
    margin-top: 28px;

    padding: 26px 20px 24px;
  }
}
/* =========================================================
   LANDING PAGE HEADER — ALWAYS WHITE
   ========================================================= */

body:has(#view-home:not([style*="display: none"])) #site-header .topbar-item,
body:has(#view-home:not([style*="display: none"])) #site-header .topbar-item:hover {
  color: rgba(255,255,255,0.85) !important;
}

body:has(#view-home:not([style*="display: none"])) #site-header .topbar-social a,
body:has(#view-home:not([style*="display: none"])) #site-header .topbar-social a:hover {
  color: rgba(255,255,255,0.95) !important;
}

body:has(#view-home:not([style*="display: none"])) #site-header .logo-wordmark {
  color: #fff !important;
}

body:has(#view-home:not([style*="display: none"])) #site-header nav.main-nav a,
body:has(#view-home:not([style*="display: none"])) #site-header nav.main-nav a:hover,
body:has(#view-home:not([style*="display: none"])) #site-header nav.main-nav a.active {
  color: #fff !important;
}

body:has(#view-home:not([style*="display: none"])) #site-header .hamburger {
  color: #fff !important;
}