/* ==========================================================================
   Builder project details — rich, from-scratch layout
   Hero carousel + sticky quick-nav + pricing/amenities/timeline sections.
   ========================================================================== */

.bpd-page {
  --bpd-ink: #0c1526;
  --bpd-ink-soft: #3c4a63;
  --bpd-muted: #64748b;
  --bpd-surface: #e8edf4;
  --bpd-line: #d5dde8;
  --bpd-accent: #0f8f80;
  --bpd-accent-ink: #0a5c52;
  --bpd-accent-soft: #e3f6f2;
  --bpd-amber: #c1791f;
  --bpd-amber-soft: #fdf1de;
  --bpd-danger: #d64545;
  --bpd-card-radius: 20px;
  --bpd-nav-h: 56px;
  position: relative;
  width: 100%;
  max-width: 100%;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  min-height: 100%;
  font-family: "DM Sans", system-ui, sans-serif;
  /* Match /Builder/Dashboard cool slate-sky shell */
  background:
    radial-gradient(980px 460px at -4% -12%, rgba(212, 175, 55, 0.2), transparent 56%),
    radial-gradient(820px 420px at 104% -4%, rgba(56, 189, 248, 0.16), transparent 54%),
    radial-gradient(900px 520px at 50% 108%, rgba(37, 99, 235, 0.08), transparent 60%),
    linear-gradient(180deg, #eef4fb 0%, #e3ebf5 45%, #dce5f0 100%);
}

.bpd-page__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
}

.bpd-page__canvas {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* ---------- Toolbar ---------- */
.bpd-toolbar__back {
  border-radius: 999px !important;
  font-weight: 700 !important;
  background: #fff !important;
  border: 1px solid var(--bpd-line) !important;
  color: var(--bpd-ink) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.bpd-breadcrumb.breadcrumb {
  background: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--bpd-line);
}

.bpd-breadcrumb .breadcrumb-item a {
  color: var(--bpd-accent-ink);
  font-weight: 650;
  text-decoration: none;
}

.bpd-breadcrumb .breadcrumb-item.active {
  color: var(--bpd-ink);
  font-weight: 700;
}

/* ---------- Spotlight hero — clean split (content | sharp photo) ---------- */
.bpd-spotlight {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
  animation: bpdRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  background:
    radial-gradient(520px 220px at 6% 0%, rgba(244, 200, 79, 0.16), transparent 58%),
    linear-gradient(145deg, #ffffff 0%, #f8fafc 48%, #f1f5f9 100%);
}

.bpd-spotlight__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(240px, 0.7fr);
  gap: 1.15rem;
  align-items: start;
  padding: 1.15rem;
}

.bpd-spotlight__main {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  z-index: 1;
}

.bpd-spotlight__photo {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  isolation: isolate;
  align-self: start;
}

.bpd-spotlight__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: none;
  transition: opacity 0.25s ease;
}

.bpd-spotlight__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.bpd-spotlight__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.bpd-spotlight__nav--prev {
  left: 0.65rem;
}

.bpd-spotlight__nav--next {
  right: 0.65rem;
}

.bpd-spotlight__nav[hidden],
.bpd-spotlight__pos[hidden] {
  display: none !important;
}

.bpd-spotlight__pos {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  z-index: 3;
  transform: translateX(-50%);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  color: #fff;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(4px);
}

.bpd-spotlight__rera {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  max-width: min(280px, calc(100% - 1.5rem));
}

