@import url('https://api.fontshare.com/v2/css?f[]=chillax@500&display=swap');

:root {
  --accent-color: #ff6b35;
  --accent-color-rgb: 255, 107, 53;
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-headline: 'Chillax', sans-serif;
}

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

.lucide-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

body {
  font-family: var(--font-family);
  background: #000;
  color: #fff;
  overflow: hidden;
}

.top-bar {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 6px 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  height: 44px;
}

.floating-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.top-bar-divider {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.floating-contact-btn {
  font-family: var(--font-family);
  position: fixed;
  top: 20px;
  right: 76px;
  height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: none;
  color: #000;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-contact-btn:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.spinner-breadcrumb {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: none;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 6px 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: var(--font-family);
  max-width: calc(100vw - 280px);
  height: 44px;
}

.spinner-breadcrumb.visible {
  display: flex;
}

.spinner-breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.spinner-breadcrumb-toggle {
  display: none;
}

.spinner-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.spinner-breadcrumb-link {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  display: block;
  border: none;
  background: none;
  font-family: inherit;
  line-height: 1.3;
}

.spinner-breadcrumb-link:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
}

.spinner-breadcrumb-current {
  font-weight: 700;
  color: #111 !important;
  cursor: default;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.spinner-breadcrumb-current:hover {
  color: #111 !important;
  background: #fff;
}

.spinner-breadcrumb-sep {
  color: #bbb;
  font-size: 11px;
  padding: 0 2px;
  flex-shrink: 0;
  user-select: none;
}

.spinner-breadcrumb-children {
  display: flex;
  align-items: center;
  gap: 2px;
}

.spinner-breadcrumb-child {
  color: #888 !important;
  font-weight: 400 !important;
  font-style: italic;
  background: none !important;
  cursor: pointer !important;
}

.spinner-breadcrumb-child:hover {
  color: #000 !important;
  background: rgba(0, 0, 0, 0.06) !important;
}

@media (max-width: 768px) {
  .spinner-breadcrumb {
    /* Second row: sit below the 38px top-bar (top:12px) instead of fighting
       the logo/Filters and Call-me buttons for the same horizontal line. */
    top: 58px;
    bottom: auto;
    left: 12px;
    right: auto;
    transform: none;
    justify-content: flex-start;
    max-width: calc(100vw - 24px);
    width: auto;
    padding: 0;
    border-radius: 10px;
    height: 38px;
    overflow: visible;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
  }

  .spinner-breadcrumb-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    max-width: 100%;
    padding: 0 12px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
  }

  .spinner-breadcrumb-toggle-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .spinner-breadcrumb-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #555;
    transition: transform 0.2s;
  }

  .spinner-breadcrumb-chevron .lucide-icon {
    width: 16px;
    height: 16px;
  }

  .spinner-breadcrumb.open .spinner-breadcrumb-chevron {
    transform: rotate(180deg);
  }

  .spinner-breadcrumb-trail {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 200px;
    max-width: calc(100vw - 24px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    display: none;
  }

  .spinner-breadcrumb.open .spinner-breadcrumb-trail {
    display: flex;
  }

  .spinner-breadcrumb-item {
    width: 100%;
  }

  .spinner-breadcrumb-children {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .spinner-breadcrumb-sep {
    display: none;
  }

  .spinner-breadcrumb-link {
    font-size: 13px;
    padding: 8px 10px;
    max-width: none;
    width: 100%;
    text-align: left;
  }
}

#filter-panel {
  position: fixed;
  top: 0;
  left: -420px;
  width: 420px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(40px);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
}

#filter-panel.open {
  left: 0;
}

.filter-panel-list-view {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 20px;
}

.filter-panel-detail-view {
  flex: 1;
  overflow-y: auto;
}

.filter-unit-count-section {
  margin-bottom: 0 !important;
  padding-bottom: 0;
}

.filter-unit-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-unit-count {
  font-family: var(--font-family);
  font-size: 14px;
  color: #555;
  padding: 0 4px;
}

.filter-unit-count strong {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.view-toggle {
  display: flex;
  gap: 4px;
}

.view-toggle-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: all 0.2s;
  padding: 0;
}

