/* ==========================================================================
   ONEST SPACE — PUBLIC WEBSITE STYLESHEET
   Premium Minimalist Corporate & Architectural Editorial Presentation
   ========================================================================== */

.container-xl {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1024px) {
  .container-xl {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Top Utility Strip */
.top-utility-bar {
  background: #FAF8F4;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--ink-secondary);
}

/* Sticky Glass Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s var(--ease-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

/* Desktop Nav Links & Dropdowns */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink-primary);
  background: var(--bg-warm);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--brand-bronze);
  border-radius: 99px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 248px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s var(--ease-smooth);
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-primary);
  transition: background 0.15s ease;
}

.nav-dropdown-item:hover {
  background: var(--bg-warm);
}

/* Primary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.45rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s var(--ease-smooth);
  line-height: 1.2;
}

.btn-sm {
  padding: 0.52rem 1rem;
  font-size: 0.8125rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 0.9375rem;
}

.btn-primary {
  background: var(--ink-primary);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: #1F2E3D;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-designo {
  background: var(--designo-primary);
  color: #FFFFFF;
}
.btn-designo:hover {
  background: #805218;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(154, 102, 35, 0.24);
}

.btn-realty {
  background: var(--realty-primary);
  color: #FFFFFF;
}
.btn-realty:hover {
  background: #1B324A;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 66, 97, 0.24);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--ink-primary);
  border-color: var(--border-light);
}
.btn-outline:hover {
  border-color: var(--ink-primary);
  background: var(--bg-warm);
}

.btn-outline-designo {
  background: transparent;
  color: var(--designo-primary);
  border-color: var(--designo-border);
}
.btn-outline-designo:hover {
  background: var(--designo-tint);
  border-color: var(--designo-primary);
}

.btn-outline-realty {
  background: transparent;
  color: var(--realty-primary);
  border-color: var(--realty-border);
}
.btn-outline-realty:hover {
  background: var(--realty-tint);
  border-color: var(--realty-primary);
}

/* Badges & Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-bronze);
}

.eyebrow-designo { color: var(--designo-primary); }
.eyebrow-realty { color: var(--realty-primary); }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.pill-designo {
  background: var(--designo-tint);
  color: var(--designo-primary);
  border: 1px solid var(--designo-border);
}

.pill-realty {
  background: var(--realty-tint);
  color: var(--realty-primary);
  border: 1px solid var(--realty-border);
}

.pill-neutral {
  background: var(--bg-warm);
  color: var(--ink-secondary);
  border: 1px solid var(--border-light);
}

/* Architectural Cards */
.card-elevated {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth), border-color 0.28s ease;
}

.card-elevated:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #D7CFC1;
}

/* Hero Architectural Frame */
.hero-editorial {
  background: linear-gradient(180deg, #FAF8F4 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-designo {
  background: linear-gradient(135deg, #FBF7F0 0%, #FFFFFF 60%, #F5F7F1 100%);
  border-bottom: 1px solid var(--designo-border);
}

.hero-realty {
  background: linear-gradient(135deg, #F2F6FA 0%, #FFFFFF 60%, #F8F6F2 100%);
  border-bottom: 1px solid var(--realty-border);
}

/* Clean Section Spacing */
.section-pad {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 1024px) {
  .section-pad {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

/* Video Lazy Thumbnail Container */
.video-thumb-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #EAE5DC;
  cursor: pointer;
}

.video-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-smooth);
}

.video-thumb-card:hover img {
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 25, 33, 0.26);
  transition: background 0.25s ease;
}

.video-thumb-card:hover .video-play-btn {
  background: rgba(16, 25, 33, 0.38);
}

.video-play-circle {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease-smooth);
}

.video-thumb-card:hover .video-play-circle {
  transform: scale(1.08);
}

/* Forms */
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 0.35rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--ink-primary);
  background: #FFFFFF;
  border: 1px solid #D9D3C8;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-bronze);
  box-shadow: 0 0 0 3px rgba(168, 116, 42, 0.14);
}

/* Subtle Reveal Animation */
@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUpSoft 0.4s var(--ease-smooth) forwards;
}

/* Floating WhatsApp & Compare Bar */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.15rem;
  background: #1FA855;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(31, 168, 85, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 168, 85, 0.42);
}

