.pgr {
	--pgr-forest: #2f493b;
	--pgr-sage: #aab8a2;
	--pgr-ivory: #f7f2e8;
	--pgr-clay: #b8785e;
	--pgr-charcoal: #2e332f;
	--pgr-line: rgba(47, 73, 59, .16);
	background: var(--pgr-ivory);
	border-radius: 28px;
	color: var(--pgr-charcoal);
	font-family: inherit;
	padding: clamp(28px, 5vw, 64px);
}

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

.pgr__preview-note {
	background: rgba(184, 120, 94, .1);
	border: 1px dashed rgba(184, 120, 94, .55);
	border-radius: 999px;
	color: #76503f;
	display: inline-block;
	font-size: .76rem;
	font-weight: 650;
	margin: 0 0 24px;
	padding: 7px 12px;
}

.pgr__header {
	align-items: end;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	margin-bottom: clamp(28px, 4vw, 44px);
}

.pgr__eyebrow {
	color: var(--pgr-clay);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .12em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.pgr__heading {
	color: var(--pgr-forest);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: 1.05;
	margin: 0;
}

.pgr__intro {
	font-size: 1rem;
	line-height: 1.65;
	margin: 14px 0 0;
	max-width: 620px;
}

.pgr__summary {
	align-items: center;
	background: rgba(255, 255, 255, .58);
	border: 1px solid var(--pgr-line);
	border-radius: 999px;
	display: flex;
	flex: 0 0 auto;
	font-size: .9rem;
	gap: 9px;
	padding: 10px 15px;
}

.pgr__summary strong {
	color: var(--pgr-forest);
	font-size: 1.05rem;
}

.pgr__summary-stars,
.pgr-review__stars {
	color: var(--pgr-clay);
	letter-spacing: .08em;
}

.pgr__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pgr-review {
	background: rgba(255, 255, 255, .72);
	border: 1px solid var(--pgr-line);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 24px;
	transition: border-color .25s ease, transform .25s ease;
}

.pgr-review:hover {
	border-color: rgba(47, 73, 59, .32);
	transform: translateY(-2px);
}

.pgr-review--preview {
	border-style: dashed;
}

.pgr-review__top {
	align-items: center;
	display: flex;
	gap: 13px;
}

.pgr-review__avatar {
	border-radius: 50%;
	display: block;
	flex: 0 0 48px;
	height: 48px;
	object-fit: cover;
	width: 48px;
}

.pgr-review__avatar--initials {
	align-items: center;
	background: var(--pgr-sage);
	color: var(--pgr-forest);
	display: flex;
	font-size: .82rem;
	font-weight: 700;
	justify-content: center;
}

.pgr-review__author {
	color: var(--pgr-forest);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.25;
	margin: 0 0 3px;
}

.pgr-review__date {
	color: rgba(46, 51, 47, .68);
	font-size: .8rem;
}

.pgr-review__stars {
	font-size: .92rem;
	margin-top: 18px;
}

.pgr-review__stars-empty {
	color: rgba(47, 73, 59, .18);
}

.pgr-review__text {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.04rem;
	line-height: 1.68;
	margin: 14px 0 0;
}

.pgr-review__reply {
	border-left: 2px solid var(--pgr-sage);
	font-size: .88rem;
	line-height: 1.55;
	margin-top: 18px;
	padding-left: 14px;
}

.pgr-review__reply p {
	margin: 5px 0 0;
}

.pgr__review-invite {
	align-items: center;
	background: linear-gradient(125deg, var(--pgr-forest), #426252);
	border-radius: 22px;
	color: #fff;
	display: grid;
	gap: clamp(24px, 5vw, 64px);
	grid-template-columns: minmax(0, 1fr) auto;
	margin-top: clamp(24px, 4vw, 40px);
	overflow: hidden;
	padding: clamp(24px, 4vw, 44px);
	position: relative;
}

.pgr__review-invite::before {
	background: rgba(255, 255, 255, .08);
	border-radius: 50%;
	content: "";
	height: 230px;
	position: absolute;
	right: -75px;
	top: -105px;
	width: 230px;
}

.pgr__review-invite-copy,
.pgr__qr {
	position: relative;
	z-index: 1;
}

.pgr__review-invite-eyebrow {
	color: #d7c3ad;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .13em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.pgr__review-invite h3 {
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.55rem, 3vw, 2.35rem);
	font-weight: 400;
	line-height: 1.12;
	margin: 0;
	max-width: 680px;
}

.pgr__review-invite-copy > p:not(.pgr__review-invite-eyebrow) {
	color: rgba(255, 255, 255, .78);
	line-height: 1.65;
	margin: 14px 0 22px;
	max-width: 650px;
}

.pgr__review-button {
	background: #fff;
	border-radius: 999px;
	color: var(--pgr-forest);
	display: inline-flex;
	font-size: .88rem;
	font-weight: 700;
	gap: 8px;
	padding: 12px 18px;
	text-decoration: none;
}

.pgr__review-button:hover,
.pgr__review-button:focus-visible {
	background: var(--pgr-ivory);
}

.pgr__qr {
	align-items: center;
	color: rgba(255, 255, 255, .78);
	display: flex;
	flex-direction: column;
	font-size: .7rem;
	gap: 9px;
	letter-spacing: .04em;
	min-width: 156px;
	text-align: center;
	text-decoration: none;
}

.pgr__qr-frame {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 44px rgba(13, 34, 26, .24);
	display: grid;
	padding: 10px;
	place-items: center;
}

.pgr__qr img {
	display: block;
	height: 132px;
	image-rendering: pixelated;
	width: 132px;
}

.pgr__footer {
	align-items: center;
	border-top: 1px solid var(--pgr-line);
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-top: 28px;
	padding-top: 20px;
}

.pgr__order {
	color: rgba(46, 51, 47, .66);
	font-size: .78rem;
	margin: 0;
}

.pgr__links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.pgr__links a {
	color: var(--pgr-forest);
	font-size: .88rem;
	font-weight: 650;
	text-decoration: underline;
	text-decoration-color: rgba(47, 73, 59, .35);
	text-underline-offset: 4px;
}

.pgr__links a:hover,
.pgr__links a:focus-visible {
	text-decoration-color: currentColor;
}

.pgr__google {
	color: #3c4043;
	font-family: Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
}

.pgr-admin-hint {
	border-left: 4px solid #b8785e;
	padding: 8px 12px;
}

@media (max-width: 900px) {
	.pgr__header,
	.pgr__footer {
		align-items: flex-start;
		flex-direction: column;
	}

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

	.pgr__review-invite {
		grid-template-columns: 1fr;
	}

	.pgr__qr {
		align-items: center;
		flex-direction: row;
		justify-self: start;
		text-align: left;
	}
}

@media (max-width: 520px) {
	.pgr__qr {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pgr-review {
		transition: none;
	}

	.pgr-review:hover {
		transform: none;
	}
}
