/* @import MUST be first — Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ============================================================
   DIGIPACES DESIGN SYSTEM
   Premium Real Estate Advisory Platform
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

/* ── 1. Design Tokens ─────────────────────────────────────── */
:root {
  /* Colors */
  --dp-black:        #0A0A0A;
  --dp-black-soft:   #1C1C1C;
  --dp-charcoal:     #2D2D2D;
  --dp-gray-700:     #4A4A4A;
  --dp-gray-500:     #6B6B6B;
  --dp-gray-400:     #9A9A9A;
  --dp-gray-200:     #E8E8E8;
  --dp-gray-100:     #F4F4F4;
  --dp-white:        #FFFFFF;

  --dp-gold:         #C9A84C;
  --dp-gold-light:   #E8C96A;
  --dp-gold-dark:    #A8893A;
  --dp-gold-bg:      #FAF5E8;

  --dp-green:        #1A8754;
  --dp-red:          #DC3545;

  /* Shadows */
  --dp-shadow-xs:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --dp-shadow-sm:    0 4px 12px rgba(0,0,0,.08);
  --dp-shadow-md:    0 8px 24px rgba(0,0,0,.12);
  --dp-shadow-lg:    0 16px 48px rgba(0,0,0,.16);
  --dp-shadow-xl:    0 24px 64px rgba(0,0,0,.20);

  /* Radii */
  --dp-radius-sm:    6px;
  --dp-radius-md:    12px;
  --dp-radius-lg:    20px;
  --dp-radius-xl:    28px;
  --dp-radius-pill:  100px;

  /* Spacing */
  --dp-space-xs:     4px;
  --dp-space-sm:     8px;
  --dp-space-md:     16px;
  --dp-space-lg:     24px;
  --dp-space-xl:     40px;
  --dp-space-2xl:    64px;
  --dp-space-3xl:    96px;

  /* Typography — Cormorant Garamond (display) + DM Sans (body) */
  --dp-font:         'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --dp-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  /* Transitions */
  --dp-transition:   all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --dp-transition-slow: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. Google Fonts — loaded at top of file ──────────────── */

/* ── 3. Global Resets ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Cormorant Garamond renders best slightly larger and with optical sizing */
[class*="dp-display"],
[class*="dp-headline"],
.pcard-price, .pcard-name,
h1, h2, h3 { font-optical-sizing: auto; }

body {
  font-family: var(--dp-font);
  color: var(--dp-black);
  background: var(--dp-white);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: inherit; transition: var(--dp-transition); }
a:hover { text-decoration: none; }

/* ── 4. Typography ────────────────────────────────────────── */
.dp-display {
  font-family: var(--dp-font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dp-headline {
  font-family: var(--dp-font-display);
  font-weight: 600;
  line-height: 1.2;
}

.dp-overline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dp-gold);
}

.dp-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dp-gray-500);
}

.dp-body-lg { font-size: 1.125rem; line-height: 1.7; }
.dp-body    { font-size: 1rem;     line-height: 1.6; }
.dp-body-sm { font-size: 0.875rem; line-height: 1.5; }
.dp-caption { font-size: 0.75rem;  line-height: 1.4; }

/* ── 5. Buttons ───────────────────────────────────────────── */
.dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  border-radius: var(--dp-radius-pill);
  cursor: pointer;
  transition: var(--dp-transition);
  white-space: nowrap;
  text-decoration: none !important;
  line-height: 1;
}

.dp-btn-primary {
  background: var(--dp-black);
  color: var(--dp-white);
  border-color: var(--dp-black);
}
.dp-btn-primary:hover {
  background: var(--dp-charcoal);
  color: var(--dp-white);
  border-color: var(--dp-charcoal);
  transform: translateY(-1px);
  box-shadow: var(--dp-shadow-md);
}

.dp-btn-outline {
  background: transparent;
  color: var(--dp-black);
  border-color: var(--dp-black);
}
.dp-btn-outline:hover {
  background: var(--dp-black);
  color: var(--dp-white);
  transform: translateY(-1px);
}

.dp-btn-gold {
  background: var(--dp-gold);
  color: var(--dp-black);
  border-color: var(--dp-gold);
}
.dp-btn-gold:hover {
  background: var(--dp-gold-dark);
  color: var(--dp-black);
  border-color: var(--dp-gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,.3);
}

