:root {
  --bg: #070707;
  --panel: #101010;
  --panel2: #171717;
  --gold: #bf9367;
  --gold2: #bf9367;
  --text: #fff;
  --muted: #a9a9a9;
  --line: rgba(201, 166, 70, 0.28);
  --green: #2ed47a;
  --orange: #bf9367;
  --red: #ef4444;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(
    circle at 20% 0,
    #1c1609 0,
    #070707 28%,
    #030303 100%
  );
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}
.app-shell {
  max-width: 1480px;
  margin: auto;
  padding: 22px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
}
.brand small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.floor-tabs {
  display: flex;
  gap: 8px;
}
.floor-tabs button,
.elevator button,
.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
/* .floor-tabs button.active,
.elevator button:hover,
.elevator button.active {
  background: linear-gradient(135deg, var(--gold), #8d7124);
  color: #111;
} */
.actions {
  display: flex;
  gap: 8px;
}
.hero-card,
.plan-card,
.side-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.hero-image-wrap {
  position: relative;
  height: 660px;
  background: #000;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.18) 45%,
    rgba(0, 0, 0, 0.68)
  );
}
.hero-copy {
  position: absolute;
  left: 44px;
  bottom: 44px;
  max-width: 470px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold2);
  font-size: 12px;
}
.hero-copy h1 {
  font-size: 58px;
  line-height: 0.95;
  margin: 12px 0;
}
.hero-copy p {
  color: #d9d9d9;
  font-size: 17px;
  line-height: 1.6;
}
.gold-btn {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  padding: 12px 20px;
  color: #161004;
  font-weight: 800;
  cursor: pointer;
}
.elevator {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.elevator button {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 800;
}
.floor-tooltip {
  position: absolute;
  transition: 0.2s;
  right: 1.2%;
  top: 90%;
  transform: translateY(-40%);
  display: flex;
  flex-direction: row;
  gap: 30px;
  color: var(--gold);
  background: #08080842;
  border-radius: 5px;
  padding: 5px 20px 5px 20px;
  width: 50%;
  justify-content: flex-end;
  align-items: center;
  text-transform: capitalize;
  visibility: hidden;
}

/* .floor-tooltip {
  position: absolute;
  right: 108px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(9, 9, 9, 0.86);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
} */
.floor-tooltip.show {
  visibility: visible;
}
.floor-tooltip h3 {
  margin: 0 0 8px;
}
.floor-tooltip p {
  margin: 0 0 8px;
  color: #ccc;
  font-size: 18px;
}
.directory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 385px;
  gap: 18px;
  margin-top: 18px;
}
.plan-card,
.side-panel {
  padding: 22px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 15px;
}
.section-head h2 {
  margin: 4px 0 0;
  font-size: 28px;
}
.legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #cfcfcf;
  font-size: 13px;
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.available {
  background: var(--green);
}
.reserved {
  background: var(--orange);
}
.sold {
  background: var(--red);
}
.plan-tools {
  display: grid;
  grid-template-columns: 1fr 150px 150px auto;
  gap: 10px;
  margin-bottom: 14px;
}
.plan-tools input,
.plan-tools select,
.admin-controls select {
  background: #090909;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 14px;
  padding: 12px;
}
.plan-viewport {
  max-height: 100vh;
  display: grid;
  place-items: center;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  overflow: hidden;
}
.plan-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: 0.2s;
}
.unit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 710px;
  overflow: auto;
  padding-right: 4px;
}
.unit-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
  cursor: pointer;
}
.unit-card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.unit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.unit-id {
  font-weight: 850;
  font-size: 18px;
}
.status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}
.status-available {
  background: rgba(46, 212, 122, 0.14);
  color: #65ffa6;
  border: 1px solid rgba(46, 212, 122, 0.45);
}
.status-reserved {
  background: rgba(245, 158, 11, 0.14);
  color: #ffc266;
  border: 1px solid rgba(245, 158, 11, 0.45);
}
.status-sold {
  background: rgba(239, 68, 68, 0.14);
  color: #ff8a8a;
  border: 1px solid rgba(239, 68, 68, 0.45);
}
.muted {
  color: var(--muted);
}
.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
  color: #d8d8d8;
  font-size: 13px;
}
.admin-badge {
  color: #111;
  background: var(--gold);
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 800;
  font-size: 12px;
}
.modal.hidden,
.hidden {
  display: none !important;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}
.unit-modal {
  position: relative;
  width: min(520px, 92vw);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #171717, #090909);
  box-shadow: 0 35px 100px #000;
}
.close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 34px;
  cursor: pointer;
}
.unit-modal h2 {
  font-size: 36px;
  margin: 18px 0 4px;
}
.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.badge {
  border: 1px solid var(--line);
  color: var(--gold2);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
}
.details-table {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}
.admin-controls {
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 14px;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
  }
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .hero-image-wrap {
    height: 560px;
  }
  .hero-copy h1 {
    font-size: 42px;
  }
  .plan-tools {
    grid-template-columns: 1fr;
  }
  .elevator {
    right: 16px;
  }
  .floor-tooltip {
    display: none;
  }
}
/* Hero section full-bleed */
.hero-card {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.hero-image-wrap {
  border-radius: 0 !important;
}

.unit-list::-webkit-scrollbar {
  width: 5px;
}
.unit-list::-webkit-scrollbar-thumb {
  width: 5px;
  height: auto;
  background-color: #bf9367;
}
.unit-list::-webkit-scrollbar-track {
  width: 5px;
  background-color: #494747;
}
html::-webkit-scrollbar {
  width: 5px;
}
html::-webkit-scrollbar-thumb {
  width: 5px;
  height: auto;
  background-color: #bf9367;
}
html::-webkit-scrollbar-track {
  width: 5px;
  background-color: #494747;
}
/* .plan-viewport::-webkit-scrollbar {
  width: 5px;
}
.plan-viewport::-webkit-scrollbar-track {
  width: 5px;
  background-color: #494747;
}
.plan-viewport::-webkit-scrollbar-thumb {
  width: 5px;
  height: auto;
  background-color: #bf9367;
} */
.elevator button {
  background: transparent;
  color: #fff;
}
.elevator button.active {
  background: #bf9367 !important;
  background: linear-gradient(
    90deg,
    rgba(191, 147, 103, 1) 0%,
    rgba(156, 121, 86, 1) 50%
  ) !important;
}
.elevator button:hover {
  background: #bf9367;
  background: linear-gradient(
    90deg,
    rgba(191, 147, 103, 1) 0%,
    rgba(156, 121, 86, 1) 50%
  );
}
.horElevator {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px auto;
  margin-top: 30px;
}
.horElevator .elevator {
  position: relative;
  margin-left: 5rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.horElevator .elevator button {
  width: 50px;
  height: 50px;
}
.contactBtn {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-left: auto;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}
.contact {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 50px;
  /* background: #2a4534; */
}
.contact:hover {
  background: #1f3025;
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 67, 52, 0.4);
}
.contactBtn span {
  color: #bf9367;
  font-weight: 800;
  font-size: 1.2rem;
}
