/* Page Hero Banner */
.page-hero {
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,60,97,0.82) 0%, rgba(29,97,149,0.65) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 24px;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.75); }
.page-breadcrumb a:hover { color: #18B4F5; }
.page-breadcrumb span { color: rgba(255,255,255,0.4); }
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
}

/* Section wrapper */
.page-section {
  padding: 80px 0;
}
.page-section.bg-alt { background: #F3F3F3; }

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 20px;
  border: 2px solid #C3C3C3;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #444A50;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: #0F3C61;
  background: #0F3C61;
  color: #fff;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

/* Project card */
.proj-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15,60,97,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.proj-card .proj-card-body {
  flex: 1;
}
.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(15,60,97,0.16);
}
.proj-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.proj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.proj-card:hover .proj-card-img img {
  transform: scale(1.06);
}
.proj-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.badge-sold    { background: #16A34A; }
.badge-selling { background: #18B4F5; }
.badge-limited { background: #D97706; }
.badge-coming  { background: #6366F1; }
.badge-new     { background: #0F3C61; }

.proj-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
}
.proj-card-body .proj-card-actions {
  margin-top: auto;
}
.proj-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F3C61;
  margin-bottom: 6px;
}
.proj-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 12px;
}
.proj-location svg { width: 13px; height: 13px; flex-shrink: 0; color: #18B4F5; }
.proj-specs {
  display: flex;
  gap: 16px;
  font-size: 0.83rem;
  color: #444A50;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.proj-spec {
  display: flex;
  align-items: center;
  gap: 5px;
}
.proj-spec svg { width: 14px; height: 14px; color: #1D6195; }
.proj-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F3C61;
  margin-bottom: 16px;
}
.proj-price span { font-size: 0.8rem; font-weight: 400; color: #777; margin-left: 4px; }
.proj-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #E8E8E8;
}
.proj-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1D6195;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.25s, gap 0.25s;
}
.proj-link:hover { color: #18B4F5; gap: 9px; }
.proj-enquire {
  padding: 7px 16px;
  background: #0F3C61;
  color: #fff;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.25s;
}
.proj-enquire:hover { background: #18B4F5; }

/* Upcoming card variant */
.proj-card.upcoming .proj-card-img { height: 200px; }
.timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15,60,97,0.07);
  color: #0F3C61;
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.register-interest {
  width: 100%;
  padding: 11px;
  background: var(--gradient-brand, linear-gradient(135deg,#0F3C61,#18B4F5));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  transition: opacity 0.25s;
}
.register-interest:hover { opacity: 0.88; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, #0F3C61 0%, #1D6195 50%, #319AE0 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-strip h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.cta-strip p { color: rgba(255,255,255,0.82); margin-bottom: 32px; font-size: 1.05rem; }
.cta-strip-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: #0F3C61; border-radius: 8px; padding: 13px 30px; font-weight: 700; transition: all 0.25s; }
.btn-white:hover { background: #18B4F5; color: #fff; }
.btn-outline-white { border: 2px solid #fff; color: #fff; border-radius: 8px; padding: 11px 30px; font-weight: 700; transition: all 0.25s; }
.btn-outline-white:hover { background: #fff; color: #0F3C61; }

/* Stats mini bar */
.stats-mini {
  background: #0F3C61;
  padding: 28px 0;
}
.stats-mini-inner {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}
.stats-mini-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #18B4F5;
}
.stats-mini-item span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* Section heading */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #18B4F5;
  margin-bottom: 10px;
}
.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0F3C61;
  margin-bottom: 14px;
}
.section-sub {
  color: #777;
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 40px;
}
.section-header-center { text-align: center; }
.section-header-center .section-sub { margin-left: auto; margin-right: auto; }

/* Selling Now — large card format */
.projects-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.proj-card-large .proj-card-img { height: 260px; }
.proj-card-large .proj-card-body { padding: 24px 26px 28px; }
.proj-card-large .proj-card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.proj-description {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 16px;
}
.proj-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.proj-features li {
  font-size: 0.875rem;
  color: #444A50;
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.proj-features li::before {
  content: '';
  display: none;
}
.proj-features .feat-check {
  color: #16A34A;
  font-weight: 700;
  flex-shrink: 0;
}
.proj-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-enquire {
  flex: 1;
  padding: 11px 16px;
  background: #0F3C61;
  color: #fff;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  transition: background 0.25s;
}
.btn-enquire:hover { background: #18B4F5; }
.btn-floorplan {
  flex: 1;
  padding: 11px 16px;
  border: 2px solid #0F3C61;
  color: #0F3C61;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.25s;
}
.btn-floorplan:hover { background: #0F3C61; color: #fff; }

/* Why Buy New strip */
.why-buy-strip {
  background: #F3F3F3;
  padding: 60px 0;
}
.why-buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}
.why-buy-item {
  padding: 32px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15,60,97,0.07);
}
.why-buy-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.why-buy-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0F3C61;
  margin-bottom: 8px;
}
.why-buy-item p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

/* Units remaining indicator */
.proj-units {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #777;
  margin-bottom: 12px;
}
.proj-units-avail {
  background: #DCFCE7;
  color: #16A34A;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
}
.proj-units-avail.low {
  background: #FEF3C7;
  color: #D97706;
}

/* Trust badge (Resource Consent / Title Ready) */
.proj-trust {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
  border-radius: 6px;
  padding: 4px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.proj-trust svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Neighbourhood proximity pills */
.proj-nearby {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.proj-nearby-item {
  font-size: 0.77rem;
  color: #444A50;
  background: #F0F4F8;
  border-radius: 999px;
  padding: 3px 10px;
}

/* Price guide for upcoming cards */
.proj-price-guide {
  font-size: 0.93rem;
  font-weight: 700;
  color: #1D6195;
  margin-bottom: 8px;
}
.proj-price-guide span {
  font-size: 0.78rem;
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}

/* Planning status badge for upcoming */
.proj-planning {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #EFF6FF;
  color: #3B82F6;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  padding: 4px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.proj-planning.consent {
  background: #F0FDF4;
  color: #16A34A;
  border-color: #BBF7D0;
}

/* Register Interest Form */
.register-form-section {
  padding: 80px 0;
  background: #F3F3F3;
}
.register-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px 48px;
  box-shadow: 0 4px 24px rgba(15,60,97,0.10);
}
.register-form-wrap h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #0F3C61;
  margin-bottom: 10px;
  text-align: center;
}
.register-form-wrap .form-sub {
  font-size: 0.975rem;
  color: #777;
  text-align: center;
  margin-bottom: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .form-group-full {
  grid-column: 1 / -1;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444A50;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #D0D5DD;
  border-radius: 8px;
  font-size: 0.925rem;
  color: #1A1A2E;
  background: #FAFAFA;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #18B4F5;
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #0F3C61, #18B4F5);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.25s;
  font-family: 'Montserrat', sans-serif;
}
.form-submit-btn:hover { opacity: 0.88; }

@media (max-width: 768px) {
  .page-hero { height: 280px; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid-large { grid-template-columns: 1fr; }
  .stats-mini-inner { gap: 32px; }
  .page-section { padding: 56px 0; }
  .why-buy-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .register-form-wrap { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .why-buy-grid { grid-template-columns: 1fr; }
}

/* ── Project Detail Page ── */
.proj-detail-info .proj-badge {
  position: static;
  display: inline-block;
  margin-bottom: 14px;
}
.proj-detail-section { padding: 64px 0; }
.proj-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.proj-detail-gallery { display: flex; flex-direction: column; gap: 12px; }
.proj-detail-gallery img {
  width: 100%; border-radius: 12px; object-fit: cover;
  box-shadow: 0 4px 20px rgba(15,60,97,0.10);
}
.proj-detail-gallery img:first-child { height: 340px; }
.proj-detail-gallery img:last-child { height: 200px; }
.proj-detail-info { position: sticky; top: 100px; }
.proj-detail-badge { margin-bottom: 14px; }
.proj-detail-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0F3C61;
  margin-bottom: 4px;
}
.proj-detail-price-note { font-size: 0.85rem; color: #777; margin-bottom: 20px; }
.proj-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
  padding: 20px;
  background: #F0F4F8;
  border-radius: 10px;
}
.proj-detail-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}
.proj-detail-spec svg { width: 16px; height: 16px; color: #1D6195; flex-shrink: 0; }
.proj-detail-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.proj-detail-units {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 20px;
}
.proj-detail-units strong { color: #0F3C61; }
.proj-detail-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.proj-detail-actions .btn-enquire-lg {
  padding: 14px 20px;
  background: linear-gradient(135deg, #0F3C61, #1D6195);
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: opacity 0.25s;
}
.proj-detail-actions .btn-enquire-lg:hover { opacity: 0.88; }
.proj-detail-actions .btn-floorplan-lg {
  padding: 12px 20px;
  border: 2px solid #0F3C61;
  color: #0F3C61;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.25s;
}
.proj-detail-actions .btn-floorplan-lg:hover { background: #0F3C61; color: #fff; }
.proj-detail-contact {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.875rem;
  color: #444;
  border-left: 3px solid #18B4F5;
}
.proj-detail-contact strong { display: block; color: #0F3C61; margin-bottom: 4px; }

/* Inclusions */
.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.inclusion-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.875rem;
  color: #333;
  box-shadow: 0 1px 6px rgba(15,60,97,0.07);
}
.inclusion-check {
  color: #16A34A;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Neighbourhood section */
.neighbourhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.neighbour-card {
  background: #F0F4F8;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.875rem;
  color: #333;
}
.neighbour-card strong { display: block; color: #0F3C61; font-size: 1rem; margin-bottom: 4px; }

/* Floor plans */
.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.floorplan-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.floorplan-card h4 { font-family: 'Montserrat', sans-serif; font-size: 1rem; color: #0F3C61; margin-bottom: 6px; }
.floorplan-card p { font-size: 0.82rem; color: #777; margin-bottom: 14px; }
.floorplan-card a {
  display: inline-block;
  padding: 8px 18px;
  border: 2px solid #0F3C61;
  color: #0F3C61;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.25s;
}
.floorplan-card a:hover { background: #0F3C61; color: #fff; }

@media (max-width: 900px) {
  .proj-detail-layout { grid-template-columns: 1fr; }
  .proj-detail-info { position: static; }
  .proj-detail-gallery img:first-child { height: 260px; }
}

/* Gallery grid */
.proj-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}
.proj-gallery-grid .gallery-main {
  grid-column: 1 / -1;
  height: 320px;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.proj-gallery-grid .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.proj-gallery-grid .gallery-main:hover img { transform: scale(1.04); }
.proj-gallery-grid .gallery-thumb {
  height: 160px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.proj-gallery-grid .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.proj-gallery-grid .gallery-thumb:hover img { transform: scale(1.06); }
.gallery-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,60,97,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 10px;
}

/* Brochure btn */
.btn-brochure-lg {
  padding: 12px 20px;
  border: 2px solid #18B4F5;
  color: #18B4F5;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-brochure-lg:hover { background: #18B4F5; color: #fff; }

/* Video tour section */
.proj-video-wrap {
  margin-top: 32px;
  text-align: center;
}
.proj-video-wrap video {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15,60,97,0.12);
  display: block;
  margin: 0 auto;
  background: #000;
}
.proj-video-wrap iframe {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15,60,97,0.12);
  display: block;
  margin: 0 auto;
  border: 0;
}

/* Map section */
.proj-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,60,97,0.12);
  margin-top: 32px;
}
.proj-map-wrap iframe {
  display: block;
}

/* Availability table */
.avail-table-wrap {
  overflow-x: auto;
  margin-top: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(15,60,97,0.08);
}
.avail-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.875rem;
}
.avail-table th {
  background: #0F3C61;
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.avail-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #EEF0F3;
  color: #333;
}
.avail-table tr:last-child td { border-bottom: none; }
.avail-table tr:hover td { background: #F8FAFC; }
.avail-table td:first-child { font-weight: 700; color: #0F3C61; }
.avail-table td.price { font-weight: 700; color: #0F3C61; }
.status-available {
  display: inline-block;
  padding: 4px 12px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
}
.status-contract {
  display: inline-block;
  padding: 4px 12px;
  background: #FEF3C7;
  color: #D97706;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
}
.status-sold {
  display: inline-block;
  padding: 4px 12px;
  background: #F3F4F6;
  color: #9CA3AF;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
}
.avail-enquire-btn {
  padding: 6px 14px;
  background: #0F3C61;
  color: #fff;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s;
}
.avail-enquire-btn:hover { background: #18B4F5; }
.avail-enquire-btn.disabled {
  background: #E5E7EB;
  color: #9CA3AF;
  pointer-events: none;
}

/* Neighbourhood cards v2 */
.neighbour-card-v2 {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(15,60,97,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.neighbour-card-v2 .nc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.neighbour-card-v2 .nc-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #0F3C61;
  font-size: 0.95rem;
}
.neighbour-card-v2 .nc-dist {
  background: #EFF6FF;
  color: #3B82F6;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.neighbour-card-v2 .nc-desc {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.5;
}
.neighbour-card-v2 .nc-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .proj-gallery-grid { grid-template-columns: 1fr; }
  .proj-gallery-grid .gallery-main { height: 220px; }
  .proj-gallery-grid .gallery-thumb { height: 140px; }
  .avail-table { font-size: 0.78rem; }
  .avail-table th, .avail-table td { padding: 10px 10px; }
}

/* ── All Projects Filter Bar ── */
.all-proj-filter-bar {
  background: #fff;
  border-bottom: 1px solid #E8EDF2;
  padding: 20px 0;
  position: sticky;
  top: 64px;
  z-index: 80;
  box-shadow: 0 2px 12px rgba(15,60,97,0.06);
}
.all-proj-filter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}
.apf-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.apf-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #999;
  pointer-events: none;
}
.apf-search {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1.5px solid #D0D5DD;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1A1A2E;
  background: #FAFAFA;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.apf-search:focus { outline: none; border-color: #18B4F5; background: #fff; }
.apf-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
}
.apf-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}
.apf-select {
  padding: 10px 14px;
  border: 1.5px solid #D0D5DD;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #1A1A2E;
  background: #FAFAFA;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s;
}
.apf-select:focus { outline: none; border-color: #18B4F5; }
.apf-clear-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1.5px solid #C3C3C3;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  align-self: flex-end;
}
.apf-clear-btn:hover { border-color: #0F3C61; color: #0F3C61; }
.apf-results-count {
  font-size: 0.82rem;
  color: #888;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ── Group labels inside grid ── */
.apf-group-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  margin-top: 8px;
}
.apf-group-label--inline {
  margin-top: 48px;
  margin-bottom: 0;
}
.apf-group-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.apf-group-line {
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

/* No results block */
.apf-no-results {
  text-align: center;
  padding: 80px 24px;
  color: #999;
}
.apf-no-results svg { color: #C3C3C3; margin-bottom: 16px; }
.apf-no-results h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 8px;
}
.apf-no-results p { font-size: 0.9rem; }
.apf-reset-link {
  background: none;
  border: none;
  color: #18B4F5;
  font-weight: 600;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
}

/* All-projects grid spacing */
.all-proj-grid {
  margin-top: 32px;
}

@media (max-width: 768px) {
  .all-proj-filter-bar { position: static; }
  .all-proj-filter-inner { flex-direction: column; }
  .apf-search-wrap, .apf-select-wrap { width: 100%; min-width: 0; }
  .apf-clear-btn { width: 100%; }
}