.dp-btn-white {
  background: var(--dp-white);
  color: var(--dp-black);
  border-color: var(--dp-white);
}
.dp-btn-white:hover {
  background: var(--dp-gray-100);
  color: var(--dp-black);
}

.dp-btn-ghost {
  background: transparent;
  color: var(--dp-white);
  border-color: rgba(255,255,255,.4);
}
.dp-btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: var(--dp-white);
  border-color: rgba(255,255,255,.7);
}

.dp-btn-whatsapp {
  background: #25D366;
  color: var(--dp-white);
  border-color: #25D366;
}
.dp-btn-whatsapp:hover {
  background: #1DAA54;
  color: var(--dp-white);
  border-color: #1DAA54;
  transform: translateY(-1px);
}

.dp-btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.dp-btn-lg { padding: 16px 40px; font-size: 1rem; }
.dp-btn-icon {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
}
.dp-btn-icon.dp-btn-icon-lg { width: 52px; height: 52px; }

/* ── 6. Cards ─────────────────────────────────────────────── */
.dp-card {
  background: var(--dp-white);
  border-radius: var(--dp-radius-lg);
  box-shadow: var(--dp-shadow-sm);
  overflow: hidden;
  transition: var(--dp-transition-slow);
}
.dp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dp-shadow-lg);
}

/* ── 7. Badges ────────────────────────────────────────────── */
.dp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--dp-radius-pill);
}
.dp-badge-gold { background: var(--dp-gold-bg); color: var(--dp-gold-dark); }
.dp-badge-dark { background: var(--dp-black); color: var(--dp-white); }
.dp-badge-light { background: var(--dp-gray-100); color: var(--dp-gray-700); border: 1px solid var(--dp-gray-200); }
.dp-badge-green { background: #D1FAE5; color: var(--dp-green); }
.dp-badge-amber { background: #FEF3C7; color: #92400E; }
.dp-badge-blue  { background: #EFF6FF; color: #1D4ED8; }

/* Status dot badges */
.dp-status { display: inline-flex; align-items: center; gap: 6px; }
.dp-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dp-status-new::before       { background: #10B981; box-shadow: 0 0 0 2px rgba(16,185,129,.2); }
.dp-status-construction::before { background: #F59E0B; }
.dp-status-ready::before     { background: #3B82F6; }
.dp-status-completed::before { background: var(--dp-gray-400); }

/* ── 8. Section Layout ────────────────────────────────────── */
.dp-section { padding: var(--dp-space-3xl) 0; }
.dp-section-sm { padding: var(--dp-space-xl) 0; }

.dp-section-header { margin-bottom: var(--dp-space-xl); }
.dp-section-header .dp-overline { display: block; margin-bottom: 8px; }

/* ── 9. Form Controls ─────────────────────────────────────── */
.dp-input {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.9rem;
  border: 1.5px solid var(--dp-gray-200);
  border-radius: var(--dp-radius-md);
  background: var(--dp-white);
  color: var(--dp-black);
  transition: var(--dp-transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.dp-input:focus {
  border-color: var(--dp-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.dp-input::placeholder { color: var(--dp-gray-400); }

.dp-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6B6B' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ── 10. Image Utilities ──────────────────────────────────── */
.dp-img-cover {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dp-img-contain {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

.dp-img-hover { overflow: hidden; }
.dp-img-hover img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.dp-img-hover:hover img { transform: scale(1.06); }

/* ── 11. Divider / Separator ──────────────────────────────── */
.dp-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--dp-gray-400);
  font-size: 0.8rem;
}
.dp-divider::before, .dp-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--dp-gray-200);
}

.dp-accent-bar {
  width: 48px; height: 3px;
  background: var(--dp-gold);
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ── 12. Stat / Number Display ────────────────────────────── */
.dp-stat-number {
  font-family: var(--dp-font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dp-gold);
  line-height: 1;
}
.dp-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dp-gray-500);
  margin-top: 6px;
}

/* ── 13. Scroll Fade Utility ──────────────────────────────── */
.dp-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.dp-fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── 14. Price Tag ────────────────────────────────────────── */
.dp-price {
  font-weight: 700;
  color: var(--dp-black);
  font-size: 1rem;
}
.dp-price-accent { color: var(--dp-gold-dark); }

/* ── 15. Breadcrumb ───────────────────────────────────────── */
.dp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--dp-gray-500);
  flex-wrap: wrap;
}
.dp-breadcrumb a { color: var(--dp-gray-500); }
.dp-breadcrumb a:hover { color: var(--dp-black); }
.dp-breadcrumb .dp-breadcrumb-sep {
  font-size: 0.65rem;
  color: var(--dp-gray-400);
}
.dp-breadcrumb .dp-breadcrumb-current { color: var(--dp-black); font-weight: 600; }

/* ── 16. Navigation (legacy — kept for compat, new header in component) ── */
/* New header uses .dp-header classes defined in header.blade.php */

/* ══ 17. PROJECT CARD (pcard-*) — DESIGN_SPEC §9A ══════════ */
/*  Equal height system:
    - pcard-img-wrap: width:100% (explicit, not relying on flex stretch)
    - pcard-img: aspect-ratio 16/10 (same width = same height)
    - pcard-body: flex:1 + min-height:120px
    - pcard-foot: flex-shrink:0 (pinned to bottom)
    - Grid: align-items:stretch makes all cards in a row the same height
*/

/* ══ pcard-* — Project Card CSS (DESIGN_SPEC §9A) ══════════ */

/* Shell */
.pcard {
  background: #FFF;
  border-radius: 14px;
  border: 1.5px solid #EBEBEB;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .28s cubic-bezier(.4,0,.2,1),
              box-shadow .28s cubic-bezier(.4,0,.2,1),
              border-color .28s ease;
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.1), 0 0 0 1.5px #C9A84C;
  border-color: #C9A84C;
}

/* Image wrap */
.pcard-img-wrap {
  display: block;
  position: relative;
  text-decoration: none !important;
  flex-shrink: 0;
}
/*
  FIXED height — the ONLY reliable equal-height approach.
  aspect-ratio fails when the parent flex item doesn't consistently
  inherit the grid column width across browsers/OS scrollbar widths.
  220px is the definitive value: same for every card, everywhere.
*/
.pcard-img {
  height: 220px;               /* ← FIXED. Equal always. */
  width: 100%;
  overflow: hidden;
  background: #EBEBEB;
  display: block;
  position: relative;
  flex-shrink: 0;
}
.pcard-img img {
  position: absolute;          /* absolute fill — no height:100% quirks */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-img-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.32) 100%);
  pointer-events: none;
}

/* Status badge — SOLID bg (spec §9C), always readable */
.pcard-badge {
  position: absolute;
  bottom: 30px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 7px;
  border-radius: 100px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid;
  /* background, color, border-color set via inline style */
}
.pcard-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Gold bar — slides in on hover */
.pcard-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #C9A84C 0%, #E8C96A 55%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
}
.pcard:hover .pcard-bar { transform: scaleX(1); }

/* ── Body ─────────────────────────────────────────────────── */
.pcard-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 12px;
  min-height: 120px;
  min-width: 0;
}

