/*
Theme Name:   Brickplot Child
Theme URI:    https://brickplot.com/
Description:  Astra child theme for Brickplot.com — schema (v2: adds RealEstateListing + Review + AggregateRating + FAQPage + Article + Place), 20 legacy-slug 301 redirects, INR money formatting, analytics loader.
Author:       Webfluence Marketing Solutions
Author URI:   https://webfluence.in/
Template:     astra
Version:      2.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  brickplot-child
Tags:         real-estate, child-theme, astra
*/
:root{
  --brand-navy:#0B1F3A;
  --brand-amber:#F59E0B;
  --brand-verified:#10B981;
  --brand-warn:#F97316;
  --brand-avoid:#DC2626;
  --slate-900:#0F172A;
  --slate-700:#334155;
  --slate-600:#475569;
  --slate-500:#64748B;
  --slate-400:#94A3B8;
  --slate-200:#E2E8F0;
  --slate-100:#F1F5F9;
  --slate-50:#F8FAFC;
  --font-serif:'Fraunces',Georgia,serif;
  --font-sans:'Inter',system-ui,sans-serif;
  --font-mono:'JetBrains Mono',monospace;
}

/* ============================================================
   ASTRA THEME RESET / OVERRIDES
   ============================================================ */

.ast-page-builder-template #primary,
.ast-page-builder-template #content,
.ast-page-builder-template .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.home .entry-header { display: none; }

.home .entry-content[data-ast-blocks-layout] > * { max-width: none; margin: 0; }

/* ============================================================
   SHARED / LAYOUT CLASSES
   ============================================================ */

.bp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .bp-container { padding: 0 2rem; }
}
@media (min-width: 1024px) {
  .bp-container { padding: 0 3rem; }
}

.bp-section {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .bp-section { padding: 5rem 0; }
}
@media (min-width: 1024px) {
  .bp-section { padding: 6rem 0; }
}

.bp-section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-amber);
  display: block;
  margin-bottom: 0.75rem;
}

.bp-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-navy);
  margin: 0 0 1rem;
}

.bp-section-sub {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate-700);
  margin: 0 0 2rem;
}

/* ============================================================
   SECTION 1: HERO (.bp-hero)
   ============================================================ */

.bp-hero {
  background: var(--brand-navy);
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .bp-hero {
    padding: 5rem 0 4rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
  }
}

.bp-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 768px) {
  .bp-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
}

.bp-hero__content {
  flex: 0 0 100%;
}
@media (min-width: 768px) {
  .bp-hero__content {
    flex: 0 0 55%;
  }
}

.bp-hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 1.25rem;
}

.bp-hero__sub {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate-200);
  max-width: 520px;
  margin: 0 0 2rem;
}

.bp-hero__search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.bp-hero__search:focus-within {
  background: var(--brand-navy);
  border-color: var(--brand-amber);
}

.bp-hero__search-input {
  flex: 1;
  height: 100%;
  padding: 0 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #ffffff;
  background: transparent;
  border: none;
  outline: none;
}
.bp-hero__search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.bp-hero__search-btn {
  flex-shrink: 0;
  height: 100%;
  padding: 0 1.5rem;
  background: var(--brand-amber);
  color: var(--brand-navy);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.bp-hero__search-btn:hover {
  background: #FBBF24;
}

.bp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.bp-hero__badge {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #ffffff;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.bp-hero__badge-check {
  color: var(--brand-amber);
  font-style: normal;
}

.bp-hero__visual {
  display: none;
}
@media (min-width: 768px) {
  .bp-hero__visual {
    display: flex;
    flex: 0 0 45%;
    justify-content: center;
    align-items: center;
  }
}

.bp-hero__dial {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(
    var(--brand-verified) 0% 78%,
    rgba(255, 255, 255, 0.1) 78% 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.bp-hero__dial::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--brand-navy);
  border-radius: 50%;
}

.bp-hero__dial-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.bp-hero__dial-score {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  display: block;
}

.bp-hero__dial-denom {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-top: 0.25rem;
}

.bp-hero__dial-label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-verified);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-top: 0.5rem;
}

/* ============================================================
   SECTION 2: PROBLEM STATEMENT (.bp-problem)
   ============================================================ */

.bp-problem {
  background: #ffffff;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .bp-problem { padding: 5rem 0; }
}
@media (min-width: 1024px) {
  .bp-problem { padding: 6rem 0; }
}

