/* ============================================================================
   noem.ai — Done-for-You Services page  (page-services.php)
   The template carries BOTH `.pricing-page` and `.services-page` classes, so it
   inherits the full pricing design system (hero, section-head, fx cards, FAQ,
   guarantee, final-cta, buttons, ambient glows). This file only adds the
   net-new components: the 3 service tiers, the "three conversations" process,
   and the testimonial wall. All scoped under .services-page, --pp-* vars
   inherited from pricing.css. No build step — edit in place.
   ============================================================================ */

/* ---------- SERVICE TIERS ---------- */
.services-page .svc-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.services-page .svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--pp-surface) 0%, var(--pp-bg-2) 100%);
  border: 1px solid var(--pp-line);
  border-radius: 22px;
  padding: 32px 30px 30px;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.services-page .svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--pp-line-strong);
  box-shadow: 0 30px 70px -34px rgba(140,71,240,0.45);
}
.services-page .svc-card.featured {
  background: linear-gradient(180deg, rgba(140,71,240,0.12), rgba(140,71,240,0.02) 32%, var(--pp-surface) 100%);
  border: 2px solid var(--pp-accent);
  box-shadow: 0 36px 90px -40px rgba(140,71,240,0.55), 0 0 0 1px rgba(140,71,240,0.05) inset;
}
.services-page .svc-badge {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--pp-grad); color: #fff;
  padding: 7px 16px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 28px -4px rgba(140,71,240,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
}
.services-page .svc-card-head { border-bottom: 1px solid var(--pp-line); padding-bottom: 22px; margin-bottom: 22px; }
.services-page .svc-name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--pp-fg); margin: 0 0 14px; }
.services-page .svc-price-row { display: flex; align-items: baseline; gap: 6px; }
.services-page .svc-price { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--pp-fg); }
.services-page .svc-price .cur { font-size: 24px; font-weight: 600; color: var(--pp-fg-mute); vertical-align: top; }
.services-page .svc-price-suffix { font-size: 15px; font-weight: 600; color: var(--pp-accent-2); }
.services-page .svc-price-note { font-size: 12.5px; color: var(--pp-fg-dim); margin-top: 8px; font-family: var(--pp-mono); }
.services-page .svc-desc { color: var(--pp-fg-mute); font-size: 14px; line-height: 1.5; margin: 0 0 18px; }
.services-page .svc-includes {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--pp-accent-2); font-weight: 700; font-size: 13px; letter-spacing: -0.005em;
  margin-bottom: 14px;
}
.services-page .svc-includes svg { flex-shrink: 0; }
.services-page .svc-features { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.services-page .svc-features li { display: flex; gap: 10px; align-items: flex-start; color: var(--pp-fg); font-size: 13.8px; line-height: 1.4; }
.services-page .svc-features li .check {
  flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(140,71,240,0.14); color: var(--pp-accent-2);
}
.services-page .svc-card.featured .svc-features li .check { background: var(--pp-accent); color: #fff; }
.services-page .svc-features li .check svg { width: 10px; height: 10px; }
.services-page .svc-foot { margin-top: auto; }
.services-page .svc-cta { width: 100%; justify-content: center; }

/* ---------- PROCESS — "three conversations" ---------- */
.services-page .svc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.services-page .svc-step {
  position: relative;
  background: linear-gradient(180deg, var(--pp-surface) 0%, var(--pp-bg-2) 100%);
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  padding: 30px 26px;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), border-color .4s ease, box-shadow .4s ease;
}
.services-page .svc-step:hover { transform: translateY(-3px); border-color: var(--pp-accent-line); box-shadow: 0 24px 56px -24px rgba(140,71,240,0.4); }
.services-page .svc-step-num {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 18px;
  background: var(--pp-grad); color: #fff;
  font-family: var(--pp-mono); font-size: 16px; font-weight: 700;
  box-shadow: 0 10px 26px -8px rgba(140,71,240,0.6), inset 0 1px 0 rgba(255,255,255,0.22);
}
.services-page .svc-step h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--pp-fg); margin: 0 0 8px; }
.services-page .svc-step p { font-size: 14px; line-height: 1.55; color: var(--pp-fg-mute); margin: 0; }
.services-page .svc-step::after {
  content: ""; position: absolute; top: 50px; right: -10px;
  width: 20px; height: 2px; background: var(--pp-accent-line);
}
.services-page .svc-steps .svc-step:last-child::after { display: none; }