/* Name */
.pcard-name-link { text-decoration: none !important; display: block; }
.pcard-name {
  font-size: .97rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -.01em;
  transition: color .2s;
}
.pcard:hover .pcard-name { color: #A8893A; }

/* Location — icon vertically centered with text */
.pcard-loc {
  display: flex;
  align-items: center;      /* centre icon with single-line text */
  gap: 4px;
  font-size: .78rem;
  color: #6B7280;
  margin: 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  line-height: 1.4;
}
.pcard-loc svg {
  flex-shrink: 0;
  margin-top: 1px;          /* optical alignment for pin icon */
}

/* ── Specs row: price · type ──────────────────────────────── */
.pcard-specs {
  display: flex;
  align-items: center;      /* centre-align all elements in row */
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  overflow: hidden;
  min-width: 0;
}
.pcard-price {
  font-size: 1.04rem;
  font-weight: 800;
  color: #A8893A;
  letter-spacing: -.02em;
  font-family: "Cormorant Garamond", Georgia, serif;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.pcard-price--na {
  font-size: .8rem;
  font-weight: 600;
  color: #9CA3AF;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
/* Dot separator — proper vertical centering */
.pcard-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #C9A84C;      /* gold dot — matches price accent */
  flex-shrink: 0;
  align-self: center;       /* vertical center in flex row */
  opacity: .7;
}
.pcard-type {
  font-size: .78rem;
  font-weight: 600;
  color: #4B5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1;
}

/* ── Footer ───────────────────────────────────────────────── */
.pcard-foot {
  display: flex;
  align-items: center;      /* strict vertical centre for ALL items */
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px 13px;
  border-top: 1px solid #F0F0F0;
  flex-shrink: 0;
  min-width: 0;
}
.pcard-dev {
  font-size: .74rem;
  font-weight: 500;
  color: #6B7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  line-height: 1.2;
}
.pcard-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* WhatsApp button — bigger icon, proper sizing */
.pcard-wa {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #F0FDF4;
  color: #16A34A;
  border: 1.5px solid #BBF7D0;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  flex-shrink: 0;
  line-height: 1;
}
.pcard-wa svg {
  width: 15px; height: 15px;   /* explicit size — always visible */
  display: block;
  flex-shrink: 0;
}
.pcard-wa:hover {
  background: #22C55E;
  color: #FFF;
  border-color: #22C55E;
  transform: scale(1.08);
}

/* View button — height matches WA button (32px via padding) */
.pcard-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;             /* exact match with WA button height */
  padding: 0 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  background: #0A0A0A;
  color: #FFF !important;
  border: 1.5px solid #0A0A0A;
  text-decoration: none !important;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.pcard-view svg {
  width: 10px; height: 10px;
  flex-shrink: 0;
}
.pcard-view:hover {
  background: #C9A84C;
  border-color: #C9A84C;
  color: #0A0A0A !important;
}

@media (max-width: 576px) {
  .pcard-img { height: 190px; }   /* slightly shorter on 1-col mobile */
  .pcard-body { padding: 12px 14px 10px; min-height: 100px; }
  .pcard-foot { padding: 9px 14px 12px; }
  .pcard-name { font-size: .92rem; }
  .pcard-price { font-size: .98rem; }
}

/* ── Keep old dp-project-card for any legacy usage ─────────── */
.dp-project-card {
  background: var(--dp-white);
  border-radius: var(--dp-radius-lg);
  box-shadow: var(--dp-shadow-xs);
  overflow: hidden;
  transition: var(--dp-transition-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--dp-gray-200);
}
.dp-project-card:hover {
  box-shadow: var(--dp-shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.dp-project-card__image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--dp-gray-100);
}
.dp-project-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.dp-project-card:hover .dp-project-card__image img {
  transform: scale(1.06);
}
.dp-project-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.dp-project-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
}
.dp-project-card__actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition: var(--dp-transition);
}
.dp-project-card:hover .dp-project-card__actions {
  opacity: 1;
  transform: none;
}