.bp-problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .bp-problem__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bp-problem__card {
  padding: 2rem;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: #ffffff;
  transition: box-shadow 0.2s ease;
}
.bp-problem__card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.bp-problem__card-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.bp-problem__card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 0.75rem;
}

.bp-problem__card-desc {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin: 0;
}

.bp-problem__closing {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 700px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: var(--slate-50);
  border-radius: 12px;
  border-left: 4px solid var(--brand-amber);
  color: var(--brand-navy);
  line-height: 1.4;
}

/* ============================================================
   SECTION 3: SCORE EXPLAINER (.bp-score-explainer)
   ============================================================ */

.bp-score-explainer {
  background: var(--slate-50);
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .bp-score-explainer { padding: 5rem 0; }
}
@media (min-width: 1024px) {
  .bp-score-explainer { padding: 6rem 0; }
}

.bp-score-explainer__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .bp-score-explainer__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 5rem;
  }
}

.bp-score-explainer__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .bp-score-explainer__visual {
    flex: 0 0 40%;
    position: sticky;
    top: 2rem;
  }
}

.bp-score-explainer__dial {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(
    var(--brand-amber) 0% 72%,
    var(--slate-200) 72% 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.bp-score-explainer__dial::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--slate-50);
  border-radius: 50%;
}

.bp-score-explainer__dial-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.bp-score-explainer__dial-score {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-navy);
  display: block;
  line-height: 1;
}

.bp-score-explainer__dial-verdict {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-verified);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 0.375rem;
}

.bp-score-explainer__content {
  flex: 1;
}

.bp-score-explainer__pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.bp-score-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.bp-score-pillar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bp-score-pillar__label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--slate-700);
}

.bp-score-pillar__pct {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.bp-score-pillar__track {
  width: 100%;
  height: 8px;
  background: var(--slate-200);
  border-radius: 999px;
  overflow: hidden;
}

.bp-score-pillar__fill {
  height: 100%;
  background: var(--brand-amber);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.bp-score-explainer__callout {
  background: #ffffff;
  border-left: 4px solid var(--brand-amber);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-top: 2rem;
}

.bp-score-explainer__callout p {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--slate-700);
  margin: 0 0 0.75rem;
  line-height: 1.6;
}
.bp-score-explainer__callout p:last-child {
  margin-bottom: 0;
}

.bp-score-explainer__cta {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--brand-amber);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 1.5rem;
  transition: text-decoration 0.2s ease;
}
.bp-score-explainer__cta:hover {
  text-decoration: underline;
}

/* ============================================================
   SECTION 4: TRUST BAR (.bp-trust-bar)
   ============================================================ */

.bp-trust-bar {
  background: var(--brand-navy);
  padding: 3rem 0;
}

.bp-trust-bar .bp-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.bp-trust-bar__stat {
  text-align: center;
  flex: 1 1 auto;
  min-width: 120px;
}

.bp-trust-bar__number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  display: block;
  line-height: 1;
}

.bp-trust-bar__number--amber {
  color: var(--brand-amber);
}

.bp-trust-bar__label {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-200);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.5rem;
}

.bp-trust-bar__divider {
  width: 1px;
  height: 40px;
  background: var(--slate-700);
  margin: 0 auto;
  display: none;
}
@media (min-width: 768px) {
  .bp-trust-bar__divider { display: block; }
}

/* ============================================================
   SECTION 5: TRENDING PROJECTS (.bp-projects)
   ============================================================ */

.bp-projects {
  background: #ffffff;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .bp-projects { padding: 5rem 0; }
}
@media (min-width: 1024px) {
  .bp-projects { padding: 6rem 0; }
}

.bp-projects__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.bp-projects__view-all {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--brand-amber);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: text-decoration 0.2s ease;
}
.bp-projects__view-all:hover {
  text-decoration: underline;
}

.bp-projects__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .bp-projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bp-projects__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Project Card */

.bp-project-card {
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.bp-project-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.bp-project-card__image {
  height: 180px;
  background: var(--slate-100);
  position: relative;
  overflow: hidden;
}

.bp-project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-score-dial {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 1;
}

.bp-score-dial--buy { background: var(--brand-verified); }
.bp-score-dial--wait { background: var(--brand-warn); }
.bp-score-dial--avoid { background: var(--brand-avoid); }

.bp-rera-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 1;
}

.bp-rera-chip--ok {
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-verified);
}

.bp-rera-chip--warn {
  background: rgba(220, 38, 38, 0.12);
  color: var(--brand-avoid);
}

