.fgr-section {
  --fgr-navy: #173042;
  --fgr-navy-dark: #0f2533;
  --fgr-blue: #3478c7;
  --fgr-coral: #d95745;
  --fgr-coral-dark: #bb4132;
  --fgr-gold: #f5b301;
  --fgr-ink: #1c2e3d;
  --fgr-muted: #667681;
  --fgr-line: #dce5eb;
  --fgr-surface: #ffffff;
  --fgr-soft: #f4f7f9;
  background:
    radial-gradient(circle at 10% 4%, rgba(52, 120, 199, 0.08), transparent 30%),
    radial-gradient(circle at 94% 94%, rgba(217, 87, 69, 0.09), transparent 30%),
    #fff;
  color: var(--fgr-ink);
  margin: 48px 0 0;
  overflow: hidden;
  padding: 82px 22px 52px;
  width: 100%;
}

.fgr-section,
.fgr-section * {
  box-sizing: border-box;
}

.fgr-shell {
  margin: 0 auto;
  max-width: 1180px;
}

.fgr-header {
  margin: 0 auto 42px;
  max-width: 900px;
  text-align: center;
}

.fgr-eyebrow {
  color: var(--fgr-coral);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.fgr-header h2 {
  color: var(--fgr-navy);
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin: 0;
}

.fgr-header-copy {
  color: var(--fgr-muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 18px auto 0;
  max-width: 680px;
}

.fgr-summary {
  background: var(--fgr-surface);
  border: 1px solid var(--fgr-line);
  border-radius: 24px;
  box-shadow: 0 22px 64px rgba(23, 48, 66, 0.11);
  display: grid;
  grid-template-columns: minmax(275px, 0.82fr) minmax(420px, 1.5fr);
  margin-bottom: 52px;
  overflow: hidden;
}

.fgr-score-card {
  align-items: center;
  background: linear-gradient(145deg, #f7fbff 0%, #fff8ed 100%);
  border-right: 1px solid var(--fgr-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 370px;
  padding: 42px 32px;
  position: relative;
  text-align: center;
}

.fgr-score-card::after {
  background: linear-gradient(90deg, var(--fgr-blue), var(--fgr-coral));
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
}

.fgr-score-kicker {
  color: var(--fgr-navy);
  font-size: 12px !important;
  font-weight: 850;
  letter-spacing: 0.075em;
  margin: 0 0 16px !important;
  text-transform: uppercase;
}

.fgr-score {
  color: var(--fgr-navy-dark);
  font-size: clamp(76px, 8vw, 104px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.fgr-score-empty {
  color: #98a6af;
  letter-spacing: 0;
}

.fgr-stars {
  --fgr-fill: 0%;
  display: inline-block;
  font-size: 31px;
  letter-spacing: 3px;
  line-height: 1;
  margin-top: 20px;
  position: relative;
  white-space: nowrap;
}

.fgr-stars-base {
  color: #d2d9de;
}

.fgr-stars-fill {
  color: var(--fgr-gold);
  left: 0;
  overflow: hidden;
  position: absolute;
  text-shadow: 0 2px 7px rgba(245, 179, 1, 0.26);
  top: 0;
  width: var(--fgr-fill);
}

.fgr-empty-stars {
  color: var(--fgr-gold);
  font-size: 37px;
  letter-spacing: 5px;
  line-height: 1;
  margin-top: 18px;
}

.fgr-rating-label {
  color: var(--fgr-navy);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 12px;
  text-transform: uppercase;
}

.fgr-score-card > p:last-child {
  color: var(--fgr-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 13px 0 0;
  max-width: 245px;
}

.fgr-summary-copy {
  align-self: center;
  padding: 52px 56px;
}

.fgr-google-badge {
  align-items: center;
  color: var(--fgr-blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.035em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.fgr-google-badge > span,
.fgr-attribution strong > span {
  align-items: center;
  background: var(--fgr-blue);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  line-height: 1;
  width: 26px;
}

.fgr-summary-copy h3 {
  color: var(--fgr-navy);
  font-size: clamp(27px, 3.2vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.14;
  margin: 0 0 16px;
}

.fgr-summary-copy > p {
  color: var(--fgr-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.fgr-rating-meter {
  background: var(--fgr-soft);
  border: 1px solid var(--fgr-line);
  border-radius: 13px;
  margin: 25px 0;
  padding: 16px 18px 18px;
}

.fgr-rating-meter-heading {
  align-items: center;
  color: var(--fgr-muted);
  display: flex;
  font-size: 13px;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.fgr-rating-meter-heading strong {
  color: var(--fgr-navy);
}

.fgr-rating-meter-track {
  background: #d8e0e6;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.fgr-rating-meter-track span {
  background: linear-gradient(90deg, var(--fgr-gold), #ffcb35);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.fgr-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fgr-button {
  align-items: center;
  border: 2px solid var(--fgr-coral);
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 10px 23px;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.fgr-button:hover,
.fgr-button:focus-visible {
  box-shadow: 0 10px 24px rgba(217, 87, 69, 0.2);
  transform: translateY(-2px);
}

.fgr-button-primary {
  background: var(--fgr-coral);
  color: #fff !important;
}

.fgr-button-primary:hover,
.fgr-button-primary:focus-visible {
  background: var(--fgr-coral-dark);
  border-color: var(--fgr-coral-dark);
}

.fgr-button-secondary {
  background: #fff;
  color: var(--fgr-coral) !important;
}

.fgr-summary-unavailable {
  margin-bottom: 22px;
}

.fgr-admin-message {
  background: #fff7dc;
  border: 1px solid #f0d67d;
  border-left: 4px solid var(--fgr-gold);
  border-radius: 8px;
  color: #614f11;
  display: grid;
  font-size: 13px;
  gap: 4px;
  margin-top: 24px;
  padding: 14px 16px;
}

.fgr-admin-message strong {
  color: #463800;
}

.fgr-admin-message a {
  color: #765c00;
  font-weight: 800;
  margin-top: 4px;
  text-decoration: none;
}

.fgr-review-heading {
  align-items: end;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin: 0 0 22px;
}

.fgr-review-heading h3 {
  color: var(--fgr-navy);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.18;
  margin: 0;
}

.fgr-review-heading > p {
  color: var(--fgr-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  max-width: 340px;
  text-align: right;
}

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

.fgr-review-card {
  background: var(--fgr-surface);
  border: 1px solid var(--fgr-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(23, 48, 66, 0.07);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  overflow: hidden;
  padding: 25px;
  position: relative;
}

.fgr-review-card::after {
  background: linear-gradient(90deg, var(--fgr-blue), var(--fgr-coral));
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
}

.fgr-quote-mark {
  color: rgba(52, 120, 199, 0.1);
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 4px;
}

.fgr-review-card header {
  align-items: center;
  display: flex;
  gap: 12px;
  padding-right: 36px;
  position: relative;
  z-index: 1;
}

.fgr-review-card header div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fgr-review-card header strong {
  color: var(--fgr-navy);
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fgr-review-card header span:not(.fgr-avatar) {
  color: var(--fgr-muted);
  font-size: 13px;
}

.fgr-avatar {
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 9px rgba(23, 48, 66, 0.16);
  display: inline-flex;
  flex: 0 0 46px;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.fgr-avatar-fallback {
  align-items: center;
  background: var(--fgr-blue);
  color: #fff;
  font-weight: 800;
  justify-content: center;
}

.fgr-stars-small {
  font-size: 19px;
  letter-spacing: 1px;
  margin: 18px 0 12px;
}

.fgr-review-text {
  color: #40515e;
  font-size: 14px;
  line-height: 1.7;
}

.fgr-review-text p {
  margin: 0;
}

.fgr-source-link {
  color: var(--fgr-blue);
  font-size: 13px;
  font-weight: 750;
  margin-top: auto;
  padding: 20px 0 6px;
  text-decoration: none;
}

.fgr-attribution {
  align-items: center;
  color: #656565;
  display: flex;
  flex-wrap: wrap;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  gap: 8px 16px;
  justify-content: space-between;
  letter-spacing: normal;
  margin-top: 22px;
}

.fgr-attribution strong {
  align-items: center;
  display: inline-flex;
  font-weight: 500;
  gap: 8px;
}

.fgr-attribution strong > span {
  font-size: 10px;
  height: 21px;
  width: 21px;
}

@media (max-width: 940px) {
  .fgr-summary {
    grid-template-columns: minmax(250px, 0.75fr) minmax(350px, 1.25fr);
  }

  .fgr-summary-copy {
    padding: 42px 36px;
  }

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

@media (max-width: 720px) {
  .fgr-section {
    padding: 60px 16px 42px;
  }

  .fgr-header {
    margin-bottom: 30px;
  }

  .fgr-summary {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .fgr-score-card {
    border-bottom: 1px solid var(--fgr-line);
    border-right: 0;
    min-height: 310px;
  }

  .fgr-summary-copy {
    padding: 34px 24px;
  }

  .fgr-review-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .fgr-review-heading > p {
    text-align: left;
  }

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

@media (max-width: 480px) {
  .fgr-header-actions,
  .fgr-button {
    width: 100%;
  }

  .fgr-button {
    padding-left: 16px;
    padding-right: 16px;
  }

  .fgr-score-card {
    min-height: 280px;
    padding: 36px 22px;
  }

  .fgr-attribution {
    align-items: flex-start;
    flex-direction: column;
  }
}

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