.dp-project-card__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dp-project-card__title {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--dp-black);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dp-project-card__location {
  font-size: 0.8rem;
  color: var(--dp-gray-500);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-project-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.dp-project-card__spec {
  background: var(--dp-gray-100);
  border-radius: var(--dp-radius-sm);
  padding: 8px 10px;
  text-align: center;
}
.dp-project-card__spec-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dp-gray-400);
  display: block;
  margin-bottom: 3px;
}
.dp-project-card__spec-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dp-black);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dp-project-card__spec-value.price { color: var(--dp-gold-dark); }

.dp-project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--dp-gray-200);
  margin-top: auto;
  gap: 8px;
}
.dp-project-card__developer {
  font-size: 0.78rem;
  color: var(--dp-gray-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.dp-project-card__developer strong { color: var(--dp-black); display: block; }
.dp-project-card__cta { display: flex; gap: 6px; flex-shrink: 0; }

/* ── 18. Developer Card ───────────────────────────────────── */
.dp-developer-card {
  background: var(--dp-white);
  border-radius: var(--dp-radius-lg);
  border: 1px solid var(--dp-gray-200);
  overflow: hidden;
  transition: var(--dp-transition-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.dp-developer-card:hover {
  box-shadow: var(--dp-shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}
.dp-developer-card__logo {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--dp-gray-100);
  border-bottom: 1px solid var(--dp-gray-200);
}
.dp-developer-card__logo img {
  max-height: 90px;
  max-width: 140px;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.dp-developer-card:hover .dp-developer-card__logo img { transform: scale(1.08); }
.dp-developer-card__body {
  padding: 16px 18px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dp-developer-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dp-black);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.dp-developer-card__count {
  font-size: 0.78rem;
  color: var(--dp-gray-500);
  margin-bottom: 14px;
}

/* ── 18b. Unified Developer Card (ddc-*) ──────────────────── */

/* ── Shell ────────────────────────────────────────────────── */
.ddc-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid #EFEFEF;
  overflow: hidden;
  height: 100%;
  transition:
    transform 0.3s cubic-bezier(0.4,0,0.2,1),
    box-shadow 0.3s cubic-bezier(0.4,0,0.2,1),
    border-color 0.3s ease;
}
.ddc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,.11), 0 0 0 1.5px #C9A84C;
  border-color: #C9A84C;
}
.ddc-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}

/* ── Logo zone — neutral bg, logo in a contained white badge ── */
.ddc-logo-zone {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #F8F8F8;
  position: relative;
  overflow: hidden;
}

/* Subtle background pattern for empty logo zones */
.ddc-logo-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.04) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ddc-card:hover .ddc-logo-zone::before { opacity: 1; }