.bp-project-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bp-project-card__name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--brand-navy);
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.bp-project-card__builder {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0 0 0.5rem;
}

.bp-project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0 0 0.75rem;
}

.bp-project-card__reviews {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0 0 auto;
}

.bp-verdict {
  margin-top: 1rem;
  padding: 0.625rem 1rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.bp-verdict--buy {
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-verified);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bp-verdict--wait {
  background: rgba(249, 115, 22, 0.1);
  color: var(--brand-warn);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.bp-verdict--avoid {
  background: rgba(220, 38, 38, 0.1);
  color: var(--brand-avoid);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.bp-project-card__cta {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--brand-navy);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.75rem;
  display: inline-block;
  transition: color 0.2s ease;
}
.bp-project-card__cta:hover {
  color: var(--brand-amber);
}

/* ============================================================
   SECTION 6: TESTIMONIALS (.bp-testimonials)
   ============================================================ */

.bp-testimonials {
  background: var(--slate-100);
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .bp-testimonials { padding: 5rem 0; }
}
@media (min-width: 1024px) {
  .bp-testimonials { padding: 6rem 0; }
}

.bp-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .bp-testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bp-testimonial-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--brand-amber);
}

.bp-testimonial-card__quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--brand-amber);
  display: block;
  margin-bottom: 0.5rem;
}

.bp-testimonial-card__text {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin: 0;
}

.bp-testimonial-card__divider {
  border: none;
  border-top: 1px solid var(--slate-200);
  margin: 1.25rem 0;
}

.bp-testimonial-card__name {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--brand-navy);
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.bp-testimonial-card__city {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-500);
  display: block;
  margin-bottom: 0.75rem;
}

.bp-testimonial-card__action {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-600);
  margin: 0;
}

.bp-testimonial-card__action strong {
  font-weight: 600;
}

.bp-testimonials__counter {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin-top: 2rem;
}

/* ============================================================
   SECTION 7: LOCALITIES (.bp-localities)
   ============================================================ */

.bp-localities {
  background: #ffffff;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .bp-localities { padding: 5rem 0; }
}
@media (min-width: 1024px) {
  .bp-localities { padding: 6rem 0; }
}

.bp-localities__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.bp-localities__view-all {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--brand-amber);
  font-weight: 600;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}
.bp-localities__view-all:hover {
  text-decoration: underline;
}