.bpd-gallery-suggested-note {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.bpd-gallery-modal__body {
  background: #0f172a;
}

.bpd-gallery-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.bpd-gallery-modal__nav:hover {
  background: #fff;
}

.bpd-gallery-modal__nav--prev {
  left: 0.75rem;
}

.bpd-gallery-modal__nav--next {
  right: 0.75rem;
}

.bpd-gallery-modal__nav[hidden] {
  display: none !important;
}

.bpd-gallery-modal__pos {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
}

.bpd-gallery-modal__pos[hidden] {
  display: none !important;
}

.bpd-gallery-modal__body img {
  display: block;
  max-height: min(70vh, 640px);
  object-fit: contain;
  background: #0f172a;
}

.bpd-spotlight__intro {
  padding: 1.1rem 1.15rem 1rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #d8e0ea;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.bpd-spotlight__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.7rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6e7b0, #efc35a);
  border: 1px solid rgba(180, 140, 40, 0.35);
  color: #5c420c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bpd-spotlight__tags .builder-lux-tag {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}

.bpd-spotlight__title {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.bpd-spotlight__builder {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
  color: #334155;
}

.bpd-spotlight__lead {
  max-width: 40rem;
}

.bpd-spotlight .listing-location-highlight--on-dark,
.bpd-spotlight .listing-possession-badge--on-dark,
.bpd-spotlight .listing-address-highlight--on-dark {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: none;
  min-height: 2.2rem;
}

.bpd-spotlight .listing-location-highlight--on-dark i,
.bpd-spotlight .listing-possession-badge--on-dark i,
.bpd-spotlight .listing-address-highlight--on-dark i {
  color: #0284c7;
}

.bpd-spotlight .listing-possession-badge--on-dark {
  color: #0f766e;
}

.bpd-spotlight .listing-possession-badge--on-dark .listing-possession-badge__label {
  color: #475569;
}

.bpd-spotlight .listing-possession-badge--on-dark .listing-possession-badge__value {
  color: #0f172a;
  font-weight: 750;
}

.bpd-spotlight .listing-possession-badge--on-dark.is-pending {
  color: #92400e;
  background: #fffbeb;
  border-color: #fbbf24;
}

.bpd-spotlight .listing-possession-badge--on-dark.is-pending i,
.bpd-spotlight .listing-possession-badge--on-dark.is-pending .listing-possession-badge__label {
  color: #b45309;
}

.bpd-spotlight .listing-possession-badge--on-dark.is-pending .listing-possession-badge__value {
  color: #92400e;
}

.bpd-spotlight__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.bpd-spotlight__stat {
  min-height: 4.2rem;
  padding: 0.7rem 0.75rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #d8e0ea;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.bpd-spotlight__stat-label {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #475569;
}

.bpd-spotlight__stat-value {
  display: block;
  margin-top: 0.28rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  word-break: break-word;
}

.bpd-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
}

.bpd-spotlight__actions .builder-banner-btn {
  min-height: 2.5rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: none;
  padding-inline: 1rem;
  text-decoration: none;
}

.bpd-spotlight__actions .builder-banner-btn--primary {
  background: linear-gradient(135deg, #fff7db, #efc35a) !important;
  color: #24170a !important;
  box-shadow: 0 10px 22px rgba(239, 195, 90, 0.24) !important;
}

.bpd-spotlight__actions .builder-banner-btn--solid {
  background: #fff !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
}

@media (max-width: 991.98px) {
  .bpd-spotlight__grid {
    grid-template-columns: 1fr;
  }

  .bpd-spotlight__photo {
    order: -1;
    height: 240px;
  }

  .bpd-spotlight__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .bpd-spotlight__grid {
    padding: 0.85rem;
    gap: 0.85rem;
  }

  .bpd-spotlight__actions {
    width: 100%;
  }

  .bpd-spotlight__actions .builder-banner-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .bpd-spotlight__rera {
    max-width: min(240px, calc(100% - 1rem));
  }
}

/* ---------- Sticky quick nav ---------- */
.bpd-quicknav-wrap {
  margin-top: 1rem;
}

.bpd-quicknav-sentinel {
  height: 1px;
  margin: 0;
  pointer-events: none;
  visibility: hidden;
}

.bpd-quicknav {
  position: sticky;
  top: var(--bpd-header-h, 0px);
  z-index: 1020;
  margin: 0;
  background: #ffffff;
  border: 1px solid #d5dde8;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  isolation: isolate;
  transition:
    border-radius 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

/* Docked under site header — full-bleed strip, no floating gap */
.bpd-quicknav.is-stuck {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid #d5dde8;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.bpd-quicknav.is-stuck::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 3px;
  background: #fff;
  pointer-events: none;
}

.bpd-quicknav__list {
  display: flex;
  gap: 0.3rem;
  padding: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
}

.bpd-quicknav.is-stuck .bpd-quicknav__list {
  max-width: none;
  margin-inline: 0;
  padding-inline: 0.65rem;
}

.bpd-quicknav__list::-webkit-scrollbar { display: none; }

.bpd-quicknav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--bpd-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.bpd-quicknav__link:hover {
  background: var(--bpd-accent-soft);
  color: var(--bpd-accent-ink);
}

.bpd-quicknav__link.is-active {
  background: var(--bpd-ink);
  color: #fff;
}

/* ---------- Key facts / KPI strip ---------- */
.bpd-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 0.35rem;
}

.bpd-fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.5rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--bpd-line);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bpd-fact:hover {
  transform: translateY(-2px);
  border-color: #c9d5e5;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
}

.bpd-fact__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  background: var(--bpd-accent-soft);
  color: var(--bpd-accent-ink);
  font-size: 1.1rem;
  line-height: 1;
}

.bpd-fact__icon i {
  display: block;
  line-height: 1;
}

.bpd-fact--towers .bpd-fact__icon,
.bpd-fact--units .bpd-fact__icon {
  background: #e3f6f2;
  color: #0a5c52;
}

.bpd-fact--available .bpd-fact__icon {
  background: #ecfdf5;
  color: #047857;
}

.bpd-fact--price .bpd-fact__icon {
  background: #fff7e8;
  color: #9a6700;
}

.bpd-fact--possession .bpd-fact__icon {
  background: #eff6ff;
  color: #1d4ed8;
}

.bpd-fact--rating .bpd-fact__icon {
  background: #fff7ed;
  color: #c2410c;
}

.bpd-fact__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bpd-fact__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bpd-muted);
  line-height: 1.2;
}

.bpd-fact__value {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bpd-ink);
  line-height: 1.15;
  word-break: break-word;
}

.bpd-fact__value--muted {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--bpd-muted);
  letter-spacing: 0;
}

.bpd-fact__meta {
  font-style: normal;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--bpd-muted);
}

.bpd-fact--empty {
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.bpd-fact--empty .bpd-fact__value:not(.bpd-fact__value--muted) {
  color: #94a3b8;
}

@media (max-width: 991.98px) {
  .bpd-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .bpd-facts {
    grid-template-columns: 1fr;
  }

  .bpd-fact {
    min-height: 4.1rem;
  }
}

/* ---------- Section shell ---------- */
.bpd-section {
  scroll-margin-top: calc(var(--bpd-header-h, 0px) + var(--bpd-nav-h) + 1.4rem);
  border-radius: var(--bpd-card-radius);
  background: #ffffff;
  border: 1px solid #d5dde8;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  padding: clamp(1.15rem, 3vw, 1.75rem);
}

.bpd-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.bpd-section--collapsible .bpd-section__toggle {
  margin-bottom: 0;
}

.bpd-section__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0.3rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.bpd-section__toggle:focus-visible {
  outline: 2px solid #c9a45c;
  outline-offset: 4px;
  border-radius: 0.4rem;
}

.bpd-section__toggle-text {
  min-width: 0;
}

.bpd-section__toggle .bpd-section__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
}

.bpd-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: #eef2f7;
  border: 1px solid #d5dde8;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.bpd-section__toggle-hint {
  display: block;
  margin-top: 0.28rem;
  color: #64748b;
  font-size: 0.82rem;
}

.bpd-section__toggle[aria-expanded="true"] .bpd-section__toggle-hint {
  display: none;
}

.bpd-section__chevron {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: #64748b;
  transition: transform 0.2s ease;
}

.bpd-section__toggle[aria-expanded="true"] .bpd-section__chevron {
  transform: rotate(180deg);
}

.bpd-section__collapse-body {
  padding-top: 0.85rem;
}

.bpd-section__eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bpd-accent-ink);
  margin-bottom: 0.2rem;
}

.bpd-section__title {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--bpd-ink);
}

