/* =========================================================
   PGS - Service (money) page additions, 2026-10. Loaded by the
   service pages together with home.css (sample kit + tiles).
   ========================================================= */

/* Hero: copy + sample kit side by side */
.sv-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--pgs-space-2xl);
  align-items: center;
}
.sv-hero .hv-kit { max-width: 440px; margin-left: auto; }
.sv-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.sv-hero .money-lead { font-size: 1.075rem; }

/* Shared section spacing */
.sv-sec { text-align: center; }
.sv-sec .hv-samples { margin-top: var(--pgs-space-xl); }

/* Worked example table */
.sv-example__intro { color: var(--pgs-text-light); max-width: 680px; margin: 0 auto var(--pgs-space-lg); text-align: center; }
.sv-example .money-table { max-width: 900px; margin: 0 auto; }
.sv-example td:first-child { font-weight: 700; color: var(--pgs-text); white-space: nowrap; }
.sv-example .money-table table { min-width: 0; }
.sv-example .money-table { margin-top: 0; }

/* How it works */
.sv-how {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--pgs-space-md);
  max-width: 1080px;
  margin: var(--pgs-space-xl) auto 0;
  padding: 0;
  text-align: left;
}
.sv-how li {
  padding: var(--pgs-space-lg);
  border-radius: var(--pgs-radius-lg);
  background: var(--pgs-bg);
  border: 1px solid var(--pgs-border);
  box-shadow: var(--pgs-shadow-1);
}
.sv-how b {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pgs-primary);
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
.sv-how h3 { font-size: 1rem; margin: 0 0 0.35rem; }
.sv-how p { margin: 0; font-size: 0.9rem; color: var(--pgs-text-light); }

/* Reviews */
.sv-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pgs-space-lg);
  max-width: 1080px;
  margin: var(--pgs-space-xl) auto 0;
  text-align: left;
}
.sv-review {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: var(--pgs-space-xl);
  border-radius: var(--pgs-radius-lg);
  background: var(--pgs-bg);
  border: 1px solid var(--pgs-border);
  box-shadow: var(--pgs-shadow-2);
}
.sv-review__tag {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: var(--pgs-radius-pill);
  background: var(--pgs-primary-bg);
  color: var(--pgs-primary-dark);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sv-review blockquote { margin: var(--pgs-space-md) 0 var(--pgs-space-lg); font-size: 0.975rem; line-height: 1.6; color: var(--pgs-text); }
.sv-review figcaption { margin-top: auto; display: flex; align-items: center; gap: 0.75rem; }
.sv-review img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.sv-review figcaption span { display: flex; flex-direction: column; font-size: 0.8125rem; color: var(--pgs-text-light); line-height: 1.35; }
.sv-review figcaption strong { color: var(--pgs-text); font-size: 0.9375rem; }

@media (max-width: 1024px) {
  .sv-hero { grid-template-columns: 1fr; }
  .sv-hero .hv-kit { margin: 0 auto; }
  .sv-how { grid-template-columns: repeat(2, 1fr); }
  .sv-reviews { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 560px) {
  .sv-how { grid-template-columns: 1fr; }
  .sv-example td:first-child { white-space: normal; }
}
