/* 3BHK + Study – Umbera Heights | requires Bootstrap 4.1.3 */
.heights-room {
  --hr-green: #61a92e;
  --hr-blue: #0066b3;
  --hr-green-dk: #4c8723;
  --hr-blue-dk: #004e8a;
  --hr-navy: #0b2540;
  --hr-ink: #1b2b3a;
  --hr-muted: #5b6b7a;
  --hr-sky: #f2f7fb;
  --hr-tint: #f2f8ec;
  --hr-line: #dde6ee;
  /* font-family: 'Montserrat', sans-serif; */
  color: var(--hr-ink);
  background: #fff;
  line-height: 1.7;
}

.heights-room h1,
.heights-room h2,
.heights-room h3,
.heights-room h4 {
  /* font-family: 'Playfair Display', serif; */
  /* color: var(--hr-navy);
  font-weight: 700;
  line-height: 1.2 */
}

.heights-room p {
  /* max-width: 70ch */
}

/* 
.heights-room a:focus,
.heights-room .btn:focus,
.heights-room .nav-link:focus {
  outline: 3px solid var(--hr-green);
  outline-offset: 2px
} */

.heights-room svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round
}

/* Buttons */
.heights-room .heights-room-btn {
  display: block;
  text-align: center;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 3px;
  border: 2px solid var(--hr-green);
  background: var(--hr-green);
  color: #fff;
  transition: background .2s
}

.heights-room .heights-room-btn:hover {
  background: var(--hr-green-dk);
  border-color: var(--hr-green-dk);
  color: #fff;
  text-decoration: none
}

.heights-room .heights-room-btn.is-outline {
  background: transparent;
  color: var(--hr-blue);
  border-color: var(--hr-blue);
  margin-top: 10px
}

.heights-room .heights-room-btn.is-outline:hover {
  background: var(--hr-blue);
  color: #fff
}

/* Hero */
.heights-room .heights-room-hero {
  position: relative;
  color: #fff;
  padding: 56px 0 150px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--hr-navy) 0%, #0d3a63 70%, var(--hr-blue-dk) 100%);
}

.heights-room .heights-room-hero::before {
  /* tower skyline */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cg fill='%230066b3'%3E%3Crect x='40' y='150' width='70' height='150'/%3E%3Crect x='130' y='60' width='90' height='240'/%3E%3Crect x='240' y='110' width='80' height='190'/%3E%3Crect x='700' y='90' width='80' height='210'/%3E%3Crect x='800' y='30' width='100' height='270'/%3E%3Crect x='920' y='120' width='80' height='180'/%3E%3Crect x='1020' y='70' width='90' height='230'/%3E%3C/g%3E%3Cg fill='%2361a92e'%3E%3Crect x='340' y='140' width='80' height='160'/%3E%3Crect x='440' y='20' width='110' height='280'/%3E%3Crect x='570' y='100' width='110' height='200'/%3E%3C/g%3E%3C/svg%3E") center bottom/100% 100% no-repeat;
}

.heights-room .heights-room-hero .container {
  position: relative;
  z-index: 1
}

.heights-room .heights-room-crumb {
  font-size: .82rem;
  color: #b9d0e4;
  margin-bottom: 34px
}

.heights-room .heights-room-crumb a {
  color: #fff
}

.heights-room .heights-room-badge {
  display: inline-block;
  background: var(--hr-green);
  color: #fff;
  font-weight: 600;
  font-size: .82rem;
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 16px
}

.heights-room .heights-room-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 14px
}

.heights-room .heights-room-hero p {
  color: #d6e6f4;
  font-size: 1.02rem;
  max-width: 62ch
}

/* Spec bar (listing facts) */
.heights-room .heights-room-specbar {
  position: relative;
  z-index: 3;
  margin-top: -84px
}

.heights-room .heights-room-specbar .row {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(11, 37, 64, .2);
  border-top: 5px solid var(--hr-green);
  margin: 0
}