/* ---------- AI project insights (teal / sky intelligence desk) ---------- */
.bpd-ai {
  --ai-ink: #0c1526;
  --ai-muted: #5b6b7c;
  --ai-line: rgba(15, 143, 128, 0.18);
  --ai-line-soft: rgba(14, 116, 144, 0.12);
  --ai-teal: #0f8f80;
  --ai-teal-deep: #0a5c52;
  --ai-sky: #0284c7;
  --ai-mint: #ecfdf8;
  --ai-ice: #f0f9ff;
  --ai-surface: #ffffff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 0.35rem;
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: 22px;
  color: var(--ai-ink);
  background:
    radial-gradient(520px 240px at 100% -10%, rgba(14, 165, 233, 0.14), transparent 58%),
    radial-gradient(380px 200px at 0% 110%, rgba(15, 143, 128, 0.12), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f4fbf9 48%, #eef6fb 100%);
  border: 1px solid rgba(15, 143, 128, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 40px rgba(15, 23, 42, 0.08);
}

.bpd-ai__aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background: linear-gradient(105deg, transparent 20%, rgba(45, 212, 191, 0.12), rgba(56, 189, 248, 0.1), transparent 78%);
  filter: blur(18px);
  animation: bpdAiAurora 9s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.bpd-ai__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: bpdAiOrb 8s ease-in-out infinite alternate;
}

.bpd-ai__orb--a {
  width: 180px;
  height: 180px;
  top: -60px;
  right: 8%;
  background: #67e8f9;
}

.bpd-ai__orb--b {
  width: 140px;
  height: 140px;
  bottom: -40px;
  left: 6%;
  background: #5eead4;
  animation-delay: -2.5s;
}

.bpd-ai__scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 28%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-16deg);
  animation: bpdAiScan 4.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.bpd-ai__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--ai-line-soft);
}

.bpd-ai__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ai-teal-deep);
}

.bpd-ai__mark {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, #14b8a6, #0ea5e9);
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.28);
  animation: bpdAiSparkle 2.4s ease-in-out infinite;
}

.bpd-ai__mark i { font-size: 0.78rem; line-height: 1; }

.bpd-ai__title {
  margin: 0 0 0.35rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ai-ink);
}

.bpd-ai__sub {
  max-width: 38rem;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ai-muted);
}

.bpd-ai__fit {
  position: relative;
  min-width: 5.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(155deg, #ecfeff, #f0fdfa);
  border: 1px solid rgba(15, 143, 128, 0.28);
  box-shadow: 0 10px 22px rgba(15, 143, 128, 0.12);
}

.bpd-ai__fit-ring {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent 40%, rgba(14, 165, 233, 0.22), transparent 70%);
  animation: bpdAiFitSpin 6s linear infinite;
  pointer-events: none;
}

.bpd-ai__fit-value,
.bpd-ai__fit-label {
  position: relative;
  z-index: 1;
}

.bpd-ai__fit-value {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ai-teal-deep);
  background: linear-gradient(120deg, #0f766e 20%, #0284c7 55%, #0f766e 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bpdAiShimmer 3.2s ease-in-out infinite;
}

.bpd-ai__fit-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.bpd-ai__fit--loading .bpd-ai__fit-value {
  animation: bpdAiPulse 1.2s ease-in-out infinite;
}

.bpd-ai__fit--strong {
  border-color: rgba(15, 143, 128, 0.45);
  background: linear-gradient(155deg, #ccfbf1, #ecfeff);
}
.bpd-ai__fit--strong .bpd-ai__fit-value {
  background-image: linear-gradient(120deg, #0f766e 15%, #14b8a6 50%, #0284c7 85%);
}

.bpd-ai__fit--ok {
  border-color: rgba(2, 132, 199, 0.4);
  background: linear-gradient(155deg, #e0f2fe, #f0f9ff);
}
.bpd-ai__fit--ok .bpd-ai__fit-value {
  background-image: linear-gradient(120deg, #0369a1, #0ea5e9, #0284c7);
}

.bpd-ai__fit--low {
  border-color: rgba(244, 63, 94, 0.35);
  background: linear-gradient(155deg, #fff1f2, #fff7ed);
}
.bpd-ai__fit--low .bpd-ai__fit-value {
  background-image: linear-gradient(120deg, #e11d48, #f97316);
}

.bpd-ai__disclaimer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.95), rgba(240, 249, 255, 0.95));
  border: 1px solid rgba(15, 143, 128, 0.18);
  font-size: 0.8rem;
  line-height: 1.45;
  color: #334155;
}

.bpd-ai__icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 11px;
  color: var(--ai-teal-deep);
  background: linear-gradient(145deg, #ccfbf1, #e0f2fe);
  border: 1px solid rgba(15, 143, 128, 0.16);
  box-shadow: 0 4px 10px rgba(15, 143, 128, 0.1);
}

.bpd-ai__icon i {
  font-size: 0.95rem;
  line-height: 1;
}

.bpd-ai__icon--soft {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  color: #0e7490;
  background: #ecfeff;
}

.bpd-ai__loading,
.bpd-ai__error {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--ai-muted);
}

.bpd-ai__error { color: #b91c1c; }

.bpd-ai__pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.bpd-ai__pulse span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #14b8a6, #0ea5e9);
  animation: bpdAiDot 1.05s ease-in-out infinite;
}

.bpd-ai__pulse span:nth-child(2) { animation-delay: 0.15s; }
.bpd-ai__pulse span:nth-child(3) { animation-delay: 0.3s; }

.bpd-ai__body {
  position: relative;
  z-index: 1;
}

.bpd-ai__tabs {
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.bpd-ai__tabs .nav-link {
  border-radius: 999px;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 650;
}

.bpd-ai__tabs .nav-link.active {
  background: #0c1526;
  color: #fff;
}

.bpd-ai__afford {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.bpd-ai__afford .form-control {
  max-width: 16rem;
}

.bpd-ai__panes {
  min-height: 4rem;
}

.bpd-ai.is-ready .bpd-ai__card {
  animation: bpdAiCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--ai-stagger, 0) * 0.08s);
}

.bpd-ai__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.bpd-ai__card {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bpd-ai__card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 143, 128, 0.28);
  box-shadow: 0 14px 28px rgba(15, 143, 128, 0.1);
}

.bpd-ai__card--wide { grid-column: 1 / -1; }

.bpd-ai__card--locality {
  background:
    radial-gradient(420px 150px at 100% 0%, rgba(14, 165, 233, 0.1), transparent 55%),
    linear-gradient(180deg, #ffffff, #f0f9ff);
  border-color: rgba(2, 132, 199, 0.22);
}

.bpd-ai__locality-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.7rem;
}

.bpd-ai__locality-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0c4a6e;
  background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
  border: 1px solid rgba(14, 165, 233, 0.28);
}