/* Policy Prose Typography */
.prose-clean h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose-clean h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
}
.prose-clean p {
  color: var(--ink-secondary);
  margin-bottom: 0.9rem;
}
.prose-clean ul,
.prose-clean ol {
  color: var(--ink-secondary);
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}
.prose-clean li {
  margin-bottom: 0.4rem;
}
.prose-clean table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}
.prose-clean th,
.prose-clean td {
  border: 1px solid var(--border-light);
  padding: 0.65rem 0.85rem;
  text-align: left;
}
.prose-clean th {
  background: var(--bg-warm);
  font-weight: 600;
  color: var(--ink-primary);
}

/* Modal Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(16, 25, 33, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Honeypot Field Hidden from Humans */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   HOME PAGE — DUAL-UNIVERSE INTERACTIVE ARCHITECTURAL STUDIO
   ========================================================================== */
.home-studio-shell {
  background: linear-gradient(145deg, #0E1721 0%, #131F2C 52%, #19222B 100%);
  border: 1px solid rgba(216, 161, 75, 0.22);
  box-shadow: 0 28px 64px -18px rgba(10, 17, 25, 0.42);
}

.studio-grid-bg {
  background-image:
    radial-gradient(circle at 22% 28%, rgba(37, 99, 235, 0.14), transparent 46%),
    radial-gradient(circle at 82% 76%, rgba(216, 161, 75, 0.16), transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 34px 34px, 34px 34px;
}

@keyframes pulseRingGold {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.9; }
  70% { transform: translate(-50%, -50%) scale(2.15); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(2.15); opacity: 0; }
}

.radar-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 12;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), z-index 0.1s;
}

.radar-pin:hover {
  transform: translate(-50%, -56%) scale(1.07);
  z-index: 25;
}

.radar-pin.is-active {
  transform: translate(-50%, -56%) scale(1.1);
  z-index: 30;
}

.radar-pin .pin-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid #F0B85A;
  pointer-events: none;
  animation: pulseRingGold 2.1s infinite ease-out;
}

/* Before / After Draggable Interior Visualizer */
.ba-stage {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.ba-after-img {
  transition: filter 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ba-stage.mood-evening .ba-after-img {
  filter: brightness(0.86) contrast(1.09) saturate(1.16) sepia(0.14);
}

.ba-evening-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 18%, rgba(255, 198, 112, 0.26) 0%, rgba(255, 166, 77, 0.08) 42%, rgba(12, 18, 28, 0.36) 100%);
  transition: opacity 0.45s ease;
}

.ba-stage.mood-evening .ba-evening-glow {
  opacity: 1;
}

.ba-before-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1B2430;
}

.ba-before-img {
  filter: grayscale(1) contrast(1.18) brightness(0.58);
}

.ba-blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(147, 197, 253, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(240, 184, 90, 0.4), #F0B85A, rgba(240, 184, 90, 0.4));
  box-shadow: 0 0 18px rgba(240, 184, 90, 0.85);
  z-index: 20;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #101921;
  border: 2px solid #F0B85A;
  color: #F0B85A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   3D PUNE INTERACTIVE MAP PROPERTY EXPLORER (/explore-properties)
   Inspired by 3D Architectural Flat Finder — Dark Obsidian & Champagne Gold
   ========================================================================== */
.map-explorer-shell {
  position: relative;
  display: flex;
  min-height: calc(100vh - 118px);
  height: calc(100vh - 118px);
  background: #0B1118;
  color: #F8FAFC;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1023px) {
  .map-explorer-shell {
    flex-direction: column;
    height: auto;
    min-height: 820px;
  }
}

.explorer-sidebar {
  width: 356px;
  flex-shrink: 0;
  background: rgba(13, 19, 28, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .explorer-sidebar {
    width: 100%;
    max-height: 460px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.explorer-scroll {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 161, 75, 0.35) transparent;
}

.explorer-scroll::-webkit-scrollbar {
  width: 5px;
}
.explorer-scroll::-webkit-scrollbar-thumb {
  background: rgba(216, 161, 75, 0.35);
  border-radius: 99px;
}

.exp-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.6rem 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #94A3B8;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exp-type-btn:hover {
  border-color: rgba(240, 184, 90, 0.45);
  color: #F8FAFC;
}

.exp-type-btn.active {
  background: linear-gradient(135deg, rgba(216, 161, 75, 0.22), rgba(154, 102, 35, 0.18));
  border-color: #F0B85A;
  color: #FDE6B8;
  box-shadow: 0 0 16px rgba(216, 161, 75, 0.22);
}

.exp-chip {
  padding: 0.32rem 0.65rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.04);
  color: #CBD5E1;
  cursor: pointer;
  transition: all 0.18s ease;
}

.exp-chip:hover {
  border-color: rgba(240, 184, 90, 0.5);
  color: #FFFFFF;
}

.exp-chip.active {
  background: #D8A14B;
  border-color: #F0B85A;
  color: #0B1118;
  font-weight: 700;
}

.exp-layer-chip.active-metro {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38BDF8;
  color: #BAE6FD;
}

.exp-layer-chip.active-express {
  background: rgba(245, 158, 11, 0.18);
  border-color: #F59E0B;
  color: #FDE68A;
}

.exp-layer-chip.active-hub {
  background: rgba(52, 211, 153, 0.18);
  border-color: #34D399;
  color: #A7F3D0;
}

/* Range slider */
.exp-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.exp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #F0B85A;
  border: 2px solid #0B1118;
  box-shadow: 0 0 12px rgba(240, 184, 90, 0.8);
  cursor: pointer;
}

