/* ═══════════════════════════════════════════════════
   Page Templates: Contact, VCG Listings, Off-Market,
   Education, Testimonials, BeltLine, Referral
   ═══════════════════════════════════════════════════ */

/* ─── Shared Page Hero ─── */
.vcg-page-hero {
  padding: 120px 24px 100px;
}
.vcg-page-hero h1 {
  color: var(--vcg-white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0;
  line-height: 1.15;
}

/* ═══ CONTACT PAGE ═══ */

.vcg-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.vcg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vcg-contact-info-card {
  margin-bottom: 24px;
}
.vcg-contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.vcg-contact-info-card p {
  font-size: 15px;
  color: var(--vcg-text-light);
  line-height: 1.7;
}
.vcg-contact-info-card a {
  color: var(--vcg-gold);
  text-decoration: none;
  font-weight: 500;
}
.vcg-contact-info-card a:hover {
  text-decoration: underline;
}

.vcg-map-embed-placeholder {
  background: var(--vcg-bg-subtle);
  border: 2px dashed var(--vcg-border);
  border-radius: var(--vcg-radius-lg);
  padding: 48px 24px;
  text-align: center;
  margin-top: 16px;
}
.vcg-map-embed-placeholder p {
  font-weight: 600;
  color: var(--vcg-text-light);
  margin-bottom: 4px;
}
.vcg-map-embed-placeholder span {
  font-size: 13px;
  color: var(--vcg-text-light);
}

@media (max-width: 768px) {
  .vcg-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .vcg-form-row { grid-template-columns: 1fr; }
}

/* ═══ VCG LISTINGS PAGE ═══ */

.vcg-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.vcg-listing-card {
  text-decoration: none;
  color: var(--vcg-text);
  display: flex;
  flex-direction: column;
}

.vcg-listing-card-img {
  position: relative;
  height: 220px;
  background: var(--vcg-bg-subtle);
  overflow: hidden;
}
.vcg-listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.vcg-listing-card:hover .vcg-listing-card-img img {
  transform: scale(1.04);
}

.vcg-listing-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--vcg-font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  z-index: 2;
}
.vcg-listing-badge-sold,
.vcg-badge-sold {
  background: var(--vcg-black);
  color: var(--vcg-white);
}
.vcg-listing-badge-pending,
.vcg-badge-uc {
  background: #c7891b;
  color: var(--vcg-white);
}
.vcg-badge-active {
  background: #2e7d32;
  color: var(--vcg-white);
}

.vcg-listing-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--vcg-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vcg-text-light);
  font-size: 13px;
}

.vcg-listing-card-body {
  padding: 20px;
  flex: 1;
}
.vcg-listing-card-price {
  font-family: var(--vcg-font-heading);
  font-size: 1.2rem;
  color: var(--vcg-black);
  margin-bottom: 4px;
}
.vcg-listing-card-addr {
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.vcg-listing-card-meta {
  font-size: 14px;
  color: var(--vcg-text-light);
  margin: 0;
}
.vcg-listing-card-mls {
  font-size: 11px;
  color: var(--vcg-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.vcg-listing-card-stats {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--vcg-text);
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--vcg-border);
}
.vcg-listing-card-rep {
  font-size: 12px;
  color: var(--vcg-text-light);
  font-style: italic;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--vcg-border);
}
.vcg-listing-card-rep strong {
  color: var(--vcg-black);
  font-style: normal;
  font-weight: 600;
}

.vcg-empty-state {
  padding: 48px 24px;
  background: var(--vcg-bg-subtle);
  border-radius: var(--vcg-radius-lg);
}
.vcg-empty-state h3 {
  margin-bottom: 8px;
}
.vcg-empty-state p {
  color: var(--vcg-text-light);
  max-width: 480px;
  margin: 0 auto 20px;
}

/* ═══ OFF-MARKET PAGE ═══ */

.vcg-offmarket-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.vcg-offmarket-benefit {
  padding: 20px 24px;
  border: 1px solid var(--vcg-border);
  border-radius: var(--vcg-radius);
  background: var(--vcg-white);
}
.vcg-offmarket-benefit h4 {
  font-family: var(--vcg-font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--vcg-black);
  margin-bottom: 6px;
}
.vcg-offmarket-benefit p {
  font-size: 14px;
  color: var(--vcg-text-light);
  margin: 0;
}

