/* ═══════════════════════════════════════════════════════════
   SERVICE PAGE — service-page.css
   First Step Engineering LLC — Muscat, Oman
   Shared styles for all 7 service sub-pages in services/
   Design system tokens live in hero-02-kinetic.css (loaded first).
   Asset paths are relative to the HTML files inside services/.
═══════════════════════════════════════════════════════════ */

/* ── ACCENT-COLOR SYSTEM ────────────────────────────────────
   Default accent = gold. Body classes below are optional
   enhancements — each page can set a different tint without
   changing any per-page HTML.
─────────────────────────────────────────────────────────── */
:root {
  --sp-accent:    var(--gold,      #C8860A);
  --sp-accent-dk: var(--gold-dark, #a06c05);
  --sp-navy:      var(--navy-deep, #06101E);
  --sp-white:     var(--white,     #ffffff);
  --sp-cream:     #F4F2ED;
  --sp-ink:       #0E1A2B;
}

/* Optional per-service body class overrides */
.sp-arch    { --sp-accent: #C8860A; --sp-accent-dk: #a06c05; }
.sp-struct  { --sp-accent: #C8860A; --sp-accent-dk: #a06c05; }
.sp-mep     { --sp-accent: #C8860A; --sp-accent-dk: #a06c05; }
.sp-bim     { --sp-accent: #C8860A; --sp-accent-dk: #a06c05; }
.sp-plan    { --sp-accent: #C8860A; --sp-accent-dk: #a06c05; }
.sp-pm      { --sp-accent: #C8860A; --sp-accent-dk: #a06c05; }
.sp-consult { --sp-accent: #C8860A; --sp-accent-dk: #a06c05; }


/* ═══════════════════════════════════════════════════════════
   SECTION 1 — HERO
═══════════════════════════════════════════════════════════ */

.sp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--sp-navy);
  overflow: hidden;
}

/* ── Background photograph ── */
.sp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.45) saturate(.75);
  transform: scale(1.06);
  transition: transform 12s ease;
}

.sp-hero-bg img.loaded {
  transform: scale(1);
}

/* ── Directional gradient over photo ── */
.sp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 16, 30, .72) 0%,
    rgba(6, 16, 30, .28)  60%,
    transparent          100%
  );
  z-index: 1;
}

/* ── Blueprint grid texture ── */
.sp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

/* ── Main content block — sits above all overlays, pushes down to bottom ── */
.sp-hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  padding-top: calc(var(--nav-h, 72px) + 60px);
  padding-right: 40px;
  padding-bottom: calc(200px);
  padding-left: 40px;
}

/* ── Eyebrow row ── */
.sp-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.eyebrow-line {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--sp-accent);
  flex-shrink: 0;
}

.eyebrow-text {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(200, 134, 10, .7);
  text-transform: uppercase;
}

/* ── Massive service headline ── */
.sp-hero-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-size: clamp(64px, 11vw, 130px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -2.5px;
  text-transform: uppercase;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Each word-line — starts off-screen, GSAP animates in */
.spht-line {
  display: block;
  color: var(--sp-white);
  opacity: 0;
  transform: translateY(60px);
}

.spht-gold {
  color: var(--sp-accent);
}

/* ── Descriptor sentence ── */
.sp-hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, .6);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 28px;
}

/* ── Breadcrumb trail ── */
.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  letter-spacing: 1.5px;
}

.sp-breadcrumb a {
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
  transition: color .2s;
}

.sp-breadcrumb a:hover {
  color: var(--sp-accent);
}

.sp-breadcrumb i {
  font-size: 8px;
  color: rgba(255, 255, 255, .2);
}

