/* =========================================================
   STATIC PAGES design system (sp-*) — about, contact,
   methodology, policies, certifications, testimonials,
   customer service. Brand: General Sans, indigo/navy.
   Animations ride the site-wide .reveal observer (main.js).
   ========================================================= */

/* ---------- hero band ---------- */
.sp-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3.6rem, 8vw, 6.5rem) 1.5rem clamp(2.8rem, 6vw, 4.5rem);
  background:
    radial-gradient(820px 420px at 82% -12%, rgba(79,70,255,.16), transparent 60%),
    radial-gradient(640px 380px at 10% 0%, rgba(58,54,224,.09), transparent 55%),
    linear-gradient(180deg, #fbfbff 0%, #f3f4fd 100%);
  border-bottom: 1px solid var(--line);
}
.sp-hero--dark {
  background:
    radial-gradient(900px 480px at 78% -12%, rgba(122,92,255,.4), transparent 62%),
    linear-gradient(165deg, var(--navy) 0%, #141a5e 58%, #1d2373 100%);
  border-bottom: none;
}
.sp-hero__dots { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(58,54,224,.14) 1px, transparent 1px); background-size: 26px 26px; }
.sp-hero--dark .sp-hero__dots { background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); }
.sp-hero > * { position: relative; }
.sp-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--indigo); background: rgba(58,54,224,.08);
  border: 1px solid rgba(58,54,224,.22); border-radius: 999px; padding: .42rem .95rem;
}
.sp-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: spPulse 2.4s ease-in-out infinite; }
.sp-hero--dark .sp-kicker { color: #a5aaff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
@keyframes spPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.sp-hero__title {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.07; letter-spacing: -.025em;
  color: var(--ink); max-width: 880px; margin: 1.2rem auto 0; text-wrap: balance;
}
.sp-hero__title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--indigo) 0%, #7a5cff 55%, #b44de0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sp-hero--dark .sp-hero__title { color: #fff; }
.sp-hero--dark .sp-hero__title em { background: linear-gradient(92deg, #8f8aff, #d38aff); -webkit-background-clip: text; background-clip: text; }
.sp-hero__sub { max-width: 640px; margin: 1.1rem auto 0; font-size: clamp(1rem, 1.7vw, 1.14rem); line-height: 1.62; color: var(--ink-soft); }
.sp-hero--dark .sp-hero__sub { color: #b9bdf3; }

/* hero stat chips */
.sp-herostats { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.sp-herostat {
  min-width: 130px; background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 14px;
  padding: .8rem 1.2rem; box-shadow: var(--shadow-sm); backdrop-filter: blur(4px);
}
.sp-hero--dark .sp-herostat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.sp-herostat b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; color: var(--indigo); }
.sp-hero--dark .sp-herostat b { color: #9aa4ff; }
.sp-herostat span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .15rem; }
.sp-hero--dark .sp-herostat span { color: rgba(255,255,255,.55); }

/* ---------- sections ---------- */
.sp-sec { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 6.5vw, 5.5rem) 1.5rem; }
.sp-sec--wash { background: var(--bg-2); max-width: none; }
.sp-sec--wash > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.sp-head { max-width: 760px; margin: 0 auto 2.4rem; text-align: center; }
.sp-eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--indigo); margin-bottom: .8rem; }
.sp-h2 {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.14; letter-spacing: -.018em; color: var(--ink); text-wrap: balance;
}
.sp-h2 em { font-style: normal; color: var(--indigo); }
.sp-lead { font-size: clamp(.98rem, 1.6vw, 1.1rem); line-height: 1.62; color: var(--ink-soft); margin-top: .9rem; }
.sp-prose { max-width: 760px; margin: 0 auto; font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.sp-prose p + p { margin-top: 1.1rem; }
.sp-prose b { color: var(--ink); }

/* ---------- icon / value cards ---------- */
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.sp-grid--4 { grid-template-columns: repeat(4, 1fr); }
.sp-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.6rem 1.5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.sp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(58,54,224,.28); }
.sp-card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px;
  background: rgba(58,54,224,.08); color: var(--indigo); margin-bottom: .95rem;
}
.sp-card h3 { font-size: 1.08rem; font-weight: 500; color: var(--ink); margin-bottom: .45rem; }
.sp-card p { font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }

/* ---------- methodology timeline ---------- */
.sp-steps { position: relative; max-width: 800px; margin: 0 auto; padding-left: 0; list-style: none; }
.sp-steps::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--indigo), #b44de0); opacity: .25; }
.sp-step { position: relative; display: flex; gap: 1.4rem; padding: 0 0 2.2rem 0; }
.sp-step:last-child { padding-bottom: 0; }
.sp-step__no {
  position: relative; z-index: 1; flex: none; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 16px; font-family: var(--font-head); font-weight: 500; font-size: 1.15rem;
  color: #fff; background: linear-gradient(135deg, var(--indigo), #7a5cff);
  box-shadow: 0 10px 24px rgba(58,54,224,.3);
}
.sp-step__body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.3rem 1.5rem; flex: 1; }
.sp-step__body h3 { font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.sp-step__body h3 span { color: var(--indigo); }
.sp-step__body p { font-size: .93rem; line-height: 1.62; color: var(--ink-soft); margin-top: .45rem; }
.sp-step__tags { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .8rem; }
.sp-step__tags span {
  font-size: .72rem; font-weight: 500; color: var(--indigo);
  background: rgba(58,54,224,.07); border: 1px solid rgba(58,54,224,.18); border-radius: 999px; padding: .26rem .65rem;
}

/* ---------- policy pages (sticky toc + article) ---------- */
.sp-policy { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.sp-toc { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 1rem .6rem; }
.sp-toc__h { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 .8rem .6rem; }
.sp-toc a { display: block; font-size: .86rem; color: var(--ink-soft); padding: .42rem .8rem; border-radius: 8px; border-left: 2px solid transparent; }
.sp-toc a:hover { color: var(--indigo); background: rgba(58,54,224,.05); }
.sp-toc a.is-on { color: var(--indigo); border-left-color: var(--indigo); background: rgba(58,54,224,.06); font-weight: 500; }
.sp-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(1.6rem, 4vw, 2.6rem); }
.sp-article__meta { font-size: .8rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.6rem; }
.sp-article h2 { font-family: var(--font-head); font-weight: 500; font-size: 1.28rem; color: var(--ink); margin: 2rem 0 .7rem; scroll-margin-top: 96px; display: flex; align-items: baseline; gap: .6rem; }
.sp-article h2:first-of-type { margin-top: 0; }
.sp-article h2 .no { font-size: .82rem; color: var(--indigo); font-weight: 500; }
.sp-article h3 { font-size: 1.02rem; font-weight: 500; color: var(--ink); margin: 1.3rem 0 .4rem; }
.sp-article p, .sp-article li { font-size: .95rem; line-height: 1.7; color: var(--ink-soft); }
.sp-article p + p { margin-top: .8rem; }
.sp-article ul, .sp-article ol { margin: .7rem 0 .9rem 1.3rem; }
.sp-article li { margin-bottom: .4rem; }
.sp-article b { color: var(--ink); }
.sp-article .hl {
  background: rgba(58,54,224,.05); border: 1px solid rgba(58,54,224,.16); border-left: 3px solid var(--indigo);
  border-radius: 0 10px 10px 0; padding: .9rem 1.1rem; margin: 1rem 0;
}

/* ---------- contact ---------- */
.sp-regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sp-region { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.6rem 1.5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.sp-region:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sp-region::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--indigo), #7a5cff 55%, #b44de0); }
.sp-region__flag { font-size: 1.6rem; line-height: 1; }
.sp-region h3 { font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }
.sp-region a.tel { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; color: var(--ink); margin-top: .35rem; transition: color .15s var(--ease); }
.sp-region a.tel:hover { color: var(--indigo); }
.sp-region p { font-size: .82rem; color: var(--muted); margin-top: .5rem; }

/* ---------- dark CTA band ---------- */
.sp-cta {
  max-width: var(--maxw); margin: 0 auto clamp(3rem, 6vw, 5rem); padding: 0 1.5rem;
}
.sp-cta__card {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: var(--radius-lg); padding: clamp(2.4rem, 5.5vw, 3.8rem) 2rem;
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(122,92,255,.4), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, #141a5e 58%, #232a77 100%);
}
.sp-cta__card h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.2rem); letter-spacing: -.015em; text-wrap: balance; }
.sp-cta__card p { color: rgba(255,255,255,.72); max-width: 560px; margin: .8rem auto 0; font-size: .98rem; line-height: 1.6; }
.sp-cta__row { display: flex; justify-content: center; gap: .9rem; flex-wrap: wrap; margin-top: 1.7rem; }
.sp-btn-ghostdark { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.sp-btn-ghostdark:hover { background: rgba(255,255,255,.1); }

/* ---------- certifications ---------- */
.sp-certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sp-cert { display: flex; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.3rem 1.4rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.sp-cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sp-cert__logo { flex: none; width: 86px; height: 66px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: .5rem; }
.sp-cert__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sp-cert h3 { font-size: 1rem; font-weight: 500; color: var(--ink); }
.sp-cert p { font-size: .84rem; line-height: 1.55; color: var(--ink-soft); margin-top: .3rem; }

/* ---------- testimonials ---------- */
.sp-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sp-video { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 16/9; background: #0f1230; }
.sp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-quotes { columns: 3; column-gap: 1.1rem; }
.sp-quote { break-inside: avoid; margin: 0 0 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.35rem 1.35rem 1.1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.sp-quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sp-quote__ind { font-size: .64rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--indigo);
  background: rgba(58,54,224,.07); border: 1px solid rgba(58,54,224,.18); border-radius: 999px; padding: .26rem .6rem; }
.sp-quote blockquote p { font-size: .92rem; line-height: 1.6; color: var(--ink-soft); margin-top: .8rem; }
.sp-quote__who { display: flex; align-items: center; gap: .7rem; border-top: 1px solid var(--line); margin-top: .95rem; padding-top: .85rem; }
.sp-quote__ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; font-size: .8rem; font-weight: 500;
  color: #fff; background: linear-gradient(135deg, #7a5cff, #b44de0); }
.sp-quote__who b { display: block; font-size: .88rem; font-weight: 500; color: var(--ink); }
.sp-quote__who small { display: block; font-size: .76rem; color: var(--muted); margin-top: .1rem; }
.sp-rating { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--ink-soft); margin-top: 1.2rem; }
.sp-rating i { font-style: normal; color: #f5a623; letter-spacing: 2px; }
.sp-rating b { color: var(--ink); font-weight: 500; }

/* ---------- misc ---------- */
.sp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.sp-split img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.sp-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-top: 1.1rem; }
.sp-list li { display: flex; gap: .6rem; font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }
.sp-list li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 19px; height: 19px; margin-top: .1rem;
  border-radius: 50%; font-size: .62rem; font-weight: 700; color: #fff; background: var(--indigo); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .sp-grid, .sp-grid--4, .sp-regions, .sp-certs, .sp-videos { grid-template-columns: repeat(2, 1fr); }
  .sp-quotes { columns: 2; }
  .sp-policy { grid-template-columns: 1fr; }
  .sp-toc { position: static; display: flex; flex-wrap: wrap; gap: .2rem; }
  .sp-toc__h { width: 100%; }
  .sp-split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .sp-grid, .sp-grid--2, .sp-grid--4, .sp-regions, .sp-certs, .sp-videos { grid-template-columns: 1fr; }
  .sp-quotes { columns: 1; }
  .sp-step { gap: .9rem; }
  .sp-step__no { width: 44px; height: 44px; border-radius: 12px; font-size: 1rem; }
  .sp-steps::before { left: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-kicker i { animation: none; }
  .sp-card, .sp-region, .sp-cert, .sp-quote { transition: none; }
}