.bpd-ai__address {
  margin: 0 0 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #334155;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.bpd-ai__mini-label {
  margin: 0.9rem 0 0.45rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ai-teal-deep);
}

.bpd-ai__commute-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 0.55rem;
}

.bpd-ai__commute-chip {
  display: flex !important;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--ai-muted);
}

.bpd-ai__commute-chip strong {
  display: block;
  color: var(--ai-ink);
  font-size: 0.84rem;
  font-weight: 750;
}

.bpd-ai__commute-chip span,
.bpd-ai__commute-chip em {
  display: block;
  font-style: normal;
}

.bpd-ai__commute-chip em {
  color: var(--ai-sky);
  font-weight: 750;
}

.bpd-ai__card-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.6rem;
  font-size: 0.94rem;
  font-weight: 750;
  color: var(--ai-ink);
}

.bpd-ai__fit-rec {
  margin: 0 0 0.35rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ai-teal-deep);
}

.bpd-ai__card-copy {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ai-muted);
}

.bpd-ai__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #334155;
}

.bpd-ai__list li + li { margin-top: 0.4rem; }
.bpd-ai__list li::marker { color: var(--ai-teal); }

@keyframes bpdAiAurora {
  from { transform: translateX(-4%) rotate(0deg); opacity: 0.7; }
  to { transform: translateX(6%) rotate(2deg); opacity: 1; }
}

@keyframes bpdAiOrb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-12px, 10px) scale(1.08); }
}

@keyframes bpdAiScan {
  0% { transform: translateX(0) skewX(-16deg); opacity: 0; }
  12% { opacity: 0.55; }
  45% { opacity: 0.35; }
  70% { transform: translateX(420%) skewX(-16deg); opacity: 0; }
  100% { transform: translateX(420%) skewX(-16deg); opacity: 0; }
}

@keyframes bpdAiSparkle {
  0%, 100% { transform: scale(1) rotate(0deg); box-shadow: 0 6px 14px rgba(14, 165, 233, 0.28); }
  50% { transform: scale(1.08) rotate(-8deg); box-shadow: 0 8px 18px rgba(20, 184, 166, 0.4); }
}

@keyframes bpdAiFitSpin {
  to { transform: rotate(360deg); }
}

@keyframes bpdAiShimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes bpdAiPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes bpdAiDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@keyframes bpdAiCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .bpd-ai { padding: 1.1rem 1rem 1.15rem; border-radius: 16px; }
  .bpd-ai__grid { grid-template-columns: 1fr; }
  .bpd-ai__card--wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .bpd-ai__aurora,
  .bpd-ai__orb,
  .bpd-ai__scan,
  .bpd-ai__mark,
  .bpd-ai__fit-ring,
  .bpd-ai__fit-value,
  .bpd-ai__pulse span,
  .bpd-ai.is-ready .bpd-ai__card {
    animation: none !important;
  }

  .bpd-ai__card:hover {
    transform: none;
  }
}

/* ---------- Overview ---------- */
.bpd-desc {
  color: var(--bpd-ink-soft);
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.bpd-inline-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.bpd-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.46rem 0.8rem;
  border-radius: 999px;
  background: var(--bpd-surface);
  border: 1px solid var(--bpd-line);
  color: var(--bpd-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.bpd-pill i { color: var(--bpd-amber); }

.bpd-address-card {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--bpd-surface);
  border: 1px solid var(--bpd-line);
  color: var(--bpd-ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.bpd-address-card i { color: var(--bpd-accent-ink); margin-top: 0.1rem; }

/* ---------- Pricing ---------- */
.bpd-pricing-tower {
  border: 1px solid var(--bpd-line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.bpd-pricing-tower:last-child { margin-bottom: 0; }

.bpd-pricing-tower__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  background: var(--bpd-surface);
  border-bottom: 1px solid var(--bpd-line);
  font-weight: 800;
  color: var(--bpd-ink);
}

.bpd-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.bpd-pricing-table th {
  text-align: left;
  padding: 0.6rem 1rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bpd-muted);
  border-bottom: 1px solid var(--bpd-line);
}

.bpd-pricing-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--bpd-line);
  color: var(--bpd-ink-soft);
  vertical-align: middle;
}

.bpd-pricing-table tr:last-child td { border-bottom: none; }

.bpd-pricing-table td.bpd-pricing-config {
  font-weight: 750;
  color: var(--bpd-ink);
}

.bpd-pricing-table td.bpd-pricing-price {
  font-weight: 800;
  color: var(--bpd-accent-ink);
  white-space: nowrap;
}

.bpd-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
}

.bpd-avail-badge--open { background: #e8f8ee; color: #147a3f; }
.bpd-avail-badge--limited { background: var(--bpd-amber-soft); color: var(--bpd-amber); }
.bpd-avail-badge--closed { background: #fdeceb; color: var(--bpd-danger); }

/* ---------- Amenities ---------- */
.bpd-amenities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.7rem;
}

.bpd-amenity {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: var(--bpd-surface);
  border: 1px solid var(--bpd-line);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--bpd-ink-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bpd-amenity:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.07);
}

.bpd-amenity__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9px;
  background: var(--bpd-accent-soft);
  color: var(--bpd-accent-ink);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ---------- Gallery reuses .builder-media-tile (shared) ---------- */
.bpd-gallery-grid { margin: 0 -0.1rem; }

/* ---------- Docs / plans ---------- */
.bpd-doc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.bpd-doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: 12px;
  background: var(--bpd-surface);
  border: 1px solid var(--bpd-line);
  color: var(--bpd-ink) !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.bpd-doc-chip:hover {
  transform: translateY(-2px);
  background: var(--bpd-accent-soft);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.bpd-doc-chip i { color: var(--bpd-accent-ink); font-size: 1rem; }

.bpd-subhead {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bpd-muted);
  margin: 0 0 0.6rem;
}

.bpd-subsection + .bpd-subsection { margin-top: 1.4rem; }