.vcg-offmarket-form-wrap {
  max-width: var(--vcg-max-width-narrow);
  margin: 0 auto;
}

/* ═══ EDUCATION HUB PAGE ═══ */

.vcg-edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.vcg-edu-card {
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vcg-edu-card-icon {
  color: var(--vcg-gold);
  margin-bottom: 20px;
}
.vcg-edu-card h3 {
  margin-bottom: 8px;
}
.vcg-edu-card p {
  font-size: 15px;
  color: var(--vcg-text-light);
  margin-bottom: 20px;
  flex: 1;
}

.vcg-edu-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.vcg-edu-post-card {
  text-decoration: none;
  color: var(--vcg-text);
  display: flex;
  flex-direction: column;
}
.vcg-edu-post-img {
  height: 200px;
  overflow: hidden;
  background: var(--vcg-bg-subtle);
}
.vcg-edu-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.vcg-edu-post-card:hover .vcg-edu-post-img img {
  transform: scale(1.04);
}
.vcg-edu-post-body {
  padding: 20px;
  flex: 1;
}
.vcg-edu-post-date {
  font-size: 12px;
  color: var(--vcg-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.vcg-edu-post-body h3 {
  font-size: 1.1rem;
  margin: 8px 0;
}
.vcg-edu-post-body p {
  font-size: 14px;
  color: var(--vcg-text-light);
}

.vcg-edu-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vcg-edu-video-placeholder {
  border-radius: var(--vcg-radius-lg);
  overflow: hidden;
}
.vcg-video-embed-placeholder {
  background: var(--vcg-black);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--vcg-radius-lg);
}
.vcg-video-embed-placeholder p {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-top: 8px;
}

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

/* ═══ TESTIMONIALS PAGE ═══ */

.vcg-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.vcg-reviews-widget-placeholder {
  max-width: var(--vcg-max-width-narrow);
  margin: 0 auto;
}

/* ═══ BELTLINE PAGE ═══ */

.vcg-beltline-segments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vcg-beltline-segment {
  padding: 32px;
  background: var(--vcg-white);
  border: 1px solid var(--vcg-border);
  border-radius: var(--vcg-radius-lg);
}
.vcg-beltline-segment h3 {
  margin-bottom: 8px;
}
.vcg-beltline-segment p {
  font-size: 15px;
  color: var(--vcg-text-light);
  line-height: 1.7;
}
.vcg-beltline-hoods {
  font-size: 14px;
  margin-top: 12px;
}
.vcg-beltline-hoods strong {
  color: var(--vcg-black);
}

.vcg-beltline-segment-status {
  display: inline-block;
  font-family: var(--vcg-font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.vcg-beltline-complete {
  background: var(--vcg-success);
  color: var(--vcg-white);
}
.vcg-beltline-progress {
  background: var(--vcg-gold);
  color: var(--vcg-white);
}
.vcg-beltline-planned {
  background: var(--vcg-bg-subtle);
  color: var(--vcg-text-light);
  border: 1px solid var(--vcg-border);
}

.vcg-beltline-hoods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.vcg-beltline-hood-card {
  text-decoration: none;
  color: var(--vcg-text);
  display: block;
}
.vcg-beltline-hood-body {
  padding: 24px;
}
.vcg-beltline-hood-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.vcg-beltline-hood-body p {
  font-size: 14px;
  color: var(--vcg-text-light);
  margin-bottom: 12px;
}
.vcg-beltline-hood-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--vcg-gold);
}

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

/* ═══ REFERRAL PAGE ═══ */

.vcg-referral-form-wrap {
  max-width: var(--vcg-max-width-narrow);
  margin: 0 auto;
}

/* ═══ MARKET REPORTS PAGE ═══ */
.vcg-mr-hero { padding: 72px 24px 64px; }
.vcg-mr-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .vcg-mr-hero-grid { grid-template-columns: 1fr; } }
.vcg-mr-hero-left h1 {
  font-family: var(--vcg-font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--vcg-white);
}
.vcg-mr-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vcg-radius-lg);
  padding: 30px 32px;
}
.vcg-mr-stat-card h3 {
  color: var(--vcg-gold);
  font-family: var(--vcg-font-heading);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.vcg-mr-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vcg-mr-stat-row:last-child { border-bottom: none; }
.vcg-mr-stat-row span:first-child { color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.vcg-mr-stat-row span:last-child {
  color: var(--vcg-white);
  font-family: var(--vcg-font-heading);
  font-size: 1.25rem;
}
.vcg-mr-stat-source {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vcg-mr-featured-section { padding: 56px 24px; }
.vcg-mr-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--vcg-white);
  border: 1px solid var(--vcg-border);
  border-radius: var(--vcg-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vcg-mr-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
@media (max-width: 900px) { .vcg-mr-featured { grid-template-columns: 1fr; } }
.vcg-mr-featured-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--vcg-bg-subtle);
}
.vcg-mr-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.vcg-mr-featured-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2d2829, #1a1718);
}
.vcg-mr-featured-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.vcg-mr-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vcg-gold);
  margin-bottom: 12px;
}
.vcg-mr-featured-body h3 {
  font-family: var(--vcg-font-heading);
  font-size: 1.8rem;
  color: var(--vcg-black);
  line-height: 1.2;
  margin-bottom: 14px;
}
.vcg-mr-featured-body p { color: var(--vcg-text); margin-bottom: 16px; }
.vcg-mr-featured-meta { font-size: 13px; color: var(--vcg-text-light); margin-bottom: 20px; }
.vcg-mr-featured-body .vcg-btn { align-self: flex-start; }

