/* ── Hero Sections (Obsidian Dark with Bronze Accents) ── */
.dev-hero {
  position: relative;
  padding: calc(var(--nav-height, 80px) + 5rem) 0 4.5rem;
  background-color: #0B0F17;
  color: #FFFFFF;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(167, 122, 82, 0.25);
}

.dev-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background: radial-gradient(circle at 50% 30%, rgba(167, 122, 82, 0.28) 0%, rgba(11, 15, 23, 0.98) 80%);
}

.dev-hero__container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.dev-hero__eyebrow {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #A77A52;
  margin-bottom: 0.85rem;
  display: block;
}

.dev-hero__title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #FFFFFF;
  line-height: 1.08;
}

.dev-hero__sub {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.1rem;
  color: rgba(242, 239, 231, 0.82);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ── Sticky MAV Filter Bar ── */
.dev-filter-bar {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(11, 15, 23, 0.1);
  border-top: 1px solid rgba(11, 15, 23, 0.06);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(11, 15, 23, 0.06);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Dark mode when scrolled past hero */
.dev-filter-bar.is-scrolled {
  background: #0B0F17;
  border-bottom: 1px solid rgba(167, 122, 82, 0.25);
  border-top: none;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.dev-filter-bar.is-scrolled .dev-search-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(167, 122, 82, 0.35);
  color: #F2EFE7;
}

.dev-filter-bar.is-scrolled .dev-search-input::placeholder {
  color: rgba(242, 239, 231, 0.45);
}

.dev-filter-bar.is-scrolled .dev-search-input:focus {
  border-color: #A77A52;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.dev-filter-bar.is-scrolled .dev-search-input-wrap svg {
  color: #A77A52;
  opacity: 0.8;
}

.dev-filter-bar.is-scrolled .dev-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(167, 122, 82, 0.35);
  color: rgba(242, 239, 231, 0.9);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23A77A52' stroke-width='1.5'/%3E%3C/svg%3E");
}

.dev-filter-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.dev-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.dev-search-input-wrap svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(11, 15, 23, 0.45);
  opacity: 1;
  pointer-events: none;
}

.dev-search-input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.65rem;
  background: #FFFFFF;
  border: 1px solid rgba(11, 15, 23, 0.18);
  border-radius: 3px;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.82rem;
  color: #0B0F17;
  outline: none;
  transition: border-color 0.25s ease;
}

.dev-search-input::placeholder {
  color: rgba(11, 15, 23, 0.4);
}

.dev-search-input:focus {
  border-color: #A77A52;
  box-shadow: 0 0 0 3px rgba(167, 122, 82, 0.12);
}

.dev-select {
  padding: 0.7rem 2.25rem 0.7rem 1rem;
  background: #FFFFFF;
  border: 1px solid rgba(11, 15, 23, 0.18);
  border-radius: 3px;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.82rem;
  font-weight: 500;
  color: #0B0F17;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230B0F17' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  flex-shrink: 0;
  transition: border-color 0.25s ease;
}

.dev-select option {
  background: #FFFFFF;
  color: #0B0F17;
}

.dev-select:focus,
.dev-select:hover {
  border-color: #A77A52;
}

/* ── Pre-Construction Listing Grid (White Background) ── */
.dev-grid-section {
  padding: 3rem 0 6.5rem;
  background-color: #FFFFFF;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

/* Property Card — Full MAV Dark Style */
.dev-card {
  background: #0B0F17;
  border: 1px solid rgba(167, 122, 82, 0.18);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: inherit;
}

.dev-card:hover {
  transform: translateY(-6px);
  border-color: #A77A52;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dev-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0B0F17;
}

.dev-card__coming-soon {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #070A10 0%, #141B2D 60%, #0B0F17 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(167, 122, 82, 0.25);
  user-select: none;
}

.dev-cs__bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 45%, rgba(167, 122, 82, 0.22) 0%, transparent 65%),
    linear-gradient(to right, rgba(167, 122, 82, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(167, 122, 82, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px, 30px 30px;
  opacity: 0.85;
  transition: opacity 0.5s ease;
}

.dev-card:hover .dev-cs__bg {
  opacity: 1;
}

.dev-cs__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dev-card:hover .dev-cs__content {
  transform: scale(1.05);
}

.dev-cs__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(167, 122, 82, 0.12);
  border: 1px solid rgba(167, 122, 82, 0.4);
  color: #A77A52;
  margin: 0 auto 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.dev-cs__title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #FFFFFF;
  display: block;
}

.dev-cs__sub {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #A77A52;
  margin-top: 0.35rem;
  display: block;
  opacity: 0.9;
}

.dev-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dev-card:hover .dev-card__img {
  transform: scale(1.05);
}

.dev-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 15, 23, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #A77A52;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  border: 1px solid rgba(167, 122, 82, 0.4);
}

.dev-card__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #0B0F17;
}

/* Card Header — Dark MAV with white title */
.dev-card__header {
  padding: 1.4rem 1.6rem 1.2rem;
  border-bottom: 1px solid rgba(167, 122, 82, 0.15);
}