/* ---------- Compact hover-play video cards ---------- */
.bpd-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
  gap: 0.85rem;
}

.bpd-video-card {
  margin: 0;
  max-width: 280px;
}

.bpd-video-card__stage {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.bpd-video-card__stage--link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1e293b, #0f172a);
}

.bpd-video-card__poster,
.bpd-video-card__el,
.bpd-video-card__player,
.bpd-video-card__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}

.bpd-video-card__player {
  background: #000;
}

.bpd-video-card__badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bpd-video-card__hint {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.bpd-video-card__stage.is-playing .bpd-video-card__badge,
.bpd-video-card__stage.is-playing .bpd-video-card__hint,
.bpd-video-card__stage.is-playing .bpd-video-card__poster {
  opacity: 0;
}

.bpd-video-card__caption {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: #334155;
  line-height: 1.3;
}

@media (hover: hover) and (pointer: fine) {
  .bpd-video-card__stage:hover .bpd-video-card__badge {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bpd-video-card__badge,
  .bpd-video-card__hint {
    transition: none;
  }
}

/* ---------- Video lightbox popup ---------- */
.bpd-video-modal__dialog {
  max-width: min(960px, calc(100vw - 1.5rem));
}

.bpd-video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.bpd-video-modal__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
  object-fit: contain;
}

/* ---------- Construction timeline ---------- */
.bpd-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bpd-timeline::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  background: var(--bpd-line);
}

.bpd-timeline__item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.4rem;
}

.bpd-timeline__item:last-child { margin-bottom: 0; }

.bpd-timeline__marker {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 800;
  color: #fff;
  background: conic-gradient(var(--bpd-accent) calc(var(--bpd-pct, 0) * 1%), #dde3ee 0);
}

.bpd-timeline__marker::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bpd-ink);
}

.bpd-timeline__marker span {
  position: relative;
  z-index: 1;
}

.bpd-timeline__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.bpd-timeline__title {
  font-weight: 800;
  color: var(--bpd-ink);
}

.bpd-timeline__month {
  font-size: 0.76rem;
  color: var(--bpd-muted);
  font-weight: 650;
}

.bpd-timeline__note {
  margin: 0.35rem 0 0.6rem;
  color: var(--bpd-ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.bpd-timeline__img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--bpd-line);
}

/* ---------- Sidebar ---------- */
.bpd-side {
  position: sticky !important;
  top: calc(var(--bpd-header-h, 0px) + var(--bpd-nav-h) + 1rem);
}

/* ---------- Mobile sticky CTA ---------- */
.bpd-mobile-cta {
  display: none;
}

@media (max-width: 991.98px) {
  .bpd-mobile-cta {
    display: flex;
    position: fixed;
    left: var(--portal-gutter, 1rem);
    right: var(--portal-gutter, 1rem);
    bottom: 0.75rem;
    z-index: 40;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    background: var(--bpd-ink);
    color: #fff;
    box-shadow: 0 14px 30px rgba(12, 21, 38, 0.35);
    text-decoration: none;
  }

  .bpd-mobile-cta__price {
    font-size: 0.78rem;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.72);
  }

  .bpd-mobile-cta__price strong {
    display: block;
    font-size: 1rem;
    color: #fff;
  }

  .bpd-mobile-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: var(--bpd-accent);
    color: #fff;
    font-weight: 750;
    font-size: 0.85rem;
  }

  .bpd-page__inner { padding-bottom: 4.5rem; }
}

@media (max-width: 767.98px) {
  /* legacy hero rules removed — spotlight handles mobile above */
}

@keyframes bpdRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .bpd-spotlight,
  .bpd-fact,
  .bpd-amenity {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   RICH PROJECT PAGE (2026-09-30) — same visual system as the Builder
   dashboard/leads: animated backdrop, cinematic photo hero, one KPI strip,
   gradient icon tiles per section, reveal-on-scroll. Scoped to .bpd-rich.
   ========================================================================== */

.bpd-rich {
  --r-navy: #0b1530;
  --r-navy-2: #1e2b5c;
  --r-gold: #f4c84f;
  --r-gold-2: #d99a1e;
  --r-ink: #0f172a;
  --r-muted: #64748b;
  --r-line: rgba(148, 163, 184, 0.28);
  --r-card: rgba(255, 255, 255, 0.9);
  --r-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 14px 34px rgba(15, 23, 42, 0.08);
  isolation: isolate;
  background: linear-gradient(180deg, #f3f6fc 0%, #eef2fa 50%, #e9eef8 100%);
}

/* ---------- Backdrop ---------- */
.bpd-rich .bpd-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bpd-rich .bpd-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: bpdRichBlob 22s ease-in-out infinite alternate;
}

.bpd-rich .bpd-bg__blob--1 { width: 620px; height: 620px; top: -220px; left: -160px; background: radial-gradient(circle, rgba(129, 140, 248, 0.55), transparent 70%); }
.bpd-rich .bpd-bg__blob--2 { width: 560px; height: 560px; top: 120px; right: -200px; background: radial-gradient(circle, rgba(244, 200, 79, 0.45), transparent 70%); animation-delay: -7s; }
.bpd-rich .bpd-bg__blob--3 { width: 680px; height: 680px; top: 55%; left: 30%; background: radial-gradient(circle, rgba(56, 189, 248, 0.32), transparent 70%); animation-delay: -13s; }

.bpd-rich .bpd-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 43, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 43, 92, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

@keyframes bpdRichBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(0.96); }
}

/* ---------- Toolbar ---------- */
.bpd-rich .bpd-toolbar__back,
.bpd-rich .bpd-breadcrumb.breadcrumb {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--r-line) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.bpd-rich .bpd-breadcrumb .breadcrumb-item a {
  color: #4338ca !important;
}

/* ---------- Cinematic hero ---------- */
.bpd-rich .bpd-spotlight--cinema {
  --hero-h: clamp(440px, 56vh, 600px);
  border: 0;
  border-radius: 28px;
  background: var(--r-navy);
  color: #fff;
  box-shadow: 0 30px 60px rgba(11, 21, 48, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__grid {
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  gap: 0;
  padding: 0;
  min-height: var(--hero-h);
  align-items: stretch;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__photo {
  grid-column: 1 / -1;
  grid-row: 1;
  height: auto;
  align-self: stretch;
  min-height: var(--hero-h);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--r-navy);
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 13, 32, 0.92) 0%, rgba(8, 13, 32, 0.7) 45%, rgba(8, 13, 32, 0.45) 100%),
    linear-gradient(0deg, rgba(8, 13, 32, 0.55) 0%, transparent 50%);
}

