/* ══════════════════════════════════════════════════════════════
   M&IT CONSULTING — Service Pages Stylesheet
   ══════════════════════════════════════════════════════════════ */

/* ─── BREADCRUMB ─── */
.sp-breadcrumb {
  background: var(--c-dark);
  padding: var(--sp-3) 0;
}
.sp-breadcrumb__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-13);
  color: rgba(255,255,255,0.5);
}
.sp-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.sp-breadcrumb a:hover { color: white; }
.sp-breadcrumb__sep { color: rgba(255,255,255,0.3); }
.sp-breadcrumb__current { color: var(--c-orange); }

/* ─── SERVICE HERO ─── */
.sp-hero {
  background: var(--c-dark);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.sp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(57,133,212,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.sp-hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.sp-hero__num {
  font-family: var(--f-mono);
  font-size: var(--text-13);
  color: var(--c-orange);
  letter-spacing: .12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--sp-3);
}
.sp-hero__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}
.sp-hero__title em {
  color: var(--c-orange);
  font-style: normal;
}
.sp-hero__desc {
  font-size: var(--text-18);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  max-width: 520px;
}
.sp-hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.sp-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-hero__img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.sp-hero__img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ─── SECTION BASE ─── */
.sp-section {
  padding: 5rem 0;
}
.sp-section--alt {
  background: var(--c-navy);
}
.sp-section__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.sp-section__header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.sp-section__title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--c-text);
  margin-top: var(--sp-2);
}
.sp-section__sub {
  color: var(--c-text-muted);
  font-size: var(--text-16);
  max-width: 560px;
  margin-inline: auto;
  margin-top: var(--sp-3);
  line-height: 1.7;
}

/* ─── SUB-SERVICES GRID ─── */
.sp-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.sp-pillar {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  transition: box-shadow var(--dur-fast), transform var(--dur-fast);
}
.sp-pillar:hover {
  box-shadow: 0 8px 32px rgba(12,33,64,0.1);
  transform: translateY(-4px);
}
.sp-pillar__icon {
  width: 48px;
  height: 48px;
  color: var(--c-blue);
  margin-bottom: var(--sp-4);
}
.sp-pillar__icon--hover { color: var(--c-orange); }
.sp-pillar__title {
  font-size: var(--text-15);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}
.sp-pillar__desc {
  font-size: var(--text-13);
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ─── EXAMPLES ─── */
.sp-examples { display: flex; flex-direction: column; gap: var(--sp-8); }
.sp-example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  overflow: hidden;
}
.sp-example--reverse { direction: rtl; }
.sp-example--reverse > * { direction: ltr; }

.sp-example__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(57,133,212,0.1);
  color: var(--c-blue);
  font-size: var(--text-12);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border-radius: 999px;
  margin-bottom: var(--sp-3);
}
.sp-example__title {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--c-text);
  line-height: 1.3;
  margin-bottom: var(--sp-3);
}
.sp-example__desc {
  color: var(--c-text-muted);
  font-size: var(--text-15);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
.sp-example__result {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.sp-example__result-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--text-14);
  color: var(--c-text-2);
}
.sp-example__result-item::before {
  content: '→';
  color: var(--c-orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.sp-example__visual {
  background: var(--c-navy);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-example__visual svg {
  width: 100%;
  max-width: 380px;
  height: auto;
}
.sp-example__visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--r-sm);
  display: block;
}

/* ─── METRICS STRIP ─── */
.sp-metrics {
  background: var(--c-dark);
  padding: 4rem 0;
}
.sp-metrics__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.sp-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.sp-metric {
  text-align: center;
  padding: var(--sp-6);
}
.sp-metric__value {
  display: block;
  font-family: var(--f-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-orange);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.sp-metric__label {
  font-size: var(--text-14);
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ─── CTA ─── */
.sp-cta {
  background: linear-gradient(135deg, var(--c-dark) 0%, #0a1c35 100%);
  padding: 5rem 0;
  text-align: center;
}
.sp-cta__inner {
  max-width: 600px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.sp-cta__title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: var(--sp-4);
}
.sp-cta__desc {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-16);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}
.sp-cta__actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .sp-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sp-hero__inner { grid-template-columns: 1fr; }
  .sp-hero__visual { display: none; }
  .sp-example { grid-template-columns: 1fr; }
  .sp-example--reverse { direction: ltr; }
  .sp-example__visual { min-height: 200px; }
  .sp-metrics__grid { grid-template-columns: 1fr; }
  .sp-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .sp-hero { padding: 4rem 0 3rem; }
  .sp-section { padding: 3rem 0; }
  .sp-example { padding: var(--sp-5); }
}
