/* ═══════════════════════════════════════════════════════
   SP-NEW.CSS — New Service-Page Design System
   IT Doctors   |   All redesigned service subpages
   ═══════════════════════════════════════════════════════ */

/* ─── Reset overrides for service pages ─── */
body.sp-page-new {
  background: #ffffff !important;
  color: #444;
  font-family: 'Inter', 'Poppins', sans-serif;
}
body.sp-page-new::before,
body.sp-page-new::after { display: none; }

body.sp-page-new h1,
body.sp-page-new h2,
body.sp-page-new h3,
body.sp-page-new h4 {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
}

/* ─── Shared section wrapper ─── */
.spn-section { padding: 5rem 2rem; }
.spn-section .spn-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.spn-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.spn-section-tag {
  display: inline-block;
  background: rgba(0,166,182,.1);
  color: #00a6b6;
  border-radius: 999px;
  padding: 4px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.spn-section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: #0f2f5f;
  margin: 0 0 10px;
  line-height: 1.2;
}
.spn-section-header p {
  font-size: 1rem;
  color: #666;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ─── HERO ─── */
.spn-hero {
  background-color: #08162e;
  color: #fff;
  /* padding-top reserves space so the full image shows at natural proportions
     (assumes roughly 16:9 source images: 52vw ≈ height of a 100vw-wide 16:9 image)
     Text/stats sit in the dark area below the image */
  padding-top: clamp(220px, 52vw, 700px);
  padding-bottom: clamp(60px, 7vw, 100px);
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
  position: relative;
  background-size: 100% auto;   /* full width, proportional height – no crop */
  background-position: center top;
  background-repeat: no-repeat;
}
/* Gradient: fully transparent over the image → solid dark below it */
.spn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,22,46,0.05) 0%,
    rgba(8,22,46,0.12) 38%,
    rgba(8,22,46,0.72) 58%,
    rgba(8,22,46,0.97) 72%,
    rgba(8,22,46,1.00) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.spn-hero .spn-inner {
  position: relative;
  z-index: 2;
}
.spn-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 6px 22px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 22px;
}
.spn-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin: 0 auto 18px;
  max-width: 880px;
  line-height: 1.15;
}
.spn-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.82);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
/* Stat badges */
.spn-stats {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.spn-stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 18px 28px;
  min-width: 130px;
  text-align: center;
}
.spn-stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: #00a6b6;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  line-height: 1;
  margin-bottom: 5px;
}
.spn-stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
/* Breadcrumb */
.spn-breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
}
.spn-breadcrumb a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}
.spn-breadcrumb a:hover { color: #00a6b6; }

/* ─── IMAGE BAND (kept for legacy, hidden by default on new pages) ─── */
.spn-image-band { display: none; }

/* ─── FEATURE GRID (light grey bg) ─── */
.spn-features-bg { background: #f8f9fa; }
.spn-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.spn-feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(15,47,95,.07);
  box-shadow: 0 4px 18px rgba(15,47,95,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.spn-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(15,47,95,.13);
}
.spn-feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,166,182,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.spn-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #0f2f5f;
  stroke-width: 2;
}
.spn-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f2f5f;
  margin: 0 0 0.5rem;
}
.spn-feature-card p {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.72;
  margin: 0;
}

/* ─── HOW IT WORKS (dark navy bg) ─── */
.spn-how-bg { background: #0f2f5f; }
.spn-how-bg .spn-section-header h2 { color: #fff; }
.spn-how-bg .spn-section-header p  { color: rgba(255,255,255,.72); }
.spn-how-bg .spn-section-tag {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
}

.spn-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.spn-steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(10% + 24px);
  right: calc(10% + 24px);
  height: 2px;
  background: rgba(255,255,255,.15);
  pointer-events: none;
}
.spn-step { text-align: center; padding: 0.75rem 0.5rem 1rem; }
.spn-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #00a6b6;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
}
.spn-step h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.spn-step p {
  font-size: 0.84rem;
  color: rgba(255,255,255,.68);
  line-height: 1.6;
  margin: 0;
}