/* Ambient fill: a deliberately blurred copy of the photo tints the banner, so
   the real photo never has to be stretched across 2000px (that looked soft). */
.bpd-rich .bpd-spotlight__ambient {
  position: absolute;
  inset: -60px;
  width: calc(100% + 120px);
  height: calc(100% + 120px);
  z-index: 0;
  object-fit: cover;
  filter: blur(42px) saturate(1.35) brightness(0.75);
  opacity: 0.85;
  pointer-events: none;
}

/* The real photo: sharp, framed on the right at a sensible size. */
.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__image {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  left: auto;
  z-index: 2;
  width: calc(44% - 1.25rem);
  /* An absolutely positioned <img> ignores `bottom` (it keeps its own ratio),
     so the height must be explicit or the photo runs off the banner. */
  height: calc(100% - 2.5rem);
  border-radius: 20px;
  object-fit: cover;
  object-position: center 35%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  animation: bpdRichFloat 9s ease-in-out infinite alternate;
}

@keyframes bpdRichFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

.bpd-rich .bpd-spotlight__aurora {
  position: absolute;
  inset: -30%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(38% 30% at 20% 30%, rgba(129, 140, 248, 0.35), transparent 70%),
    radial-gradient(30% 26% at 42% 78%, rgba(244, 200, 79, 0.24), transparent 70%),
    radial-gradient(34% 30% at 8% 88%, rgba(56, 189, 248, 0.22), transparent 70%);
  mix-blend-mode: screen;
  animation: bpdRichAurora 18s ease-in-out infinite alternate;
}

