/* ═══════════════════════════════════════════════════
   VCG Reusable Components
   ═══════════════════════════════════════════════════ */

/* ─── Testimonial Card ─── */
.vcg-testimonial {
  padding: 32px;
  border: 1px solid var(--vcg-border);
  border-radius: var(--vcg-radius);
  background: var(--vcg-white);
}
.vcg-testimonial-stars {
  color: var(--vcg-gold);
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.vcg-testimonial-text {
  font-size: 15px;
  color: var(--vcg-text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.vcg-testimonial-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--vcg-black);
}
.vcg-testimonial-detail {
  font-size: 13px;
  color: var(--vcg-text-light);
}

/* ─── Stat Counter ─── */
.vcg-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  text-align: center;
}
.vcg-stat-number {
  font-family: var(--vcg-font-heading);
  font-size: 2.5rem;
  color: var(--vcg-gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.vcg-stat-desc {
  font-size: 13px;
  color: var(--vcg-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ─── Section Header ─── */
.vcg-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.vcg-section-header p {
  color: var(--vcg-text-light);
  font-size: 16px;
}

/* ─── Image + Text Split ─── */
.vcg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.vcg-split-reverse { direction: rtl; }
.vcg-split-reverse > * { direction: ltr; }
.vcg-split img {
  border-radius: var(--vcg-radius-lg);
  width: 100%;
}

@media (max-width: 768px) {
  .vcg-split { grid-template-columns: 1fr; gap: 32px; }
  .vcg-split-reverse { direction: ltr; }
}

/* ─── Neighborhood Card (for hub/grid) ─── */
.vcg-neighborhood-card-link {
  text-decoration: none;
  color: var(--vcg-text);
  display: block;
}
.vcg-neighborhood-card-link .vcg-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.vcg-neighborhood-card-img {
  height: 200px;
  background: var(--vcg-bg-subtle);
  overflow: hidden;
}
.vcg-neighborhood-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.vcg-neighborhood-card-link:hover .vcg-neighborhood-card-img img {
  transform: scale(1.04);
}
.vcg-neighborhood-card-body {
  padding: 20px;
  flex: 1;
}
.vcg-neighborhood-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.vcg-neighborhood-card-body p {
  font-size: 14px;
  color: var(--vcg-text-light);
  margin: 0;
}

/* ─── CTA Banner ─── */
.vcg-cta-banner {
  background: var(--vcg-black);
  padding: 64px 24px;
  text-align: center;
}
.vcg-cta-banner h2 {
  color: var(--vcg-white);
  margin-bottom: 8px;
}
.vcg-cta-banner p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  font-size: 16px;
}

/* ─── Step/Process Component (for Vesta Method) ─── */
.vcg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.vcg-step {
  text-align: center;
  padding: 32px 24px;
}
.vcg-step-number {
  font-family: var(--vcg-font-heading);
  font-size: 3rem;
  color: var(--vcg-gold);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.vcg-step h3 { margin-bottom: 12px; }
.vcg-step p { font-size: 15px; color: var(--vcg-text-light); }

@media (max-width: 768px) {
  .vcg-steps { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Feature Grid (icon + title + desc) ─── */
.vcg-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.vcg-feature-item { padding: 24px 0; }
.vcg-feature-item h4 {
  font-family: var(--vcg-font-body);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--vcg-black);
}
.vcg-feature-item p {
  font-size: 14px;
  color: var(--vcg-text-light);
}
/* Feature items inside dark sections need white text — override the defaults above */
.vcg-section-dark .vcg-feature-item h4 { color: var(--vcg-white); }
.vcg-section-dark .vcg-feature-item p  { color: rgba(255,255,255,0.75); }

/* ─── Agent Card ─── */
.vcg-agent-card-component {
  display: flex;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--vcg-border);
  border-radius: var(--vcg-radius-lg);
  background: var(--vcg-white);
}
.vcg-agent-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.vcg-agent-info h3 { margin-bottom: 4px; }
.vcg-agent-title {
  font-size: 14px;
  color: var(--vcg-text-light);
  margin-bottom: 12px;
}
.vcg-agent-bio {
  font-size: 14px;
  color: var(--vcg-text);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .vcg-agent-card-component { flex-direction: column; text-align: center; }
  .vcg-agent-photo { margin: 0 auto; }
}
