
/* HISTORIC CITY HOMES — TESTIMONIALS PAGE
   Page-specific styles. Shared navigation/footer remain in assets/site.css. */

.testimonials-page {
  color: #24272b;
  background: #fff;
}

.testimonials-page *,
.testimonials-page *::before,
.testimonials-page *::after {
  box-sizing: border-box;
}

.testimonials-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* ========================================
   FEATURED TESTIMONIAL
======================================== */

.testimonial-feature {
  background: #2f4f6e;
  color: #fff;
  padding: clamp(58px, 7vw, 88px) 24px;
  text-align: center;
}

.testimonial-feature-inner {
  width: min(720px, 100%);
  margin: 0 auto;
}

.feature-kicker,
.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.feature-kicker {
  color: #e0c59e;
}

/* White stars matching the original design */
.feature-stars {
  color: #fff;
  font-size: 1.7rem;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 28px;
}

.testimonial-feature h1 {
  max-width: 680px;
  margin: 0 auto 20px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
}

.testimonial-feature blockquote {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.7;
  text-align: justify;
  text-align-last: center;
}

/* Circular reviewer photo below the testimonial */
.featured-reviewer-photo {
  display: block;
  width: 56px;
  height: 56px;
  margin: 36px auto 20px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.feature-attribution,
.featured-attribution {
  margin: 0;
  color: #e5edf4;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

/* ========================================
   GOOGLE REVIEWS SECTION
======================================== */

.reviews-section {
  padding: clamp(52px, 7vw, 84px) 0 clamp(56px, 7vw, 88px);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading .eyebrow,
.local-expert-copy .eyebrow {
  color: #a67c52;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: #202124;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.2;
}

.section-heading > p:last-child {
  margin: 0;
  color: #62666d;
  font-size: 1rem;
  line-height: 1.7;
}

/* Google rating summary */
.google-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  margin-bottom: 18px;
  border: 1px solid #e8e9ec;
  border-radius: 14px;
  background: #f7f7f8;
}

.google-summary-copy p {
  margin: 0;
}

.google-brand {
  color: #202124;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.google-g {
  color: #4285f4;
}

.google-reviews-label {
  letter-spacing: 0;
}

.google-rating-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 7px;
}

.google-rating-line strong {
  color: #202124;
  font-size: 1.3rem;
}

.rating-stars {
  color: #f4b400;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.review-count {
  color: #74777d;
  font-size: 0.8rem;
}

.google-review-button,
.expert-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #1b2a3a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.google-review-button:hover,
.expert-contact-button:hover {
  background: #365774;
  transform: translateY(-1px);
}

/* Review cards */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid #e8e9ec;
  border-radius: 14px;
  background: #f7f7f8;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.review-avatar {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.avatar-albert {
  background: #8c9a83;
}

.avatar-vanessa {
  background: #e87512;
}

.avatar-tanya {
  background: #695047;
}

.review-card-header h3 {
  margin: 0;
  color: #202124;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.verified-mark {
  display: inline-grid;
  width: 15px;
  height: 15px;
  place-items: center;
  margin-left: 3px;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-size: 0.65rem;
  vertical-align: 1px;
}

.review-age {
  margin: 3px 0 0;
  color: #777b81;
  font-size: 0.8rem;
}

.google-mini {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.review-card > .rating-stars {
  margin-bottom: 12px;
}

.review-copy {
  margin: 0 0 18px;
  color: #42464d;
  font-size: 0.96rem;
  line-height: 1.7;
}

.read-review {
  align-self: flex-start;
  margin-top: auto;
  color: #2f5f86;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review-note {
  margin: 18px 0 0;
  color: #74777d;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

/* ========================================
   LIVE GOOGLE REVIEWS WIDGET
======================================== */

.elfsight-reviews-container {
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  margin: 0 auto;
}

.elfsight-reviews-container iframe {
  max-width: 100%;
}

/* ========================================
   MEET YOUR LOCAL EXPERT
======================================== */

.local-expert-section {
  padding: clamp(54px, 7vw, 88px) 0;
  background: #f2f0e8;
}

.local-expert-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.local-expert-copy h2 {
  margin: 0 0 22px;
  color: #202124;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
}

.iheart-logo {
  display: block;
  width: min(390px, 100%);
  max-height: 120px;
  margin: 0 0 28px;
  object-fit: contain;
  object-position: left center;
}

.local-expert-copy > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: #5d6268;
  font-size: 0.98rem;
  line-height: 1.8;
  text-align: justify;
  text-align-last: left;
}

.expert-contact-button {
  margin-top: 8px;
  background: #1b2a3a;
}

/* Photo shape: curved left edge and rounded upper-right corner.
   This replaces the previous symmetrical arch. */
.local-expert-photo-wrap {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  overflow: hidden;
  border-radius: 0 150px 0 150px;
  background: #d9d5c8;
}

.local-expert-photo {
  display: block;
  width: 100%;
  height: 570px;
  object-fit: cover;
  object-position: center top;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
  .testimonials-container {
    width: min(760px, calc(100% - 40px));
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-card:last-child {
    grid-column: 1 / -1;
  }

  .local-expert-grid {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.8fr);
    gap: 32px;
  }

  .local-expert-photo {
    height: 500px;
  }

  .local-expert-photo-wrap {
    border-radius: 0 120px 0 120px;
  }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 620px) {
  .testimonials-container {
    width: calc(100% - 32px);
  }

  .testimonial-feature {
    padding: 48px 22px;
  }

  .testimonial-feature h1 {
    font-size: 2rem;
  }

  .testimonial-feature blockquote {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .feature-stars {
    font-size: 1.55rem;
  }

  .featured-reviewer-photo {
    width: 52px;
    height: 52px;
    margin-top: 28px;
  }

  .google-summary {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .google-review-button {
    width: 100%;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card:last-child {
    grid-column: auto;
  }

  .review-card {
    padding: 22px;
  }

  .local-expert-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .local-expert-photo-wrap {
    width: min(100%, 360px);
    justify-self: center;
    border-radius: 0 110px 0 110px;
  }

  .local-expert-photo {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .iheart-logo {
    width: min(330px, 100%);
  }
}

/* ========================================
   ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
  .google-review-button,
  .expert-contact-button {
    transition: none;
  }
}