.bp-localities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 480px) {
  .bp-localities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bp-localities__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bp-locality-card {
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 1.5rem;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bp-locality-card:hover {
  border-color: var(--brand-amber);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bp-locality-card__name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--brand-navy);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.bp-locality-card__city {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0 0 1rem;
}

.bp-locality-card__trend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-trend {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
}

.bp-trend--up { color: var(--brand-verified); }
.bp-trend--down { color: var(--brand-avoid); }

.bp-locality-card__trend-label {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.bp-locality-card__count {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0.5rem 0;
}

.bp-locality-card__concern {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-700);
  margin: 0.5rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
}

.bp-locality-card__concern-icon {
  color: var(--brand-warn);
  flex-shrink: 0;
}

.bp-locality-card__cta {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--brand-amber);
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  display: block;
  transition: text-decoration 0.2s ease;
}
.bp-locality-card__cta:hover {
  text-decoration: underline;
}

/* ============================================================
   SECTION 8: COMPARE (.bp-compare)
   ============================================================ */

.bp-compare {
  background: var(--slate-900);
  padding: 4rem 0;
  color: #ffffff;
}
@media (min-width: 768px) {
  .bp-compare { padding: 5rem 0; }
}
@media (min-width: 1024px) {
  .bp-compare { padding: 6rem 0; }
}

.bp-compare .bp-section-title {
  color: #ffffff;
}

.bp-compare .bp-section-sub {
  color: var(--slate-400);
}

.bp-compare__demo {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.bp-compare__table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.bp-compare__table th {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  padding: 1rem 1.25rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bp-compare__table td {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: #ffffff;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bp-compare__table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

.bp-compare__table td:first-child {
  color: var(--slate-400);
  font-size: 0.875rem;
}

.bp-compare__score {
  font-family: var(--font-mono);
  font-weight: 700;
}

.bp-compare__score--buy { color: var(--brand-verified); }
.bp-compare__score--wait { color: var(--brand-warn); }
.bp-compare__score--avoid { color: var(--brand-avoid); }

.bp-compare__cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.bp-btn-compare {
  background: var(--brand-amber);
  color: var(--brand-navy);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  margin-top: 2rem;
  transition: background 0.2s ease;
}
.bp-btn-compare:hover {
  background: #FBBF24;
}

.bp-compare__subtext {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-top: 0.75rem;
}

/* ============================================================
   SECTION 9: EMAIL CAPTURE (.bp-email-capture)
   ============================================================ */

.bp-email-capture {
  background: #FFFBEB;
  border-top: 3px solid var(--brand-amber);
  padding: 4rem 0;
  text-align: center;
}
@media (min-width: 768px) {
  .bp-email-capture { padding: 5rem 0; }
}

.bp-email-capture__content {
  max-width: 560px;
  margin: 0 auto;
}

.bp-email-capture .bp-section-title {
  color: var(--brand-navy);
}

.bp-email-capture__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 480px) {
  .bp-email-capture__form {
    flex-direction: row;
    align-items: center;
  }
}

.bp-email-capture input[type="email"] {
  flex: 1;
  height: 52px;
  padding: 0 1.25rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--slate-900);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}
.bp-email-capture input[type="email"]:focus {
  border-color: var(--brand-amber);
}
.bp-email-capture input[type="email"]::placeholder {
  color: var(--slate-500);
}

.bp-email-capture button {
  background: var(--brand-navy);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  padding: 0 1.75rem;
  height: 52px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
  transition: background 0.2s ease;
}
@media (min-width: 480px) {
  .bp-email-capture button {
    width: auto;
    flex-shrink: 0;
  }
}
.bp-email-capture button:hover {
  background: var(--slate-900);
}

.bp-email-capture__microcopy {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 1rem;
  display: block;
}

/* ============================================================
   SECTION 10: FAQ (.bp-faq)
   ============================================================ */

.bp-faq {
  background: #ffffff;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .bp-faq { padding: 5rem 0; }
}
@media (min-width: 1024px) {
  .bp-faq { padding: 6rem 0; }
}

.bp-faq__inner {
  max-width: 800px;
  margin: 0 auto;
}

.bp-faq__list {
  margin-top: 3rem;
}

.bp-faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 0;
}
.bp-faq-item:first-child {
  border-top: 1px solid var(--slate-200);
}

.bp-faq-question {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--brand-navy);
  padding: 1.25rem 3rem 1.25rem 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  user-select: none;
  display: block;
  margin: 0;
  line-height: 1.4;
}

.bp-faq-question::-webkit-details-marker {
  display: none;
}

.bp-faq-question::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--slate-500);
  transition: transform 0.2s ease;
}

.bp-faq-item[open] .bp-faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}

.bp-faq-answer {
  padding: 0 0 1.25rem 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.75;
  margin: 0;
}

.bp-faq__contact {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--slate-500);
}

.bp-faq__contact a {
  color: var(--brand-amber);
  font-weight: 600;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}
.bp-faq__contact a:hover {
  text-decoration: underline;
}

/* ============================================================
   SECTION 11: FOOTER CTA (.bp-footer-cta)
   ============================================================ */

.bp-footer-cta {
  background: var(--brand-navy);
  text-align: center;
  padding: 5rem 0;
}

.bp-footer-cta__headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.bp-footer-cta__sub {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--slate-200);
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.bp-btn-primary {
  background: var(--brand-amber);
  color: var(--brand-navy);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 1rem 3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.bp-btn-primary:hover {
  background: #FBBF24;
  transform: translateY(-1px);
}

/* ============================================================
   MOBILE-SPECIFIC CRITICAL RULES
   ============================================================ */

@media (max-width: 767px) {
  .bp-compare__demo { display: none; }

  .bp-trust-bar .bp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  .bp-trust-bar__stat:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .bp-btn-primary,
  .bp-btn-compare,
  .bp-email-capture input[type="email"],
  .bp-email-capture button {
    min-height: 48px;
  }

  .bp-faq-question {
    padding: 1.125rem 2.5rem 1.125rem 0;
  }
}

/* =============================================================
   MID-SCROLL CTA ROW (.bp-mid-cta)
   Appears below projects grid and testimonials grid.
   ============================================================= */
.bp-mid-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
}

.bp-mid-cta__btn {
  display: inline-block;
  background: var(--brand-navy);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
}
.bp-mid-cta__btn:hover,
.bp-mid-cta__btn:focus {
  background: var(--slate-900);
  transform: translateY(-1px);
  color: #fff;
}

