/* ============================================
   THEVERTECH — SERVICE PAGE STYLES
   Visually distinct from homepage.
   Imports after style.css to extend / override.
   ============================================ */

/* ── Page-level overrides ── */
.service-page body {
  --sp-accent: var(--svc-accent, #cd01fd);
}

/* ============================================
   SERVICE HERO
   ============================================ */
.sp-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

/* Layered background */
.sp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sp-hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--svc-gradient, linear-gradient(135deg, #cd01fd 0%, #3a007a 100%));
  opacity: 0.12;
}

.sp-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.sp-hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.sp-hero-bg-orb-1 {
  width: 500px; height: 500px;
  background: var(--svc-accent, #cd01fd);
  opacity: 0.18;
  top: -150px; right: -100px;
}
.sp-hero-bg-orb-2 {
  width: 300px; height: 300px;
  background: var(--svc-accent, #cd01fd);
  opacity: 0.08;
  bottom: -80px; left: 10%;
}

/* Breadcrumb */
.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.sp-breadcrumb a {
  color: var(--text-tertiary);
  transition: color 0.2s;
}
.sp-breadcrumb a:hover { color: var(--svc-accent, #cd01fd); }
.sp-breadcrumb i { font-size: 0.55rem; }
.sp-breadcrumb span { color: var(--text-primary); }

/* Hero service badge */
.sp-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--svc-accent, #cd01fd);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svc-accent, #cd01fd);
  background: rgba(255,255,255,0.04);
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}
.sp-service-badge i { font-size: 1rem; }

/* Hero headline */
.sp-hero-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--svc-accent, #cd01fd);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.sp-hero-title {
  font-family: var(--font-secondary);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.sp-hero-title .sp-accent-word {
  background: var(--svc-gradient, var(--gradient-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sp-hero-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.sp-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.sp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 14px 32px;
  background: var(--svc-gradient, var(--gradient-primary));
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.sp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  color: #fff;
}

.sp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  border-radius: 50px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid var(--border-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}
.sp-btn-secondary:hover {
  border-color: var(--svc-accent, #cd01fd);
  color: var(--svc-accent, #cd01fd);
}

/* Hero stats strip */
.sp-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 2×2 grid — never overflows */
  gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  width: 100%;            /* never exceeds its column */
}

.sp-stat-item {
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  transition: background 0.3s ease;
  min-width: 0;           /* prevent grid blowout */
}
/* Remove right border on even cells, bottom border on last row */
.sp-stat-item:nth-child(2n)   { border-right: none; }
.sp-stat-item:nth-child(3),
.sp-stat-item:nth-child(4)    { border-bottom: none; }
.sp-stat-item:hover { background: rgba(255,255,255,0.03); }

.sp-stat-value {
  font-family: var(--font-secondary);
  font-size: clamp(1.4rem, 2.5vw, 2rem);  /* tighter clamp */
  font-weight: 800;
  background: var(--svc-gradient, var(--gradient-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 0.45rem;
  word-break: break-word;   /* handles long values like "$7.5M+" */
}

.sp-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   SECTION: WHAT WE OFFER
   ============================================ */
.sp-offerings-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

/* Diagonal separator top */
.sp-offerings-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: var(--bg-primary);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

.sp-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--svc-accent, #cd01fd);
  margin-bottom: 0.75rem;
  display: block;
}

.sp-section-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.sp-section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* Offering cards grid — 3-col layout */
.sp-offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.sp-offering-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.sp-offering-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--svc-gradient, var(--gradient-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.sp-offering-card:hover { 
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  border-color: var(--border-accent);
}
.sp-offering-card:hover::after { transform: scaleX(1); }

.sp-offering-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}
.sp-offering-card:hover .sp-offering-icon {
  background: var(--svc-gradient, var(--gradient-primary));
  border-color: transparent;
}

.sp-offering-icon i {
  font-size: 1.3rem;
  color: var(--svc-accent, #cd01fd);
  transition: color 0.3s ease;
}
.sp-offering-card:hover .sp-offering-icon i { color: #fff; }

.sp-offering-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.sp-offering-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   SECTION: PROCESS
   ============================================ */
.sp-process-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.sp-process-bg-line {
  position: absolute;
  top: 0; left: 50%; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-light) 20%, var(--border-light) 80%, transparent);
  transform: translateX(-50%);
}

.sp-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

/* Connecting dashed line */
.sp-process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  border-top: 2px dashed var(--border-light);
  z-index: 0;
}

.sp-process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.sp-process-node {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  transition: all 0.4s ease;
}

.sp-process-step:hover .sp-process-node {
  background: var(--svc-gradient, var(--gradient-primary));
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(205,1,253,0.1);
}

.sp-process-num {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--svc-gradient, var(--gradient-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}
.sp-process-step:hover .sp-process-num {
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sp-process-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.sp-process-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   SECTION: CASE STUDIES
   ============================================ */
.sp-cases-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.sp-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.sp-case-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.sp-case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.sp-case-card:hover img { transform: scale(1.06); }

.sp-case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.sp-case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--svc-gradient, var(--gradient-primary));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.sp-case-client {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.sp-case-result {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ============================================
   SECTION: FAQ
   ============================================ */
.sp-faq-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.sp-faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.sp-faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.sp-faq-item.open { border-color: var(--border-accent); }

.sp-faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}

.sp-faq-q {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  flex: 1;
}

.sp-faq-chevron {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  font-size: 0.75rem;
}
.sp-faq-item.open .sp-faq-chevron {
  background: var(--svc-gradient, var(--gradient-primary));
  border-color: transparent;
  color: #fff;
  transform: rotate(180deg);
}

.sp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.sp-faq-item.open .sp-faq-answer { max-height: 200px; }

.sp-faq-answer-inner {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  margin-top: 0;
}

/* ============================================
   SECTION: CTA STRIP
   ============================================ */
.sp-cta-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.sp-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.sp-cta-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.sp-cta-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ============================================
   SIDEBAR: OTHER SERVICES NAV
   ============================================ */
.sp-other-services {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.75rem;
  position: sticky;
  top: 100px;
}

.sp-other-services-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}

.sp-other-service-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
  margin-bottom: 0.25rem;
}
.sp-other-service-link:last-child { margin-bottom: 0; }

.sp-other-service-link .sp-osl-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.sp-other-service-link:hover,
.sp-other-service-link.sp-active {
  background: color-mix(in srgb, var(--svc-accent, #cd01fd) 8%, transparent);
  color: var(--text-primary);
}
.sp-other-service-link:hover .sp-osl-icon {
  /* Hover: subtle tint of this service's accent, not hard purple */
  background: color-mix(in srgb, var(--svc-accent, #cd01fd) 15%, var(--bg-secondary));
  border-color: color-mix(in srgb, var(--svc-accent, #cd01fd) 30%, transparent);
  color: var(--svc-accent, #cd01fd);
}
.sp-other-service-link.sp-active .sp-osl-icon {
  /* Active: solid fill using THIS service's accent colour — not global purple */
  background: var(--svc-accent, #cd01fd);
  border-color: transparent;
  color: #fff;
}
/* Active text colour is set inline by JS per service accent — no global override needed */

/* Back to home link */
.sp-back-home {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.sp-back-home:hover { color: var(--text-primary); }

/* ============================================
   SERVICE PAGE LAYOUT (sidebar + main)
   ============================================ */
.sp-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  position: relative;
}

.sp-sidebar {
  padding: 40px 24px 40px 0;
  position: relative;
}

.sp-main {
  border-left: 1px solid var(--border-light);
  min-width: 0;
}

/* ============================================
   NAV DROPDOWN — DESKTOP
   ============================================ */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-link-has-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-caret {
  font-size: 0.55rem;
  transition: transform 0.3s ease;
  color: var(--text-tertiary);
}
.nav-dropdown-wrapper:hover .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 340px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  padding: 1rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(20px);
}

/* Arrow notch */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}
.nav-dropdown-item:last-child { margin-bottom: 0; }

.nav-dropdown-item:hover {
  background: rgba(205,1,253,0.07);
  color: var(--text-primary);
}

.nav-dd-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.nav-dropdown-item:hover .nav-dd-icon {
  border-color: transparent;
}

.nav-dd-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1px;
}
.nav-dd-text span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-tertiary);
  line-height: 1.3;
}

/* Mobile dropdown in offcanvas */
.offcanvas-sub-links {
  display: none;
  padding-left: 1rem;
  border-left: 2px solid var(--border-accent);
  margin-left: 2.35rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.offcanvas-sub-links.open { display: block; }

.offcanvas-sub-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.5rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
  border-radius: 6px;
}
.offcanvas-sub-link:hover { color: var(--svc-accent, #cd01fd); }
.offcanvas-sub-link i { font-size: 0.7rem; color: var(--gradient-start); }

.offcanvas-link-parent {
  cursor: pointer;
  user-select: none;
}
.offcanvas-link-parent .offcanvas-chevron {
  margin-left: auto;
  font-size: 0.6rem;
  color: var(--text-tertiary);
  transition: transform 0.3s ease;
}
.offcanvas-link-parent.open .offcanvas-chevron {
  transform: rotate(180deg);
}

/* ============================================
   PAGE ENTRY ANIMATIONS
   ============================================ */
.sp-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: spFadeUp 0.7s ease forwards;
}
@keyframes spFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.sp-d1 { animation-delay: 0.1s; }
.sp-d2 { animation-delay: 0.2s; }
.sp-d3 { animation-delay: 0.3s; }
.sp-d4 { animation-delay: 0.45s; }
.sp-d5 { animation-delay: 0.6s; }

/* Scroll reveal */
.sp-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sp-reveal.sp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .sp-layout {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 991px) {
  .sp-layout {
    grid-template-columns: 1fr;
  }
  .sp-sidebar { display: none; }
  .sp-main { border-left: none; }
  
  .sp-offerings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .sp-process-grid::before { display: none; }
  /* Stats stay 2×2 — no override needed */
}

@media (max-width: 767px) {
  .sp-hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .sp-offerings-grid {
    grid-template-columns: 1fr;
  }
  .sp-process-grid {
    grid-template-columns: 1fr;
  }
  .sp-cases-grid {
    grid-template-columns: 1fr;
  }
  /* Stats: keep 2×2, just tighten padding */
  .sp-stat-item {
    padding: 1.25rem 1rem;
  }
  .sp-stat-value {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }
  .nav-dropdown-menu {
    width: 280px;
    left: 0;
    transform: translateX(0) translateY(-8px);
  }
  .nav-dropdown-menu::before {
    left: 30px;
    transform: rotate(45deg);
  }
}

@media (max-width: 480px) {
  /* Stats stay 2×2 even at smallest sizes — just smaller text */
  .sp-stat-item {
    padding: 1rem 0.75rem;
  }
  .sp-stat-value {
    font-size: 1.15rem;
  }
  .sp-stat-label {
    font-size: 0.65rem;
  }
}