.heights-room .heights-room-fact {
  display: flex;
  align-items: center;
  padding: 22px 20px;
  border-right: 1px solid var(--hr-line)
}

.heights-room .heights-room-fact:last-child {
  border-right: 0
}

.heights-room .heights-room-fact svg {
  color: var(--hr-blue);
  flex: none;
  margin-right: 14px;
  width: 34px;
  height: 34px
}

.heights-room .heights-room-fact strong {
  display: block;
  font-size: 1.25rem;
  color: var(--hr-navy);
  line-height: 1.1
}

.heights-room .heights-room-fact span {
  font-size: .8rem;
  color: var(--hr-muted)
}

/* Layout */
.heights-room .heights-room-body {
  padding: 64px 0 40px
}

.heights-room .heights-room-block {
  margin-bottom: 10px
}

.heights-room .heights-room-title {
  /* font-size: clamp(1.5rem, 2.6vw, 2rem); */
  margin-bottom: 22px;
  display: flex;
  align-items: center
}

.heights-room .heights-room-title::before {
  content: "";
  width: 6px;
  height: 30px;
  background: var(--hr-green);
  margin-right: 14px;
  border-radius: 2px
}

.heights-room .heights-room-lead {
  color: #000;
}

/* Sidebar */
.heights-room .heights-room-side {
  position: sticky;
  top: 150px;
  background: #fff;
  border: 1px solid var(--hr-line);
  border-top: 5px solid var(--hr-blue);
  border-radius: 6px;
  padding: 26px 24px;
  box-shadow: 0 12px 30px rgba(11, 37, 64, .1)
}

.heights-room .heights-room-side h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px
}

.heights-room .heights-room-side dl {
  margin: 0 0 20px
}

.heights-room .heights-room-side dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--hr-line);
  font-size: .9rem
}

.heights-room .heights-room-side dt {
  font-weight: 500;
  color: var(--hr-muted)
}

.heights-room .heights-room-side dd {
  margin: 0;
  font-weight: 700;
  color: var(--hr-navy);
  text-align: right
}

/* Tables */
.heights-room .heights-room-table {
  width: 100%;
  margin: 0;
  border: 1px solid var(--hr-line)
}

.heights-room .heights-room-table th {
  background: var(--hr-navy);
  color: #fff;
  border: 0;
  padding: 13px 18px;
  font-weight: 600
}

.heights-room .heights-room-table td {
  padding: 12px 18px;
  border-color: var(--hr-line)
}

.heights-room .heights-room-table tbody tr:nth-child(even) {
  background: var(--hr-sky)
}

.heights-room .heights-room-table td:first-child {
  font-weight: 600;
  width: 38%;
  color: var(--hr-blue-dk)
}

/* Floor plan */
.heights-room .heights-room-plan {
  border: 1px solid var(--hr-line);
  padding: 12px;
  background: var(--hr-sky);
  border-radius: 6px
}

.heights-room .heights-room-plan img,
.heights-room .heights-room-plan object {
  width: 100%;
  display: block;
  min-height: 440px;
  background: #fff;
  filter: blur(6px);
}

.heights-room .heights-room-plan-note {
  font-size: .84rem;
  color: var(--hr-muted);
  margin: 8px 2px 0
}

.heights-room .heights-room-alts {
  display: flex;
  flex-wrap: wrap;
  margin: 22px -10px 0
}

.heights-room .heights-room-alt {
  flex: 1 1 260px;
  margin: 0 10px 20px;
  padding: 20px 22px;
  border: 1px solid var(--hr-line);
  border-radius: 6px;
  background: #fff
}

.heights-room .heights-room-alt h4 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--hr-blue-dk);
  font-weight: 600;
}

.heights-room .heights-room-alt p {
  margin: 0;
  font-size: 16px;
  color: var(--hr-muted);
  font-weight: 400;
}