/* Outline variant — used after testimonials */
.bp-mid-cta__btn--outline {
  background: transparent;
  color: var(--brand-navy);
  border: 2px solid var(--brand-navy);
}
.bp-mid-cta__btn--outline:hover,
.bp-mid-cta__btn--outline:focus {
  background: var(--brand-navy);
  color: #fff;
}

.bp-mid-cta__sub {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0.75rem 0 0;
}

@media (max-width: 767px) {
  .bp-mid-cta__btn {
    display: block;
    width: 100%;
    text-align: center;
    min-height: 48px;
    line-height: 48px;
    padding: 0 1.5rem;
  }
}

/* =============================================================
   INSIDER UPSELL (.bp-insider-upsell)
   Below email capture form — nudge toward paid tier.
   ============================================================= */
.bp-insider-upsell {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--slate-500);
  text-align: center;
  margin-top: 1.25rem;
  line-height: 1.6;
}

.bp-insider-upsell__link {
  color: var(--brand-navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--brand-amber);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.bp-insider-upsell__link:hover,
.bp-insider-upsell__link:focus {
  color: var(--brand-amber);
  border-color: var(--brand-amber);
}

/* =============================================================
   MOBILE STICKY BAR (.bp-sticky-bar)
   Fixed bottom bar — mobile only, scroll-triggered via JS.
   ============================================================= */
.bp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: var(--brand-navy);
  border-top: 3px solid var(--brand-amber);
  padding: 0.875rem 1.25rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  /* Slide-up entrance */
  animation: bp-slide-up 0.3s ease forwards;
}

@keyframes bp-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.bp-sticky-bar[hidden] {
  display: none;
}

.bp-sticky-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 540px;
  margin: 0 auto;
}

.bp-sticky-bar__text {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.4;
}

.bp-sticky-bar__cta {
  flex-shrink: 0;
  background: var(--brand-amber);
  color: var(--brand-navy);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1.125rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}
.bp-sticky-bar__cta:hover {
  background: #FBBF24;
}

.bp-sticky-bar__dismiss {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
}
.bp-sticky-bar__dismiss:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Sticky bar only shows on mobile — hide on desktop */
@media (min-width: 768px) {
  .bp-sticky-bar {
    display: none !important;
  }
}

/* =============================================================
   CITY HUB PAGES — all .bp-city-* and .bp-project-mini-card
   Used by page-cities.php and page-city-[city].php templates.
   ============================================================= */

/* ── City Hero ─────────────────────────────────────────────── */
.bp-city-hero {
  background: var(--brand-navy);
  color: #fff;
  padding: 4rem 0 3.5rem;
}

.bp-city-hero__breadcrumb {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.bp-city-hero__breadcrumb:hover,
.bp-city-hero__breadcrumb:focus {
  color: var(--brand-amber);
}

.bp-city-hero__badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bp-city-hero__badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-amber);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  padding: 0.3125rem 0.875rem;
  white-space: nowrap;
}

/* Hero stat row */
.bp-city-hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.bp-city-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bp-city-hero__stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.bp-city-hero__stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  max-width: 12ch;
}

@media (max-width: 767px) {
  .bp-city-hero {
    padding: 2.5rem 0 2rem;
  }

  .bp-city-hero__stats {
    gap: 1.25rem;
  }

  .bp-city-hero__stat-num {
    font-size: 1.5rem;
  }
}

/* ── City Grid ─────────────────────────────────────────────── */
.bp-city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .bp-city-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 479px) {
  .bp-city-grid {
    grid-template-columns: 1fr;
  }
}

/* ── City Card ─────────────────────────────────────────────── */
.bp-city-card {
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bp-city-card:hover {
  box-shadow: 0 8px 32px rgba(11, 31, 58, 0.10);
  border-color: var(--brand-amber);
  transform: translateY(-2px);
}

.bp-city-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0;
  line-height: 1.25;
}

.bp-city-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.bp-city-card__name a:hover,
.bp-city-card__name a:focus {
  color: var(--brand-amber);
}

.bp-city-card__stat {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--slate-600);
  margin: 0;
  line-height: 1.5;
}

.bp-city-card__cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
  border-top: 1px solid var(--slate-200);
}
.bp-city-card__cta:hover,
.bp-city-card__cta:focus {
  color: var(--brand-amber);
}

/* ── Project Mini Card ─────────────────────────────────────── */
.bp-project-mini-card {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  padding: 1.25rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.bp-project-mini-card:hover {
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.09);
  border-color: var(--brand-amber);
}

