/* Residential Complexes Styles */

.complex-split-container {
  display: flex;
  gap: 1.25rem;
  min-height: 600px;
}

.complex-cards-column {
  flex: 1.2;
}

.complex-map-column {
  flex: 1;
  position: sticky;
  top: 15px;
  height: calc(100vh - 180px);
  min-height: 500px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.complex-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.complex-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.complex-marker {
  width: 28px;
  height: 28px;
  background: #0d9488;
  border: 2px solid #ffffff;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background-color 0.2s ease;
}

.complex-marker.status-ready {
  background: #059669;
}

.complex-marker.status-construction {
  background: #0284c7;
}

.complex-marker.status-project {
  background: #d97706;
}

.complex-marker:hover,
.complex-marker.is-active {
  transform: scale(1.35);
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  border-color: #ffffff;
}

.complex-header-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.spec-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.spec-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.spec-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .complex-split-container {
    display: block;
  }

  .complex-map-column {
    height: 350px;
    position: relative;
    top: 0;
    margin-bottom: 1.5rem;
  }
}