.heights-room .heights-room-size {
  display: inline-block;
  background: var(--hr-tint);
  color: var(--hr-green-dk);
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 2px;
  margin-left: 8px
}

/* Room sizes */
.heights-room .heights-room-rooms {
  list-style: none;
  margin: 0;
  padding: 0
}

.heights-room .heights-room-rooms li {
  display: grid;
  grid-template-columns: 170px 1fr 120px;
  gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--hr-line)
}

.heights-room .heights-room-rooms b {
  font-weight: 600
}

.heights-room .heights-room-rooms em {
  font-style: normal;
  text-align: right;
  font-weight: 600;
  color: var(--hr-blue-dk);
  white-space: nowrap
}

.heights-room .heights-room-bar {
  height: 8px;
  background: var(--hr-sky);
  border-radius: 8px;
  overflow: hidden
}

.heights-room .heights-room-bar i {
  display: block;
  height: 100%;
  background: var(--hr-blue)
}

.heights-room .heights-room-rooms li.is-flex .heights-room-bar i {
  background: var(--hr-green)
}

/* Features */
.heights-room .heights-room-feature {
  display: flex;
  padding: 18px 0;
  border-bottom: 1px solid var(--hr-line)
}

.heights-room .heights-room-feature::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin: 3px 14px 0 0;
  border-radius: 50%;
  background: var(--hr-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/70% no-repeat
}

.heights-room .heights-room-feature h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px
}

.heights-room .heights-room-feature p {
  margin: 0;
  font-size: .93rem;
  color: var(--hr-muted)
}

/* Specifications */
.heights-room .heights-room-tabs,
.heights-room ul.heights-room-tabs.nav {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  transform: none !important;
  -webkit-transform: none !important;
  bottom: auto !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border-bottom: 2px solid var(--hr-line) !important;
  z-index: 1 !important;
  width: 100% !important;
}

.heights-room .heights-room-tabs .nav-item {
  display: inline-block !important;
  margin: 0 4px -2px 0 !important;
  padding: 0 !important;
}

.heights-room .heights-room-tabs .nav-link {
  display: inline-block !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--hr-muted) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 12px 20px !important;
  margin-bottom: -2px !important;
  border-bottom: 3px solid transparent !important;
  background: transparent !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.heights-room .heights-room-tabs .nav-link:hover {
  color: var(--hr-navy) !important;
  border-bottom-color: #cbd5e1 !important;
}

.heights-room .heights-room-tabs .nav-link.active {
  color: var(--hr-blue) !important;
  border-bottom-color: var(--hr-green) !important;
  background: transparent !important;
  font-weight: 700 !important;
}

.heights-room .tab-content {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  padding-top: 6px !important;
}

@media (min-width: 768px) {
  .heights-room .tab-content>.tab-pane {
    display: none !important;
  }

  .heights-room .tab-content>.tab-pane.active {
    display: block !important;
  }
}

@media (max-width:991px) {
  .heights-room .heights-room-side {
    position: static;
    margin-bottom: 44px
  }

  .heights-room .heights-room-fact {
    border-right: 0;
    border-bottom: 1px solid var(--hr-line)
  }
}

@media (max-width:767px) {
  .heights-room .heights-room-hero {
    padding-bottom: 130px
  }

  .heights-room .heights-room-rooms li {
    grid-template-columns: 1fr auto
  }

  .heights-room .heights-room-bar {
    grid-column: 1/-1;
    order: 3
  }

  .heights-room .heights-room-plan img,
  .heights-room .heights-room-plan object {
    min-height: 280px
  }
}

/* ---------- Polish ---------- */
html {
  scroll-behavior: smooth
}

.heights-room ::selection {
  background: var(--hr-green);
  color: #fff
}

/* Gallery */
.heights-room .heights-room-gallery {
  margin-top: -8px
}

.heights-room .carousel {
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(11, 37, 64, .12)
}

.heights-room .carousel-inner {
  border-radius: 5px;
  background: var(--hr-sky)
}

