/* ── Service page design tokens ── */
.sp {
  --teal: #16a34a;
  --teal-dark: #15803d;
  --teal-light: #f0fdf4;
  --teal-muted: #bbf7d0;
  --navy: #1A2332;
  --navy-light: #2A3A4E;
  --cream: #FAFBF9;
  --warm-gray: #6B7280;
  --light-border: #E5E7EB;
  --sp-white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(22,163,74,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  font-family: Helvetica, Arial, sans-serif;
  color: var(--navy);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Full-bleed helper: break out of card padding ── */
.sp-full {
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .sp-full {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 768px) {
  .sp-full {
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ── HERO ── */
.sp-hero {
  margin-top: -1rem;
  padding: 4rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--sp-white) 0%, var(--teal-light) 50%, var(--cream) 100%);
  border-radius: 0.5rem 0.5rem 0 0;
}
@media (min-width: 640px) {
  .sp-hero { margin-top: -1.5rem; }
}
@media (min-width: 768px) {
  .sp-hero { margin-top: -2rem; padding: 5rem 2rem 4rem; }
}

.sp-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22,163,74,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.sp-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.sp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sp-white);
  border: 1px solid var(--teal-muted);
  color: var(--teal-dark);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: spFadeUp 0.6s ease both;
}

.sp-hero-tag svg { width: 14px; height: 14px; }

.sp-hero h1 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.2rem;
  animation: spFadeUp 0.6s 0.1s ease both;
}

.sp-hero h1 em {
  font-style: italic;
  color: var(--teal);
}

.sp-hero-sub {
  font-size: 1.15rem;
  color: var(--warm-gray);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2rem;
  animation: spFadeUp 0.6s 0.2s ease both;
}

.sp-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: spFadeUp 0.6s 0.3s ease both;
}

.sp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: var(--sp-white);
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(22,163,74,0.2);
  font-family: Helvetica, Arial, sans-serif;
}
.sp-btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(22,163,74,0.28);
}

.sp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--light-border);
  background: var(--sp-white);
  transition: all 0.2s;
  font-family: Helvetica, Arial, sans-serif;
}
.sp-btn-secondary:hover {
  border-color: var(--teal-muted);
  background: var(--teal-light);
}

/* ── SECTIONS ── */
.sp-section {
  padding: 4.5rem 0;
  max-width: 960px;
  margin: 0 auto;
}

.sp-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.sp-section h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.sp-section-intro {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* ── DELIVERABLES GRID ── */
.sp-deliverable-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(220,38,38,0.35);
  animation: spBadgePulse 2.5s ease-in-out infinite;
}

@keyframes spBadgePulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(220,38,38,0.35); }
  50% { box-shadow: 0 2px 12px rgba(220,38,38,0.6); }
}

.sp-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.sp-deliverable-card {
  background: var(--sp-white);
  border: 1px solid var(--light-border);
  border-radius: 14px;
  padding: 1.6rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.sp-deliverable-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.sp-deliverable-card:hover {
  border-color: var(--teal-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sp-deliverable-card:hover::after {
  transform: scaleX(1);
}

.sp-deliverable-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--teal);
}

.sp-deliverable-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.sp-deliverable-card p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* ── WHY IT MATTERS ── */
.sp-why-section {
  background: var(--navy);
  color: var(--sp-white);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.sp-why-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(22,163,74,0.12) 0%, transparent 60%);
}

.sp-why-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.sp-why-section .sp-section-label {
  color: var(--teal-muted);
}

.sp-why-section h2 {
  color: var(--sp-white);
  margin-bottom: 1.5rem;
}

.sp-why-text {
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.sp-why-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.sp-why-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.sp-why-point-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: rgba(22,163,74,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-muted);
  margin-top: 2px;
}

.sp-why-point h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--sp-white);
}

.sp-why-point p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.sp-process-steps {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
  position: relative;
}

.sp-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.sp-step:last-child { padding-bottom: 0; }

.sp-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--sp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sp-step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--teal-muted), var(--light-border));
  margin-top: 0.5rem;
}

.sp-step:last-child .sp-step-line { display: none; }

.sp-step-content {
  padding-top: 0.6rem;
}

.sp-step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.sp-step-content p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.7;
  max-width: 540px;
}

/* ── DIFFERENTIATOR ── */
.sp-diff-section {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--sp-white) 100%);
  border: 1px solid var(--teal-muted);
  border-radius: 20px;
  padding: 3rem;
  margin: 0 auto;
  max-width: 860px;
  position: relative;
  overflow: hidden;
}

.sp-diff-section::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(22,163,74,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.sp-diff-heading {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sp-diff-intro {
  color: var(--warm-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 560px;
}

.sp-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.sp-diff-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.sp-diff-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 6px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 2px;
}

.sp-diff-item p {
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.6;
}

.sp-diff-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* ── CTA SECTION ── */
.sp-cta-section {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}

.sp-cta-section h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.sp-cta-section p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.sp-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sp-cta-note {
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-top: 1rem;
  opacity: 0.7;
}

/* ── BACK LINK ── */
.sp-back-link-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--light-border);
}

.sp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: gap 0.2s;
}
.sp-back-link:hover { gap: 0.7rem; }

/* ── ANIMATIONS ── */
@keyframes spFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.sp-animate-in {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.5s ease;
}
.sp-animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .sp-hero { padding: 3.5rem 1.5rem 3rem; }
  .sp-section { padding: 3rem 0; }
  .sp-why-section { padding: 3.5rem 1.5rem; }
  .sp-diff-grid { grid-template-columns: 1fr; }
  .sp-diff-section { padding: 2rem; }
}

/* ── DARK MODE ── */
.dark .sp { color: #e5e7eb; }
.dark .sp-hero { background: linear-gradient(165deg, #1f2937 0%, #1a2e28 50%, #111827 100%); }
.dark .sp-hero h1 { color: #f9fafb; }
.dark .sp-hero-sub { color: #9ca3af; }
.dark .sp-hero-tag { background: #1f2937; border-color: #374151; color: var(--teal-muted); }
.dark .sp-section h2 { color: #f9fafb; }
.dark .sp-section-intro { color: #9ca3af; }
.dark .sp-deliverable-card { background: #1f2937; border-color: #374151; }
.dark .sp-deliverable-card:hover { border-color: #4b5563; }
.dark .sp-deliverable-card h3 { color: #f9fafb; }
.dark .sp-deliverable-card p { color: #9ca3af; }
.dark .sp-deliverable-icon { background: rgba(22,163,74,0.15); }
.dark .sp-step-content h3 { color: #f9fafb; }
.dark .sp-step-content p { color: #9ca3af; }
.dark .sp-diff-section { background: linear-gradient(135deg, rgba(22,163,74,0.1) 0%, #1f2937 100%); border-color: #374151; }
.dark .sp-diff-item p { color: #e5e7eb; }
.dark .sp-cta-section h2 { color: #f9fafb; }
.dark .sp-cta-section p { color: #9ca3af; }
.dark .sp-btn-secondary { background: #1f2937; color: #e5e7eb; border-color: #374151; }
.dark .sp-btn-secondary:hover { background: rgba(22,163,74,0.15); border-color: var(--teal-muted); }
.dark .sp-back-link-section { border-color: #374151; }