@keyframes bpdRichAurora {
  from { transform: translate(-3%, -2%) rotate(0deg); }
  to { transform: translate(4%, 3%) rotate(8deg); }
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__main {
  grid-column: 1;
  grid-row: 1;
  z-index: 3;
  justify-content: flex-end;
  gap: 1.15rem;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 2.6vw, 2.5rem);
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__intro {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 44rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__badge {
  align-self: flex-start;
  color: var(--r-gold);
  background: rgba(244, 200, 79, 0.14);
  border: 1px solid rgba(244, 200, 79, 0.45);
  box-shadow: 0 0 24px rgba(244, 200, 79, 0.18);
  backdrop-filter: blur(8px);
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__tags .builder-lux-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__tags .builder-lux-tag--gold {
  color: #1c1405;
  background: linear-gradient(135deg, var(--r-gold), var(--r-gold-2));
  border-color: transparent;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__title {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__builder {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(226, 232, 240, 0.92);
  font-weight: 650;
  font-size: 1rem;
}

.bpd-rich .bpd-spotlight__builder-mark {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1c1405;
  background: linear-gradient(135deg, var(--r-gold), var(--r-gold-2));
  box-shadow: 0 6px 16px rgba(217, 154, 30, 0.35);
  font-size: 0.9rem;
}

.bpd-rich .bpd-spotlight__where {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.bpd-rich .bpd-spotlight__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 650;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bpd-rich .bpd-spotlight__chip i { color: #fda4af; }
.bpd-rich .bpd-spotlight__chip--address { font-weight: 500; color: #e2e8f0; }
.bpd-rich .bpd-spotlight__chip--address i { color: #7dd3fc; }

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__actions .builder-banner-btn {
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 14px;
  font-weight: 750;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__actions .builder-banner-btn--primary {
  color: #1c1405 !important;
  background: linear-gradient(135deg, #fde68a 0%, var(--r-gold) 45%, var(--r-gold-2) 100%) !important;
  border: 0 !important;
  box-shadow: 0 12px 28px rgba(217, 154, 30, 0.4);
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__actions .builder-banner-btn--solid {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px);
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__actions .builder-banner-btn:hover {
  transform: translateY(-2px);
}

.bpd-rich .bpd-spotlight__count {
  min-width: 1.5rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #1c1405;
  background: var(--r-gold);
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__rera {
  z-index: 4;
  top: 2.1rem;
  right: 2.1rem;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__nav {
  z-index: 4;
  top: auto;
  bottom: 2.1rem;
  left: auto;
  transform: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__nav:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.28);
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__nav--prev { right: 5rem; }
.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__nav--next { right: 2.1rem; }

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__pos {
  z-index: 4;
  left: auto;
  right: 8rem;
  bottom: 2.55rem;
  transform: none;
  background: rgba(8, 13, 32, 0.55);
}

/* ---------- KPI tiles (live inside the hero's left column) ---------- */
.bpd-rich .bpd-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

/* Seven tiles: 4 across with a double-width price = two full rows.
   Six (availability hidden): 3 across = two full rows. */
.bpd-rich .bpd-kpis > .bpd-kpi { min-width: 0; }
.bpd-rich .bpd-kpis > .bpd-kpi--price { grid-column: span 2; }
.bpd-rich .bpd-kpis:not(:has(.bpd-kpi--available)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bpd-rich .bpd-kpis:not(:has(.bpd-kpi--available)) > .bpd-kpi--price { grid-column: auto; }

/* Glass on the dark hero */
.bpd-rich .bpd-spotlight--cinema .bpd-kpi {
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bpd-rich .bpd-spotlight--cinema .bpd-kpi:hover {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.bpd-rich .bpd-spotlight--cinema .bpd-kpi__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  font-size: 1rem;
}

.bpd-rich .bpd-spotlight--cinema .bpd-kpi__label { color: rgba(203, 213, 225, 0.8); font-size: 0.64rem; }
.bpd-rich .bpd-spotlight--cinema .bpd-kpi__value { color: #fff; font-size: 1.15rem; }
.bpd-rich .bpd-spotlight--cinema .bpd-kpi__value--muted { color: rgba(226, 232, 240, 0.78); font-size: 0.88rem; }
.bpd-rich .bpd-spotlight--cinema .bpd-kpi__meta { color: rgba(203, 213, 225, 0.75); }
.bpd-rich .bpd-spotlight--cinema .bpd-kpi--price .bpd-kpi__value:not(.bpd-kpi__value--muted) { color: #fde68a; }

.bpd-rich .bpd-kpi {
  --k-a: #6366f1;
  --k-b: #4338ca;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.8rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: var(--r-card);
  border: 1px solid var(--r-line);
  box-shadow: var(--r-shadow);
  backdrop-filter: blur(12px);
  animation: bpdRichUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bpd-rich .bpd-kpi::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--k-a), var(--k-b));
}

.bpd-rich .bpd-kpi:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.bpd-rich .bpd-kpi:nth-child(2) { animation-delay: 0.05s; }
.bpd-rich .bpd-kpi:nth-child(3) { animation-delay: 0.1s; }
.bpd-rich .bpd-kpi:nth-child(4) { animation-delay: 0.15s; }
.bpd-rich .bpd-kpi:nth-child(5) { animation-delay: 0.2s; }
.bpd-rich .bpd-kpi:nth-child(6) { animation-delay: 0.25s; }
.bpd-rich .bpd-kpi:nth-child(7) { animation-delay: 0.3s; }

.bpd-rich .bpd-kpi__icon {
  grid-row: 1 / span 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--k-a), var(--k-b));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--k-b) 35%, transparent);
}

.bpd-rich .bpd-kpi__label {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--r-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bpd-rich .bpd-kpi__value {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--r-ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bpd-rich .bpd-kpi__value--muted {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--r-muted);
}

.bpd-rich .bpd-kpi__meta {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--r-muted);
}

.bpd-rich .bpd-kpi--price { --k-a: #fbbf24; --k-b: #d97706; }
.bpd-rich .bpd-kpi--units { --k-a: #818cf8; --k-b: #4338ca; }
.bpd-rich .bpd-kpi--available { --k-a: #34d399; --k-b: #059669; }
.bpd-rich .bpd-kpi--towers { --k-a: #38bdf8; --k-b: #0369a1; }
.bpd-rich .bpd-kpi--possession { --k-a: #a78bfa; --k-b: #6d28d9; }
.bpd-rich .bpd-kpi--rating { --k-a: #fb923c; --k-b: #c2410c; }
.bpd-rich .bpd-kpi--favorites { --k-a: #fb7185; --k-b: #be123c; }

/* ---------- Quick nav ---------- */
.bpd-rich .bpd-quicknav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--r-line);
  border-radius: 18px;
  box-shadow: var(--r-shadow);
}

.bpd-rich .bpd-quicknav.is-stuck {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0;
}

.bpd-rich .bpd-quicknav__link {
  color: #475569 !important;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.bpd-rich .bpd-quicknav__link i { color: #6366f1; transition: color 0.18s ease; }

.bpd-rich .bpd-quicknav__link:hover {
  background: #eef2ff;
  color: #3730a3 !important;
  transform: translateY(-1px);
}

.bpd-rich .bpd-quicknav__link.is-active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--r-navy-2), var(--r-navy));
  box-shadow: 0 8px 18px rgba(11, 21, 48, 0.3);
}

.bpd-rich .bpd-quicknav__link.is-active i { color: var(--r-gold); }

/* ---------- Sections ---------- */
.bpd-rich .bpd-section {
  --s-a: #818cf8;
  --s-b: #4338ca;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--r-line);
  border-radius: 24px;
  background: var(--r-card);
  backdrop-filter: blur(12px);
  box-shadow: var(--r-shadow);
}

.bpd-rich .bpd-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--s-a), var(--s-b), transparent 85%);
}

.bpd-rich .bpd-section::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--s-a) 16%, transparent), transparent 70%);
}

.bpd-rich .bpd-section > * { position: relative; z-index: 1; }

.bpd-rich .bpd-section__head,
.bpd-rich .bpd-section__toggle {
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
}

.bpd-rich .bpd-section__icon {
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--s-a), var(--s-b));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--s-b) 32%, transparent);
}

.bpd-rich .bpd-section__toggle .bpd-section__chevron { margin-left: auto; }

.bpd-rich .bpd-section__eyebrow { color: var(--s-b); }

.bpd-rich .bpd-section__title {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--r-ink);
}

.bpd-rich #bpd-overview { --s-a: #818cf8; --s-b: #4338ca; }
.bpd-rich #bpd-pricing { --s-a: #fbbf24; --s-b: #d97706; }
.bpd-rich #bpd-inventory { --s-a: #38bdf8; --s-b: #0369a1; }
.bpd-rich #bpd-amenities { --s-a: #34d399; --s-b: #047857; }
.bpd-rich #bpd-gallery { --s-a: #fb7185; --s-b: #be123c; }
.bpd-rich #bpd-plans { --s-a: #a78bfa; --s-b: #6d28d9; }
.bpd-rich #bpd-progress { --s-a: #fb923c; --s-b: #c2410c; }

.bpd-rich .bpd-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}

.bpd-rich .bpd-pill {
  color: #3730a3;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
}

.bpd-rich .bpd-pill i { color: #6366f1; }

/* Pricing table */
.bpd-rich .bpd-pricing-tower {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--r-line);
  background: #fff;
}

.bpd-rich .bpd-pricing-tower + .bpd-pricing-tower { margin-top: 1rem; }

.bpd-rich .bpd-pricing-tower__head {
  color: #fff;
  background: linear-gradient(135deg, var(--r-navy-2), var(--r-navy));
}

.bpd-rich .bpd-pricing-tower__head i { color: var(--r-gold); }

.bpd-rich .bpd-pricing-table th {
  background: #fffbeb;
  color: #92400e;
}

.bpd-rich .bpd-pricing-table tbody tr { transition: background 0.15s ease; }
.bpd-rich .bpd-pricing-table tbody tr:hover { background: #fefce8; }
.bpd-rich .bpd-pricing-table td.bpd-pricing-price { color: #b45309; font-weight: 800; }

/* Amenities — rotating colour tiles */
.bpd-rich .bpd-amenities {
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.75rem;
}

.bpd-rich .bpd-amenity {
  --a-a: #34d399;
  --a-b: #047857;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--r-line);
  color: #1e293b;
  font-size: 0.86rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bpd-rich .bpd-amenity:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--a-a) 55%, transparent);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--a-b) 16%, transparent);
}