/* The white logo badge — consistent, elegant container */
.ddc-logo-badge {
  background: #FFFFFF;
  border-radius: 14px;
  width: 160px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
.ddc-card:hover .ddc-logo-badge {
  box-shadow: 0 6px 24px rgba(0,0,0,.1), 0 0 0 1px rgba(201,168,76,.2);
  transform: scale(1.04);
}
.ddc-logo-img {
  max-width: 120px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: filter 0.3s ease;
}

/* ── Gold accent bar ──────────────────────────────────────── */
.ddc-gold-bar {
  height: 3px;
  background: linear-gradient(90deg, #C9A84C 0%, #E8C96A 50%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ddc-card:hover .ddc-gold-bar { transform: scaleX(1); }

/* ── Body ─────────────────────────────────────────────────── */
.ddc-body {
  padding: 16px 18px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ddc-name {
  font-size: 0.97rem;
  font-weight: 700;
  color: #0A0A0A;
  line-height: 1.35;
  margin: 0 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

/* ── Meta / badge ─────────────────────────────────────────── */
.ddc-meta { display: flex; align-items: center; gap: 6px; }
.ddc-badge-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  background: #F3F4F6;
  font-size: 0.74rem;
  font-weight: 700;
  color: #4B5563;
  border: 1px solid #E5E7EB;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ddc-card:hover .ddc-badge-count {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FDE68A;
}

/* ── Footer CTA — full width, pinned to bottom ────────────── */
.ddc-footer {
  padding: 12px 18px 16px;
  margin-top: auto;
}
.ddc-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0A0A0A;
  background: #F4F4F4;
  border: 1.5px solid #E8E8E8;
  transition: all 0.22s ease;
}
.ddc-card:hover .ddc-cta-btn {
  background: #0A0A0A;
  color: #FFFFFF;
  border-color: #0A0A0A;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 576px) {
  .ddc-logo-zone  { height: 130px; padding: 18px; }
  .ddc-logo-badge { width: 130px; height: 80px; padding: 10px 14px; }
  .ddc-logo-img   { max-width: 100px; max-height: 54px; }
  .ddc-body       { padding: 13px 14px 10px; }
  .ddc-footer     { padding: 10px 14px 14px; }
}

/* ── 19. Filter Panel ─────────────────────────────────────── */
.dp-filter-panel {
  background: var(--dp-white);
  border: 1px solid var(--dp-gray-200);
  border-radius: var(--dp-radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.dp-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dp-gray-500);
  display: block;
  margin-bottom: 6px;
}

/* ── 20. Hero ─────────────────────────────────────────────── */
.dp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.dp-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.dp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.45) 60%,
    rgba(0,0,0,.2) 100%);
  z-index: 1;
}
.dp-hero__content {
  position: relative;
  z-index: 2;
}
.dp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--dp-gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--dp-radius-pill);
  margin-bottom: 20px;
}
.dp-hero__title {
  font-family: var(--dp-font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dp-white);
  margin-bottom: 20px;
}
.dp-hero__title em { color: var(--dp-gold-light); font-style: normal; }
.dp-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 36px;
}