/* ---------- TESTIMONIAL WALL ---------- */
.services-page .svc-rating {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--pp-fg-mute); font-size: 14px; margin-top: 8px;
}
.services-page .svc-rating .stars { display: inline-flex; gap: 3px; color: #F5C542; }
.services-page .svc-testi-grid { columns: 3; column-gap: 18px; }
.services-page .svc-testi {
  break-inside: avoid; margin: 0 0 18px;
  background: linear-gradient(180deg, var(--pp-surface) 0%, var(--pp-bg-2) 100%);
  border: 1px solid var(--pp-line);
  border-radius: 16px; padding: 22px 22px 20px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.services-page .svc-testi:hover { transform: translateY(-3px); border-color: var(--pp-line-strong); box-shadow: 0 24px 56px -28px rgba(140,71,240,0.4); }
.services-page .svc-testi .stars { display: inline-flex; gap: 3px; color: #F5C542; margin-bottom: 12px; }
.services-page .svc-testi-quote { color: var(--pp-fg); font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }
.services-page .svc-testi-author { display: flex; align-items: center; gap: 11px; }
.services-page .svc-testi-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--pp-grad); color: #fff;
  font-weight: 700; font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.services-page .svc-testi-name { color: var(--pp-fg); font-weight: 600; font-size: 13.5px; line-height: 1.2; }
.services-page .svc-testi-role { color: var(--pp-fg-dim); font-size: 12px; margin-top: 2px; }

/* ---------- 30/80 GUARANTEE showpiece ---------- */
.services-page .svc-guarantee {
  position: relative;
  border-radius: var(--pp-radius-lg);
  border: 1px solid var(--pp-accent-line);
  background:
    radial-gradient(120% 150% at 50% -10%, rgba(140,71,240,0.18), transparent 58%),
    linear-gradient(180deg, var(--pp-surface-2), var(--pp-bg) 130%);
  padding: 72px 48px 56px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 50px 130px -60px rgba(140,71,240,0.6);
}
.services-page .svc-guarantee::before {
  content: ""; position: absolute; left: 50%; top: -40%; transform: translateX(-50%);
  width: min(680px, 90%); height: 420px;
  background: radial-gradient(closest-side, rgba(140,71,240,0.22), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.services-page .svc-guarantee > * { position: relative; z-index: 1; }

.services-page .svc-guarantee-seal {
  display: inline-grid; place-items: center; position: relative;
  width: 84px; height: 84px; border-radius: 24px; margin-bottom: 24px;
  background: var(--pp-grad); color: #fff;
  box-shadow: 0 18px 40px -12px rgba(140,71,240,0.7), inset 0 1px 0 rgba(255,255,255,0.25);
}
.services-page .svc-guarantee-seal svg { position: absolute; width: 56px; height: 56px; opacity: 0.28; }
.services-page .svc-guarantee-seal-num { position: relative; font-family: var(--pp-mono); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.services-page .svc-guarantee-seal-num span { opacity: 0.55; margin: 0 1px; }

.services-page .svc-guarantee-eyebrow { color: var(--pp-accent-2); font-family: var(--pp-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 14px; }
.services-page .svc-guarantee-title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 14px; color: var(--pp-fg); }
.services-page .svc-guarantee-title .accent {
  background: var(--pp-grad); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: pp-sheen 7s ease-in-out infinite;
}
.services-page .svc-guarantee-lede { color: var(--pp-fg-mute); font-size: 17px; line-height: 1.55; max-width: 540px; margin: 0 auto 40px; }

.services-page .svc-guarantee-metrics { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; max-width: 720px; margin: 0 auto; }
.services-page .svc-metric {
  flex: 1 1 240px; max-width: 300px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--pp-line-strong);
  border-radius: 18px; padding: 30px 24px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.services-page .svc-metric:hover { transform: translateY(-3px); border-color: var(--pp-accent-line); box-shadow: 0 24px 56px -28px rgba(140,71,240,0.5); }
.services-page .svc-metric-icon {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px;
  border-radius: 11px; border: 1px solid var(--pp-line-strong);
}
.services-page .svc-metric-icon svg { width: 19px; height: 19px; }
.services-page .svc-metric-icon.up { color: var(--pp-success); background: rgba(70,224,138,0.12); }
.services-page .svc-metric-icon.down { color: var(--pp-accent-2); background: rgba(140,71,240,0.14); }
.services-page .svc-metric-num {
  font-size: clamp(48px, 6vw, 66px); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  background: var(--pp-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.services-page .svc-metric-label { color: var(--pp-fg); font-size: 16px; font-weight: 600; margin-top: 12px; }

.services-page .svc-or {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--pp-bg); color: var(--pp-accent-2);
  border: 1px solid var(--pp-accent-line);
  font-family: var(--pp-mono); font-weight: 700; font-size: 14px; letter-spacing: 0.08em;
  box-shadow: 0 0 0 6px rgba(140,71,240,0.06), 0 0 26px -4px rgba(140,71,240,0.55);
}

.services-page .svc-guarantee-ornote { color: var(--pp-fg-mute); font-size: 14px; margin: 24px auto 0; }
.services-page .svc-guarantee-ornote strong { color: var(--pp-accent-2); font-weight: 700; }

.services-page .svc-guarantee-terms {
  display: flex; align-items: center; gap: 13px; justify-content: flex-start;
  max-width: 680px; margin: 32px auto 36px; padding: 18px 24px;
  background: rgba(17,20,29,0.55);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--pp-line-strong); border-radius: 16px;
  color: var(--pp-fg); font-size: 15px; line-height: 1.5; text-align: left;
}
.services-page .svc-guarantee-terms .gi {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(70,224,138,0.14); color: var(--pp-success);
}
.services-page .svc-guarantee-terms strong { color: var(--pp-fg); font-weight: 700; }

@media (max-width: 600px) {
  .services-page .svc-guarantee { padding: 52px 22px 44px; }
  .services-page .svc-or { width: 46px; height: 46px; font-size: 13px; }
  .services-page .svc-guarantee-terms { flex-direction: column; text-align: center; }
}

/* ---------- VALUE banner tweak (reuses .guarantee shell) ---------- */
.services-page .svc-value h3 { font-size: clamp(22px, 2.4vw, 28px); }
.services-page .svc-value .big { color: var(--pp-accent-2); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services-page .svc-tiers { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .services-page .svc-steps { grid-template-columns: 1fr; }
  .services-page .svc-step::after { display: none; }
  .services-page .svc-testi-grid { columns: 2; }
}
@media (max-width: 600px) {
  .services-page .svc-testi-grid { columns: 1; }
}