.bpd-rich .bpd-amenity__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 11px;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--a-a), var(--a-b));
}

.bpd-rich .bpd-amenity:nth-child(6n + 2) { --a-a: #38bdf8; --a-b: #0369a1; }
.bpd-rich .bpd-amenity:nth-child(6n + 3) { --a-a: #a78bfa; --a-b: #6d28d9; }
.bpd-rich .bpd-amenity:nth-child(6n + 4) { --a-a: #fbbf24; --a-b: #d97706; }
.bpd-rich .bpd-amenity:nth-child(6n + 5) { --a-a: #fb7185; --a-b: #be123c; }
.bpd-rich .bpd-amenity:nth-child(6n + 6) { --a-a: #818cf8; --a-b: #4338ca; }

/* Gallery */
.bpd-rich .builder-media-tile {
  position: relative;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.bpd-rich .builder-media-tile__open { position: relative; display: block; overflow: hidden; }

.bpd-rich .builder-media-tile__image {
  height: 220px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bpd-rich .builder-media-tile__open::after {
  content: "\F62C";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  opacity: 0;
  background: linear-gradient(0deg, rgba(190, 18, 60, 0.55), rgba(11, 21, 48, 0.25));
  transition: opacity 0.3s ease;
}

.bpd-rich .builder-media-tile__open:hover .builder-media-tile__image,
.bpd-rich .builder-media-tile__open:focus-visible .builder-media-tile__image { transform: scale(1.08); }

.bpd-rich .builder-media-tile__open:hover::after,
.bpd-rich .builder-media-tile__open:focus-visible::after { opacity: 1; }

/* Plans & documents */
.bpd-rich .bpd-subhead {
  color: #6d28d9;
  font-weight: 800;
}

.bpd-rich .bpd-doc-chip {
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ddd6fe;
  color: #1e293b;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bpd-rich .bpd-doc-chip i {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
}

.bpd-rich .bpd-doc-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(109, 40, 217, 0.16);
}

/* AI + reviews cards line up with the section cards */
.bpd-rich .bpd-ai,
.bpd-rich .detail-rating-card {
  border-radius: 24px !important;
  box-shadow: var(--r-shadow) !important;
}

/* ---------- Enquiry card ---------- */
.bpd-rich .bpd-side {
  overflow: hidden;
  border-radius: 24px !important;
  border: 1px solid var(--r-line) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14) !important;
}

.bpd-rich .bpd-side::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, #fbbf24, #fb7185, #818cf8, #38bdf8, #fbbf24);
  background-size: 200% 100%;
  animation: bpdRichSlide 6s linear infinite;
}

.bpd-rich .bpd-side::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(244, 200, 79, 0.22), transparent 70%);
}

.bpd-rich .bpd-side > .card-body { position: relative; z-index: 1; }

@keyframes bpdRichSlide {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}

/* Mobile CTA */

.bpd-mobile-cta {
  background: linear-gradient(135deg, var(--r-navy-2, #1e2b5c), var(--r-navy, #0b1530));
}

.bpd-mobile-cta__btn {
  color: #1c1405 !important;
  background: linear-gradient(135deg, #fde68a, #f4c84f 45%, #d99a1e) !important;
}

/* ---------- Motion ---------- */
@keyframes bpdRichUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.bpd-rich.bpd-anim .bpd-section,
.bpd-rich.bpd-anim .bpd-ai,
.bpd-rich.bpd-anim .detail-rating-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.bpd-rich.bpd-anim .bpd-section.is-in,
.bpd-rich.bpd-anim .bpd-ai.is-in,
.bpd-rich.bpd-anim .detail-rating-card.is-in,
.bpd-rich.bpd-anim .bpd-section:target {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
.bpd-rich .bpd-kpi__value--muted { white-space: normal; }

@media (max-width: 991.98px) {
  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__photo {
    order: 0;
    grid-row: 1;
    min-height: 0;
    height: 280px;
  }

  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__photo::after {
    z-index: 3;
    background: linear-gradient(0deg, rgba(8, 13, 32, 0.85) 0%, transparent 55%);
  }

  /* Phone/tablet: the photo is the banner again (it is narrow here, so no stretch). */
  .bpd-rich .bpd-spotlight__ambient { display: none; }

  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__image {
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    animation: none;
  }

  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__rera { top: 0.85rem; right: 0.85rem; }
  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__nav { bottom: 3rem; }
  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__nav--prev { right: 3.6rem; }
  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__nav--next { right: 0.85rem; }
  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__pos { right: 6.5rem; bottom: 3.45rem; }

  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__main {
    grid-row: 2;
    padding: 1.35rem;
    margin-top: -2.5rem;
    background: linear-gradient(180deg, transparent 0%, var(--r-navy) 2.5rem);
  }

  /* Narrow: a tidy grid, price across the top. */
  .bpd-rich .bpd-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bpd-rich .bpd-kpis > .bpd-kpi--price { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
  .bpd-rich .bpd-spotlight--cinema { border-radius: 22px; }
  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__photo { height: 240px; }
  .bpd-rich .bpd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .bpd-rich .bpd-kpis > .bpd-kpi--price { grid-column: 1 / -1; }
  .bpd-rich .bpd-kpi { padding: 0.8rem; column-gap: 0.6rem; }
  .bpd-rich .bpd-kpi__icon { width: 2.3rem; height: 2.3rem; font-size: 1rem; border-radius: 12px; }
  .bpd-rich .bpd-kpi__value { font-size: 1.1rem; }
  .bpd-rich .bpd-section__icon { width: 2.4rem; height: 2.4rem; font-size: 1.05rem; border-radius: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .bpd-rich .bpd-bg__blob,
  .bpd-rich .bpd-spotlight__aurora,
  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__image,
  .bpd-rich .bpd-kpi,
  .bpd-rich .bpd-side::before {
    animation: none !important;
  }

  .bpd-rich .bpd-kpi,
  .bpd-rich .bpd-amenity,
  .bpd-rich .builder-media-tile__image,
  .bpd-rich .bpd-quicknav__link {
    transition: none !important;
  }
}