/* Hero search */
.dp-hero__search {
  display: flex;
  align-items: center;
  background: var(--dp-white);
  border-radius: var(--dp-radius-pill);
  padding: 6px 6px 6px 22px;
  gap: 8px;
  box-shadow: var(--dp-shadow-xl);
  max-width: 540px;
  margin-bottom: 28px;
}
.dp-hero__search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  background: transparent;
  color: var(--dp-black);
  min-width: 0;
}
.dp-hero__search input::placeholder { color: var(--dp-gray-400); }

/* ── 21. Section Dividers ─────────────────────────────────── */
.dp-section-divider {
  width: 100%;
  height: 1px;
  background: var(--dp-gray-200);
  margin: var(--dp-space-2xl) 0;
}

/* ── 22. Page Title Bar ───────────────────────────────────── */
.dp-page-title {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--dp-gray-200);
  margin-bottom: 36px;
}
.dp-page-title h1 {
  font-family: var(--dp-font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.dp-page-title p { color: var(--dp-gray-500); margin: 0; }

/* ── 23. Tabs ─────────────────────────────────────────────── */
.dp-tabs {
  display: flex;
  gap: 4px;
  background: var(--dp-gray-100);
  border-radius: var(--dp-radius-pill);
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dp-tabs::-webkit-scrollbar { display: none; }
.dp-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--dp-radius-pill);
  color: var(--dp-gray-600);
  cursor: pointer;
  transition: var(--dp-transition);
  white-space: nowrap;
  border: none;
  background: transparent;
}
.dp-tab:hover { color: var(--dp-black); }
.dp-tab.active {
  background: var(--dp-white);
  color: var(--dp-black);
  box-shadow: var(--dp-shadow-xs);
}

/* ── 24. Info Table (Overview) ────────────────────────────── */
.dp-info-table { width: 100%; border-collapse: collapse; }
.dp-info-table tr { border-bottom: 1px solid var(--dp-gray-200); }
.dp-info-table tr:last-child { border-bottom: none; }
.dp-info-table td { padding: 12px 8px; vertical-align: top; }
.dp-info-table .dp-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dp-gray-500);
  width: 45%;
}
.dp-info-table .dp-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dp-black);
}

/* ── 25. Amenity Grid ─────────────────────────────────────── */
.dp-amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--dp-gray-100);
  border-radius: var(--dp-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dp-black);
  transition: var(--dp-transition);
}
.dp-amenity-item:hover {
  background: var(--dp-black);
  color: var(--dp-white);
}
.dp-amenity-item i { color: var(--dp-gold); font-size: 0.9rem; }
.dp-amenity-item:hover i { color: var(--dp-gold-light); }

/* ── 26. FAQ Accordion ────────────────────────────────────── */
.dp-faq-item {
  border: 1px solid var(--dp-gray-200);
  border-radius: var(--dp-radius-md);
  overflow: hidden;
  margin-bottom: 8px;
}
.dp-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--dp-white);
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dp-black);
  text-align: left;
  transition: var(--dp-transition);
  gap: 12px;
}
.dp-faq-question:hover { background: var(--dp-gray-100); }
.dp-faq-question.open { background: var(--dp-black); color: var(--dp-white); }
.dp-faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dp-gray-200);
  flex-shrink: 0;
  font-size: 0.75rem;
  transition: var(--dp-transition);
}
.dp-faq-question.open .dp-faq-icon {
  background: rgba(255,255,255,.2);
  transform: rotate(45deg);
}
.dp-faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.9rem;
  color: var(--dp-gray-700);
  line-height: 1.7;
}
.dp-faq-answer.open { padding: 16px 20px; max-height: 500px; }

/* ── 27. Contact Card ─────────────────────────────────────── */
.dp-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dp-gray-200);
}
.dp-contact-item:last-child { border-bottom: none; }
.dp-contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--dp-radius-md);
  background: var(--dp-gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dp-gold-dark);
  flex-shrink: 0;
  font-size: 1rem;
}