.vcg-mr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .vcg-mr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .vcg-mr-grid { grid-template-columns: 1fr; } }

.vcg-mr-card {
  background: var(--vcg-white);
  border-radius: var(--vcg-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vcg-mr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.vcg-mr-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.vcg-mr-card-img img { width: 100%; height: 100%; object-fit: cover; }
.vcg-mr-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2d2829, #1a1718);
}
.vcg-mr-card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.vcg-mr-card-body h4 {
  font-family: var(--vcg-font-heading);
  font-size: 1.15rem;
  color: var(--vcg-black);
  line-height: 1.3;
  margin-bottom: 10px;
}
.vcg-mr-card-meta { font-size: 12px; color: var(--vcg-text-light); margin-bottom: 12px; }
.vcg-mr-card-body p { font-size: 0.92rem; color: var(--vcg-text); flex: 1; margin-bottom: 14px; }
.vcg-mr-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--vcg-black);
  border-bottom: 2px solid var(--vcg-gold);
  padding-bottom: 2px;
  align-self: flex-start;
}

/* ═══ AGENT BIO PAGE ═══ */

.vcg-agent-hero {
  padding: 96px 24px 88px;
}
.vcg-agent-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
}
.vcg-agent-hero-text h1 {
  margin-top: 4px;
  margin-bottom: 8px;
}
.vcg-agent-hero-title {
  color: var(--vcg-gold);
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 12px;
}
.vcg-gold-rule-left {
  width: 60px;
  height: 2px;
  background: var(--vcg-gold);
  border: 0;
  margin: 16px 0;
}
.vcg-agent-hero-tagline {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 560px;
  margin: 16px 0 32px;
  font-family: var(--vcg-serif, 'DM Serif Display', serif);
  font-style: italic;
}
.vcg-agent-hero-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.vcg-agent-contact-link {
  display: flex;
  flex-direction: column;
  color: var(--vcg-white);
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--vcg-radius-sm, 4px);
  transition: border-color 0.2s, background 0.2s;
}
.vcg-agent-contact-link:hover {
  border-color: var(--vcg-gold);
  background: rgba(255, 255, 255, 0.04);
}
.vcg-agent-contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--vcg-gold);
  margin-bottom: 4px;
}
.vcg-agent-contact-value {
  font-size: 15px;
  font-weight: 500;
}
.vcg-agent-hero-ctas {
  margin-top: 8px;
}
.vcg-agent-hero-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--vcg-radius-lg, 8px);
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* ─── Agent Stats ─── */
.vcg-agent-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.vcg-agent-stat-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--vcg-white);
  border-radius: var(--vcg-radius-md, 6px);
  border-bottom: 3px solid var(--vcg-gold);
}
.vcg-agent-stat-number {
  font-family: var(--vcg-serif, 'DM Serif Display', serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--vcg-black);
  line-height: 1.1;
  margin-bottom: 8px;
}
.vcg-agent-stat-label {
  font-size: 13px;
  color: var(--vcg-text-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* ─── Agent Bio body ─── */
.vcg-agent-bio-body {
  max-width: var(--vcg-max-width-narrow, 760px);
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--vcg-text);
}
.vcg-agent-bio-body p {
  margin-bottom: 1.2em;
}

/* ─── Expertise ─── */
.vcg-agent-expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.vcg-agent-expertise-card {
  background: var(--vcg-white);
  padding: 32px 28px;
  border-radius: var(--vcg-radius-md, 6px);
  border-top: 3px solid var(--vcg-gold);
}
.vcg-agent-expertise-card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.vcg-agent-expertise-card p {
  font-size: 0.95rem;
  color: var(--vcg-text-light);
  line-height: 1.6;
  margin: 0;
}

/* ─── Agent Testimonials ─── */
.vcg-agent-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.vcg-agent-testimonial {
  background: var(--vcg-cream, #f8f5ef);
  padding: 36px 32px;
  border-radius: var(--vcg-radius-md, 6px);
  border-left: 3px solid var(--vcg-gold);
  margin: 0;
}
.vcg-agent-testimonial blockquote {
  margin: 0 0 20px;
  font-family: var(--vcg-serif, 'DM Serif Display', serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--vcg-text);
  font-style: italic;
}
.vcg-agent-testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vcg-testimonial-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--vcg-black);
}
.vcg-testimonial-detail {
  font-size: 0.8rem;
  color: var(--vcg-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Favorite Neighborhoods ─── */
.vcg-agent-neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.vcg-agent-neighborhood-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--vcg-radius-md, 6px);
  overflow: hidden;
  text-decoration: none;
  background: var(--vcg-black);
  transition: transform 0.3s, box-shadow 0.3s;
}
.vcg-agent-neighborhood-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.vcg-agent-neighborhood-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.75;
  transition: opacity 0.3s, transform 0.3s;
}
.vcg-agent-neighborhood-card:hover .vcg-agent-neighborhood-img {
  opacity: 0.9;
  transform: scale(1.04);
}
.vcg-agent-neighborhood-name {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: var(--vcg-white);
  font-family: var(--vcg-serif, 'DM Serif Display', serif);
  font-size: 1.1rem;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .vcg-agent-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .vcg-agent-hero-photo {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }
  .vcg-agent-hero-contact {
    gap: 12px;
  }
}