/* Map Stage */
.explorer-map-stage {
  position: relative;
  flex: 1;
  min-height: 560px;
  background: #0B1118;
}

/* Custom Glowing 3D MapLibre Markers (inner wrapper keeps MapLibre transform/position intact!) */
.onest-map-pin-wrap {
  cursor: pointer;
  z-index: 15;
}

.onest-map-pin-wrap.is-selected,
.onest-map-pin-wrap:hover {
  z-index: 32;
}

.onest-map-pin-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: bottom center;
}

.onest-map-pin-wrap:hover .onest-map-pin-inner,
.onest-map-pin-wrap.is-selected .onest-map-pin-inner {
  transform: scale(1.12) translateY(-3px);
}

.onest-pin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  background: rgba(14, 23, 33, 0.92);
  border: 1.5px solid #F0B85A;
  color: #FFF8EB;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), 0 0 14px rgba(240, 184, 90, 0.35);
  backdrop-filter: blur(8px);
}

.onest-map-pin-wrap.type-commercial .onest-pin-pill {
  border-color: #38BDF8;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), 0 0 14px rgba(56, 189, 248, 0.35);
}

.onest-map-pin-wrap.type-plots .onest-pin-pill {
  border-color: #34D399;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), 0 0 14px rgba(52, 211, 153, 0.35);
}

.onest-map-pin-wrap.is-selected .onest-pin-pill {
  background: #F0B85A;
  color: #0B1118;
  border-color: #FFFFFF;
  box-shadow: 0 0 28px rgba(240, 184, 90, 0.9);
}

.onest-pin-stem {
  width: 2px;
  height: 12px;
  background: linear-gradient(180deg, #F0B85A, rgba(240, 184, 90, 0.15));
}

.onest-pin-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #F0B85A;
  box-shadow: 0 0 14px #F0B85A;
}

.onest-hq-pin {
  padding: 0.22rem 0.5rem;
  border-radius: 7px;
  background: rgba(154, 102, 35, 0.94);
  border: 1px solid #FDE68A;
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  z-index: 10;
}

/* Right Slide-Over Dossier Drawer (positioned cleanly between top toolbar and bottom WhatsApp FAB) */
.explorer-dossier {
  position: absolute;
  top: 4.35rem;
  right: 1rem;
  bottom: 4.65rem;
  width: min(386px, calc(100% - 2rem));
  background: rgba(13, 19, 28, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(240, 184, 90, 0.32);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  z-index: 35;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(115%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.explorer-dossier.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* MapLibre UI polish for dark architectural map */
.maplibregl-ctrl-group {
  background: rgba(13, 19, 28, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  overflow: hidden;
}
.maplibregl-ctrl-group button {
  filter: invert(0.92);
}
.maplibregl-ctrl-attrib {
  background: rgba(11, 17, 24, 0.72) !important;
  color: #94A3B8 !important;
  font-size: 10px !important;
}
.maplibregl-ctrl-attrib a {
  color: #CBD5E1 !important;
}