/* ── 28. Floating Buttons (WhatsApp / Call) ───────────────── */
.dp-floating-btns {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9990;
}
.dp-float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--dp-shadow-md);
  cursor: pointer;
  transition: var(--dp-transition);
  border: none;
  text-decoration: none !important;
}
.dp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--dp-shadow-lg);
}
.dp-float-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.dp-float-call { background: linear-gradient(135deg, #FFB300, #E65100); }

/* ── 29. Search Results ───────────────────────────────────── */
.dp-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 2px solid var(--dp-black);
  margin-bottom: 24px;
}
.dp-results-header h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dp-results-count {
  font-size: 0.78rem;
  background: var(--dp-gray-100);
  padding: 4px 12px;
  border-radius: var(--dp-radius-pill);
  color: var(--dp-gray-700);
  font-weight: 600;
}

/* ── 30. Responsive Tweaks ────────────────────────────────── */
@media (max-width: 768px) {
  .dp-section     { padding: var(--dp-space-xl) 0; }
  .dp-section-sm  { padding: var(--dp-space-lg) 0; }
  .dp-hero__title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .dp-hero__search { max-width: 100%; }
  .dp-project-card__image { height: 180px; }
  .dp-developer-card__logo { height: 110px; }
}

@media (max-width: 576px) {
  .dp-btn-lg { padding: 13px 28px; font-size: 0.9rem; }
  .dp-float-btn { width: 46px; height: 46px; }
}


/* ══════════════════════════════════════════════════════════
   SHARED PAGE COMPONENTS (used across multiple pages)
   ══════════════════════════════════════════════════════════ */

/* ── Page Header (reused on every listing/static page) ───── */
.pg-header {
  background: #F7F7F7;
  border-bottom: 1px solid #EBEBEB;
  padding: 20px 0 0;
}
.pg-header--pad { padding-bottom: 20px; }

.pg-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.pg-count {
  font-size: .84rem;
  color: #6B7280;
  margin: 0;
}
.pg-count strong { color: #374151; font-weight: 600; }

/* ── Alerts ───────────────────────────────────────────────── */
.dp-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 22px;
  line-height: 1.5;
}
.dp-alert--success {
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  color: #065F46;
}
.dp-alert--error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}
.dp-alert--warning {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #78350F;
}
.dp-alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ── Social icon buttons ──────────────────────────────────── */
.dp-social-btn {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: background .2s, color .2s;
  text-decoration: none !important;
  flex-shrink: 0;
}
.dp-social-btn--dark {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
}
.dp-social-btn--dark:hover {
  background: #C9A84C;
  color: #0A0A0A;
}
.dp-social-btn--light {
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #E5E7EB;
}
.dp-social-btn--light:hover {
  background: #0A0A0A;
  color: #FFFFFF;
  border-color: #0A0A0A;
}

/* ── Stats block (e.g. About page bar) ───────────────────── */
.dp-stats-bar {
  background: #FAF5E8;
  border-top: 1px solid rgba(201,168,76,.2);
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.dp-stats-bar__item {
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,.15);
}
.dp-stats-bar__item:last-child { border-right: none; }
.dp-stats-bar__number {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #C9A84C;
  line-height: 1;
  display: block;
}
.dp-stats-bar__label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6B7280;
  margin-top: 5px;
  display: block;
}
.dp-stats-bar__icon {
  font-size: 1.1rem;
  color: #C9A84C;
  display: block;
  margin-bottom: 8px;
}