/* ── Stats bar — anchored flush to hero bottom ── */
.sp-hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: stretch;
  background: rgba(6, 16, 30, .85);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.sp-stat {
  flex: 1;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-stat-num {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-size: 28px;
  font-weight: 900;
  color: var(--sp-white);
  line-height: 1;
}

.sp-stat-gold {
  color: var(--sp-accent);
}

.sp-stat-lbl {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 9px;
  color: rgba(255, 255, 255, .35);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sp-stat-div {
  width: 1px;
  background: rgba(255, 255, 255, .07);
  flex-shrink: 0;
  margin: 16px 0;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 2 — OVERVIEW  (cream background)
   Full-width editorial layout — no empty right column
═══════════════════════════════════════════════════════════ */

.sp-overview {
  background: var(--sp-cream);
  padding: 120px 0;
}

/* Section header block */
.sp-ov-head {
  margin-bottom: 48px;
}

/* Lead paragraph — wide but not full width */
.sp-ov-lead {
  font-size: 18px;
  color: rgba(14, 26, 43, .65);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 0 16px;
}

/* Full-width image wrapper */
.sp-ov-img-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 2px;
}

.sp-ov-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* Gradient overlay on image bottom */
.sp-ov-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 16, 30, .35) 0%,
    transparent 60%
  );
}

/* Spec badge positioned bottom-right of image */
.sp-tech-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(6, 16, 30, .95);
  padding: 16px 20px;
  min-width: 220px;
  border-left: 2px solid var(--sp-accent);
}

.stb-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.stb-row:last-child {
  border-bottom: none;
}

.stb-key {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 8px;
  color: rgba(255, 255, 255, .35);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.stb-val {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 8px;
  color: rgba(255, 255, 255, .7);
  letter-spacing: 1.5px;
}

.active-val {
  color: rgba(80, 200, 100, .8) !important;
}

/* 3-column feature grid below the image — always fully filled */
.sp-ov-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 2px;
}

.sp-ov-feat-card {
  background: var(--sp-white);
  border: 1px solid rgba(14, 26, 43, .07);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-ov-feat-icon {
  width: 44px;
  height: 44px;
  background: rgba(200, 134, 10, .1);
  border: 1px solid rgba(200, 134, 10, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--sp-accent);
  flex-shrink: 0;
}

.sp-ov-feat-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--sp-navy);
  margin: 0 0 4px;
}

.sp-ov-feat-desc {
  font-size: 13px;
  color: rgba(14, 26, 43, .55);
  line-height: 1.6;
  margin: 0;
}

/* Legacy / still-referenced typography utilities */
.sp-section-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: var(--sp-navy);
  margin: 0 0 20px;
  line-height: 1.1;
}

.sp-body {
  font-size: 15px;
  color: rgba(14, 26, 43, .6);
  line-height: 1.75;
  margin: 0 0 16px;
}

/* Legacy feature list (kept for other service pages) */
.sp-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.sp-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(14, 26, 43, .08);
}

.sp-feature:last-child {
  border-bottom: none;
}

.sp-feature-icon {
  width: 42px;
  height: 42px;
  background: rgba(200, 134, 10, .1);
  color: var(--sp-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid rgba(200, 134, 10, .2);
}

.sp-feature-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--sp-navy);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.sp-feature-desc {
  font-size: 13px;
  color: rgba(14, 26, 43, .55);
  line-height: 1.6;
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 3 — PROCESS  (dark navy)
   Full-width numbered timeline list — no grid empty spaces
═══════════════════════════════════════════════════════════ */

.sp-process {
  background: var(--sp-navy);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.sp-process-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Vertical stacked process list */
.sp-proc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-top: 64px;
}

/* Vertical timeline spine line */
.sp-proc-list::before {
  content: '';
  position: absolute;
  left: 52px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, .07);
}

/* Each process step row */
.sp-proc-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 0;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  position: relative;
}

.sp-proc-item:last-child {
  border-bottom: none;
}

/* Left column: step number bubble */
.sp-proc-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
  position: relative;
  z-index: 1;
}

.sp-proc-num {
  width: 40px;
  height: 40px;
  background: var(--sp-navy);
  border: 1px solid rgba(200, 134, 10, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10px;
  color: var(--sp-accent);
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* Right column: icon + text */
.sp-proc-content {
  padding-left: 40px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sp-proc-icon {
  font-size: 22px;
  color: var(--sp-accent);
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
}

.sp-proc-text {
  flex: 1;
}

.sp-proc-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--sp-white);
  margin: 0 0 8px;
}

.sp-proc-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.7;
  margin: 0;
}

/* Legacy process card styles kept for other service pages */
.sp-proc-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  padding: 36px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .3s, border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}

.sp-proc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--sp-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}

.sp-proc-card:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(200, 134, 10, .2);
  transform: translateY(-4px);
}