.dev-card__title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.dev-card__meta {
  font-size: 0.75rem;
  color: rgba(242, 239, 231, 0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Specs Strip — slightly lighter dark with bronze labels */
.dev-card__specs {
  display: flex;
  align-items: stretch;
  background: #141B2D;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(167, 122, 82, 0.12);
}

.dev-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  text-align: center;
}

.dev-spec-item:last-child {
  border-right: none;
}

.dev-spec-label {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #A77A52;
}

.dev-spec-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

/* ═════════════════════════════════════════════════════
   DEVELOPMENT DETAIL PAGE — MAV LUXURY DESIGN SYSTEM
   ═════════════════════════════════════════════════════ */

.detail-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-height, 80px) + 2rem);
  padding-bottom: 4rem;
  background-color: #0B0F17;
  color: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid rgba(167, 122, 82, 0.3);
}

.detail-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #070A10 0%, #141B2D 55%, #0B0F17 100%);
}

.detail-hero__cs-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 35%, rgba(167, 122, 82, 0.28) 0%, transparent 65%),
    linear-gradient(to right, rgba(167, 122, 82, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(167, 122, 82, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  opacity: 0.9;
}

.detail-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: none;
}

.detail-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 15, 23, 0.45) 0%, rgba(11, 15, 23, 0.82) 65%, rgba(11, 15, 23, 0.98) 100%);
}

.detail-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.detail-hero__location {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #A77A52;
  margin-bottom: 0.75rem;
  display: block;
}

.detail-hero__title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.05;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

/* Action Buttons Bar */
.detail-actions-bar {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.detail-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.detail-action-btn:hover {
  background: #FFFFFF;
  color: #0B0F17;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.detail-action-btn--primary {
  border-color: #A77A52;
  background: #A77A52;
  color: #FFFFFF;
}

.detail-action-btn--primary:hover {
  background: #936842;
  border-color: #936842;
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(167, 122, 82, 0.4);
}

/* Quick Specs Strip */
.detail-specs-strip {
  background: #141B2D;
  border-bottom: 1px solid rgba(167, 122, 82, 0.2);
  padding: 1.75rem 0;
  color: #FFFFFF;
}

.detail-specs-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.spec-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spec-tile__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #A77A52;
}

.spec-tile__value {
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* Content Sections */
.detail-section {
  padding: 5.5rem 0;
  background: #F2EFE7;
}

.detail-section--dark {
  background: #0B0F17;
  color: #FFFFFF;
  border-top: 1px solid rgba(167, 122, 82, 0.2);
  border-bottom: 1px solid rgba(167, 122, 82, 0.2);
}

.detail-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #A77A52;
  margin-bottom: 0.5rem;
  display: block;
}

.section-heading {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.15;
}

/* Checkmark Feature Lists */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.35rem;
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 1rem;
  line-height: 1.55;
}

.features-list li svg {
  color: #A77A52;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Categorized Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.amenity-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 122, 82, 0.25);
  padding: 2.25rem;
  border-radius: 4px;
}

.amenity-card__title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 1.3rem;
  color: #A77A52;
  margin-bottom: 1.25rem;
}

.amenity-card__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.amenity-card__list li {
  font-size: 0.95rem;
  color: rgba(242, 239, 231, 0.88);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.amenity-card__list li::before {
  content: '•';
  color: #A77A52;
  font-size: 1.2rem;
}

/* Deposit Timeline */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.timeline-box {
  background: #FFFFFF;
  border: 1px solid rgba(11, 15, 23, 0.12);
  border-top: 3px solid #A77A52;
  padding: 1.85rem;
  border-radius: 2px;
}

.timeline-box__pct {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 2.75rem;
  font-weight: 600;
  color: #A77A52;
  margin-bottom: 0.25rem;
}

.timeline-box__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0B0F17;
}

/* ═════════════════════════════════════════════════════
   NATIVE INTERACTIVE FLOOR PLAN VIEWER
   ═════════════════════════════════════════════════════ */

.floorplans-wrap {
  background: #FFFFFF;
  border: 1px solid rgba(11, 15, 23, 0.12);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(11, 15, 23, 0.06);
}

.floorplans-tabs {
  display: flex;
  background: #0B0F17;
  overflow-x: auto;
  border-bottom: 1px solid rgba(167, 122, 82, 0.25);
}

.floorplan-tab-btn {
  padding: 1.35rem 2.25rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(242, 239, 231, 0.65);
  font-family: var(--font-sans, sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.floorplan-tab-btn:hover {
  color: #FFFFFF;
}

.floorplan-tab-btn.active {
  color: #A77A52;
  border-bottom-color: #A77A52;
  background: rgba(167, 122, 82, 0.12);
}

.floorplan-content {
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}

.floorplan-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.floorplan-name {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 1.95rem;
  color: #0B0F17;
}

.floorplan-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  background: #F2EFE7;
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid rgba(11, 15, 23, 0.08);
}

.fp-spec-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(11, 15, 23, 0.5);
}

.fp-spec-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0B0F17;
}

.floorplan-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(11, 15, 23, 0.78);
}

.floorplan-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.floorplan-viewer-box {
  background: #0E131F;
  border-radius: 4px;
  padding: 1.75rem;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(167, 122, 82, 0.25);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
}

/* Modal Lightbox Component */
.mav-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.mav-modal.active {
  display: flex;
}

.mav-modal__content {
  background: #FFFFFF;
  border-radius: 4px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 3rem;
  border: 1px solid #A77A52;
}

.mav-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.85rem;
  cursor: pointer;
  color: #0B0F17;
}

@media (max-width: 992px) {
  .floorplan-content {
    grid-template-columns: 1fr;
  }
  .dev-filter-container {
    flex-direction: column;
    align-items: stretch;
  }
}
