/* T90 Reviews: the global Google reviews section (JM Suite google-reviews module), above the CTA band / footer.
   Layout lives in the module (modules/google-reviews/section.css); this file adds the look, tokens only.
   Dequeued by the module on pages where the section does not render. */

.jm-reviews-section { padding: var(--space-8) 0; background-color: var(--surface-alt); color: var(--ink); border-top: 1px solid var(--line); }
.jm-reviews-section__sample { margin: 0 0 var(--space-5); padding: var(--space-3) var(--space-4); background: var(--orange-soft); border-left: 4px solid var(--orange); color: var(--ink); font-size: var(--type-body-sm-size); line-height: var(--type-body-sm-lh); }
.jm-reviews-section__head { margin: 0 0 var(--space-6); }
.jm-reviews-section__eyebrow { margin: 0 0 var(--space-2); }
.jm-reviews-section__title { margin: 0; }
.jm-reviews-section__intro { margin: var(--space-3) 0 0; max-width: 60ch; color: var(--ink-muted); }

.jm-reviews-section__summary { padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.jm-reviews-section__score { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: var(--type-h1-size); line-height: 1; font-weight: var(--type-h1-weight); color: var(--navy); }
.jm-reviews-section__count, .jm-reviews-section__google { font-size: var(--type-body-sm-size); line-height: var(--type-body-sm-lh); color: var(--ink-muted); }
.jm-reviews-section__google { font-weight: 700; color: var(--ink); }

.jm-reviews-section__stars { color: var(--signal); }
.jm-reviews-section__stars-base { color: var(--line-strong); }

.jm-reviews-section__card { padding: var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.jm-reviews-section__avatar { background: var(--surface-sunken); }
.jm-reviews-section__avatar--initials { background: var(--navy); color: var(--on-navy); font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.jm-reviews-section__name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.jm-reviews-section__date { font-size: var(--type-caption-size); line-height: var(--type-caption-lh); color: var(--ink-muted); }
.jm-reviews-section__lang { font-family: var(--font-mono); font-size: var(--type-caption-size); line-height: 1; padding: 3px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-muted); }
.jm-reviews-section__text { color: var(--ink); font-size: var(--type-body-size); line-height: var(--type-body-lh); }
.jm-reviews-section__more { font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-size: var(--type-body-sm-size); }
.jm-reviews-section__more-cb:focus-visible ~ .jm-reviews-section__more { outline: 2px solid var(--focus); outline-offset: 2px; }
.jm-reviews-section__source { font-size: var(--type-caption-size); line-height: var(--type-caption-lh); color: var(--ink-muted); }
.jm-reviews-section__source a { color: var(--ink-muted); }

.jm-reviews-section__arrow { background: var(--surface); color: var(--navy); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); transition: background-color var(--dur-fast) var(--ease); }
.jm-reviews-section__arrow:hover { background: var(--surface-sunken); }
.jm-reviews-section__all { margin-top: var(--space-6); text-align: center; }

@media (max-width: 849px) {
	.jm-reviews-section { padding: var(--space-7) 0; }
	.jm-reviews-section__head { margin-bottom: var(--space-5); }
	.jm-reviews-section__nav { margin-top: var(--space-3); }
}
@media (max-width: 549px) {
	.jm-reviews-section__summary { width: 100%; }
	.jm-reviews-section__all .jm-btn { width: 100%; justify-content: center; }
}
