

:root {
  --heights-bg2: #f5f5f5;
  --heights-card: #ffffff;
  --heights-ink: #111418;
  --heights-muted: #646a73;
  --heights-accent-green: #61a92e; /* Complementing the table header hue from your reference */
  --heights-accent-dark: #192024;
  --heights-accent-gold: #007bff;
  --heights-border: #e6e2da;
}

.heights-home-aparment {
  background-color: var(--heights-bg2);
  color: var(--heights-ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 80px 0;
  position: relative;
}

@media (min-width: 992px) {
  .heights-home-aparment {
    padding: 110px 0;
  }
}

/* Header */
.heights-home-aparment__eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--heights-accent-green);
  font-weight: 700;
  margin-bottom: 10px;
}

.heights-home-aparment__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

@media (min-width: 992px) {
  .heights-home-aparment__heading {
    font-size: 2.8rem;
  }
}

.heights-home-aparment__subheading {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--heights-muted);
}

/* Main Box */
.heights-home-aparment__card {
  background: var(--heights-card);
  border: 1px solid var(--heights-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(17, 20, 24, 0.05);
}

@media (min-width: 992px) {
  .heights-home-aparment__card {
    padding: 44px;
  }
}

/* Media Area */
.heights-home-aparment__media-wrap {
  position: relative;
}

.heights-home-aparment__view-tabs {
  display: inline-flex;
  gap: 6px;
  background: #0066b32e;
  padding: 4px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.heights-home-aparment__tab-btn {
  border: none;
  background: transparent;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--heights-muted);
  padding: 6px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.heights-home-aparment__tab-btn.is-active {
  background: var(--heights-ink);
  color: #ffffff;
}

.heights-home-aparment__canvas {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #ece8e1;
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--heights-border);
}

.heights-home-aparment__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
  filter: blur(6px);
}

.heights-home-aparment__stamp {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 20, 24, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.heights-home-aparment__stamp-dot {
  width: 6px;
  height: 6px;
  background-color: #27ae60;
  border-radius: 50%;
}

/* Category Header */
.heights-home-aparment__category-tag span {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--heights-accent-green);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.heights-home-aparment__category-tag h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--heights-ink);
  margin-bottom: 20px;
}

/* Data Table Rows */
.heights-home-aparment__table {
  border-top: 1px solid var(--heights-border);
}

.heights-home-aparment__table-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--heights-border);
}

.heights-home-aparment__table-row--highlight {
  background: rgba(72, 160, 54, 0.05);
  padding: 16px 14px;
  border-radius: 10px;
  margin-top: 8px;
  border-bottom: none;
}

.heights-home-aparment__table-label strong {
  font-size: 1.05rem;
  color: var(--heights-ink);
  display: block;
}

.heights-home-aparment__table-label span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heights-ink);
}

.heights-home-aparment__table-label small {
  font-size: 0.78rem;
  color: var(--heights-muted);
}

/* Green Bonus Parking Badge */
.heights-home-aparment__parking-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef7eb;
  color: var(--heights-accent-green);
  border: 1px solid rgba(72, 160, 54, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

/* Counter & Sqft */
.heights-home-aparment__table-value {
  text-align: right;
  font-family: 'Space Grotesk', sans-serif;
}

.heights-home-aparment__counter {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heights-ink);
  font-variant-numeric: tabular-nums;
}

.heights-home-aparment__table-row--highlight .heights-home-aparment__counter {
  color: var(--heights-accent-green);
  font-size: 1.7rem;
}

.heights-home-aparment__table-value small {
  font-size: 0.8rem;
  color: var(--heights-muted);
  font-weight: 600;
}

/* Action Buttons */
.heights-home-aparment__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--heights-ink);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.heights-home-aparment__btn-primary:hover {
  background-color: #262c33;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.heights-home-aparment__btn-link {
  color: var(--heights-ink);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.heights-home-aparment__btn-link:hover {
  color: var(--heights-accent-green);
  text-decoration: underline;
}