/* Clinic ratings and patient reviews. */
.review-stars { position: relative; display: inline-block; color: #d7dbe6; font-size: 1.05rem; line-height: 1; letter-spacing: .06em; white-space: nowrap; }
.review-stars > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #f5a800; }
figure > .review-stars { color: #f5a800; }

.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; width: fit-content; margin: 8px 0 0; color: var(--text-muted); font-size: .8125rem; text-decoration: none; }
.rating-line strong { color: var(--navy, #263276); font-size: .95rem; }
a.rating-line > span:nth-of-type(2) { text-decoration: underline; text-underline-offset: 3px; }

.google-card { display: flex; align-items: center; gap: 16px; width: fit-content; max-width: 100%; padding: 10px 20px 10px 14px; border: 1px solid #dfe5ef; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgb(38 50 118 / .08); color: var(--navy, #263276); text-decoration: none; }
.google-card img { width: 108px; height: auto; flex-shrink: 0; }
.google-card-figures { display: grid; gap: 3px; padding-left: 16px; border-left: 1px solid #dfe5ef; font-size: .8125rem; color: var(--text-muted); }
.google-card-score { display: flex; align-items: center; gap: 8px; }
.google-card-score strong { color: var(--navy, #263276); font: 700 1.7rem/1 'Space Grotesk', Inter, sans-serif; }
.google-card-score .review-stars { font-size: 1.2rem; }

.hero-trust { display: grid; justify-items: start; gap: 10px; margin-top: 26px; max-width: 500px; }
.hero-trust-title { margin: 0; color: var(--navy, #263276); font: 650 1.02rem/1.3 'Space Grotesk', Inter, sans-serif; }
.hero-trust-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.doctify-card { width: 156px; min-height: 96px; overflow: hidden; border-radius: 14px; background: #fff; }
.doctify-card iframe { display: block; width: 100%; border: 0; }
.trust-link { color: var(--navy, #263276); font-size: .875rem; font-weight: 600; text-underline-offset: 3px; }
.hero-trust-note, .review-note { margin: 0; color: var(--text-muted); font-size: .75rem; }

.patient-reviews { padding-block: clamp(44px, 6vw, 76px); background: linear-gradient(180deg, #f2faff, #f0fdfb); }
.patient-reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.patient-reviews-head > div { max-width: 640px; }
.patient-reviews h2 { margin: 0 0 10px; font: 650 clamp(1.6rem, 3vw, 2.3rem)/1.12 'Space Grotesk', Inter, sans-serif; letter-spacing: -.035em; color: var(--navy, #263276); }
.patient-reviews-head p:last-child { margin: 0; color: var(--text-muted); line-height: 1.6; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 14px; padding: 0; list-style: none; }
.review-grid li { display: flex; }
.review-grid figure { display: flex; flex-direction: column; gap: 14px; width: 100%; margin: 0; padding: 24px; border: 1px solid #dfe5ef; border-radius: 20px; background: #fff; }
.review-grid blockquote { margin: 0; }
.review-grid blockquote p { margin: 0; line-height: 1.65; font-size: .95rem; }
.review-grid figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-grid figcaption strong, .review-grid figcaption small { display: block; }
.review-grid figcaption small { color: var(--text-muted); font-size: .75rem; }
.review-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--mint-pale, #e3f8f3); color: var(--accent, #0b6b62); font-weight: 700; }
.review-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 0; }
.review-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--accent, #0b6b62); font-size: .875rem; font-weight: 650; text-underline-offset: 3px; }

.purchase-assurances { display: grid; gap: 6px; margin: 12px 0 4px; padding: 0; list-style: none; color: var(--text-muted); font-size: .8125rem; }
.purchase-assurances li { display: flex; align-items: center; gap: 8px; }
.purchase-assurances .icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent, #0b6b62); }
.purchase-assurances a { color: inherit; font-weight: 650; }

.hero-rating { display: none; }

/* Short laptop screens: bring the Google rating onto the opening screen. */
@media (min-width: 768px) and (max-height: 820px) {
  .hero .hero-content { padding-top: 150px; }
  .hero .hero-copy h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); }
  .hero .hero-copy .clinic-note { display: none; }
  .hero-trust { margin-top: 20px; gap: 8px; }
}

@media (max-width: 900px) {
  .review-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  /* Phones: keep the heading, rating and first action on the opening screen. */
  .hero .hero-art { height: clamp(250px, 62vw, 340px); }
  .hero .hero-copy h1 { font-size: clamp(2rem, 9.4vw, 2.9rem); }
  .hero .hero-copy h1 br { display: none; }
  .hero-rating { display: block; margin: -6px 0 18px; }
  .hero-rating .rating-line { margin: 0; }
  .test-product-hero .test-product-image { aspect-ratio: 2.1; max-height: 200px; }
  .hero-trust { margin-top: 22px; }
  .google-card { gap: 12px; padding-right: 14px; }
  .google-card img { width: 88px; }
  .google-card-figures { padding-left: 12px; }
}