.bp-project-mini-card__score {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.bp-project-mini-card__score--buy {
  background: var(--brand-verified);
}

.bp-project-mini-card__score--wait {
  background: var(--brand-warn);
}

.bp-project-mini-card__score--avoid {
  background: var(--brand-avoid);
}

.bp-project-mini-card__body {
  min-width: 0;
}

.bp-project-mini-card__name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 0.375rem;
  line-height: 1.3;
}

.bp-project-mini-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.bp-project-mini-card__name a:hover,
.bp-project-mini-card__name a:focus {
  color: var(--brand-amber);
}

.bp-project-mini-card__meta {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0 0 0.5rem;
}

.bp-project-mini-card__summary {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--slate-700);
  margin: 0;
  line-height: 1.55;
}

.bp-project-mini-card__link {
  flex-shrink: 0;
  align-self: center;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1.5px solid var(--brand-amber);
  padding-bottom: 1px;
  transition: color 0.15s;
}
.bp-project-mini-card__link:hover,
.bp-project-mini-card__link:focus {
  color: var(--brand-amber);
}

@media (max-width: 639px) {
  .bp-project-mini-card {
    grid-template-columns: 3.5rem 1fr;
    grid-template-rows: auto auto;
  }

  .bp-project-mini-card__score {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.125rem;
  }

  .bp-project-mini-card__link {
    grid-column: 1 / -1;
    display: inline-block;
    margin-top: 0.5rem;
  }
}

/* ── FAQ Accordion ─────────────────────────────────────────── */
.bp-faq__item {
  border-bottom: 1px solid var(--slate-200);
}

.bp-faq__item:first-child {
  border-top: 1px solid var(--slate-200);
}

.bp-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-navy);
  padding: 1.125rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  line-height: 1.4;
  transition: color 0.15s;
}

/* Remove default disclosure triangle in Safari/Firefox */
.bp-faq__question::-webkit-details-marker {
  display: none;
}
.bp-faq__question::marker {
  display: none;
}

/* Custom triangle */
.bp-faq__question::after {
  content: '';
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border-right: 2px solid var(--brand-navy);
  border-bottom: 2px solid var(--brand-navy);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s, border-color 0.15s;
  margin-top: -3px;
}

.bp-faq__item[open] .bp-faq__question::after {
  transform: rotate(225deg);
  margin-top: 3px;
}

.bp-faq__item[open] .bp-faq__question {
  color: var(--brand-amber);
}
.bp-faq__item[open] .bp-faq__question::after {
  border-color: var(--brand-amber);
}

.bp-faq__answer {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.7;
  padding: 0 0 1.375rem;
}

.bp-faq__answer p {
  margin: 0 0 0.875rem;
}
.bp-faq__answer p:last-child {
  margin-bottom: 0;
}

.bp-faq__answer a {
  color: var(--brand-navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--brand-amber);
  padding-bottom: 1px;
  transition: color 0.15s;
}
.bp-faq__answer a:hover,
.bp-faq__answer a:focus {
  color: var(--brand-amber);
}

/* ── Cities Why-List ───────────────────────────────────────── */
.bp-cities-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bp-cities-why-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--slate-200);
}

.bp-cities-why-item:first-child {
  border-top: 1px solid var(--slate-200);
}

.bp-cities-why-item__icon {
  font-size: 1.75rem;
  line-height: 1;
  text-align: center;
  padding-top: 0.125rem;
}

.bp-cities-why-item__heading {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 0.5rem;
}

.bp-cities-why-item__body {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 479px) {
  .bp-cities-why-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.875rem;
  }

  .bp-cities-why-item__icon {
    font-size: 1.375rem;
  }
}


/* ============================================================
   PHASE 1 — AXIS + SCORE COLOR TOKENS
   (Fragrantica-style categorical palette mapped to the 6
   Brickplot scoring axes used in page-how-we-review.php.)
   ============================================================ */

:root {
  --axis-rera:        #6366F1; /* Indigo  — RERA Compliance      (20%) */
  --axis-builder:     #F59E0B; /* Amber   — Builder Track Record (15%) */
  --axis-location:    #3B82F6; /* Blue    — Location Fundamentals (15%) */
  --axis-value:       #8B5CF6; /* Violet  — Value for Money      (15%) */
  --axis-sentiment:   #EC4899; /* Pink    — Buyer Sentiment      (20%) */
  --axis-progress:    #10B981; /* Emerald — Construction Progress (15%) */

  --score-high:       #10B981; /* 8.0 – 10  → Buy Now */
  --score-mid:        #F59E0B; /* 5.0 – 7.9 → Wait    */
  --score-low:        #DC2626; /* 0   – 4.9 → Avoid   */
}

