/* ══ ACG IIS — Service Detail Pages ══════════════════════════════════════════ */

/* ── Layout ──────────────────────────────────────────────────────────────── */
.svc-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.svc-body { min-width: 0; }

/* ── Hero row ────────────────────────────────────────────────────────────── */
.svc-hero-row {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}

/* ── Section headers ─────────────────────────────────────────────────────── */
.svc-section-header {
  background: var(--slate-dk); color: var(--gold);
  padding: 10px 16px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin: 36px 0 20px; border-left: 4px solid var(--gold);
}

/* ── Intro / body text ───────────────────────────────────────────────────── */
.svc-lead {
  font-size: 16px; color: var(--text); line-height: 1.75;
  margin-bottom: 16px; max-width: none;
}
.svc-p {
  font-size: 14.5px; color: var(--muted); line-height: 1.75;
  margin-bottom: 14px; max-width: none;
}

/* ── Approach banner ─────────────────────────────────────────────────────── */
.svc-approach {
  background: rgba(200,150,12,0.06);
  border: 1px solid rgba(200,150,12,0.25);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin-bottom: 36px;
  font-size: 14px; color: var(--text); line-height: 1.7;
}
.svc-approach strong { color: var(--slate-dk); }

/* ── Process steps ───────────────────────────────────────────────────────── */
.svc-process { margin: 0 0 36px; }
.svc-step {
  display: flex; gap: 20px; margin-bottom: 20px; align-items: flex-start;
}
.svc-step-num {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--slate-dk); border: 1px solid rgba(200,150,12,0.40);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--gold);
  font-family: var(--font-sans);
}
.svc-step-body { padding-top: 4px; }
.svc-step-title {
  font-size: 14px; font-weight: 700; color: var(--slate-dk); margin-bottom: 4px;
}
.svc-step-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── Deliverables list ───────────────────────────────────────────────────── */
.svc-list { list-style: none; padding: 0; margin: 0 0 32px; }
.svc-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text); line-height: 1.65; padding: 6px 0;
  border-bottom: 1px solid var(--rule);
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before {
  content: ''; width: 6px; height: 6px; min-width: 6px;
  background: var(--gold); border-radius: 50%; margin-top: 8px;
}

/* ── Standards table ─────────────────────────────────────────────────────── */
.svc-table {
  width: 100%; border-collapse: collapse; margin: 0 0 32px; font-size: 13.5px;
}
.svc-table th {
  background: var(--slate-dk); color: var(--white);
  padding: 10px 14px; text-align: left; font-weight: 700; font-size: 13px;
}
.svc-table td {
  padding: 10px 14px; border: 1px solid var(--rule);
  color: var(--text); vertical-align: top; line-height: 1.55;
}
.svc-table tr:nth-child(even) td { background: var(--bg); }
.svc-table td:first-child { font-weight: 600; color: var(--slate-dk); white-space: nowrap; }

/* ── Who this is for ─────────────────────────────────────────────────────── */
.svc-who-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  margin-bottom: 36px;
}
.svc-who-card {
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: 20px;
  border-top: 3px solid var(--gold);
}
.svc-who-card-title {
  font-size: 13px; font-weight: 700; color: var(--slate-dk); margin-bottom: 8px;
}
.svc-who-card-body {
  font-size: 12.5px; color: var(--muted); line-height: 1.6; max-width: none;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.svc-sidebar { position: sticky; top: 96px; }
.svc-sidebar-card {
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px;
}
.svc-sidebar-card h4 {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.svc-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--radius);
  font-size: 13px; color: var(--text); text-decoration: none;
  transition: background .15s, color .15s; margin-bottom: 2px;
}
.svc-nav-link:hover { background: var(--white); color: var(--gold); }
.svc-nav-link.active {
  background: var(--white); color: var(--gold);
  font-weight: 600; border-left: 2px solid var(--gold);
}
.svc-nav-link i { width: 16px; color: var(--gold); font-size: 12px; }

/* ── Mobile tab bar ──────────────────────────────────────────────────────── */
.svc-mobile-nav {
  display: none; position: sticky; top: 68px; z-index: 90;
  background: var(--bg); border-bottom: 1px solid var(--rule);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.svmn-scroll {
  display: flex; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; padding: 0 40px;
}
.svmn-scroll::-webkit-scrollbar { display: none; }
.svmn-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 14px; white-space: nowrap; flex-shrink: 0;
  font-size: 13px; font-weight: 500; color: var(--text);
  text-decoration: none; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.svmn-tab i { color: var(--gold); font-size: 11px; }
.svmn-tab:hover { color: var(--gold); }
.svmn-tab.active { color: var(--gold); font-weight: 700; border-bottom-color: var(--gold); }

/* ════ RESPONSIVE ════════════════════════════════════════════════════════════ */
@media(max-width:960px) {
  .svc-layout { grid-template-columns: 1fr; gap: 0; }
  .svc-sidebar { display: none; }
  .svc-mobile-nav { display: block; }
  .svmn-scroll { padding: 0 24px; }
}

@media(max-width:768px) {
  .svc-p, .svc-lead { text-align: left; }
  .svc-who-grid { grid-template-columns: 1fr; }
  .svc-table {
    display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .svc-table thead, .svc-table tbody { min-width: 460px; display: table; width: 100%; }
  .svc-body { padding-top: 28px; }
}

@media(max-width:640px) {
  .svc-hero-row { flex-direction: column; gap: 16px; }
  .svc-hero-row > a.btn { width: 100%; justify-content: center; }
  .svc-who-grid { grid-template-columns: 1fr; }
  .svc-table,
  .svc-table thead, .svc-table tbody,
  .svc-table tr, .svc-table th, .svc-table td { display: block; width: 100%; box-sizing: border-box; }
  .svc-table thead { display: none; }
  .svc-table tr {
    border: 1px solid var(--rule); border-radius: var(--radius);
    margin-bottom: 10px; overflow: hidden; background: var(--white);
  }
  .svc-table td { border: none; border-bottom: 1px solid var(--rule); padding: 10px 14px; }
  .svc-table td:last-child { border-bottom: none; }
  .svc-table td:first-child {
    background: var(--slate-dk); color: var(--gold);
    font-size: 12px; font-weight: 700; padding: 9px 14px; white-space: normal;
  }
  .svc-table tr:nth-child(even) td { background: var(--white); }
  .svc-table tr:nth-child(even) td:first-child { background: var(--slate-dk); }
}

@media(max-width:480px) {
  .svmn-scroll { padding: 0 16px; }
}
