/* ================================================================
   Builder Detail Page — specific styles
   ================================================================ */

.bd-page { min-height: 100vh; }

/* ── Hero banner ─────────────────────────────────────────────────── */
.bd-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.bd-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.55);
  transform: scale(1.05);
}
.bd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.75) 100%);
}
.bd-hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 32px 24px;
  max-width: 1400px;
}
.bd-breadcrumb { margin-bottom: 16px; }
.bd-breadcrumb a, .bd-breadcrumb span { color: rgba(255,255,255,0.8) !important; }
.bd-breadcrumb .current { color: #fff !important; }

.bd-hero-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.bd-logo-badge {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.bd-hero-logo {
  width: 80px;
  height: 60px;
  object-fit: contain;
  display: block;
}
.bd-hero-name {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bd-verified {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(22,163,74,0.9);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bd-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
}
.bd-hero-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bd-premium-tag {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* ── Stats ribbon ────────────────────────────────────────────────── */
.bd-stats-ribbon {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.bd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 32px;
}
.bd-stat-n {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1e293b;
  line-height: 1;
}
.bd-stat-l {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
}
.bd-stat-div { width: 1px; height: 40px; background: #e2e8f0; }

/* ── Body ────────────────────────────────────────────────────────── */
.bd-body { padding: 24px 24px 48px; }
.bd-columns.listing-columns {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.bd-columns .listing-main-col { flex: 0 0 70%; min-width: 0; }
.bd-columns .listing-sidebar-col { flex: 1; min-width: 0; }
@media (max-width: 960px) {
  .bd-columns.listing-columns { flex-direction: column; }
  .bd-columns .listing-sidebar-col { display: none; }
  .bd-hero, .bd-stats-ribbon { margin-left: 0; }
}

/* ── Sections ────────────────────────────────────────────────────── */
.bd-section {
  margin-bottom: 20px;
  border-radius: 14px;
}
.bd-section.glass-card { padding: 20px 22px; }
.bd-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.bd-section-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bd-section-title i { color: #2563eb; font-size: 0.9rem; }
.bd-section-header .bd-section-title { margin-bottom: 0; }

/* ── About highlights ────────────────────────────────────────────── */
.bd-about-text {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}
.bd-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 600px) { .bd-highlights-grid { grid-template-columns: repeat(2, 1fr); } }
.bd-hl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
}
.bd-hl-item i { font-size: 1.3rem; color: #2563eb; flex-shrink: 0; }
.bd-hl-item strong { display: block; font-size: 1.1rem; font-weight: 900; color: #1e293b; }
.bd-hl-item span { font-size: 0.72rem; color: #94a3b8; font-weight: 600; }

/* ── Project filter tabs ─────────────────────────────────────────── */
.bd-proj-filter {
  display: flex;
  gap: 6px;
}
.bd-proj-ftab {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.bd-proj-ftab:hover { border-color: #2563eb; color: #2563eb; }
.bd-proj-ftab.active { background: #2563eb; color: #fff; border-color: #2563eb; }

/* ── Project grid ────────────────────────────────────────────────── */
.bd-proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .bd-proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .bd-proj-grid { grid-template-columns: 1fr; } }

.bd-proj-card {
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}
.bd-proj-card:hover {
  box-shadow: 0 6px 24px rgba(37,99,235,0.12);
  transform: translateY(-3px);
}
.bd-proj-img-wrap {
  position: relative;
  height: 150px;
  overflow: hidden;
}
.bd-proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.bd-proj-card:hover .bd-proj-img { transform: scale(1.06); }
.bd-proj-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.bd-proj-body { padding: 12px; }
.bd-proj-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bd-proj-loc {
  font-size: 0.73rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}
.bd-proj-meta-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.bd-proj-chip {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.bd-type-chip { background: #eff6ff; color: #2563eb; }
.bd-proj-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: #2563eb;
}

/* ── Testimonials ────────────────────────────────────────────────── */
.bd-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .bd-testimonials { grid-template-columns: 1fr; } }
.bd-testimonial {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid #e2e8f0;
}
.bd-test-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.bd-test-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.bd-test-name { font-size: 0.82rem; font-weight: 700; color: #1e293b; }
.bd-test-stars { color: #f59e0b; font-size: 0.7rem; }
.bd-test-text { font-size: 0.78rem; color: #4b5563; line-height: 1.5; margin: 0; }

/* ── Right sidebar quick info ────────────────────────────────────── */
.bd-quick-info {}
.bd-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bd-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding-bottom: 7px;
  border-bottom: 1px solid #f1f5f9;
}
.bd-info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.bd-info-list li span { color: #94a3b8; font-weight: 600; }
.bd-info-list li strong, .bd-info-list li a { color: #1e293b; font-weight: 700; text-decoration: none; }
.bd-info-list li a:hover { color: #2563eb; }