.view-toggle-btn:hover {
  border-color: rgba(0,0,0,0.25);
  color: #555;
}

.view-toggle-btn.active {
  border-color: #000;
  color: #000;
  background: rgba(0,0,0,0.04);
}

.unit-card-wrap {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.unit-card {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
  background: #fff;
  display: flex;
  flex-direction: row;
  min-height: 80px;
}

.unit-card:hover {
  border-color: rgba(0,0,0,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.unit-card-body {
  padding: 14px 16px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.unit-card-image-col {
  width: 160px;
  flex-shrink: 0;
  position: relative;
}

.unit-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #f5f5f5;
}

.unit-card-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 12px;
  font-family: var(--font-family);
}

.unit-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 10px;
}

.unit-card-type {
  font-family: var(--font-family);
  font-size: 13px;
  color: #777;
}

.unit-card-name {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.unit-card-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.unit-card-status-dot.available { background: #2e7d32; }
.unit-card-status-dot.sold { background: #c62828; }
.unit-card-status-dot.reserved { background: #e65100; }

.unit-card-status {
  font-family: var(--font-family);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
}

.unit-card-status.available { color: #2e7d32; background: #e8f5e9; }
.unit-card-status.sold { color: #c62828; background: #ffebee; }
.unit-card-status.reserved { color: #e65100; background: #fff3e0; }

.unit-card-specs {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-family);
  font-size: 13px;
  color: #444;
}

.unit-card-spec-label {
  color: #888;
}

.unit-card-spec-value {
  font-weight: 600;
  color: #000;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(40px);
  z-index: 2;
}

.filter-header-title {
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.filter-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-reset-btn {
  font-family: var(--font-family);
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: transparent;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-reset-btn:hover {
  background: #f5f5f5;
  color: #333;
  border-color: #bbb;
}

.filter-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

#filter-toggle {
  font-family: var(--font-family);
  height: 30px;
  padding: 0 12px;
  background: none;
  border: none;
  color: #555;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

#filter-toggle.has-active-filters {
}

.filter-count-badge {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

#filter-toggle:hover {
  background: rgba(255, 255, 255, 1);
  color: #000;
}

#filter-toggle.open {
  opacity: 0;
  pointer-events: none;
}

.filter-icon {
  width: 20px;
  height: 20px;
}

#fullscreen-toggle {
  font-family: var(--font-family);
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: none;
  color: #000;
  border-radius: 12px;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

#fullscreen-toggle:hover {
  background: rgba(255, 255, 255, 1);
}

#fullscreen-toggle .fs-icon {
  width: 20px;
  height: 20px;
}

#fullscreen-toggle .fs-icon-collapse {
  display: none;
}

#fullscreen-toggle.is-fullscreen .fs-icon-expand {
  display: none;
}

#fullscreen-toggle.is-fullscreen .fs-icon-collapse {
  display: block;
}

.filter-section {
  margin-bottom: 16px;
  padding: 0 20px;
  flex-shrink: 0;
}

.filter-title {
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #000;
}

.bedroom-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bedroom-btn {
  font-family: var(--font-family);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.15);
  background: white;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.bedroom-btn:hover {
  border-color: rgba(0, 0, 0, 0.4);
  background: #f9f9f9;
}

.bedroom-btn.active {
  border-color: #000;
  background: #000;
  color: #fff;
}

.bedroom-btn.any {
  width: auto;
  padding: 0 18px;
  border-radius: 22px;
}

.budget-range-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.budget-tag {
  font-family: var(--font-family);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

.slider-container {
  margin-top: 16px;
}

.dual-range-slider {
  position: relative;
  height: 40px;
}

.dual-range-slider input[type="range"] {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border: 3px solid white;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: rgba(0, 0, 0, 0.15);
  width: 100%;
  border-radius: 2px;
}

.slider-range-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #000;
  border-radius: 2px;
}

.price-inputs {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.price-input-group {
  flex: 1;
}

.price-input-label {
  font-family: var(--font-family);
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.price-input {
  font-family: var(--font-family);
  width: 100%;
  padding: 10px 12px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  color: #000;
  font-size: 14px;
}

.price-input:focus {
  outline: none;
  border-color: #000;
}

.floor-section {
  margin-top: 32px;
}

.floor-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.floor-btn {
  font-family: var(--font-family);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: white;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.floor-btn:hover {
  background: #f5f5f5;
}

.floor-btn.active {
  background: #000;
  color: white;
  border-color: #000;
}

.floor-btn.any {
  width: auto;
  padding: 0 16px;
  border-radius: 20px;
}

#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

#splash.hidden {
  opacity: 0;
  pointer-events: none;
}

.splash-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.05);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.splash-frame.loaded {
  opacity: 1;
}

.splash-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: none;
}

.splash-media.active {
  display: block;
}

.splash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.splash-logo {
  display: none;
}

.splash-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  object-fit: contain;
  z-index: 3;
  animation: logoPulse 2s ease-in-out infinite;
  display: none;
}

.splash-center-logo.loaded {
  display: block;
  opacity: 1;
}

@keyframes logoPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.7;
  }
}