/* ─── RESULTS (white bg) ─── */
.spn-results-bg { background: #fff; }
.spn-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.spn-metric {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(15,47,95,.09);
  box-shadow: 0 4px 20px rgba(15,47,95,.07);
}
.spn-metric-num {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 800;
  color: #0f2f5f;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  line-height: 1;
  margin-bottom: 8px;
}
.spn-metric-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0f2f5f;
  margin-bottom: 8px;
}
.spn-metric p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* ─── RELATED SERVICES (light grey bg) ─── */
.spn-related-bg { background: #f8f9fa; }
.spn-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.spn-related-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(15,47,95,.07);
  box-shadow: 0 4px 16px rgba(15,47,95,.06);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.spn-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15,47,95,.12);
}
.spn-related-icon {
  width: 46px;
  height: 46px;
  background: rgba(15,47,95,.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spn-related-icon svg {
  width: 22px;
  height: 22px;
  stroke: #0f2f5f;
  stroke-width: 2;
}
.spn-related-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f2f5f;
  margin: 0;
}
.spn-related-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.spn-related-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #00a6b6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.spn-related-link:hover { color: #0e7f8a; }

/* ─── CTA (dark navy bg) ─── */
.spn-cta-bg {
  background: #0f2f5f;
  text-align: center;
  color: #fff;
}
.spn-cta-bg h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #fff;
  margin: 0 auto 14px;
  max-width: 800px;
  line-height: 1.2;
}
.spn-cta-bg p {
  color: rgba(255,255,255,.78);
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 1rem;
  line-height: 1.75;
}
.spn-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.spn-btn-primary {
  background: #00a6b6;
  color: #fff;
  padding: 14px 34px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s;
  display: inline-block;
}
.spn-btn-primary:hover {
  background: #0e7f8a;
  transform: translateY(-2px);
}
.spn-btn-nav {
  background: #0f2f5f;
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  display: inline-block;
}
.spn-btn-nav:hover {
  background: #1a4a8a;
  border-color: rgba(255,255,255,.7);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .spn-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .spn-steps { grid-template-columns: repeat(3, 1fr); }
  .spn-steps::before { display: none; }
}
@media (max-width: 768px) {
  .spn-feature-grid,
  .spn-metrics,
  .spn-related-grid { grid-template-columns: 1fr; }
  .spn-steps { grid-template-columns: repeat(2, 1fr); }
  .spn-hero { padding-top: clamp(180px, 56vw, 380px); padding-bottom: 50px; }
  .spn-hero h1 { font-size: clamp(1.5rem, 6vw, 2.1rem); line-height: 1.2; }
  .spn-hero p { font-size: 15px; line-height: 1.65; }
  .spn-hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .spn-hero-cta .btn { width: 100%; max-width: 340px; margin-inline: auto; justify-content: center; }
  .spn-image-band { height: 220px; }
  .spn-section { padding: 3rem 1rem; }
  .spn-section-header { margin-bottom: 2rem; }
  .spn-section-header h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .spn-stat { padding: 14px 16px; min-width: 90px; }
  .spn-stat-num { font-size: 1.4rem; }
  .spn-stat-label { font-size: 0.7rem; }
  .spn-feature-card { padding: 22px 18px; }
  .spn-related-card { padding: 18px 16px; }
  .spn-cta-section .container { flex-direction: column; text-align: center; gap: 18px; align-items: stretch; }
  .spn-cta-section .btn { width: 100%; max-width: 340px; margin-inline: auto; justify-content: center; }
}
@media (max-width: 480px) {
  .spn-steps { grid-template-columns: 1fr; }
  .spn-stats { gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
  .spn-hero { padding-top: clamp(150px, 60vw, 280px); padding-left: 1rem; padding-right: 1rem; }
  .spn-hero h1 { font-size: clamp(1.35rem, 6.5vw, 1.75rem); }
  .spn-section { padding: 2.5rem 0.75rem; }
  .spn-feature-grid { grid-template-columns: 1fr; }
  .spn-image-band { height: 180px; }
}