.heights-room .carousel-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block
}

.heights-room .heights-room-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 26px 20px;
  color: #fff;
  background: linear-gradient(0deg, rgba(11, 37, 64, .88), rgba(11, 37, 64, 0))
}

.heights-room .heights-room-cap strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem
}

.heights-room .heights-room-cap span {
  font-size: .88rem;
  color: #cfe3f3
}

.heights-room .heights-room-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  background: var(--hr-green);
  color: #fff;
  font-weight: 600;
  font-size: .78rem;
  padding: 5px 14px;
  border-radius: 2px
}

.heights-room .heights-room-count {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  background: rgba(11, 37, 64, .78);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px
}

.heights-room .carousel-control-prev,
.heights-room .carousel-control-next {
  width: auto;
  opacity: 1;
  top: 0;
  bottom: auto;
  height: calc(100% - 118px);
  padding: 0 22px
}

.heights-room .heights-room-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--hr-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(11, 37, 64, .3);
  transition: background .2s, color .2s
}

.heights-room .carousel-control-prev:hover .heights-room-arrow,
.heights-room .carousel-control-next:hover .heights-room-arrow {
  background: var(--hr-green);
  color: #fff
}

/* Thumbnails */
.heights-room .carousel-indicators.heights-room-thumbs {
  position: static;
  display: flex;
  justify-content: space-between;
  margin: 10px 0 0;
  padding: 2px 0 4px;
  list-style: none;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.heights-room .carousel-indicators.heights-room-thumbs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.heights-room .heights-room-thumbs li {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: auto;
  margin: 0 8px 0 0;
  text-indent: 0;
  background: none;
  border: 0;
  border-bottom: 0;
  opacity: 1;
  cursor: pointer;
  position: relative;
}

.heights-room .heights-room-thumbs li:last-child {
  margin-right: 0;
}

.heights-room .heights-room-thumbs img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  border: 3px solid transparent;
  opacity: .6;
  transition: opacity .2s, border-color .2s;
}

.heights-room .heights-room-thumbs li:hover img {
  opacity: 1
}

.heights-room .heights-room-thumbs li.active img {
  opacity: 1;
  border-color: var(--hr-green)
}

.heights-room .heights-room-thumbs li span {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--hr-muted);
  text-align: center;
  margin-top: 4px;
  line-height: 1.3
}

.heights-room .heights-room-thumbs li.active span {
  color: var(--hr-blue)
}

/* Refinements */
.heights-room .heights-room-block {
  padding-bottom: 6px
}

.heights-room .heights-room-block+.heights-room-block {
  border-top: 1px solid var(--hr-line);
  padding-top: 48px
}

.heights-room .heights-room-gallery+.heights-room-block {
  border-top: 0;
  padding-top: 0
}

.heights-room .heights-room-table tbody tr {
  transition: background .15s
}

.heights-room .heights-room-table tbody tr:hover {
  background: var(--hr-tint)
}

.heights-room .heights-room-fact {
  transition: background .2s
}

.heights-room .heights-room-fact:hover {
  background: var(--hr-sky)
}

.heights-room .heights-room-alt {
  border-top: 4px solid var(--hr-green)
}

.heights-room .heights-room-alt:nth-child(2) {
  border-top-color: var(--hr-blue)
}

.heights-room .heights-room-side .heights-room-btn {
  box-shadow: 0 8px 18px rgba(97, 169, 46, .3)
}

.heights-room .heights-room-side .heights-room-btn.is-outline {
  box-shadow: none
}