.splash-discover-btn {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  border: none;
  border-radius: 12px;
  padding: 14px 48px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  animation: discoverFadeIn 0.6s ease 0.5s forwards;
}

.splash-discover-btn:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25);
}

.splash-discover-btn:active {
  transform: translateX(-50%) scale(0.97);
}

@keyframes discoverFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.splash-discover-btn.loading {
  color: transparent;
  pointer-events: none;
}

.splash-discover-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2.5px solid rgba(0, 0, 0, 0.15);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: discoverSpin 0.6s linear infinite;
}

@keyframes discoverSpin {
  to { transform: rotate(360deg); }
}

#error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ff5252;
  display: none;
}

#error.show {
  display: block;
}

.hidden {
  display: none !important;
}

#tooltip {
  position: fixed;
  display: none;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  min-width: 240px;
  max-width: 280px;
  z-index: 999;
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

#tooltip.show {
  display: block;
}

.tooltip-loading {
  font-family: var(--font-family);
  padding: 20px;
  text-align: center;
  color: #666;
}

.tooltip-content {
  display: flex;
  flex-direction: column;
}

.tooltip-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #f5f5f5;
  display: block;
}

.tooltip-body {
  padding: 16px;
}

.tooltip-status-badge {
  font-family: var(--font-family);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.08);
  color: #666;
}

.tooltip-status-badge.construction {
  background: rgba(0, 0, 0, 0.08);
  color: #666;
}

.tooltip-status-badge.sold {
  background: #ffebee;
  color: #c62828;
}

.tooltip-status-badge.reserved {
  background: #fff3e0;
  color: #e65100;
}

.tooltip-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tooltip-unit-name {
  flex: 1;
}

.tooltip-sold-badge {
  display: none;
}

.tooltip-specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.tooltip-spec {
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
}

.tooltip-spec-icon {
  width: 16px;
  opacity: 0.6;
}

.tooltip-details {
  display: none;
}

.tooltip-price {
  display: none;
}

.benefit-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.benefit-lightbox.active {
  display: block;
}

.benefit-lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.benefit-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.benefit-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
  pointer-events: none;
}

.benefit-lightbox-label {
  position: absolute;
  top: 40px;
  left: 40px;
  font-family: var(--font-headline);
  color: white;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  max-width: 60%;
  z-index: 1;
}

.benefit-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10001;
}

.benefit-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.1);
}

.benefit-marker-compact {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: padding 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Expand the pill (reveal the label) on hover */
.benefit-marker:hover .benefit-marker-compact {
  padding-right: 16px;
}

.benefit-marker-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 16px;
  flex-shrink: 0;
}

.benefit-marker-label {
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
  max-width: 0;
  min-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              margin-left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.25s ease;
}

.benefit-marker:hover .benefit-marker-label {
  max-width: 240px;
  margin-left: 8px;
  opacity: 1;
}

.gallery-lightbox {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 1);
  z-index: 10001;
  flex-direction: column;
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-main {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-counter {
  font-family: var(--font-family);
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  z-index: 10;
}

.gallery-nav-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 10;
}