/* ── Value card (About page) ──────────────────────────────── */
.dp-value-card {
  padding: 28px 24px;
  background: #F7F7F7;
  border-radius: 14px;
  height: 100%;
  transition: background .28s ease, transform .28s ease;
  border: 1.5px solid transparent;
}
.dp-value-card:hover {
  background: #0A0A0A;
  transform: translateY(-4px);
  border-color: #0A0A0A;
}
.dp-value-card__icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: block;
  transition: color .2s;
}
.dp-value-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  transition: color .2s;
}
.dp-value-card__body {
  font-size: .86rem;
  color: #4B5563;
  line-height: 1.65;
  margin: 0;
  transition: color .2s;
}
.dp-value-card:hover .dp-value-card__icon,
.dp-value-card:hover .dp-value-card__title { color: #C9A84C; }
.dp-value-card:hover .dp-value-card__body  { color: rgba(255,255,255,.65); }

/* ── Team card (About page) ───────────────────────────────── */
.dp-team-card {
  background: #FFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  transition: transform .28s ease, box-shadow .28s ease;
}
.dp-team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.dp-team-card__img-wrap {
  height: 220px;
  overflow: hidden;
  background: #F0F0F0;
}
.dp-team-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter .4s ease, transform .5s ease;
}
.dp-team-card:hover .dp-team-card__img-wrap img {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.dp-team-card__body { padding: 14px 16px 16px; }
.dp-team-card__name {
  font-size: .95rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px;
  transition: color .2s;
}
.dp-team-card:hover .dp-team-card__name { color: #A8893A; }
.dp-team-card__role {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #C9A84C;
  margin-bottom: 6px;
  display: block;
}
.dp-team-card__bio {
  font-size: .8rem;
  color: #6B7280;
  line-height: 1.5;
  margin: 0;
}

/* ── Contact info item ────────────────────────────────────── */
.dp-ci-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.dp-ci-item:last-child { border-bottom: none; }
.dp-ci-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(201,168,76,.15);
  color: #E8C96A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.dp-ci-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
  display: block;
  margin-bottom: 2px;
}
.dp-ci-value {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
  display: block;
}
.dp-ci-value:hover { color: #E8C96A; }

/* ── Form label (used in forms, not filters) ──────────────── */
.dp-form-label {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #6B7280;
  margin-bottom: 6px;
}

/* ── Empty state (reusable) ───────────────────────────────── */
.dp-empty {
  text-align: center;
  padding: 72px 24px;
  background: #F9FAFB;
  border-radius: 18px;
  border: 1.5px dashed #E5E7EB;
}
.dp-empty__icon {
  width: 56px; height: 56px;
  background: #F3F4F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #9CA3AF;
  font-size: 1.3rem;
}
.dp-empty__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}
.dp-empty__text {
  font-size: .88rem;
  color: #6B7280;
  line-height: 1.65;
  margin: 0 0 22px;
}

/* ── Search overlay input ─────────────────────────────────── */
.pg-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pg-search-wrap .pg-search-icon {
  position: absolute;
  left: 13px;
  color: #9CA3AF;
  pointer-events: none;
  font-size: .8rem;
}
.pg-search-wrap input {
  padding-left: 36px;
}

/* ── 31. Filter Button Color Fix ──────────────────────────── */
.prj-filter-btn--active {
  background: #0A0A0A !important;
  border-color: #0A0A0A !important;
  color: #FFFFFF !important;
}
.prj-filter-btn--active span,
.prj-filter-btn--active svg {
  color: #FFFFFF !important;
}
.prj-filter-btn--active:hover {
  background: #222 !important;
  border-color: #222 !important;
  color: #fff !important;
}
.prj-filter-btn--active:hover span,
.prj-filter-btn--active:hover svg {
  color: #fff !important;
}

/* ── 32. Advanced Filter & Input Components ──────────────── */
.prj-filter-panel {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 18px 0;
}
.prj-filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: end;
}
@media (min-width: 768px) {
  .prj-filter-grid {
    grid-template-columns: var(--cols, 2fr 1fr 1fr 1fr 1fr auto);
    gap: 12px;
  }
}
.prj-filter-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #9CA3AF;
  margin-bottom: 5px;
}
.prj-input-wrap { position: relative; }
.prj-input {
  width: 100%;
  padding: 9px 12px;
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 9px;
  font-size: .84rem;
  color: #1F2937;
  outline: none;
  transition: border-color .2s, background .2s;
  font-family: inherit;
  line-height: 1.4;
}
.prj-input:focus { border-color: #C9A84C; background: #FFFFFF; }
.prj-input::placeholder { color: #B0B7BF; }
.prj-input--icon { padding-left: 34px; }
.prj-input-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  pointer-events: none;
}
.prj-input--select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  cursor: pointer;
}
.prj-select-chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  pointer-events: none;
}
.prj-input--disabled {
  opacity: .45;
  cursor: not-allowed;
  background: #F3F4F6;
}
.prj-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (min-width: 768px) {
  .prj-filter-actions { flex-direction: column; align-items: stretch; }
}
.prj-apply-btn {
  flex: 1;
  padding: 9px 20px;
  background: #0A0A0A;
  color: #FFFFFF;
  border: none;
  border-radius: 9px;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  text-decoration: none !important;
  text-align: center;
  display: inline-block;
}
.prj-apply-btn:hover { background: #C9A84C; color: #0A0A0A; }
.prj-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 9px;
  font-size: .82rem;
  font-weight: 600;
  color: #6B7280;
  background: transparent;
  transition: all .2s;
  white-space: nowrap;
  text-decoration: none !important;
}
.prj-clear-btn:hover { border-color: #EF4444; color: #EF4444; }