@media (max-width:767px) {
  .heights-room .heights-room-cap {
    padding: 36px 14px 12px;
  }

  .heights-room .heights-room-cap strong {
    font-size: 1.15rem;
  }

  .heights-room .heights-room-cap span {
    font-size: 0.82rem;
  }

  .heights-room .carousel-item img {
    aspect-ratio: 16/11;
  }

  .heights-room .heights-room-tag {
    top: 14px;
    left: 14px;
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .heights-room .heights-room-count {
    top: 14px;
    right: 14px;
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .heights-room .carousel-control-prev,
  .heights-room .carousel-control-next {
    padding: 0 8px;
    height: calc(100% - 90px);
  }

  .heights-room .heights-room-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  /* Scrollable thumbnail track */
  .heights-room .carousel-indicators.heights-room-thumbs {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    justify-content: flex-start !important;
    padding: 6px 2px 10px !important;
    margin: 10px 0 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    gap: 8px !important;
  }

  .heights-room .heights-room-thumbs li {
    flex: 0 0 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    margin: 0 !important;
  }

  .heights-room .heights-room-thumbs li span {
    font-size: 0.7rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    margin-top: 4px !important;
  }

  /* Specifications simple stacked layout on mobile (< 768px) */
  .heights-room .heights-room-tabs,
  .heights-room ul.heights-room-tabs.nav {
    display: none !important;
  }

  .heights-room .tab-content > .tab-pane {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 24px !important;
  }

  .heights-room .tab-content > .tab-pane:last-child {
    margin-bottom: 0 !important;
  }

  .heights-room .heights-spec-category-header {
    background: #f2f7fb;
    border-left: 4px solid var(--hr-green);
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 4px;
  }

  .heights-room .heights-spec-category-header h5 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--hr-navy);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .heights-room .heights-spec-category-header h5 i {
    color: var(--hr-green);
    font-size: 0.95rem;
  }

  /* Tables */
  .heights-room .heights-room-table th,
  .heights-room .heights-room-table td {
    padding: 10px 12px;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .heights-room .heights-room-table td:first-child {
    width: 44%;
  }

  /* Floor plan */
  .heights-room .heights-room-plan {
    padding: 8px;
  }

  .heights-room .heights-room-plan img {
    min-height: auto;
    height: auto;
    max-height: 460px;
    object-fit: contain;
  }

  /* Alternative layouts */
  .heights-room .heights-room-alts {
    margin: 16px 0 0;
  }

  .heights-room .heights-room-alt {
    flex: 1 1 100%;
    margin: 0 0 14px;
    padding: 16px 18px;
  }

  .heights-room .heights-room-alt h4 {
    font-size: 18px;
  }

  .heights-room .heights-room-alt p {
    font-size: 0.88rem;
  }

  .heights-room .heights-room-size {
    display: inline-block;
    margin-top: 6px;
    margin-left: 0;
    font-size: 0.82rem;
  }

  /* Sidebar */
  .heights-room .heights-room-side {
    position: static;
    margin-top: 36px;
    margin-bottom: 30px;
    padding: 22px 18px;
  }

  .heights-room .heights-room-side h3 {
    font-size: 20px;
  }

  .heights-room .heights-room-side dl div {
    padding: 8px 0;
    font-size: 0.88rem;
  }

  .heights-room .heights-room-btn {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}

@media (max-width: 575px) {
  .heights-room .heights-room-body {
    padding: 28px 0 20px;
  }

  .heights-room .heights-room-title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .heights-room .heights-room-title::before {
    height: 24px;
    width: 5px;
    margin-right: 10px;
  }

  .heights-room .heights-room-lead {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .heights-room .heights-room-block + .heights-room-block {
    padding-top: 30px;
  }

  .heights-room .heights-room-feature {
    padding: 12px 0;
  }

  .heights-room .heights-room-feature h3 {
    font-size: 0.95rem;
  }

  .heights-room .heights-room-feature p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .heights-room .heights-room-side {
    padding: 20px 16px;
    margin-top: 28px;
  }

  .heights-room .heights-room-side h3 {
    font-size: 19px;
  }

  .heights-room .heights-room-side dl div {
    padding: 7px 0;
    font-size: 0.86rem;
  }

  .heights-room .heights-room-btn {
    padding: 11px 16px;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .heights-room * {
    transition: none !important
  }
}