.sp-proc-card:hover::before {
  transform: scaleX(1);
}

.spc-step {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 9px;
  color: rgba(200, 134, 10, .5);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.spc-icon {
  font-size: 22px;
  color: var(--sp-accent);
  flex-shrink: 0;
}

.spc-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--sp-white);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.spc-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 4 — DELIVERABLES  (cream)
   2-col CSS grid for items + 4-col tools row — no empty space
═══════════════════════════════════════════════════════════ */

.sp-deliverables {
  background: var(--sp-cream);
  padding: 120px 0;
}

/* 2-column deliverable grid — 6 items = 3 rows × 2 cols, always full */
.sp-del-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.sp-del-item {
  background: var(--sp-white);
  border: 1px solid rgba(14, 26, 43, .07);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sp-del-num {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10px;
  color: var(--sp-accent);
  letter-spacing: 1px;
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
}

.sp-del-info {
  flex: 1;
}

.sp-del-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--sp-navy);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.sp-del-desc {
  font-size: 13px;
  color: rgba(14, 26, 43, .55);
  line-height: 1.6;
  margin: 0;
}

/* Tools section wrapper */
.sp-tools-section {
  margin-top: 4px;
}

.sp-tools-section-head {
  padding: 40px 0 24px;
}

.sp-tools-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--sp-navy);
  margin: 8px 0 0;
  line-height: 1.1;
}

/* 4-column tool card row */
.sp-tools-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.sp-tool-card {
  background: rgba(6, 16, 30, .04);
  border: 1px solid rgba(14, 26, 43, .08);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background .2s;
}

.sp-tool-card:hover {
  background: rgba(6, 16, 30, .08);
}

.sp-tool-icon {
  font-size: 20px;
  color: var(--sp-accent);
  flex-shrink: 0;
  width: 36px;
}

.sp-tool-name {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 13px;
  color: var(--sp-navy);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.sp-tool-desc {
  font-size: 12px;
  color: rgba(14, 26, 43, .5);
  line-height: 1.55;
  margin: 0;
}

.sp-tool-info {
  display: flex;
  flex-direction: column;
}

/* Legacy 2-col tools grid kept for other service pages */
.sp-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 32px;
}

/* Standards / compliance tags */
.sp-standards {
  margin-top: 2px;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 26, 43, .1);
}

.sp-standards-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(14, 26, 43, .5);
  margin: 0 0 14px;
}

.sp-standards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-std-tag {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: rgba(14, 26, 43, .6);
  border: 1px solid rgba(14, 26, 43, .15);
  padding: 6px 12px;
  text-transform: uppercase;
}

/* Legacy del-list kept for other service pages */
.sp-del-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 5 — CASE STUDY  (dark navy)
═══════════════════════════════════════════════════════════ */

.sp-case-study {
  background: var(--sp-navy);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.sp-case-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.sp-case-card {
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
  transition: border-color .3s;
  position: relative;
}

.sp-case-card:hover {
  border-color: rgba(200, 134, 10, .3);
}

/* Image panel */
.sp-case-img {
  position: relative;
  height: 100%;
  min-height: 420px;
}

.sp-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-case-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent          60%,
    rgba(6, 16, 30, .8) 100%
  );
}

.sp-case-tag {
  position: absolute;
  top: 20px;
  left: 20px;
}

/* Content panel */
.sp-case-content {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  justify-content: center;
}

.sp-case-content > .btn,
.sp-case-content > a.btn {
  align-self: flex-start;
  justify-content: center;
  width: max-content;
  max-width: 100%;
}

.sp-case-type {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10px;
  color: rgba(200, 134, 10, .7);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.sp-case-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  color: var(--sp-white);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin: 0;
  line-height: 1.1;
}

.sp-case-body {
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.75;
  margin: 0;
}

/* Results metrics strip */
.sp-case-results {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: 24px;
}

.sp-case-result {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, .07);
}

.sp-case-result:last-child {
  border-right: none;
}

.scr-num {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-size: 28px;
  font-weight: 900;
  color: var(--sp-accent);
}