.gallery-nav {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.gallery-thumbnails {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 24px;
  max-width: 80%;
  z-index: 10;
}

.gallery-thumb {
  width: 60px;
  height: 45px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.gallery-thumb:hover {
  opacity: 0.8;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: white;
}

#unit-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#unit-modal.visible {
  display: block;
}

#unit-modal.open {
  opacity: 1;
  transform: scale(1);
}

#unit-modal.closing {
  opacity: 0;
  transform: scale(0.96);
  transition-duration: 0.35s;
}

.modal-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 24px;
}

.modal-loader-spinner {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-top-color: #000;
  border-radius: 50%;
  animation: modalSpin 0.8s linear infinite;
}

@keyframes modalSpin {
  to {
    transform: rotate(360deg);
  }
}

.modal-loader-text {
  font-family: var(--font-family);
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.modal-content {
  background: #fff;
  max-width: 100%;
  margin: 0;
  padding: 24px 120px 0;
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-back {
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  padding: 8px 0;
}

.modal-back:hover {
  color: #000;
}

.modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  border-radius: 50%;
  color: #333;
  font-size: 24px;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.12);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.gallery-main {
  position: relative;
  height: 500px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.gallery-status-badge {
  font-family: var(--font-family);
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gallery-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gallery-status-badge.available { color: #2e7d32; }
.gallery-status-badge.available .gallery-status-dot { background: #2e7d32; }
.gallery-status-badge.sold { color: #c62828; }
.gallery-status-badge.sold .gallery-status-dot { background: #c62828; }
.gallery-status-badge.reserved { color: #e65100; }
.gallery-status-badge.reserved .gallery-status-dot { background: #e65100; }

.gallery-side {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  height: 500px;
}

.gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-side img:hover {
  opacity: 0.9;
}

.gallery-side-item {
  position: relative;
  overflow: hidden;
}

.gallery-view-all {
  font-family: var(--font-family);
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 20px;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-view-all:hover {
  background: white;
}

.unit-header {
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.unit-header-left {
  flex: 1;
}

.unit-title {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 500;
  color: #000;
  margin-bottom: 8px;
}

.unit-price-range {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.unit-price-sqm {
  font-family: var(--font-family);
  font-size: 14px;
  color: #666;
}

.inquire-btn {
  font-family: var(--font-family);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #000;
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.inquire-btn:hover {
  background: #222;
}

.unit-stats {
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin: 0 auto 32px;
  padding: 24px 0;
}

.unit-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.unit-stat-icon {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

.unit-stat-text {
  display: flex;
  flex-direction: column;
}

.unit-stat-label {
  font-family: var(--font-family);
  font-size: 13px;
  color: #666;
}

.unit-stat-value {
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  color: #000;
}

.section {
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.section-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #000;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.detail-icon {
  width: 24px;
  height: 24px;
  opacity: 0.5;
  flex-shrink: 0;
}

.detail-icon-lucide {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.detail-text {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

.detail-value {
  font-family: var(--font-family);
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.location-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
}

.location-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  opacity: 0.5;
  flex-shrink: 0;
  color: #000;
}

.location-label {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

.location-value {
  font-family: var(--font-family);
  font-size: 13px;
  color: #666;
  text-decoration: underline;
  cursor: pointer;
}

.floorplan-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
  max-width: 1200px;
}

.floorplan-slider {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.floorplan-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  flex: 1;
  min-height: 500px;
}

.floorplan-slides {
  display: flex;
  transition: transform 0.3s ease;
}

.floorplan-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floorplan-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  cursor: pointer;
}

.floorplan-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.floorplan-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.floorplan-nav.prev {
  left: 12px;
}

.floorplan-nav.next {
  right: 12px;
}

.floorplan-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.floorplan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.floorplan-dot.active {
  background: #000;
}

.area-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.area-info-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin-bottom: 8px;
}

.area-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.area-label {
  font-family: var(--font-family);
  font-size: 14px;
  color: #333;
}

.area-value {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.modal-footer {
  position: relative;
  margin-top: 40px;
  margin-left: -120px;
  margin-right: -120px;
  width: calc(100% + 240px);
}

.modal-footer-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.modal-footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  padding: 60px 80px;
}

.modal-footer:not(:has(.modal-footer-image)) {
  background: #1a1a1a;
}

.modal-footer:not(:has(.modal-footer-image)) .modal-footer-overlay {
  position: relative;
  background: none;
  backdrop-filter: none;
}

.modal-footer-info {
  color: white;
  flex: 1;
}

.modal-footer-logo {
  height: 56px;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
}

.modal-footer-address {
  font-family: var(--font-family);
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 12px;
}

.modal-footer-form .footer-form-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 24px;
}

.modal-footer-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

.modal-footer-form .form-row .form-group {
  margin-bottom: 0;
}

.modal-footer-form .form-group input {
  font-family: var(--font-family);
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.2s;
  box-sizing: border-box;
}

.modal-footer-form .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.modal-footer-form .form-group input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  outline: none;
}

.modal-footer-form .submit-btn {
  font-family: var(--font-family);
  width: 100%;
  margin-top: 16px;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-footer-form .submit-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.similar-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.similar-card {
  flex: 0 0 280px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.similar-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.similar-card-image {
  position: relative;
  height: 180px;
}

.similar-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.similar-card-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
}

.similar-card-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.similar-card-badge .green {
  background: #4caf50;
}

.similar-card-badge .orange {
  background: #ff9800;
}

.similar-card-info {
  padding: 18px;
}

.similar-card-id {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 500;
  color: #000;
  margin-bottom: 10px;
}

.similar-card-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.similar-card-row {
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.similar-card-row svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.similar-card-row img {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.similar-card-row i {
  width: 16px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.similar-card-price {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-top: 12px;
}

.modal-body {
  color: #000;
}

.unit-details {
  display: none;
}

.unit-detail {
  display: none;
}

.hero-section {
  display: none;
}

.gallery-grid {
  display: none;
}

.benefits-list,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px 24px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  background: transparent;
  border: none;
}

.benefit-icon {
  font-size: 20px;
  color: #000;
  width: 24px;
  text-align: center;
}

.benefit-name {
  font-family: var(--font-family);
  font-size: 15px;
  color: #000;
  font-weight: 500;
}

.documents-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.document-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
  text-decoration: none;
  color: #000;
  transition: all 0.2s;
}

.document-item:hover {
  background: rgba(0, 0, 0, 0.06);
}

.document-item .lucide-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-color);
}

.document-item span {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-address-link {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-family);
  font-size: 14px;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.location-address-link:hover {
  color: #000;
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
}


.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-family: var(--font-family);
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #000;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-family);
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  font-size: 14px;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  font-family: var(--font-family);
  width: 100%;
  padding: 14px;
  background: var(--accent-color);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  filter: brightness(0.9);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tour-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.tour-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#contact-modal.open {
  opacity: 1;
  visibility: visible;
}

.contact-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  width: 90%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

#contact-modal.open .contact-modal-content {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  color: #333;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.contact-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.contact-modal-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 500;
  color: #000;
  margin-bottom: 8px;
}

.contact-modal-subtitle {
  font-family: var(--font-family);
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form .form-group label {
  font-family: var(--font-family);
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

.contact-form .form-group input {
  font-family: var(--font-family);
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  font-size: 15px;
  background: #fafafa;
  transition: all 0.2s;
}

.contact-form .form-group input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: #fff;
}

.contact-form .contact-submit-btn {
  font-family: var(--font-family);
  width: 100%;
  padding: 14px;
  background: var(--accent-color);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}

.contact-form .contact-submit-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.contact-form .contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .top-bar {
    top: 12px;
    left: 12px;
    gap: 8px;
    height: 38px;
    padding: 4px 6px;
  }

  .floating-logo {
    height: 24px;
  }

  .floating-contact-btn {
    top: 12px;
    right: 58px;
    height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  #filter-toggle {
    padding: 0 8px;
    font-size: 12px;
    height: 26px;
  }

  #fullscreen-toggle {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .modal-content {
    padding: 0;
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.9);
  }

  .modal-back {
    padding: 12px 16px;
    font-size: 13px;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    gap: 4px;
    border-radius: 0;
    margin-bottom: 0;
  }

  .gallery-main {
    height: 240px;
  }

  .gallery-side {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    height: 120px;
  }

  .gallery-status-badge {
    top: 12px;
    left: 12px;
    font-size: 11px;
    padding: 4px 10px;
  }

  .gallery-view-all {
    bottom: 8px;
    right: 8px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .unit-header {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    margin-bottom: 0;
  }

  .unit-title {
    font-size: 20px;
  }

  .unit-price-range {
    font-size: 17px;
  }

  .inquire-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 12px;
  }

  .unit-stats {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    margin-bottom: 0;
    justify-content: flex-start;
  }

  .unit-stat {
    flex: 0 0 calc(50% - 6px);
    padding: 12px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
  }

  .unit-stat-icon {
    width: 20px;
    height: 20px;
  }

  .unit-stat-label {
    font-size: 12px;
  }

  .unit-stat-value {
    font-size: 14px;
  }

  .section {
    margin-bottom: 24px;
    padding: 0 16px;
    padding-top: 20px;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .detail-item {
    padding: 8px 0;
    gap: 8px;
  }

  .detail-icon {
    width: 20px;
    height: 20px;
  }

  .detail-label {
    font-size: 12px;
  }

  .detail-value {
    font-size: 11px;
  }

  .location-row {
    flex-wrap: wrap;
    gap: 4px;
  }

  .floorplan-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .floorplan-nav {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .area-info-title {
    font-size: 16px;
  }

  .area-row {
    padding: 10px 0;
  }

  .area-label {
    font-size: 13px;
  }

  .area-value {
    font-size: 13px;
  }

  .tour-container {
    height: 250px;
  }

  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .benefit-item {
    padding: 8px 0;
    gap: 10px;
  }

  .benefit-icon {
    font-size: 16px;
    width: 20px;
  }

  .benefit-name {
    font-size: 13px;
  }

  .documents-list {
    grid-template-columns: 1fr;
  }

  .document-item {
    padding: 12px 14px;
  }

  .map-container {
    height: 220px;
  }

  .similar-scroll {
    gap: 12px;
  }

  .similar-card {
    flex: 0 0 220px;
  }

  .similar-card-image {
    height: 140px;
  }

  .similar-card-info {
    padding: 12px;
  }

  .similar-card-id {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .similar-card-row {
    font-size: 12px;
  }

  .similar-card-price {
    font-size: 16px;
    margin-top: 8px;
  }

  .modal-footer {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    margin-top: 24px;
  }

  .modal-footer-image {
    display: none;
  }

  .modal-footer-overlay {
    position: relative;
    flex-direction: column-reverse;
    padding: 32px 16px;
    gap: 24px;
    background: #111;
  }

  .modal-footer-info {
    text-align: center;
  }

  .modal-footer-logo {
    height: 40px;
    margin-bottom: 12px;
  }

  .modal-footer-address {
    font-size: 14px;
  }

  .gallery-lightbox .gallery-counter {
    bottom: 80px;
    font-size: 13px;
  }

  .gallery-lightbox .gallery-nav-container {
    bottom: 24px;
    gap: 12px;
  }

  .gallery-lightbox .gallery-nav {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .gallery-lightbox .gallery-thumbnails {
    bottom: 90px;
    max-width: 90%;
  }

  .gallery-thumb {
    width: 48px;
    height: 36px;
  }

}

.sf-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
}

.sf-row:last-child {
  margin-bottom: 0;
}

.sf-label {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  color: #888;
  width: 60px;
  flex-shrink: 0;
}

.sf-range-value {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  color: #333;
  width: 100px;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}

.sf-slider-wrap {
  flex: 1;
  position: relative;
  height: 28px;
  margin: 0 10px;
}

.sf-slider-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 3px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
}

.sf-slider-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.sf-slider-wrap input[type="range"] {
  position: absolute;
  width: 100%;
  top: 0;
  height: 28px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
}

.sf-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--accent-color);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.sf-slider-wrap input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.sf-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--accent-color);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.sf-status-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 14px;
}

.sf-status-select {
  font-family: var(--font-family);
  flex: 1;
  margin-left: 10px;
  padding: 8px 12px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.sf-status-select:focus {
  outline: none;
  border-color: var(--accent-color);
}

.sidebar-back {
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}

.sidebar-back:hover {
  color: #000;
  background: rgba(0,0,0,0.02);
}

.sidebar-plan {
  width: 100%;
  height: 220px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-body {
  padding: 20px;
}

.sidebar-status {
  font-family: var(--font-family);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.sidebar-status.available { background: #e8f5e9; color: #2e7d32; }
.sidebar-status.sold { background: #ffebee; color: #c62828; }
.sidebar-status.reserved { background: #fff3e0; color: #e65100; }

.sidebar-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.sidebar-status.available .sidebar-status-dot { background: #2e7d32; }
.sidebar-status.sold .sidebar-status-dot { background: #c62828; }
.sidebar-status.reserved .sidebar-status-dot { background: #e65100; }

.sidebar-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.sidebar-price {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.sidebar-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.sidebar-spec {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(0,0,0,0.03);
  border-radius: 10px;
}

.sidebar-spec-icon {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

.sidebar-spec-text {
  display: flex;
  flex-direction: column;
}

.sidebar-spec-label {
  font-family: var(--font-family);
  font-size: 11px;
  color: #888;
}

.sidebar-spec-value {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-btn-details {
  font-family: var(--font-family);
  width: 100%;
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.sidebar-btn-details:hover {
  background: #222;
}

.sidebar-btn-inquire {
  font-family: var(--font-family);
  width: 100%;
  padding: 14px;
  background: transparent;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-btn-inquire:hover {
  background: rgba(0, 0, 0, 0.04);
}

.unit-table-wrap {
  padding: 0 20px;
}

.unit-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-family);
  table-layout: fixed;
}

.unit-table thead {
  background: #fff;
}

.unit-table th {
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.unit-table th:hover {
  color: #000;
}

.unit-table th .sort-arrow {
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.4;
}

.unit-table th.sorted .sort-arrow {
  opacity: 1;
}

.unit-table td {
  padding: 10px 12px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  word-break: break-word;
  white-space: normal;
}

.unit-table tbody tr {
  cursor: pointer;
  transition: background 0.15s;
}

.unit-table tbody tr:hover {
  background: rgba(0,0,0,0.03);
}

.unit-row-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.unit-row-dot.available { background: #2e7d32; }
.unit-row-dot.sold { background: #c62828; }
.unit-row-dot.reserved { background: #e65100; }

.unit-row-id {
  font-weight: 600;
  color: #000;
}

.unit-table-empty {
  padding: 40px 20px;
  text-align: center;
  color: #999;
  font-family: var(--font-family);
  font-size: 14px;
}

#polygonOverlay polygon {
  transition: fill-opacity 0.15s ease;
}

#polygonOverlay polygon:hover {
  fill-opacity: 0.55 !important;
}

#polygonOverlay polygon.highlighted {
  fill-opacity: 0.7 !important;
  stroke-width: 3 !important;
}

#polygonOverlay polygon.highlighted-hover {
  fill-opacity: 0.55 !important;
  stroke-width: 2.5 !important;
}

.tooltip-status-badge.available {
  background: #e8f5e9;
  color: #2e7d32;
}

.tooltip-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

.tooltip-status-badge.available .tooltip-status-dot { background: #2e7d32; }
.tooltip-status-badge.sold .tooltip-status-dot { background: #c62828; }
.tooltip-status-badge.reserved .tooltip-status-dot { background: #e65100; }

@media (max-width: 768px) {
  #filter-panel {
    width: 100%;
    left: -100%;
  }

  .sidebar-plan {
    height: 180px;
  }

  .unit-card-body {
    padding: 12px 14px;
  }

  .unit-card-name {
    font-size: 14px;
  }

  .unit-card-specs {
    font-size: 12px;
  }

  .splash-discover-btn {
    bottom: 22%;
    padding: 10px 32px;
    font-size: 14px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  }
}
