/* ===== SERVICES PAGE SPECIFIC STYLES ===== */

/* Service nav bar */
.service-nav-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 64px;
  z-index: 90;
}

.service-nav-bar .container {
  display: flex;
  gap: 0;
}

.service-nav-item {
  padding: 14px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-500);
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.service-nav-item:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* Service section layout */
.service-section { padding: 72px 0; }

.service-header { margin-bottom: 48px; }

.service-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin: 12px 0 16px;
  line-height: 1.25;
}

.service-lead {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 780px;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.service-content--reversed {
  grid-template-columns: 1fr 1fr;
}

/* Service badge override */
.service-badge {
  display: inline-block;
  background: var(--blue, #2563EB);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.service-badge--purple {
  background: #7C3AED;
}

/* Info blocks */
.info-block { margin-bottom: 28px; }

.info-block h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.info-block p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* Service list */
.service-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  padding: 10px 14px 10px 36px;
  position: relative;
  font-size: 0.93rem;
  color: var(--gray-700);
  background: var(--gray-50);
  border-radius: 6px;
  border-left: 3px solid var(--gray-200);
  line-height: 1.55;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 12px;
  color: var(--accent);
  font-weight: 700;
}

/* Process steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.process-step strong {
  display: block;
  font-size: 0.93rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* Service CTA button */
.service-cta {
  margin-top: 32px;
  display: inline-block;
}

/* ==============================
   INTERACTIVE DASHBOARD (Service 1)
============================== */
.service-visual-wrap {
  position: sticky;
  top: 130px;
}

.interactive-dashboard {
  background: var(--navy);
  border-radius: 14px;
  padding: 24px;
  color: white;
  box-shadow: 0 8px 40px rgba(15,33,64,0.25);
}

.idash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.idash-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.idash-toggle {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 3px;
  gap: 2px;
}

.toggle-btn {
  padding: 5px 14px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.toggle-btn.active {
  background: var(--blue);
  color: white;
}

.idash-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.ibar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 6px;
  padding: 6px 8px;
  transition: background 0.15s;
}

.ibar-row:hover { background: rgba(255,255,255,0.06); }
.ibar-row.selected { background: rgba(255,255,255,0.1); }

.ibar-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  width: 100px;
  flex-shrink: 0;
  text-align: right;
}

.ibar-track {
  flex: 1;
  height: 20px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
}

.ibar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

.ibar-pct {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

.idash-detail {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 14px 16px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s;
}

.idash-detail p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  text-align: center;
  margin: 0;
}

.detail-source {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.detail-pct {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.detail-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.idash-note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ==============================
   INTERACTIVE AUDIT MAP (Service 2)
============================== */
.audit-map {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.audit-map-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.audit-map-subtitle {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.audit-domains {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.audit-domain {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.18s;
  background: var(--white);
}

.audit-domain:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(26,86,219,0.04);
}

.audit-domain.active {
  font-weight: 700;
}

.domain-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.audit-detail-box {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px;
  min-height: 100px;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.audit-detail-box p {
  color: var(--gray-500);
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
}

.audit-detail-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.audit-detail-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.audit-detail-list li {
  font-size: 0.82rem;
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.audit-detail-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  font-weight: 900;
  color: var(--gray-500);
}

/* Responsive */
@media (max-width: 900px) {
  .service-content,
  .service-content--reversed {
    grid-template-columns: 1fr;
  }

  .service-visual-wrap {
    position: static;
    order: -1;
  }

  .service-nav-bar { display: none; }
  .service-title { font-size: 1.5rem; }
}