.scr-label {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 9px;
  color: rgba(255, 255, 255, .35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 6 — OTHER SERVICES  (cream)
   Horizontal full-width list — no empty card slots
═══════════════════════════════════════════════════════════ */

.sp-other-services {
  background: var(--sp-cream);
  padding: 120px 0;
}

/* New horizontal list layout */
.sp-other-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 48px;
}

.sp-other-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--sp-white);
  border: 1px solid rgba(14, 26, 43, .07);
  padding: 28px 32px;
  text-decoration: none;
  transition: background .3s, border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}

.sp-other-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--sp-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s;
}

.sp-other-item:hover::before {
  transform: scaleY(1);
}

.sp-other-item:hover {
  background: rgba(6, 16, 30, .03);
  border-color: rgba(200, 134, 10, .25);
  transform: translateX(4px);
}

.sp-other-item-num {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 11px;
  color: rgba(200, 134, 10, .5);
  letter-spacing: 2px;
  flex-shrink: 0;
  width: 32px;
}

.sp-other-item-icon {
  width: 52px;
  height: 52px;
  background: rgba(200, 134, 10, .08);
  border: 1px solid rgba(200, 134, 10, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--sp-accent);
  flex-shrink: 0;
}

.sp-other-item-body {
  flex: 1;
}

.sp-other-item-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--sp-navy);
  margin: 0 0 4px;
}

.sp-other-item-desc {
  font-size: 13px;
  color: rgba(14, 26, 43, .55);
  line-height: 1.5;
  margin: 0;
}

.sp-other-item-arrow {
  font-size: 20px;
  color: var(--sp-accent);
  flex-shrink: 0;
  transition: transform .3s;
}

.sp-other-item:hover .sp-other-item-arrow {
  transform: translateX(4px);
}

/* Legacy card styles — kept as fallback for other service pages */
.sp-other-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(6, 16, 30, .04);
  border: 1px solid rgba(14, 26, 43, .08);
  padding: 28px;
  text-decoration: none;
  transition: background .3s, border-color .3s, transform .3s;
  height: 100%;
}

.sp-other-card:hover {
  background: rgba(6, 16, 30, .08);
  border-color: rgba(200, 134, 10, .3);
  transform: translateY(-3px);
}

.sp-other-icon {
  font-size: 24px;
  color: var(--sp-accent);
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(200, 134, 10, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 134, 10, .15);
}

.sp-other-info {
  flex: 1;
}

.sp-other-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--sp-navy);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.sp-other-desc {
  font-size: 13px;
  color: rgba(14, 26, 43, .55);
  margin: 0;
  line-height: 1.5;
}

.sp-other-arrow {
  font-size: 16px;
  color: var(--sp-accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
  flex-shrink: 0;
}

.sp-other-card:hover .sp-other-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* Light-text variant of .sec-header for use on dark sections */
.sec-header-light .sec-label { color: var(--sp-accent); }
.sec-header-light .sec-title { color: var(--sp-white); }
.sec-header-light .sec-sub   { color: rgba(255, 255, 255, .45); }


/* ═══════════════════════════════════════════════════════════
   SECTION 7 — CTA  (dark navy)
   The global .sec-cta, .cta-* classes are already defined in
   hero-02-kinetic.css / style.css. The rules below are
   defensive supplements that fill any gaps and align the
   fallback values to this file's design tokens.
═══════════════════════════════════════════════════════════ */

.sec-cta {
  background: var(--sp-navy);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(200, 134, 10, .06), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: var(--sp-white);
  line-height: .95;
  margin: 0 0 24px;
}

.cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 48px;
}

.cta-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-actions > .btn {
  justify-content: center;
  width: max-content;
  max-width: 100%;
}

@media (max-width: 600px) {
  .cta-actions {
    flex-direction: column;
  }
}

.sec-label-gold {
  color: var(--sp-accent) !important;
}


/* ═══════════════════════════════════════════════════════════
   FOOTER EXTRAS
   Core footer markup re-uses .fse-footer, .footer-*, .fci-*,
   .social-link, .back-to-top — all defined in style.css.
   Only the classes below are not covered by style.css or
   hero-02-kinetic.css and need explicit declarations here.
═══════════════════════════════════════════════════════════ */

/* Top gradient rule */
.footer-top-border {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sp-accent), transparent);
}

/* Blueprint grid inside footer */
.footer-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--sp-accent);
  color: var(--sp-white);
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-name {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--sp-white);
  display: block;
}