/* ============================================================
   PHASE 2 — AXIS BAR COMPONENT (.bp-axis-bars / .bp-axis-bar)
   Horizontal progress bars, one per scoring axis, with the
   axis-token color filling a width = sub-score * 10%.
   Used on per-project review pages. Independent from the
   methodology .bp-axis-card grid on page-how-we-review.php.
   ============================================================ */

.bp-axis-bars {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1.25rem 0;
  font-family: var(--font-sans);
}

.bp-axis-bar {
  display: grid;
  grid-template-columns: 9rem 1fr 2.75rem;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 599px) {
  .bp-axis-bar {
    grid-template-columns: 7rem 1fr 2.5rem;
    gap: 0.5rem;
  }
}

.bp-axis-bar__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-axis-bar__track {
  position: relative;
  height: 22px;
  background: var(--slate-100);
  border-radius: 0 6px 6px 0;
  overflow: hidden;
}

.bp-axis-bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 0 6px 6px 0;
  transition: width 0.6s ease;
}

.bp-axis-bar__value {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Axis-specific fill colors (BEM modifier on .bp-axis-bar) */
.bp-axis-bar--rera      .bp-axis-bar__fill { background: var(--axis-rera); }
.bp-axis-bar--builder   .bp-axis-bar__fill { background: var(--axis-builder); }
.bp-axis-bar--location  .bp-axis-bar__fill { background: var(--axis-location); }
.bp-axis-bar--value     .bp-axis-bar__fill { background: var(--axis-value); }
.bp-axis-bar--sentiment .bp-axis-bar__fill { background: var(--axis-sentiment); }
.bp-axis-bar--progress  .bp-axis-bar__fill { background: var(--axis-progress); }

/* Dark surface variant — for use inside .bp-section--dark or hero */
.bp-axis-bars--on-dark .bp-axis-bar__label { color: rgba(255, 255, 255, 0.78); }
.bp-axis-bars--on-dark .bp-axis-bar__value { color: #ffffff; }
.bp-axis-bars--on-dark .bp-axis-bar__track { background: rgba(255, 255, 255, 0.10); }

/* ============================================================
   PHASE 3 — VERDICT SOLID-CHIP MODIFIER (.bp-verdict--solid)
   Opt-in upgrade for filled verdict chips on project cards.
   The original soft .bp-verdict (lines 776-804) is preserved
   unchanged — existing front-page.php usages keep their look.
   Add the --solid modifier on cards where stronger color
   weight is needed (image overlays, dark backgrounds, etc.).
   ============================================================ */

.bp-verdict--solid {
  margin-top: 0;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border: none;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.bp-verdict--solid.bp-verdict--buy {
  background: var(--brand-verified);
  color: #ffffff;
}

.bp-verdict--solid.bp-verdict--wait {
  background: var(--brand-warn);
  color: #ffffff;
}

.bp-verdict--solid.bp-verdict--avoid {
  background: var(--brand-avoid);
  color: #ffffff;
}

/* Optional companion chip — large numeric score paired with verdict */
.bp-score-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.125rem;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--slate-100);
  color: var(--brand-navy);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.bp-score-chip__num  { font-size: 1.0625rem; }
.bp-score-chip__den  { font-size: 0.75rem; color: var(--slate-500); }

.bp-score-chip--high { background: rgba(16, 185, 129, 0.14); color: var(--score-high); }
.bp-score-chip--mid  { background: rgba(245, 158, 11, 0.14); color: var(--score-mid); }
.bp-score-chip--low  { background: rgba(220, 38, 38, 0.12); color: var(--score-low); }
.bp-score-chip--high .bp-score-chip__den,
.bp-score-chip--mid  .bp-score-chip__den,
.bp-score-chip--low  .bp-score-chip__den { color: inherit; opacity: 0.7; }


/* =============================================================
   Brickplot — Sub-Metric Badge Strip (horizontal) — appended v17
   ============================================================= */
.bp-metric-strip{margin:1.25rem 0 2rem;padding:0}
.bp-metric-strip__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:nowrap;gap:.625rem;overflow-x:auto;overflow-y:visible;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:.5rem}
.bp-metric-strip__list::-webkit-scrollbar{height:4px}
.bp-metric-strip__list::-webkit-scrollbar-thumb{background:var(--slate-300,#cbd5e1);border-radius:4px}
@media(min-width:840px){.bp-metric-strip__list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible;scroll-snap-type:none;padding-bottom:0}}
.bp-metric-badge{position:relative;flex:0 0 42%;min-width:150px;max-width:220px;scroll-snap-align:start;display:grid;grid-template-rows:auto auto auto auto;gap:.15rem;padding:.85rem .75rem .9rem;background:#fff;border:1px solid var(--slate-200,#e2e8f0);border-top:3px solid var(--slate-400,#94a3b8);border-radius:10px;font-family:var(--font-sans,system-ui,sans-serif);color:var(--brand-navy,#0B1F3A);text-align:left;cursor:help;outline:none;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
@media(min-width:840px){.bp-metric-badge{flex:initial;min-width:0;max-width:none}}
.bp-metric-badge:hover,.bp-metric-badge:focus-visible{transform:translateY(-2px);box-shadow:0 6px 18px -8px rgba(11,31,58,.25)}
.bp-metric-badge:focus-visible{outline:2px solid var(--brand-amber,#F59E0B);outline-offset:2px}
.bp-metric-badge__icon{font-size:1.05rem;line-height:1;margin-bottom:.2rem}
.bp-metric-badge__value{font-family:var(--font-serif,Georgia,serif);font-size:1.25rem;font-weight:600;line-height:1.1;color:var(--brand-navy,#0B1F3A);letter-spacing:-.01em}
.bp-metric-badge__label{font-size:.72rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--slate-600,#475569)}
.bp-metric-badge__quality{font-size:.7rem;font-weight:600;letter-spacing:.02em;padding:.12rem .4rem;border-radius:999px;justify-self:start;margin-top:.3rem;background:var(--slate-100,#f1f5f9);color:var(--slate-700,#334155)}
.bp-metric-badge--green{border-top-color:#15803d}
.bp-metric-badge--green-dark{border-top-color:#14532d}
.bp-metric-badge--amber{border-top-color:#d97706}
.bp-metric-badge--red{border-top-color:#b91c1c}
.bp-metric-badge--green .bp-metric-badge__quality{background:#dcfce7;color:#15803d}
.bp-metric-badge--green-dark .bp-metric-badge__quality{background:#bbf7d0;color:#14532d}
.bp-metric-badge--amber .bp-metric-badge__quality{background:#fef3c7;color:#92400e}
.bp-metric-badge--red .bp-metric-badge__quality{background:#fee2e2;color:#b91c1c}
.bp-metric-badge__tooltip{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%) translateY(4px);z-index:20;width:max-content;max-width:240px;padding:.55rem .7rem;background:var(--brand-navy,#0B1F3A);color:#fff;font-size:.78rem;line-height:1.35;border-radius:6px;box-shadow:0 8px 24px -6px rgba(11,31,58,.45);opacity:0;pointer-events:none;transition:opacity .15s ease,transform .15s ease}
.bp-metric-badge__tooltip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top-color:var(--brand-navy,#0B1F3A)}
.bp-metric-badge:hover .bp-metric-badge__tooltip,.bp-metric-badge:focus-visible .bp-metric-badge__tooltip,.bp-metric-badge:focus-within .bp-metric-badge__tooltip{opacity:1;transform:translateX(-50%) translateY(0)}
.bp-metric-strip__list>li:first-child .bp-metric-badge__tooltip{left:0;transform:translateY(4px)}
.bp-metric-strip__list>li:first-child .bp-metric-badge:hover .bp-metric-badge__tooltip,.bp-metric-strip__list>li:first-child .bp-metric-badge:focus-visible .bp-metric-badge__tooltip{transform:translateY(0)}
.bp-metric-strip__list>li:first-child .bp-metric-badge__tooltip::after{left:24px}
.bp-metric-strip__list>li:last-child .bp-metric-badge__tooltip{left:auto;right:0;transform:translateY(4px)}
.bp-metric-strip__list>li:last-child .bp-metric-badge:hover .bp-metric-badge__tooltip,.bp-metric-strip__list>li:last-child .bp-metric-badge:focus-visible .bp-metric-badge__tooltip{transform:translateY(0)}
.bp-metric-strip__list>li:last-child .bp-metric-badge__tooltip::after{left:auto;right:24px}
@media(prefers-reduced-motion:reduce){.bp-metric-badge,.bp-metric-badge__tooltip{transition:none}}
@media print{.bp-metric-strip__list{display:block}.bp-metric-badge{break-inside:avoid;margin-bottom:.5rem;box-shadow:none}.bp-metric-badge__tooltip{display:none}}
