/* ============================================================
 * ResumeGrow v18 — Global Design System Overrides
 * Pinned tokens per spec. Loaded AFTER services.css to win.
 * Apply only to .srv-* scope so it doesn't bleed elsewhere.
 * ============================================================ */

:root {
  --rg-navy:        #0F172A;
  --rg-navy-2:      #1E293B;
  --rg-blue:        #4b83ff;
  --rg-blue-hover:  #2563EB;
  --rg-green:       #10B981;
  --rg-slate:       #64748B;
  --rg-slate-300:   #CBD5E1;
  --rg-bg:          #FFFFFF;
  --rg-bg-soft:     #EFF6FF;
  --rg-bg-soft-2:   #F0F4FF;
  --rg-border:      #E2E8F0;
  --rg-radius-card: 16px;
  --rg-radius-btn:  12px;
  --rg-shadow:      0 4px 24px rgba(0,0,0,.07);
  --rg-shadow-lg:   0 12px 40px rgba(15,23,42,.12);
  --rg-max:         1200px;
  --rg-font:        "Plus Jakarta Sans","Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

/* ---- Base ---- */
body { font-family: var(--rg-font); color: var(--rg-navy); -webkit-font-smoothing: antialiased; }

[class^="srv-"], [class*=" srv-"] { font-family: var(--rg-font); }

.srv-container { max-width: var(--rg-max); margin: 0 auto; padding: 0 24px; }

section[class^="srv-"] { padding: 80px 0; }
@media (max-width: 768px) { section[class^="srv-"] { padding: 48px 0; } }

/* Alternating section backgrounds */
.srv-hero            { background: linear-gradient(180deg,#F0F4FF 0%,#FFFFFF 100%); }
.srv-how             { background: var(--rg-bg-soft); }
.srv-pricing         { background: #FFFFFF; }
.srv-features        { background: var(--rg-bg-soft-2); }
.srv-experts         { background: var(--rg-navy); color: #fff; }
.srv-testimonials    { background: var(--rg-bg-soft); }
.srv-faq             { background: #FFFFFF; }
.srv-final-cta       { background: var(--rg-navy); color: #fff; }

/* ---- Typography ---- */
.srv-hero-heading,
.srv-section-heading,
.srv-experts h2,
.srv-final-cta h2 {
  font-family: var(--rg-font);
  font-weight: 800;
  color: var(--rg-navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.srv-experts h2, .srv-final-cta h2 { color: #fff; }

.srv-hero-heading { font-size: clamp(36px, 5vw, 60px); text-align:center; }
.srv-section-heading { font-size: clamp(30px, 4vw, 44px); text-align:center; margin-bottom: 12px; }

.srv-section-sub { text-align:center; color: var(--rg-slate); font-size: 18px; max-width: 560px; margin: 0 auto 56px; line-height: 1.6; }

/* Blue italic accent inside headings */
.srv-hero-heading .srv-hero-blue,
.srv-section-heading .srv-blue,
h1 .srv-blue, h2 .srv-blue, h3 .srv-blue {
  color: var(--rg-blue);
  font-style: italic;
  font-weight: 800;
  display: inline-block;
}

/* ---- Hero ---- */
.srv-hero-eyebrow {
  color: var(--rg-blue); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  font-size: 13px; text-align:center; margin-bottom: 18px;
}
.srv-hero-desc {
  text-align:center; color: var(--rg-slate);
  max-width: 560px; margin: 24px auto 28px;
  font-size: 18px; line-height: 1.6;
}
.srv-hero-checks {
  display:flex; flex-wrap:wrap; justify-content:center;
  gap: 12px 28px; margin: 0 auto 32px; max-width: 760px;
}
.srv-hero-checks li {
  list-style:none; display:flex; align-items:center; gap:8px;
  color: var(--rg-navy-2); font-weight: 600; font-size: 14px;
}
.srv-hero-checks li::before {
  content: "✓"; color: var(--rg-green); font-weight: 800;
  background: rgba(16,185,129,.12); width: 22px; height: 22px;
  border-radius: 999px; display: inline-flex; align-items:center; justify-content:center;
  font-size: 13px;
}

/* ---- Buttons ---- */
.srv-btn,
.srv-hero-cta,
.srv-btn-primary,
.srv-btn-outline,
.srv-btn-white {
  display:inline-flex; align-items:center; gap:10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; transition: all .2s ease;
  border: 2px solid transparent; cursor:pointer;
}
.srv-btn, .srv-hero-cta, .srv-btn-primary {
  background: var(--rg-blue); color: #fff;
  box-shadow: 0 8px 24px rgba(37,99,235,.28);
}
.srv-btn:hover, .srv-hero-cta:hover, .srv-btn-primary:hover {
  background: var(--rg-blue-hover); transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37,99,235,.36);
}
.srv-btn-outline {
  background:#fff; color: var(--rg-blue); border-color: var(--rg-blue);
}
.srv-btn-outline:hover { background: var(--rg-blue); color:#fff; }
.srv-btn-white {
  background:#fff; color: var(--rg-navy);
}
.srv-btn-white:hover { background:#F1F5F9; }
.srv-experts .srv-btn-outline { background: transparent; color:#fff; border-color: rgba(255,255,255,.6); }
.srv-experts .srv-btn-outline:hover { background:#fff; color: var(--rg-navy); }

/* ---- How It Works ---- */
.srv-how-grid {
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; align-items:start;
}
@media (max-width: 900px) { .srv-how-grid { grid-template-columns: 1fr; } }
.srv-how-step {
  background:#fff; border-radius: var(--rg-radius-card);
  padding: 28px; box-shadow: var(--rg-shadow);
  text-align:center;
}
.srv-how-step h3 { font-size: 20px; font-weight: 700; margin: 16px 0 8px; color: var(--rg-navy); }
.srv-how-step p  { color: var(--rg-slate); line-height: 1.6; font-size: 15px; }

/* ---- Pricing ---- */
.srv-pricing-grid {
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: var(--rg-max); margin: 0 auto;
}
@media (max-width: 900px) { .srv-pricing-grid { grid-template-columns: 1fr; } }
.srv-pricing-card {
  background:#fff; border-radius: var(--rg-radius-card);
  padding: 36px 28px; box-shadow: var(--rg-shadow);
  border: 1px solid var(--rg-border);
  display:flex; flex-direction:column; position:relative;
}
.srv-pricing-card.is-popular {
  border-color: var(--rg-blue); box-shadow: var(--rg-shadow-lg);
  transform: translateY(-12px);
}
.srv-pricing-card.is-popular::before {
  content: "MOST POPULAR";
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background: var(--rg-blue); color:#fff;
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
}
.srv-plan-name { color: var(--rg-slate); font-weight: 700; letter-spacing: .12em; font-size: 12px; text-transform: uppercase; }
.srv-plan-price { font-size: 44px; font-weight: 800; color: var(--rg-navy); margin: 12px 0 4px; }
.srv-plan-price-old { color: var(--rg-slate); text-decoration: line-through; font-size: 18px; font-weight: 500; margin-left: 8px; }
.srv-plan-save { color: var(--rg-green); font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.srv-plan-desc { color: var(--rg-slate); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.srv-plan-features { list-style:none; padding:0; margin: 0 0 24px; border-top: 1px solid var(--rg-border); padding-top: 18px; }
.srv-plan-features li { display:flex; gap:10px; padding: 7px 0; color: var(--rg-navy-2); font-size: 14px; }
.srv-plan-features li::before { content:"✓"; color: var(--rg-green); font-weight:800; }
.srv-pricing-card .srv-btn { width:100%; justify-content:center; margin-top:auto; }

/* ---- Features (What to Expect) ---- */
.srv-feature-row {
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items:center; margin-bottom: 80px;
}
.srv-feature-row:last-child { margin-bottom: 0; }
.srv-feature-row.is-reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .srv-feature-row, .srv-feature-row.is-reverse { grid-template-columns: 1fr; gap: 32px; }
  .srv-feature-row.is-reverse > :first-child { order: 0; }
}
.srv-feature-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  color: var(--rg-blue); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
}
.srv-feature-eyebrow::before {
  content:""; width:8px; height:8px; border-radius:999px; background: var(--rg-blue);
}
.srv-feature-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--rg-navy); line-height: 1.2; margin-bottom: 16px; }
.srv-feature-body  { color: var(--rg-slate); line-height: 1.7; font-size: 16px; margin-bottom: 24px; }
.srv-feature-visual {
  background: #fff; border-radius: 20px; padding: 32px;
  box-shadow: var(--rg-shadow); min-height: 280px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid var(--rg-border);
}

/* ---- Experts (dark) ---- */
.srv-experts { color:#fff; }
.srv-experts .srv-container { display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
@media (max-width:900px){ .srv-experts .srv-container { grid-template-columns: 1fr; } }
.srv-experts-eyebrow { color: #93C5FD; font-weight:700; letter-spacing:.14em; text-transform:uppercase; font-size:12px; margin-bottom: 14px; }
.srv-experts h2 { font-size: clamp(28px,3.4vw,40px); margin-bottom: 16px; }
.srv-experts p  { color: var(--rg-slate-300); line-height: 1.7; font-size: 16px; margin-bottom: 24px; }
.srv-experts-card {
  background: #fff; color: var(--rg-navy);
  border-radius: 20px; padding: 28px; box-shadow: var(--rg-shadow-lg);
}

/* ---- Testimonials ---- */
.srv-testimonial-card {
  background:#fff; border-radius: var(--rg-radius-card);
  padding: 28px; box-shadow: var(--rg-shadow); border: 1px solid var(--rg-border);
}
.srv-stars { color:#F59E0B; margin-bottom: 12px; letter-spacing:2px; }
.srv-testimonial-card blockquote { color: var(--rg-navy-2); font-size: 16px; line-height: 1.6; margin: 0 0 18px; font-style: italic; }
.srv-testimonial-meta { display:flex; align-items:center; gap:12px; }
.srv-testimonial-meta .srv-avatar { width:44px; height:44px; border-radius: 999px; background: linear-gradient(135deg, var(--rg-blue), #60A5FA); }
.srv-testimonial-meta strong { display:block; color: var(--rg-navy); font-size: 14px; }
.srv-testimonial-meta span  { color: var(--rg-slate); font-size: 13px; }

/* ---- FAQ ---- */
.srv-faq-list { max-width: 820px; margin: 0 auto; }
.srv-faq-item {
  background:#fff; border: 1px solid var(--rg-border);
  border-radius: var(--rg-radius-card); margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04); overflow:hidden;
}
.srv-faq-q {
  padding: 20px 24px; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  color: var(--rg-blue); font-weight: 700; font-size: 16px;
}
.srv-faq-q::after { content:"⌄"; font-size: 22px; color: var(--rg-slate); transition: transform .2s; }
.srv-faq-item.is-open .srv-faq-q::after { transform: rotate(180deg); }
.srv-faq-a {
  padding: 0 24px 20px; color: var(--rg-slate); line-height: 1.7;
  font-size: 15px; display:none;
}
.srv-faq-item.is-open .srv-faq-a { display:block; }

/* ---- Final CTA ---- */
.srv-final-cta { text-align:center; }
.srv-final-cta h2 { font-size: clamp(32px,4vw,48px); margin-bottom: 16px; }
.srv-final-cta p  { color: var(--rg-slate-300); max-width: 560px; margin: 0 auto 28px; font-size: 17px; line-height: 1.6; }

/* ---- Sticky header polish (works with existing header) ---- */
.site-header, header.site-header, #masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rg-border);
}
.menu-item.current-menu-item > a,
.menu-item.current_page_item > a { color: var(--rg-blue) !important; }

/* ════════════════════════════════════════════════════════════════
   v19 — REFINED SERVICE PAGE POLISH
   Fixes: How-it-works layout, feature illustrations,
   heading scale parity with home page, card sizing.
   ════════════════════════════════════════════════════════════════ */

/* Typography parity with home page */
.srv-hero-heading {
  font-size: clamp(32px, 4.2vw, 52px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.srv-hero-desc {
  font-size: clamp(15px, 1.4vw, 18px) !important;
  line-height: 1.6;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.srv-section-heading {
  font-size: clamp(28px, 3.5vw, 42px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em;
  font-weight: 800 !important;
}
.srv-section-sub {
  font-size: clamp(15px, 1.2vw, 17px) !important;
  max-width: 640px !important;
  margin: 0 auto 64px !important;
}
.srv-feature-heading {
  font-size: clamp(22px, 2.4vw, 32px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em;
}
.srv-feature-body {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* ── HOW IT WORKS: clean 3-col grid, arrows BETWEEN cards ── */
.srv-how-it-works { padding: 96px 32px !important; }
.srv-steps-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 32px !important;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.srv-step {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 4px 28px rgba(15,23,42,.06);
  border: 1px solid rgba(37,99,235,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.srv-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(37,99,235,.14);
}
.srv-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  font-size: 28px;
  color: #2563EB;
  font-weight: 700;
  z-index: 2;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,99,235,.18);
}
/* hide the in-card arrow span if it slips through */
.srv-step-arrow { display: none !important; }

.srv-step-illustration {
  width: 100%;
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
  border-radius: 14px;
  padding: 20px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.srv-step-mock {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(15,23,42,.08);
  width: 100%;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.srv-step-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
}
.srv-step-desc {
  font-size: 14.5px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  max-width: none !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .srv-steps-row {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .srv-step:not(:last-child)::after {
    content: "↓";
    top: auto;
    bottom: -28px;
    right: 50%;
    transform: translateX(50%);
  }
}

/* ── FEATURES: richer illustration card ── */
.srv-features { padding: 96px 32px !important; }
.srv-feature-row {
  gap: 64px !important;
  padding: 56px 0 !important;
}
.srv-feature-image {
  min-height: 340px !important;
  border-radius: 24px !important;
  position: relative;
  overflow: hidden;
}
.srv-feature-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16,185,129,.08) 0%, transparent 50%);
  pointer-events: none;
}
.srv-feat-card {
  max-width: 360px !important;
  padding: 24px !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 40px rgba(15,23,42,.12) !important;
  position: relative;
  z-index: 1;
}
/* Decorative floating chips around card */
.srv-feature-image::after {
  content: "✓ ATS Ready";
  position: absolute;
  top: 20px;
  right: 24px;
  background: #fff;
  color: #10B981;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15,23,42,.10);
  z-index: 2;
  letter-spacing: .04em;
}
.srv-feature-reverse .srv-feature-image::after {
  content: "★ Expert Crafted";
  color: #2563EB;
}

/* Make the default doc card richer */
.srv-feat-doc-header {
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 12px !important;
}
.srv-feat-avatar {
  width: 42px !important;
  height: 42px !important;
  box-shadow: 0 4px 10px rgba(99,102,241,.3);
}
.srv-fl {
  height: 9px !important;
  background: linear-gradient(90deg, #E2E8F0 0%, #F1F5F9 100%) !important;
  border-radius: 5px !important;
}
.srv-fl-dark {
  background: #1E293B !important;
  height: 11px !important;
}

/* CTA polish */
.srv-feature-cta {
  padding: 12px 24px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
  border-width: 2px !important;
}

/* Section eyebrow */
.srv-section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #2563EB;
  text-align: center;
  margin: 0 0 14px;
}
.srv-feature-eyebrow {
  color: #2563EB !important;
  letter-spacing: .14em !important;
}
.srv-feature-eyebrow::before {
  content: "●";
  margin-right: 6px;
  font-size: 8px;
  vertical-align: middle;
}

/* ── Pricing & testimonial heading parity ── */
.srv-pricing, .srv-testimonials, .srv-faq { padding: 96px 32px !important; }
.srv-price-card { border-radius: 20px !important; }

/* ════════════════════════════════════════════════════════════════
   v20 — TYPOGRAPHY SPLIT (Inter + Plus Jakarta Sans)
   + How-It-Works equal cards, larger gaps for arrows, mobile-first
   ════════════════════════════════════════════════════════════════ */

:root {
  --rg-font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rg-font-body:    "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
}

/* Body / paragraphs / descriptions / list details → Plus Jakarta Sans */
body,
.srv-hero-desc,
.srv-section-sub,
.srv-feature-body,
.srv-step-desc,
.srv-plan-desc,
.srv-plan-features,
.srv-plan-features li,
.srv-faq-a,
.srv-testimonial-card blockquote,
.srv-testimonial-meta span,
.srv-experts p,
.srv-final-cta p,
.srv-hero-checks li {
  font-family: var(--rg-font-body) !important;
}

/* Headings, nav, buttons, UI labels → Inter */
h1, h2, h3, h4, h5, h6,
.srv-hero-heading,
.srv-section-heading,
.srv-feature-heading,
.srv-feature-title,
.srv-step-title,
.srv-plan-name,
.srv-plan-price,
.srv-section-eyebrow,
.srv-feature-eyebrow,
.srv-hero-eyebrow,
.srv-experts h2,
.srv-final-cta h2,
.srv-btn,
.srv-btn-primary,
.srv-btn-outline,
.srv-btn-white,
.srv-hero-cta,
.srv-feature-cta,
.site-header a,
.main-navigation a,
#masthead a,
nav a,
.menu-item a,
.srv-faq-q {
  font-family: var(--rg-font-heading) !important;
  font-feature-settings: "cv11","ss01","ss03";
}

/* ── HOW IT WORKS v20 — equal cards, arrows in the gap ── */
.srv-steps-row {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 72px !important;             /* big gap so arrows live IN the gap */
  align-items: stretch !important;  /* equal heights */
  max-width: 1180px !important;
}
.srv-step {
  height: 100% !important;
  min-height: 360px;
  justify-content: flex-start;
  padding: 32px 24px !important;
}
.srv-step-illustration {
  aspect-ratio: 16 / 10;
  min-height: 0;
  width: 100%;
}
/* Arrow centered in the gap between cards */
.srv-step:not(:last-child)::after {
  right: -52px !important;          /* half of the 72px gap + a bit */
  width: 44px !important;
  height: 44px !important;
  font-size: 22px !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .srv-steps-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 56px !important;
  }
  .srv-step:nth-child(2)::after { display: none !important; }
  .srv-step:not(:last-child)::after { right: -44px !important; }
  .srv-step { min-height: 340px; }
}

/* Mobile */
@media (max-width: 720px) {
  .srv-how-it-works,
  .srv-features,
  .srv-pricing,
  .srv-testimonials,
  .srv-faq { padding: 56px 20px !important; }

  .srv-steps-row {
    grid-template-columns: 1fr !important;
    gap: 56px !important;           /* room for the down arrow */
    max-width: 460px !important;
  }
  .srv-step {
    min-height: 0;
    padding: 28px 22px !important;
  }
  .srv-step:not(:last-child)::after {
    content: "↓";
    top: auto !important;
    bottom: -42px !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 20px !important;
  }
  .srv-hero-heading { font-size: clamp(28px, 7vw, 38px) !important; }
  .srv-section-heading { font-size: clamp(24px, 6vw, 32px) !important; }
  .srv-feature-row,
  .srv-feature-row.is-reverse {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 32px 0 !important;
  }
  .srv-feature-row.is-reverse > :first-child { order: 0 !important; }
  .srv-feature-image { min-height: 240px !important; padding: 20px !important; }
  .srv-pricing-card.is-popular { transform: none !important; }
}

/* Make sure feature cards behave on small screens */
@media (max-width: 480px) {
  .srv-container { padding: 0 18px !important; }
  .srv-btn, .srv-hero-cta, .srv-btn-primary, .srv-btn-outline, .srv-btn-white {
    padding: 12px 22px !important;
    font-size: 13px !important;
    width: 100%;
    justify-content: center;
  }
  .srv-hero-checks { gap: 8px 14px !important; }
}
