/* ============================================================
   NEW DEVELOPMENTS — Listing Page (nd-*)
   ============================================================ */

/* --- Reveal (same as dev-page) --- */


/* --- Hero --- */
.nd-hero {
  position: relative;
  min-height: 75vh;
  padding: 160px 0 80px;
  display: flex;
  align-items: flex-end;
  background-image: url("../images/nd-hero.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.nd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.nd-hero-overlay {
  display: none;
}
.nd-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.nd-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand, #DDD2C7);
  margin-bottom: 20px;
}
.nd-hero h1 {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  color: var(--sand, #DDD2C7);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.nd-hero-lead {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-style: normal;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 32px;
  font-weight: 300;
}
.nd-hero-stats {
  display: flex;
  gap: 40px;
}
.nd-stat { text-align: left; }
.nd-stat-num {
  display: block;
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.nd-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(221,210,199,0.6);
}

@media (max-width: 640px) {
  .nd-hero { min-height: auto; padding: 120px 0 60px; }
  .nd-hero-stats { gap: 24px; flex-wrap: wrap; }
}

/* --- Map Section --- */
.nd-map-section {
  padding: 60px 0 0;
  background: #FAFAF8;
}
.nd-map-header {
  margin-bottom: 40px;
}
.nd-map-header h2 {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--navy, #031A61);
  margin-bottom: 6px;
}
.nd-map-header p {
  font-size: 14px;
  color: var(--text-light, #666);
}
.nd-map-wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(3,26,97,0.08);
}
#nd-map {
  height: 420px;
  min-height: 320px;
  z-index: 1;
}
.nd-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(3,26,97,0.08);
}
.nd-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--text, #333);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  border-right: 1px solid rgba(3,26,97,0.1);
}
.nd-legend-item:last-child {
  border-right: none;
}
.nd-legend-item:hover {
  background: rgba(0,0,0,0.03);
}
.nd-legend-item.nd-legend-active { color: var(--navy, #031A61); font-weight: 600; }
.nd-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nd-legend-count {
  margin-left: 4px;
  font-weight: 700;
  color: inherit;
  font-size: 20px;
  line-height: 1;
}

.nd-muni-label {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.nd-muni-label:focus,
.nd-muni-label:active {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.nd-muni-label span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: opacity 0.3s;
}

.nd-map-tooltip {
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 0;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .nd-map-wrap { grid-template-columns: 1fr; }
  .nd-map-legend {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-top: 1px solid rgba(3,26,97,0.08);
    padding: 12px 16px;
    gap: 8px 16px;
  }
  .nd-legend-item { border-bottom: none; padding: 6px 0; }
  #nd-map { height: 300px; }
}

/* --- Listing Section --- */
.nd-listing {
  padding: 60px 0 80px;
  background: #FAFAF8;
}
.nd-listing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}
.nd-listing-left h2 {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--navy, #031A61);
  margin: 0;
}
.nd-listing-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nd-count {
  font-size: 13px;
  color: var(--text-light, #666);
}
.nd-clear-filter {
  font-size: 14px;
  color: var(--navy, #031A61);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nd-breadcrumb {
  font-size: 14px;
  color: var(--text-light, #666);
  margin-bottom: 40px;
}
.nd-breadcrumb a {
  color: var(--navy, #031A61);
  text-decoration: none;
}
.nd-breadcrumb a:hover { text-decoration: underline; }
.nd-breadcrumb span { margin: 0 6px; color: #bbb; }
.nd-breadcrumb--light { color: rgba(255,255,255,0.6); }
.nd-breadcrumb--light a { color: var(--sand, #DDD2C7); }
.nd-breadcrumb--light span { color: rgba(255,255,255,0.35); }

/* --- Development Card Grid --- */
.nd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}
.nd-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}
.nd-card {
  background: #fff;
  border: 1px solid rgba(3,26,97,0.06);
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.nd-card:hover {
  box-shadow: 0 8px 40px rgba(3,26,97,0.1);
  transform: translateY(-3px);
}

/* Card Image */
.nd-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sand, #DDD2C7);
}
.nd-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nd-card:hover .nd-card-img img { transform: scale(1.05); }

.nd-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #031A61 0%, #0c2049 100%);
}
.nd-card-placeholder span {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: 4rem;
  color: var(--sand, #DDD2C7);
  opacity: 0.25;
}

/* Status Badge */
.nd-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}
.nd-status--selling {
  background: var(--navy, #031A61);
  color: var(--sand, #DDD2C7);
}
.nd-status--coming-soon {
  background: var(--sand, #DDD2C7);
  color: var(--navy, #031A61);
}
.nd-status--sold-out {
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.7);
}

/* Card Body */
.nd-card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.nd-card-top { margin-bottom: 12px; }
.nd-card-name {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: 1.35rem;
  color: var(--navy, #031A61);
  margin: 0 0 4px;
  line-height: 1.2;
}
.nd-card-location {
  font-size: 14px;
  color: var(--text-light, #666);
  letter-spacing: 0.04em;
}
.nd-card-tagline {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-style: normal;
  font-size: 13px;
  color: var(--text, #333);
  line-height: 1.5;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 13px * 1.5);
}

/* Specs Row */
.nd-card-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 16px;
  border-top: none;
  border-bottom: none;
}
.nd-spec {
  padding: 12px 0;
  text-align: center;
  border-right: none;
}
.nd-spec:last-child { border-right: none; }


.nd-spec-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light, #888);
  margin-bottom: 3px;
}
.nd-spec-value {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy, #031A61);
  white-space: nowrap;
}

/* Feature Tags */
.nd-card-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  min-height: 30px;
}
.nd-feature {
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(3,26,97,0.04);
  color: var(--navy, #031A61);
  border: 1px solid rgba(3,26,97,0.08);
}

/* Card Footer */
.nd-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
}
.nd-card-units {
  font-size: 14px;
  color: var(--text-light, #666);
}
.nd-card-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #031A61);
  letter-spacing: 0.04em;
}

/* Empty State */
.nd-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--text-light, #666);
}
.nd-empty a { color: var(--navy, #031A61); }

@media (max-width: 480px) {
  .nd-grid { grid-template-columns: 1fr; gap: 24px; }
  .nd-card-body { padding: 20px; }
}

/* --- CTA Section --- */
.nd-cta-section {
  padding: 80px 0;
  background: var(--navy, #031A61);
  text-align: center;
}
.nd-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}
.nd-cta-inner h2 {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--sand, #DDD2C7);
  margin-bottom: 14px;
}
.nd-cta-inner p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.nd-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Pin Popup --- */
.nd-pin-popup {
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 13px;
  line-height: 1.6;
}
.nd-pin-popup strong {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: 15px;
  color: var(--navy, #031A61);
}
.nd-pin-popup a {
  color: var(--navy, #031A61);
  font-weight: 600;
  font-size: 14px;
}

/* ============================================================
   DEVELOPMENT DETAIL — Additions for JSON-driven page
   ============================================================ */

.dev-hero-bg--gradient {
  background: linear-gradient(135deg, #000 0%, #111 50%, #1a1a1a 100%);
}

/* Intro section (map + text side by side) */
.devd-intro {
  padding: 70px 0;
  background: #fff;
}
.devd-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.devd-intro-text h2 {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--navy, #031A61);
  margin: 0 0 6px;
}
.devd-area {
  font-size: 13px;
  color: var(--text-light, #666);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.devd-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text, #333);
  margin-bottom: 40px;
}
.devd-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.devd-intro-map {
  position: sticky;
  top: 100px;
}
#devd-map {
  height: 340px;
  border: 1px solid rgba(3,26,97,0.08);
}

@media (max-width: 900px) {
  .devd-intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .devd-intro-map { position: static; }
  #devd-map { height: 260px; }
}

/* Amenities centered layout for detail page */
.devd-amenities-centered {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.devd-amenities-centered h2 {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--navy, #031A61);
  margin-bottom: 32px;
}
.devd-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.devd-amenities-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text, #333);
  border-bottom: 1px solid rgba(3,26,97,0.06);
}
.devd-amenities-grid li svg {
  flex-shrink: 0;
  color: var(--navy, #031A61);
  opacity: 0.6;
}

/* Stats band: allow 5 columns on detail page */
.dev-page .dev-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* Contact form */
.devd-contact-meta {
  margin-top: 20px;
}
.devd-contact-meta p {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text, #333);
}
.devd-contact-meta strong {
  color: var(--navy, #031A61);
  font-weight: 600;
}

.devd-lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.devd-form-row label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light, #666);
  margin-bottom: 6px;
}
.devd-form-row input,
.devd-form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(3,26,97,0.15);
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 14px;
  color: var(--text, #333);
  background: #fff;
  transition: border-color 0.2s;
}
.devd-form-row input:focus,
.devd-form-row textarea:focus {
  outline: none;
  border-color: var(--navy, #031A61);
}
.devd-submit-btn {
  align-self: flex-start;
}
.devd-form-status {
  font-size: 13px;
  min-height: 20px;
}
.devd-form-status--ok { color: #2e7d32; }
.devd-form-status--err { color: #c62828; }

.leaflet-interactive:focus {
  outline: none !important;
  box-shadow: none !important;
}
.leaflet-container path:focus {
  outline: none !important;
  stroke: none !important;
}

.nd-map-cta {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
.nd-map-cta a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--navy, #031A61);
  color: #fff;
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: background 0.2s;
}
.nd-map-cta a:hover {
  background: #052080;
}

.nd-sort {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 32px 8px 12px;
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 13px;
  color: var(--navy, #031A61);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23031A61'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid rgba(3,26,97,0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.nd-sort:hover { border-color: rgba(3,26,97,0.3); }
.nd-sort:focus { outline: none; border-color: var(--navy, #031A61); }


/* ============================================================
   DEVELOPMENT DETAIL — Redesigned Page (devd-*)
   ============================================================ */

/* --- 1. Main Layout (sticky sidebar) --- */
.devd-main-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.devd-content {
  min-width: 0;
}
.devd-sidebar {
  position: relative;
}
.devd-sidebar-inner {
  position: sticky;
  top: 140px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(3,26,97,0.08);
  box-shadow: 0 2px 16px rgba(3,26,97,0.06);
}
.devd-mobile-contact {
  display: none;
}

@media (max-width: 900px) {
  .devd-main-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .devd-sidebar {
    display: none;
  }
  .devd-mobile-contact {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--navy, #031A61);
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  }
}


/* --- 2. Quick Facts Bar --- */
.devd-facts-bar {
  background: #FAFAF8;
  padding: 0;
  border-top: 1px solid rgba(3,26,97,0.06);
  border-bottom: 1px solid rgba(3,26,97,0.06);
}
.devd-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  max-width: 1280px;
  margin: 0 auto;
}
.devd-fact {
  padding: 24px;
  text-align: center;
  border-right: none;
}
.devd-fact:last-child {
  border-right: none;
}
.devd-fact-value {
  display: block;
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: 1.1rem;
  color: var(--navy, #031A61);
  font-weight: 600;
  margin-bottom: 4px;
}
.devd-fact-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light, #666);
}

@media (max-width: 768px) {
  .devd-facts-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .devd-fact {
    padding: 16px 12px;
  }
}


/* --- 3. Documents Section --- */
.devd-docs {
  background: #fff;
  padding: 50px 0;
}
.devd-docs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.devd-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid rgba(3,26,97,0.10);
  background: #fff;
  color: var(--navy, #031A61);
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.devd-doc-link:hover {
  background: rgba(3,26,97,0.03);
  border-color: rgba(3,26,97,0.20);
}
.devd-doc-link svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--navy, #031A61);
  opacity: 0.5;
}


/* --- 4. Gallery (Masonry + Lightbox) --- */
.devd-gallery {
  background: #fff;
  padding: 0 0 5px;
}
.devd-gallery-grid {
  columns: 3;
  column-gap: 12px;
}
.devd-gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  cursor: pointer;
  overflow: hidden;
}
.devd-gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.devd-gallery-item:hover img {
  transform: scale(1.03);
}

/* Lightbox */
.devd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.devd-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}
.devd-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}
.devd-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: opacity 0.2s ease;
}
.devd-lightbox-close:hover {
  opacity: 0.7;
}
.devd-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px;
  transition: opacity 0.2s ease;
}
.devd-lightbox-nav:hover {
  opacity: 0.7;
}
.devd-lightbox-nav--prev {
  left: 20px;
}
.devd-lightbox-nav--next {
  right: 20px;
}
.devd-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 13px;
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .devd-gallery-grid {
    columns: 2;
  }
}
@media (max-width: 480px) {
  .devd-gallery-grid {
    columns: 1;
  }
}


/* --- 5. Units Table --- */
.devd-units {
  background: #fff;
  padding: 15px 0 15px;
}
.devd-units-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.devd-units-filters {
  display: flex;
  gap: 12px;
}
.devd-filter-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 32px 8px 12px;
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 13px;
  color: var(--navy, #031A61);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23031A61'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid rgba(3,26,97,0.15);
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.2s;
}
.devd-filter-select:hover {
  border-color: rgba(3,26,97,0.3);
}
.devd-filter-select:focus {
  outline: none;
  border-color: var(--navy, #031A61);
}

.devd-units-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.devd-units-table {
  width: 100%;
  border-collapse: collapse;
}
.devd-units-table thead {
  background: rgba(3,26,97,0.03);
}
.devd-units-table th {
  padding: 12px 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light, #666);
  text-align: left;
  border-bottom: 2px solid rgba(3,26,97,0.10);
  white-space: nowrap;
}
.devd-units-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text, #333);
  border-bottom: 1px solid rgba(3,26,97,0.06);
}
.devd-units-table tr:hover {
  background: rgba(3,26,97,0.02);
}

/* Unit status badges */
.devd-unit-status {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.devd-unit-status--available {
  background: var(--navy, #031A61);
  color: var(--sand, #DDD2C7);
}
.devd-unit-status--reserved {
  background: var(--sand, #DDD2C7);
  color: var(--navy, #031A61);
}
.devd-unit-status--sold {
  background: #999;
  color: #fff;
}

/* Unit actions */
.devd-unit-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--navy, #031A61);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.devd-unit-pdf:hover {
  opacity: 0.7;
}
.devd-unit-pdf svg {
  width: 14px;
  height: 14px;
}
.devd-unit-request {
  display: inline-block;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy, #031A61);
  background: transparent;
  border: 1px solid rgba(3,26,97,0.20);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.devd-unit-request:hover {
  background: rgba(3,26,97,0.04);
  border-color: rgba(3,26,97,0.35);
}


/* --- 6. Location Section --- */
.devd-location {
  background: #fff;
  padding: 15px 0 15px;
}
.devd-location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.devd-location-text h2 {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--navy, #031A61);
  margin: 0 0 16px;
}
.devd-location-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text, #333);
  margin-bottom: 20px;
}
.devd-location-link {
  font-size: 13px;
  color: var(--navy, #031A61);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.devd-location-link:hover {
  opacity: 0.7;
}
.devd-location-map #devd-map {
  height: 400px;
  border: 1px solid rgba(3,26,97,0.08);
}

@media (max-width: 900px) {
  .devd-location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .devd-location-map #devd-map {
    height: 280px;
  }
}


/* --- 7. Contact Section --- */
.devd-contact-section {
  background: var(--navy, #031A61);
  padding: 60px 0;
  color: #fff;
}
.devd-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.devd-contact-info h3 {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--sand, #DDD2C7);
  margin: 0 0 16px;
}
.devd-contact-info p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}
.devd-contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.devd-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.devd-wa-btn:hover {
  background: #1fb855;
}
.devd-wa-btn svg {
  width: 18px;
  height: 18px;
}
.devd-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.devd-tel-btn:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}

/* Contact form on dark background */
.devd-contact-section .devd-form-row input,
.devd-contact-section .devd-form-row textarea {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.devd-contact-section .devd-form-row input::placeholder,
.devd-contact-section .devd-form-row textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.devd-contact-section .devd-form-row input:focus,
.devd-contact-section .devd-form-row textarea:focus {
  border-color: rgba(255,255,255,0.5);
}
.devd-contact-section .devd-form-row label {
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .devd-contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}


/* --- 8. Sidebar Form --- */
.devd-sidebar-title {
  font-family: var(--font-serif, 'The Seasons', serif);
  font-size: 1.1rem;
  color: var(--navy, #031A61);
  margin: 0 0 20px;
  line-height: 1.3;
}
.devd-sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.devd-sidebar-form .devd-form-row input,
.devd-sidebar-form .devd-form-row textarea {
  padding: 10px 14px;
  font-size: 13px;
}
.devd-sidebar-form .devd-form-row label {
  font-size: 10px;
  margin-bottom: 4px;
}
.devd-sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.devd-sidebar-wa,
.devd-sidebar-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.devd-sidebar-wa {
  background: #25D366;
  color: #fff;
}
.devd-sidebar-wa:hover {
  background: #1fb855;
}
.devd-sidebar-tel {
  background: transparent;
  color: var(--navy, #031A61);
  border: 1px solid rgba(3,26,97,0.20);
}
.devd-sidebar-tel:hover {
  border-color: rgba(3,26,97,0.40);
  background: rgba(3,26,97,0.03);
}


/* --- 9. Floating Mobile Contact Button --- */
.devd-float-btn {
  display: none;
}

@media (max-width: 900px) {
  .devd-float-btn {
    display: inline-flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: var(--navy, #031A61);
    color: var(--sand, #DDD2C7);
    padding: 14px 24px;
    font-family: var(--font-sans, 'Times New Roman', sans-serif);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(3,26,97,0.3);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    align-items: center;
    gap: 8px;
  }
  .devd-float-btn:hover {
    background: #052080;
    box-shadow: 0 6px 28px rgba(3,26,97,0.4);
  }
}

/* Header transparent on development detail */
.devd-detail #header {
  background: transparent;
  box-shadow: none;
}
.devd-detail #header.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

/* Guide inline CTA banner */
.guide-cta-banner {
  background: #FAF8F5;
  border-left: 3px solid #031A61;
  padding: 28px 32px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.guide-cta-banner p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}
.guide-cta-banner .btn-cta {
  display: inline-block;
  background: var(--navy, #031A61);
  color: #fff;
  padding: 14px 32px;
  font-family: var(--font-sans, 'Times New Roman', sans-serif);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
}
