/* ============================================================
 * overrides.css — site-wide tweaks applied on top of styles.css
 * Added with the 2026 logo update:
 *   - New square crest-style logo already contains the "New Valley Homes
 *     / Crafted for Generations" wordmark, so the sibling text element
 *     is hidden to avoid visual duplication.
 *   - Logo sizing is scaled up slightly so the shield reads cleanly.
 * Also includes small polish: reviews CTA, contact socials.
 * ============================================================ */

/* --- Header brand: logo-only mode --- */
.brand.brand--logo-only .brand__text,
.brand.brand--logo-only .brand__name,
.brand.brand--logo-only .brand__tag {
  display: none !important;
}

/* The new logo is square-ish, so height alone isn't enough — scale it up. */
.site-header .brand__logo {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* On narrower viewports, keep the header compact. */
@media (max-width: 640px) {
  .site-header .brand__logo {
    height: 48px;
    max-width: 140px;
  }
}

/* Footer logo — the original site used filter:brightness on a dark footer.
 * The new coloured logo looks best without that filter. */
.site-footer .footer-logo {
  height: 84px;
  width: auto;
  max-width: 200px;
  margin-bottom: 14px;
  filter: none;
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

/* --- Google reviews CTA below the review cards --- */
.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.reviews-cta .btn i.fa-google {
  margin-right: 8px;
}

/* --- Contact page socials row --- */
.socials.socials--contact {
  margin: 8px 0 16px;
}

/* --- Small map pin caption muting --- */
.section__sub.muted {
  color: #8b8b8b;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Ensure footer links remain tappable / readable */
.rating__text {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.rating__text:hover {
  border-bottom-color: currentColor;
}

/* --- Owner reply on review cards --- */
.review-card__reply {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.04);
  border-left: 3px solid var(--accent, #9c7a4a);
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.review-card__reply strong { color: var(--ink, #0b0b0c); }