.footer-logo-tag {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 9px;
  color: rgba(255, 255, 255, .4);
  letter-spacing: 2px;
  display: block;
}

.footer-about {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.8;
  margin: 0;
}

.footer-certs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 9px;
  color: rgba(255, 255, 255, .35);
  letter-spacing: 1.5px;
}

.footer-cert i {
  color: var(--sp-accent);
  font-size: 11px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s, color .25s;
  text-decoration: none;
  font-size: 15px;
}

.social-link:hover {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
}

/* Navigation link columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sp-white);
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--sp-accent);
}

/* Contact detail list */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* Footer call-to-action button */
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--sp-accent);
  color: var(--sp-white);
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s;
  margin-top: 8px;
}

.footer-cta-btn:hover {
  background: var(--sp-accent-dk);
  color: var(--sp-white);
}

/* Decorative divider bar */
.footer-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 60px 0 40px;
}

.footer-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .07);
}

.footer-divider-icon {
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .2);
  font-family: var(--font-head, 'Montserrat', sans-serif);
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

/* Bottom legal strip */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-left,
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-copy,
.footer-legal-link {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10px;
  color: rgba(255, 255, 255, .25);
  letter-spacing: 1.5px;
}

.footer-legal-link {
  text-decoration: none;
  transition: color .2s;
}

.footer-legal-link:hover {
  color: var(--sp-accent);
}

.footer-legal-sep {
  color: rgba(255, 255, 255, .15);
}

/* Fixed back-to-top button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--sp-accent);
  color: var(--sp-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .2s;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--sp-accent-dk);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* 1100px — tighten hero side padding, collapse tools to 1 col */
@media (max-width: 1100px) {
  .sp-hero-content {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 180px;
  }

  .sp-tools-grid {
    grid-template-columns: 1fr;
  }
}

/* 900px — reduce section padding, stat cells, case image heights, new grid collapses */
@media (max-width: 900px) {
  .sp-hero-content {
    padding-bottom: 160px;
  }

  .sp-stat {
    padding: 16px 20px;
  }

  .sp-case-img {
    min-height: 300px;
  }

  .sp-case-content {
    padding: 36px 32px;
  }

  .sp-overview,
  .sp-process,
  .sp-deliverables,
  .sp-case-study,
  .sp-other-services,
  .sec-cta {
    padding: 80px 0;
  }

  /* Section 2: collapse feature grid to single column */
  .sp-ov-features {
    grid-template-columns: 1fr;
  }

  /* Section 4: collapse deliverable grid to single column */
  .sp-del-grid {
    grid-template-columns: 1fr;
  }

  /* Section 4: collapse tools row to 2 columns */
  .sp-tools-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section 3: narrow timeline spine */
  .sp-proc-list::before {
    left: 32px;
  }

  .sp-proc-item {
    grid-template-columns: 72px 1fr;
  }
}

/* 600px — mobile hero, collapsed stat bar, tighter section spacing */
@media (max-width: 600px) {
  .sp-hero-title {
    font-size: clamp(48px, 14vw, 64px);
  }

  .sp-hero-stats {
    flex-wrap: wrap;
  }

  .sp-stat-div {
    display: none;
  }

  .sp-overview {
    padding: 80px 0;
  }

  .sp-case-content {
    padding: 28px 20px;
  }

  .sp-case-results {
    flex-wrap: wrap;
    gap: 16px;
  }

  .sp-case-result {
    border-right: none;
    padding-right: 0;
    min-width: 45%;
  }

  .sp-process,
  .sp-deliverables,
  .sp-case-study,
  .sp-other-services,
  .sec-cta {
    padding: 64px 0;
  }

  .footer-divider {
    margin: 40px 0 24px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }

  /* Section 2: shorter image on mobile */
  .sp-ov-img-wrap img {
    height: 300px;
  }

  /* Section 2: hide tech badge on very small screens */
  .sp-tech-badge {
    display: none;
  }

  /* Section 4: collapse tools to single column on mobile */
  .sp-tools-row {
    grid-template-columns: 1fr;
  }

  /* Section 6: tighter padding on horizontal list items */
  .sp-other-item {
    padding: 20px 20px;
    gap: 16px;
  }

  .sp-other-item-num {
    display: none;
  }
}