/* ═══ FELLO CALCULATOR EMBED ═══ */

.vcg-calculator-section {
  padding: 72px 0;
  background: var(--vcg-cream, #f8f5ef);
}
.vcg-calculator-heading {
  text-align: center;
  margin-bottom: 32px;
}
.vcg-calculator-heading p.vcg-subhead {
  color: var(--vcg-gold);
}
.vcg-calculator-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: var(--vcg-white);
  padding: 40px 44px;
  border-radius: var(--vcg-radius-md, 6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.vcg-calculator-wrap fello-mortgage-calculator-widget,
.vcg-calculator-wrap fello-affordability-calculator-widget,
.vcg-calculator-wrap fello-home-sale-calculator-widget {
  display: block;
  min-height: 420px;
  /* Fello uses root-relative sizing; bump this up to scale the whole widget. */
  font-size: 18px;
  font-family: 'Raleway', system-ui, sans-serif;
  color: var(--vcg-text, #1d1d1d);
}
@media (max-width: 640px) {
  .vcg-calculator-wrap {
    padding: 24px 20px;
  }
  .vcg-calculator-wrap fello-mortgage-calculator-widget,
  .vcg-calculator-wrap fello-affordability-calculator-widget,
  .vcg-calculator-wrap fello-home-sale-calculator-widget {
    font-size: 16px;
  }
}


/* ═══════════════════════════════════════════════════
   Calculator card-launched modal
   Used on /buying/. Keeps Fello widgets rendered in
   DOM but hidden off-screen until user opens a modal —
   avoids Fello's init-on-load timing issues.
   ═══════════════════════════════════════════════════ */

.vcg-calc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .vcg-calc-cards { grid-template-columns: 1fr; }
}

.vcg-calc-card {
  appearance: none;
  -webkit-appearance: none;
  background: var(--vcg-white, #fff);
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 3px solid var(--vcg-gold, #D4A84B);
  border-radius: var(--vcg-radius-md, 6px);
  padding: 32px 28px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  font-family: inherit;
}
.vcg-calc-card:hover,
.vcg-calc-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-top-color: var(--vcg-black, #231F20);
  outline: none;
}
.vcg-calc-card-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--vcg-gold, #D4A84B);
  font-weight: 600;
}
.vcg-calc-card-title {
  font-family: 'DM Serif Display', 'Gloock', serif;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--vcg-black, #231F20);
  margin: 2px 0 6px;
}
.vcg-calc-card-desc {
  font-size: 0.95rem;
  color: var(--vcg-text-light, #6b6b6b);
  line-height: 1.6;
}
.vcg-calc-card-cta {
  margin-top: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  color: var(--vcg-black, #231F20);
  border-bottom: 2px solid var(--vcg-gold, #D4A84B);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.2s;
}
.vcg-calc-card:hover .vcg-calc-card-cta {
  color: var(--vcg-gold, #D4A84B);
}

/* ─── Modal ─── */
.vcg-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.vcg-modal[data-open="true"] {
  display: flex;
}
.vcg-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(35, 31, 32, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.vcg-modal-panel {
  position: relative;
  background: var(--vcg-white, #fff);
  border-radius: var(--vcg-radius-md, 6px);
  width: 100%;
  max-width: 880px;
  margin: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: vcg-modal-in 0.25s ease-out;
}
@keyframes vcg-modal-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vcg-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 32px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.vcg-modal-header h3 {
  font-family: 'DM Serif Display', 'Gloock', serif;
  font-size: 1.5rem;
  margin: 4px 0 0;
  color: var(--vcg-black, #231F20);
}
.vcg-modal-close {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--vcg-text-light, #6b6b6b);
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.vcg-modal-close:hover,
.vcg-modal-close:focus-visible {
  background: rgba(0,0,0,0.05);
  color: var(--vcg-black, #231F20);
  outline: none;
}
.vcg-modal-body {
  padding: 24px 32px 32px;
}

/* Lock body scroll when any modal is open */
body.vcg-modal-open {
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════
   /our-story/ team member links (Valerie + Ariella)
   Photos + names link to /valerie-gonzalez/ and /ariella-faitelson/
   ═══════════════════════════════════════════════════ */

.vcg-team-photo-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--vcg-radius-lg);
  transition: transform 0.3s ease;
}
.vcg-team-photo-link img {
  transition: transform 0.4s ease;
  display: block;
}
.vcg-team-photo-link:hover img,
.vcg-team-photo-link:focus-visible img {
  transform: scale(1.03);
}
.vcg-team-photo-link:focus-visible {
  outline: 3px solid var(--vcg-gold, #D4A84B);
  outline-offset: 4px;
}

.vcg-team-name-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.vcg-team-name-link:hover,
.vcg-team-name-link:focus-visible {
  color: var(--vcg-gold, #D4A84B);
  border-bottom-color: var(--vcg-gold, #D4A84B);
}

.vcg-read-full-bio {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--vcg-black, #231F20);
  text-decoration: none;
  border-bottom: 2px solid var(--vcg-gold, #D4A84B);
  padding-bottom: 3px;
  transition: color 0.2s ease;
}
.vcg-read-full-bio:hover,
.vcg-read-full-bio:focus-visible {
  color: var(--vcg-gold, #D4A84B);
}


/* ═══════════════════════════════════════════════════
   Google Reviews (Elfsight) — testimonials page
   ═══════════════════════════════════════════════════ */

.vcg-google-reviews-section {
  position: relative;
}
.vcg-elfsight-wrap {
  max-width: 1160px;
  margin: 32px auto 0;
}
.vcg-elfsight-wrap .elfsight-app-d81191d4-de69-486a-ac63-8b6894582d0e {
  min-height: 400px;
}
/* While widget loads, prevent layout shift with a subtle placeholder */
.vcg-elfsight-wrap .elfsight-app-d81191d4-de69-486a-ac63-8b6894582d0e:empty::before {
  content: "Loading reviews…";
  display: block;
  padding: 48px 24px;
  color: var(--vcg-text-light, #6b6b6b);
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.5px;
}
