/* ==========================================================================
   STANDAR PELAYANAN RSUD — MODERN HEALTHCARE PORTAL
   Pure CSS (Bootstrap Compatible) | WCAG 2.1 | Premium Medical Design
   ========================================================================== */

/* ── Design Tokens ─────────────────────────────────────────────────── */
:root {
  --sp-blue:        #0B5ED7;
  --sp-blue-dk:     #1565C0;
  --sp-blue-lt:     #EFF6FF;
  --sp-blue-mid:    #DBEAFE;
  --sp-teal:        #0EA5A8;
  --sp-teal-dk:     #0D9488;
  --sp-teal-lt:     #F0FDFA;
  --sp-bg:          #F8FAFC;
  --sp-white:       #FFFFFF;
  --sp-txt:         #0F172A;
  --sp-txt-2:       #334155;
  --sp-txt-3:       #64748B;
  --sp-border:      #E2E8F0;
  --sp-border-h:    #93C5FD;
  --sp-r-card:      20px;
  --sp-r-btn:       9999px;
  --sp-shadow:      0 4px 24px -4px rgba(15,23,42,.07);
  --sp-shadow-h:    0 16px 40px -8px rgba(11,94,215,.16);
  --sp-transition:  all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Base wrapper ────────────────────────────────────────────────────── */
.sp-page {
  background: var(--sp-bg);
  font-family: 'DM Sans','Outfit',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color: var(--sp-txt);
}

/* ═══════════════════════════════════════════════════════════════════════
   1.  HERO SECTION
═══════════════════════════════════════════════════════════════════════ */
.sp-hero {
  position: relative;
  background: linear-gradient(135deg,#fff 0%,#eff6ff 55%,#f0fdfa 100%);
  border-bottom: 1px solid var(--sp-border);
  padding: 56px 0 48px;
  overflow: hidden;
}

/* Subtle dot grid */
.sp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(11,94,215,.07) 1.5px, transparent 1.5px),
    radial-gradient(rgba(20,184,166,.05) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  pointer-events: none;
}

/* Glow blobs */
.sp-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.sp-hero-glow-a {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(59,130,246,.18) 0%, transparent 70%);
  top: -80px; right: 5%;
}
.sp-hero-glow-b {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(20,184,166,.14) 0%, transparent 70%);
  bottom: -60px; left: 8%;
}

.sp-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ── Badge ── */
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: var(--sp-r-btn);
  border: 1px solid;
  margin-bottom: 16px;
  line-height: 1.4;
}
.sp-badge-blue {
  background: #dbeafe;
  color: #1e40af;
  border-color: #bfdbfe;
}
.sp-badge-teal {
  background: #ccfbf1;
  color: #0f766e;
  border-color: #99f6e4;
}
.sp-badge-white {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

.sp-hero-h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--sp-txt);
  margin: 0 0 14px;
  line-height: 1.2;
}

.sp-hero-lead {
  font-size: 1.05rem;
  color: var(--sp-txt-2);
  line-height: 1.65;
  margin: 0 auto 24px;
  max-width: 640px;
}

/* ── Breadcrumb ── */
.sp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: .85rem;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226,232,240,.8);
  border-radius: 99px;
  padding: 6px 18px;
  list-style: none;
  margin: 0;
  flex-wrap: nowrap;
}
.sp-breadcrumb li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.sp-breadcrumb li + li::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 6px;
  flex-shrink: 0;
}
.sp-breadcrumb a {
  color: var(--sp-txt-3);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.sp-breadcrumb a:hover { color: var(--sp-blue); }
.sp-breadcrumb .bc-active {
  color: var(--sp-blue);
  font-weight: 700;
}
.sp-breadcrumb-home-icon {
  display: inline-block;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 5px;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════════════
   2.  INFORMATION HIGHLIGHTS (4 cards)
═══════════════════════════════════════════════════════════════════════ */
.sp-highlights {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-top: -28px;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}
@media (max-width: 1024px) { .sp-highlights { grid-template-columns: repeat(2,1fr); margin-top: 24px; } }
@media (max-width: 600px)  { .sp-highlights { grid-template-columns: 1fr; } }

.sp-hl-card {
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--sp-shadow);
  transition: var(--sp-transition);
}
.sp-hl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow-h);
  border-color: var(--sp-border-h);
}
.sp-hl-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  transition: var(--sp-transition);
}
.sp-hl-card:hover .sp-hl-icon { transform: scale(1.08); }
.hl-blue   { background: #eff6ff; color: #2563eb; }
.hl-teal   { background: #f0fdfa; color: #0d9488; }
.hl-amber  { background: #fffbeb; color: #d97706; }
.hl-rose   { background: #fff1f2; color: #e11d48; }
.sp-hl-texts { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sp-hl-label { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sp-txt-3); }
.sp-hl-val   { font-size: .95rem; font-weight: 800; color: var(--sp-txt); line-height: 1.25; }
.sp-hl-sub   { font-size: .72rem; color: var(--sp-txt-3); }

/* ═══════════════════════════════════════════════════════════════════════
   3.  SECTION HEADING (Content area)
═══════════════════════════════════════════════════════════════════════ */
.sp-section-head {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--sp-border);
}
.sp-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sp-blue);
  background: var(--sp-blue-lt);
  border: 1px solid var(--sp-blue-mid);
  border-radius: 99px;
  padding: 3px 12px;
  margin-bottom: 8px;
}
.sp-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--sp-txt);
  letter-spacing: -.02em;
  margin: 0 0 6px;
  line-height: 1.25;
}
.sp-section-sub {
  font-size: .9rem;
  color: var(--sp-txt-2);
  line-height: 1.55;
  margin: 0;
}

/* ── Search / Filter ── */
.sp-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sp-white);
  border: 1.5px solid var(--sp-border);
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  transition: border-color .2s, box-shadow .2s;
}
.sp-search-box:focus-within {
  border-color: var(--sp-blue);
  box-shadow: 0 0 0 3px rgba(11,94,215,.12);
}
.sp-search-box i { color: var(--sp-txt-3); font-size: 1rem; flex-shrink: 0; }
.sp-search-inp {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: .9rem;
  color: var(--sp-txt);
  font-family: inherit;
}
.sp-search-inp::placeholder { color: var(--sp-txt-3); }
.sp-search-clear {
  background: #f1f5f9;
  border: none;
  border-radius: 8px;
  padding: 3px 10px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--sp-txt-3);
  cursor: pointer;
  display: none;
  transition: background .2s;
}
.sp-search-clear:hover { background: #e2e8f0; }
.sp-search-clear.visible { display: block; }

/* ═══════════════════════════════════════════════════════════════════════
   4.  SERVICE CARDS
═══════════════════════════════════════════════════════════════════════ */
.sp-cards { display: flex; flex-direction: column; gap: 16px; }

.sp-card {
  background: var(--sp-white);
  border: 1.5px solid var(--sp-border);
  border-radius: var(--sp-r-card);
  box-shadow: var(--sp-shadow);
  overflow: hidden;
  transition: var(--sp-transition);
}
.sp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow-h);
  border-color: var(--sp-border-h);
}
.sp-card.sp-card-open {
  border-color: #60a5fa;
  box-shadow: 0 12px 32px -4px rgba(11,94,215,.18);
}

/* ── Card Header trigger ── */
.sp-card-hd {
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
  position: relative;
}
@media (max-width: 576px) { .sp-card-hd { padding: 18px 16px; } }

.sp-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sp-card-num {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--sp-blue);
  background: var(--sp-blue-lt);
  border: 1px solid var(--sp-blue-mid);
  border-radius: 8px;
  padding: 2px 10px;
}
.sp-type-badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 3px 11px;
  border: 1px solid;
}

.sp-card-body-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.sp-card-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.sp-card:hover .sp-card-ico { transform: scale(1.08) rotate(-2deg); }
.sp-card-texts { flex: 1; min-width: 0; }
.sp-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sp-txt);
  line-height: 1.4;
  margin: 0 0 6px;
  transition: color .2s;
}
.sp-card:hover .sp-card-title,
.sp-card.sp-card-open .sp-card-title { color: var(--sp-blue); }
.sp-card-snippet {
  font-size: .8rem;
  color: var(--sp-txt-3);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.sp-snippet-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sp-snippet-item i { font-size: .7rem; }

/* ── Card Footer / actions ── */
.sp-card-foot {
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.sp-btn-expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--sp-blue);
  background: var(--sp-blue-lt);
  border: 1px solid var(--sp-blue-mid);
  border-radius: 99px;
  padding: 6px 16px;
  cursor: pointer;
  transition: var(--sp-transition);
  font-family: inherit;
  line-height: 1;
}
.sp-btn-expand:hover { background: var(--sp-blue-mid); }
.sp-btn-expand .sp-chevron {
  display: inline-block;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230B5ED7' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform .3s ease;
  flex-shrink: 0;
}
.sp-card.sp-card-open .sp-btn-expand .sp-chevron { transform: rotate(180deg); }

.sp-btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--sp-txt-3);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: var(--sp-transition);
}
.sp-btn-detail:hover {
  background: #f8fafc;
  color: var(--sp-blue);
  transform: translateX(3px);
}
.sp-btn-detail i { font-size: .72rem; }

/* ═══════════════════════════════════════════════════════════════════════
   5.  EXPANDED ACCORDION BODY
═══════════════════════════════════════════════════════════════════════ */
.sp-card-body {
  display: none;
  background: #f8fafc;
  border-top: 1.5px solid var(--sp-border);
  padding: 24px;
  animation: sp-fade-in .25s ease;
}
@keyframes sp-fade-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 576px) { .sp-card-body { padding: 18px 16px; } }

.sp-detail-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}
@media (max-width: 768px) { .sp-detail-grid { grid-template-columns: 1fr; } }

.sp-detail-box {
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,.03);
}
.sp-detail-box-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.sp-detail-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}
.sp-detail-title {
  font-size: .85rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.sp-detail-content {
  font-size: .82rem;
  color: var(--sp-txt-2);
  line-height: 1.6;
}
.sp-detail-content p { margin-bottom: .4rem; }
.sp-detail-content p:last-child { margin-bottom: 0; }
.sp-detail-content ul, .sp-detail-content ol { padding-left: 1.25rem; margin-bottom: .4rem; }
.sp-detail-content li { margin-bottom: .25rem; }

.sp-body-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--sp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--sp-txt-3);
}
.sp-body-footer-link {
  color: var(--sp-blue);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sp-body-footer-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════
   6.  EMPTY / NOT FOUND STATE
═══════════════════════════════════════════════════════════════════════ */
.sp-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r-card);
}
.sp-empty-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}
.sp-empty h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.sp-empty p  { font-size: .85rem; color: var(--sp-txt-3); margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════════════════
   7.  SIDEBAR
═══════════════════════════════════════════════════════════════════════ */
.sp-sidebar, .sp-sidebar-sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 991px) { .sp-sidebar, .sp-sidebar-sticky { position: relative; top: auto; } }

.sp-sidebar-card {
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r-card);
  overflow: hidden;
  box-shadow: var(--sp-shadow);
}
.sp-sidebar-hd, .sp-sidebar-header {
  padding: 18px 20px;
  background: linear-gradient(135deg,#eff6ff 0%,#f0fdfa 100%);
  border-bottom: 1px solid var(--sp-border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sp-sidebar-hd-icon, .sp-sidebar-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--sp-white);
  color: var(--sp-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(11,94,215,.1);
  flex-shrink: 0;
}
.sp-sidebar-hd-texts, .sp-sidebar-header > div:last-child { min-width: 0; }
.sp-sidebar-hd-title, .sp-sidebar-title { font-size: 1rem; font-weight: 700; color: var(--sp-txt); margin: 0; line-height: 1.2; }
.sp-sidebar-hd-sub, .sp-sidebar-subtitle { font-size: .72rem; color: var(--sp-txt-3); margin: 0; }

.sp-sidebar-nav { padding: 12px 12px; }
.sp-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }

.sp-nav-item a, .sp-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border-left: 3px solid transparent;
  color: var(--sp-txt-2);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sp-transition);
}
.sp-nav-item a:hover, .sp-nav-link:hover {
  background: #f8fafc;
  color: var(--sp-blue);
  transform: translateX(3px);
}
.sp-nav-item.active a, .sp-nav-link.active {
  background: var(--sp-blue-lt);
  color: var(--sp-blue);
  border-left-color: var(--sp-blue);
  font-weight: 700;
}
.sp-nav-ic, .sp-nav-icon {
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
}
.sp-nav-txt, .sp-nav-text { flex: 1; }
.sp-nav-arrow {
  display: inline-block;
  width: 12px; height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform .2s;
  flex-shrink: 0;
}
.sp-nav-item a:hover .sp-nav-arrow,
.sp-nav-item.active a .sp-nav-arrow,
.sp-nav-link:hover .sp-nav-arrow,
.sp-nav-link.active .sp-nav-arrow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230B5ED7' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  transform: translateX(2px);
}

/* Help box */
.sp-help-box, .sp-sidebar-help-box {
  background: linear-gradient(145deg,#0f172a 0%,#1e3a8a 100%);
  border-radius: var(--sp-r-card);
  padding: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(15,23,42,.3);
}
.sp-help-box::before, .sp-sidebar-help-box::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(96,165,250,.15);
  top: -60px; right: -50px;
  pointer-events: none;
}
.sp-help-badge-text, .sp-help-badge {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 99px;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 10px;
}
.sp-help-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; color:#fff; }
.sp-help-desc  { font-size: .8rem; color: #94a3b8; line-height: 1.5; margin-bottom: 18px; }
.sp-help-actions { display: flex; flex-direction: column; gap: 8px; }
.sp-help-btn-wa, .sp-btn-help-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #10b981;
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 8px;
  transition: var(--sp-transition);
}
.sp-help-btn-wa:hover, .sp-btn-help-wa:hover { background: #059669; color: #fff; transform: translateY(-2px); }
.sp-help-btn-tel, .sp-btn-help-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 9px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sp-transition);
}
.sp-help-btn-tel:hover, .sp-btn-help-tel:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════
   8.  TRUST / KOMITMEN SECTION
═══════════════════════════════════════════════════════════════════════ */
.sp-trust {
  margin-top: 60px;
  padding: 48px 0 0;
  border-top: 1px solid var(--sp-border);
}
.sp-trust-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.sp-trust-h2 { font-size: 1.7rem; font-weight: 800; color: var(--sp-txt); margin: 8px 0 10px; }
.sp-trust-lead { font-size: .9rem; color: var(--sp-txt-2); line-height: 1.6; }

.sp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
@media (max-width: 1024px) { .sp-trust-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .sp-trust-grid { grid-template-columns: 1fr; } }

.sp-trust-card {
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r-card);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--sp-shadow);
  transition: var(--sp-transition);
}
.sp-trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sp-shadow-h);
  border-color: var(--sp-border-h);
}
.sp-trust-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}
.sp-trust-card h3 { font-size: 1rem; font-weight: 700; color: var(--sp-txt); margin-bottom: 8px; }
.sp-trust-card p  { font-size: .82rem; color: var(--sp-txt-2); line-height: 1.55; margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   9.  CTA SECTION
═══════════════════════════════════════════════════════════════════════ */
.sp-cta {
  margin-top: 48px;
  margin-bottom: 16px;
  border-radius: 24px;
  background: linear-gradient(135deg,#1e3a8a 0%,#0b5ed7 60%,#0ea5a8 100%);
  padding: 44px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(11,94,215,.4);
}
@media (max-width: 768px) { .sp-cta { padding: 32px 24px; } }
.sp-cta::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  top: -150px; right: -80px;
  pointer-events: none;
}
.sp-cta::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(20,184,166,.2);
  bottom: -80px; left: 20%;
  pointer-events: none;
}
.sp-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
@media (max-width: 900px) { .sp-cta-inner { flex-direction: column; text-align: center; gap: 24px; } }
.sp-cta-text { flex: 1; }
.sp-cta-title { font-size: 1.85rem; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.sp-cta-desc  { font-size: .9rem; color: #e0e7ff; line-height: 1.6; margin: 0; }
.sp-cta-btns  { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 640px) { .sp-cta-btns { flex-direction: column; width: 100%; } }
.sp-btn-cta-w {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--sp-blue);
  border-radius: 99px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transition: var(--sp-transition);
  white-space: nowrap;
}
.sp-btn-cta-w:hover { background: #f0f9ff; color: #1e40af; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.sp-btn-cta-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 99px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: var(--sp-transition);
  white-space: nowrap;
}
.sp-btn-cta-o:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════════════
   10.  PAGINATION
═══════════════════════════════════════════════════════════════════════ */
.sp-pagination {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.sp-pagination .pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.sp-pagination .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--sp-border);
  background: var(--sp-white);
  color: var(--sp-txt-2);
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  transition: var(--sp-transition);
}
.sp-pagination .page-item.active .page-link {
  background: var(--sp-blue);
  border-color: var(--sp-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(11,94,215,.3);
}
.sp-pagination .page-item .page-link:hover:not(.active) {
  background: #f1f5f9;
  color: var(--sp-blue);
  border-color: var(--sp-border-h);
}

/* ═══════════════════════════════════════════════════════════════════════
   11.  SCROLL REVEAL ANIMATION (lightweight)
═══════════════════════════════════════════════════════════════════════ */
.sp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.sp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════
   12.  TYPE-BADGE COLOUR VARIANTS
═══════════════════════════════════════════════════════════════════════ */
.tb-blue    { background:#dbeafe; color:#1e40af; border-color:#bfdbfe; }
.tb-emerald { background:#d1fae5; color:#065f46; border-color:#a7f3d0; }
.tb-rose    { background:#ffe4e6; color:#9f1239; border-color:#fecdd3; }
.tb-indigo  { background:#e0e7ff; color:#3730a3; border-color:#c7d2fe; }
.tb-amber   { background:#fef3c7; color:#92400e; border-color:#fde68a; }
.tb-pink    { background:#fce7f3; color:#9d174d; border-color:#fbcfe8; }
.tb-cyan    { background:#cffafe; color:#164e63; border-color:#a5f3fc; }
.tb-purple  { background:#ede9fe; color:#5b21b6; border-color:#ddd6fe; }
.tb-sky     { background:#e0f2fe; color:#075985; border-color:#bae6fd; }
.tb-teal    { background:#ccfbf1; color:#134e4a; border-color:#99f6e4; }
.tb-orange  { background:#ffedd5; color:#9a3412; border-color:#fed7aa; }
.tb-green   { background:#dcfce7; color:#14532d; border-color:#bbf7d0; }
.tb-slate   { background:#f1f5f9; color:#334155; border-color:#cbd5e1; }

/* ═══════════════════════════════════════════════════════════════════════
   13.  ICON COLOUR VARIANTS  (sp-card-ico / sp-hl-icon)
═══════════════════════════════════════════════════════════════════════ */
.ic-blue    { background:#eff6ff;  color:#2563eb; }
.ic-emerald { background:#ecfdf5;  color:#059669; }
.ic-rose    { background:#fff1f2;  color:#e11d48; }
.ic-indigo  { background:#eef2ff;  color:#4338ca; }
.ic-amber   { background:#fffbeb;  color:#d97706; }
.ic-pink    { background:#fdf2f8;  color:#db2777; }
.ic-cyan    { background:#ecfeff;  color:#0891b2; }
.ic-purple  { background:#f5f3ff;  color:#7c3aed; }
.ic-sky     { background:#f0f9ff;  color:#0284c7; }
.ic-teal    { background:#f0fdfa;  color:#0d9488; }
.ic-orange  { background:#fff7ed;  color:#ea580c; }
.ic-green   { background:#f0fdf4;  color:#16a34a; }
.ic-slate   { background:#f8fafc;  color:#475569; }

/* ═══════════════════════════════════════════════════════════════════════
   14.  RESPONSIVE TWEAKS
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .sp-hero-h1 { font-size: 1.9rem; }
  .sp-hero { padding: 40px 0 36px; }
  .sp-cta-title { font-size: 1.4rem; }
  .sp-trust-h2 { font-size: 1.4rem; }
  .sp-section-title { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .sp-hero-h1 { font-size: 1.6rem; }
  .sp-card-hd { padding: 16px; }
  .sp-card-body-row { flex-direction: row; gap: 12px; }
  .sp-card-ico { width: 42px; height: 42px; font-size: 1.1rem; border-radius: 11px; }
}

/* ─ Fix: ensure no overflow on small screens ─ */
.sp-page * { box-sizing: border-box; }
.sp-breadcrumb { max-width: 100%; overflow-x: auto; }

/* ═══════════════════════════════════════════════════════════════════════
   15.  ALUR PELAYANAN PASIEN — MODERN, ANIMATED & INTERACTIVE
═══════════════════════════════════════════════════════════════════════ */

/* ── Tab Navigation Bar ── */
.sp-alur-tabs-wrap {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 8px 30px -10px rgba(15,23,42,.08);
  margin-bottom: 28px;
}

.sp-alur-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 991px) {
  .sp-alur-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .sp-alur-nav {
    grid-template-columns: 1fr;
  }
}

.sp-alur-tab-btn {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all .28s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}
.sp-alur-tab-btn:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  transform: translateY(-2px);
}

.sp-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all .25s ease;
}

.sp-tab-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sp-tab-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--sp-txt);
  line-height: 1.25;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-tab-sub {
  font-size: .73rem;
  color: var(--sp-txt-3);
  font-weight: 500;
}

/* Tab Colors & Active States */
/* 1. Rajal (Blue) */
.tab-theme-rajal .sp-tab-icon {
  background: #eff6ff;
  color: #2563eb;
}
.tab-theme-rajal.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #0b5ed7 100%);
  border-color: #1d4ed8;
  box-shadow: 0 8px 20px -4px rgba(37,99,235,.35);
}
.tab-theme-rajal.active .sp-tab-icon {
  background: rgba(255,255,255,.2);
  color: #ffffff;
}
.tab-theme-rajal.active .sp-tab-title { color: #ffffff; }
.tab-theme-rajal.active .sp-tab-sub { color: rgba(255,255,255,.85); }

/* 2. Ranap (Emerald) */
.tab-theme-ranap .sp-tab-icon {
  background: #ecfdf5;
  color: #059669;
}
.tab-theme-ranap.active {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-color: #059669;
  box-shadow: 0 8px 20px -4px rgba(16,185,129,.35);
}
.tab-theme-ranap.active .sp-tab-icon {
  background: rgba(255,255,255,.2);
  color: #ffffff;
}
.tab-theme-ranap.active .sp-tab-title { color: #ffffff; }
.tab-theme-ranap.active .sp-tab-sub { color: rgba(255,255,255,.85); }

/* 3. IGD (Rose with Pulse) */
.tab-theme-igd .sp-tab-icon {
  background: #fff1f2;
  color: #e11d48;
  position: relative;
}
.tab-theme-igd.active {
  background: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
  border-color: #be123c;
  box-shadow: 0 8px 20px -4px rgba(225,29,72,.35);
}
.tab-theme-igd.active .sp-tab-icon {
  background: rgba(255,255,255,.2);
  color: #ffffff;
}
.tab-theme-igd.active .sp-tab-title { color: #ffffff; }
.tab-theme-igd.active .sp-tab-sub { color: rgba(255,255,255,.85); }

/* 4. Penunjang (Indigo) */
.tab-theme-penunjang .sp-tab-icon {
  background: #f5f3ff;
  color: #7c3aed;
}
.tab-theme-penunjang.active {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
  border-color: #6d28d9;
  box-shadow: 0 8px 20px -4px rgba(139,92,246,.35);
}
.tab-theme-penunjang.active .sp-tab-icon {
  background: rgba(255,255,255,.2);
  color: #ffffff;
}
.tab-theme-penunjang.active .sp-tab-title { color: #ffffff; }
.tab-theme-penunjang.active .sp-tab-sub { color: rgba(255,255,255,.85); }

/* Pulse animation for 24H IGD badge */
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225,29,72, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(225,29,72, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225,29,72, 0); }
}
.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e11d48;
  animation: pulseDot 2s infinite;
  margin-right: 4px;
}
.tab-theme-igd.active .pulse-indicator {
  background-color: #ffffff;
  animation: none;
}

/* ── Tab Content Container ── */
.sp-alur-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}
.sp-alur-pane.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ── Flow Overview Banner (Header in each tab) ── */
.sp-flow-overview {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 26px 28px;
  margin-bottom: 24px;
  box-shadow: var(--sp-shadow);
  position: relative;
  overflow: hidden;
}
.sp-flow-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.flow-rajal-border::before { background: linear-gradient(90deg, #2563eb, #38bdf8); }
.flow-ranap-border::before { background: linear-gradient(90deg, #059669, #34d399); }
.flow-igd-border::before   { background: linear-gradient(90deg, #e11d48, #fb7185); }
.flow-penunjang-border::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

.sp-flow-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .sp-flow-header-row { flex-direction: column; }
}

.sp-flow-title-group h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--sp-txt);
  margin: 6px 0 4px;
  letter-spacing: -.02em;
}
.sp-flow-title-group p {
  font-size: .88rem;
  color: var(--sp-txt-2);
  margin: 0;
  line-height: 1.5;
}

/* Horizontal Journey Steps Bar */
.sp-journey-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  gap: 8px;
  overflow-x: auto;
}
.sp-journey-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 130px;
}
.sp-j-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-weight: 800;
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-journey-step.active .sp-j-num {
  background: var(--sp-blue);
  color: #ffffff;
}
.sp-j-text {
  font-size: .8rem;
  font-weight: 700;
  color: var(--sp-txt-2);
  line-height: 1.2;
}
.sp-j-arrow {
  color: #cbd5e1;
  font-size: .75rem;
  flex-shrink: 0;
  margin-left: auto;
}
.sp-journey-step:last-child .sp-j-arrow {
  display: none;
}

/* ── Connected Timeline V2 ── */
.sp-timeline-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 20px;
}
.sp-timeline-v2::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 39px;
  width: 3px;
  background: linear-gradient(180deg, #3b82f6 0%, #93c5fd 50%, #cbd5e1 100%);
  border-radius: 2px;
}
@media (max-width: 575px) {
  .sp-timeline-v2 { padding-left: 0; }
  .sp-timeline-v2::before { left: 19px; }
}

.sp-timeline-step-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
@media (max-width: 575px) {
  .sp-timeline-step-row { gap: 14px; }
}

/* Timeline Node circle */
.sp-node-col {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.sp-node-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--sp-blue);
  color: var(--sp-blue);
  box-shadow: 0 4px 14px rgba(37,99,235,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  transition: all .25s ease;
}
.sp-timeline-step-row:hover .sp-node-circle {
  transform: scale(1.1);
  background: var(--sp-blue);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}

/* Timeline Card */
.sp-step-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--sp-shadow);
  flex: 1;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}
.sp-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -8px rgba(15,23,42,.12);
  border-color: #93c5fd;
}

.sp-step-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.sp-step-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-step-tag {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.sp-step-time {
  font-size: .75rem;
  color: #64748b;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sp-step-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.sp-step-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--sp-txt);
  margin-bottom: 8px;
  line-height: 1.35;
}
.sp-step-desc {
  font-size: .88rem;
  color: var(--sp-txt-2);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Bullet checklist inside step */
.sp-step-points {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sp-step-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .84rem;
  color: #334155;
  line-height: 1.45;
}
.sp-step-points li i {
  color: #10b981;
  font-size: .8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Callout Tip inside step */
.sp-step-tip {
  background: #f0fdfa;
  border-left: 3px solid #0d9488;
  border-radius: 0 10px 10px 0;
  padding: 8px 14px;
  font-size: .8rem;
  color: #0f766e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-step-tip i {
  font-size: .9rem;
  color: #0d9488;
  flex-shrink: 0;
}

/* ── Requirements Section ── */
.sp-req-section {
  margin-top: 36px;
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--sp-shadow);
}
.sp-req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .sp-req-grid { grid-template-columns: 1fr; }
}

.sp-req-card {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--sp-border);
  transition: all .2s ease;
}
.sp-req-card:hover {
  transform: translateY(-2px);
}
.sp-req-card-bpjs {
  background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #bbf7d0;
}
.sp-req-card-umum {
  background: linear-gradient(145deg, #eff6ff 0%, #ffffff 100%);
  border-color: #bfdbfe;
}
.sp-req-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sp-req-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.sp-req-icon-bpjs { background: #dcfce7; color: #15803d; }
.sp-req-icon-umum { background: #dbeafe; color: #1d4ed8; }

.sp-req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sp-req-list li {
  font-size: .84rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sp-req-list li i {
  font-size: .8rem;
  margin-top: 3px;
  color: #10b981;
}

/* ── FAQ Accordion ── */
.sp-faq-section {
  margin-top: 36px;
}
.sp-faq-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  transition: all .2s ease;
}
.sp-faq-card:hover {
  border-color: #93c5fd;
}
.sp-faq-btn {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--sp-txt);
  cursor: pointer;
}
.sp-faq-btn:focus { outline: none; }
.sp-faq-btn .faq-icon {
  font-size: .85rem;
  color: #64748b;
  transition: transform .25s ease;
}
.sp-faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--sp-blue);
}
.sp-faq-collapse {
  padding: 0 22px 18px;
  font-size: .86rem;
  color: var(--sp-txt-2);
  line-height: 1.6;
}

/* ── Action Toolbar (Print / Share / Online) ── */
.sp-action-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.sp-btn-outline-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
}
.sp-btn-outline-action:hover {
  background: #f8fafc;
  color: var(--sp-blue);
  border-color: #93c5fd;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════
   16.  MAKLUMAT PELAYANAN — MODERN MEDICAL CHARTER & SERVICE PLEDGE
═══════════════════════════════════════════════════════════════════════ */

/* ── Piagam Maklumat Card ── */
.sp-piagam-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 60%, #eff6ff 100%);
  border: 2px solid #99f6e4;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px -12px rgba(13,148,136,.14);
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}
.sp-piagam-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0d9488 0%, #0b5ed7 50%, #059669 100%);
}
.sp-piagam-watermark {
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 16rem;
  color: rgba(13,148,136,.04);
  pointer-events: none;
  line-height: 1;
}

.sp-piagam-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.sp-piagam-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: #ccfbf1;
  color: #0f766e;
  border: 1px solid #99f6e4;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sp-piagam-date {
  font-size: .8rem;
  color: var(--sp-txt-3);
  font-weight: 600;
}

.sp-piagam-quote-box {
  position: relative;
  padding: 10px 0 10px 24px;
  border-left: 4px solid #0d9488;
  margin-bottom: 24px;
}
.sp-piagam-quote {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.7;
  margin: 0;
  font-style: normal;
  letter-spacing: -.01em;
}
@media (max-width: 640px) {
  .sp-piagam-quote { font-size: 1rem; line-height: 1.6; }
}

.sp-piagam-signers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px dashed rgba(13,148,136,.25);
  flex-wrap: wrap;
  gap: 12px;
}
.sp-signer-title {
  font-size: .92rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.sp-signer-sub {
  font-size: .78rem;
  color: #64748b;
  margin: 0;
}
.sp-signer-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 700;
}

/* ── Janji Pelayanan Grid ── */
.sp-janji-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 36px;
}
@media (max-width: 991px) {
  .sp-janji-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .sp-janji-grid { grid-template-columns: 1fr; }
}

.sp-janji-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--sp-shadow);
  transition: all .28s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sp-janji-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(15,23,42,.12);
  border-color: #93c5fd;
}
.sp-janji-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
  transition: transform .25s ease;
}
.sp-janji-card:hover .sp-janji-icon {
  transform: scale(1.08);
}
.sp-janji-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--sp-txt);
  margin-bottom: 8px;
  line-height: 1.3;
}
.sp-janji-desc {
  font-size: .84rem;
  color: var(--sp-txt-2);
  line-height: 1.55;
  margin: 0;
}

/* ── Modern Table Card ── */
.sp-table-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--sp-shadow);
  margin-bottom: 36px;
}
.sp-table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}
.sp-table-modern thead th {
  background: #f8fafc;
  color: #334155;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 2px solid #e2e8f0;
  border-top: none;
}
.sp-table-modern thead th:first-child { border-radius: 12px 0 0 12px; }
.sp-table-modern thead th:last-child { border-radius: 0 12px 12px 0; }

.sp-table-modern tbody tr {
  transition: background .15s ease;
}
.sp-table-modern tbody tr:hover {
  background: #f0fdfa;
}
.sp-table-modern tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: .88rem;
  color: #1e293b;
  vertical-align: middle;
}
.sp-table-modern tbody tr:last-child td {
  border-bottom: none;
}

.sp-sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}
.sla-blue  { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.sla-rose  { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.sla-teal  { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
.sla-amber { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

/* ── Sanksi & Pengaduan Box ── */
.sp-sanksi-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-left: 5px solid #0b5ed7;
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 24px;
}
.sp-sanksi-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-sanksi-desc {
  font-size: .86rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}
.sp-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .sp-channel-grid { grid-template-columns: 1fr; }
}
.sp-channel-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
/* ═══════════════════════════════════════════════════════════════════════
   17.  STANDAR OPERASIONAL PROSEDUR (SOP) — CLINICAL & MEDICAL GOVERNANCE
═══════════════════════════════════════════════════════════════════════ */

/* ── SOP Card Grid ── */
.sp-sop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 36px;
}
@media (max-width: 768px) {
  .sp-sop-grid { grid-template-columns: 1fr; }
}

.sp-sop-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--sp-shadow);
  transition: all .28s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sp-sop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(15,23,42,.12);
  border-color: #93c5fd;
}
.sp-sop-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.sop-theme-medis::before       { background: linear-gradient(90deg, #2563eb, #38bdf8); }
.sop-theme-keperawatan::before { background: linear-gradient(90deg, #0d9488, #2dd4bf); }
.sop-theme-igd::before         { background: linear-gradient(90deg, #e11d48, #fb7185); }
.sop-theme-lab::before         { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.sop-theme-radiologi::before   { background: linear-gradient(90deg, #d97706, #fbbf24); }
.sop-theme-farmasi::before     { background: linear-gradient(90deg, #059669, #34d399); }

.sp-sop-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.sp-sop-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.sp-sop-card:hover .sp-sop-icon {
  transform: scale(1.08);
}
.sp-sop-badge {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
}

.sp-sop-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sp-txt);
  margin-bottom: 8px;
  line-height: 1.35;
}
.sp-sop-desc {
  font-size: .85rem;
  color: var(--sp-txt-2);
  line-height: 1.55;
  margin-bottom: 14px;
}

.sp-sop-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.sp-sop-list li {
  font-size: .82rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sp-sop-list li i {
  color: #0d9488;
  font-size: .75rem;
  flex-shrink: 0;
}

.sp-sop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: .76rem;
  color: #64748b;
  margin-top: auto;
}
.sp-sop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #bfdbfe;
  transition: all .2s ease;
}
.sp-sop-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-1px);
}

/* ── Tujuan SOP Section ── */
.sp-tujuan-card-wrap {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--sp-shadow);
  margin-bottom: 24px;
}
.sp-tujuan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
@media (max-width: 991px) {
  .sp-tujuan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .sp-tujuan-grid { grid-template-columns: 1fr; }
}

.sp-tujuan-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all .2s ease;
}
.sp-tujuan-item:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.sp-tujuan-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f0fdf4;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.sp-tujuan-text h5 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--sp-txt);
  margin-bottom: 3px;
  line-height: 1.3;
}
.sp-tujuan-text p {
  font-size: .78rem;
  color: var(--sp-txt-3);
  margin: 0;
  line-height: 1.45;
}
/* ═══════════════════════════════════════════════════════════════════════
   18.  PUBLIKASI SK & REGULASI — COLOR-CODED & ICON-RICH PORTAL
═══════════════════════════════════════════════════════════════════════ */

/* ── SK Filter Bar ── */
.sp-filter-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--sp-shadow);
  margin-bottom: 28px;
}
.sp-filter-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.sp-filter-input-wrap .sp-filter-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: .95rem;
  pointer-events: none;
}
.sp-filter-input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: .88rem;
  color: #1e293b;
  background: #f8fafc;
  transition: all .2s ease;
}
.sp-filter-input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  outline: none;
}
.sp-filter-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: .88rem;
  color: #1e293b;
  background: #f8fafc;
  transition: all .2s ease;
  cursor: pointer;
}
.sp-filter-select:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  outline: none;
}
.sp-btn-filter-submit {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b5ed7 0%, #1e40af 100%);
  color: #ffffff;
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(11,94,215,.25);
  transition: all .2s ease;
}
.sp-btn-filter-submit:hover {
  background: linear-gradient(135deg, #1565c0 0%, #1e3a8a 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11,94,215,.35);
  color: #ffffff;
}

/* ── Modern Color-Coded SK Cards ── */
.sp-sk-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  box-shadow: var(--sp-shadow);
  transition: all .28s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.sp-sk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(15,23,42,.12);
}
.sp-sk-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

/* Themes per Category */
.sk-color-blue::before    { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.sk-color-blue:hover     { border-color: #93c5fd; }
.sk-color-teal::before    { background: linear-gradient(90deg, #0d9488, #2dd4bf); }
.sk-color-teal:hover     { border-color: #99f6e4; }
.sk-color-emerald::before { background: linear-gradient(90deg, #059669, #34d399); }
.sk-color-emerald:hover  { border-color: #a7f3d0; }
.sk-color-amber::before   { background: linear-gradient(90deg, #d97706, #fbbf24); }
.sk-color-amber:hover    { border-color: #fde68a; }
.sk-color-rose::before    { background: linear-gradient(90deg, #e11d48, #fb7185); }
.sk-color-rose:hover     { border-color: #fecdd3; }
.sk-color-purple::before  { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.sk-color-purple:hover   { border-color: #ddd6fe; }

.sp-sk-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sp-sk-badge-category {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge-blue    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-teal    { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
.badge-emerald { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-amber   { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.badge-rose    { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.badge-purple  { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }

.sp-sk-badge-year {
  font-size: .74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sp-sk-body {
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.sp-sk-number {
  font-size: .78rem;
  font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  width: fit-content;
}
.num-blue    { background: #eff6ff; color: #1d4ed8; border-left: 3px solid #2563eb; }
.num-teal    { background: #f0fdfa; color: #0f766e; border-left: 3px solid #0d9488; }
.num-emerald { background: #ecfdf5; color: #047857; border-left: 3px solid #059669; }
.num-amber   { background: #fffbeb; color: #b45309; border-left: 3px solid #d97706; }
.num-rose    { background: #fff1f2; color: #be123c; border-left: 3px solid #e11d48; }
.num-purple  { background: #f5f3ff; color: #6d28d9; border-left: 3px solid #7c3aed; }

.sp-sk-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color .2s ease;
}
.sp-sk-card:hover .sp-sk-title {
  color: #0b5ed7;
}
.sp-sk-desc {
  font-size: .84rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.sp-sk-meta {
  font-size: .78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 8px;
}
.sp-sk-meta-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-weight: 700;
}

.sp-sk-footer {
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 8px;
}
.sp-btn-preview-sk {
  background: #0b5ed7;
  color: #ffffff;
  font-weight: 700;
  font-size: .82rem;
  border-radius: 10px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  border: none;
  transition: all .2s ease;
}
.sp-btn-preview-sk:hover {
  background: #1565c0;
  color: #ffffff;
  transform: translateY(-1px);
}
.sp-btn-download-sk {
  background: #ffffff;
  color: #0b5ed7;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  font-size: .82rem;
  border-radius: 10px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all .2s ease;
}
.sp-btn-download-sk:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  transform: translateY(-1px);
}

/* ── Cloud Archive Card ── */
.sp-cloud-card {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border: 2px solid #bfdbfe;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--sp-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}
.sp-cloud-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sp-cloud-ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
/* ═══════════════════════════════════════════════════════════════════════
   19.  LAYANAN PENGADUAN, SARAN & PUBLIKASI REGULASI LENGKAP
═══════════════════════════════════════════════════════════════════════ */

/* ── Alur Penanganan Pengaduan (4 Tahap) ── */
.sp-alur-aduan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 32px;
}
@media (max-width: 991px) {
  .sp-alur-aduan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .sp-alur-aduan-grid { grid-template-columns: 1fr; }
}

.sp-alur-aduan-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: var(--sp-shadow);
  position: relative;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}
.sp-alur-aduan-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 12px 28px -6px rgba(15,23,42,.1);
}
.sp-alur-aduan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sp-alur-aduan-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-alur-aduan-ico {
  font-size: 1.25rem;
}
.sp-alur-aduan-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--sp-txt);
  margin-bottom: 6px;
  line-height: 1.35;
}
.sp-alur-aduan-desc {
  font-size: .82rem;
  color: var(--sp-txt-2);
  line-height: 1.5;
  margin: 0;
}

/* ── Modern Form Pengaduan Card ── */
.sp-form-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 16px 40px -12px rgba(15,23,42,.08);
  margin-bottom: 36px;
}
@media (max-width: 575px) {
  .sp-form-card { padding: 20px 16px; }
}

.sp-form-group {
  margin-bottom: 20px;
}
.sp-form-label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 7px;
}
.sp-form-input,
.sp-form-select,
.sp-form-textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: .88rem;
  color: #1e293b;
  background: #f8fafc;
  transition: all .2s ease;
  font-family: inherit;
}
.sp-form-input:focus,
.sp-form-select:focus,
.sp-form-textarea:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  outline: none;
}
.sp-form-radio-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.sp-form-radio-card {
  flex: 1;
  min-width: 140px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .2s ease;
  font-size: .86rem;
  font-weight: 700;
  color: #334155;
}
.sp-form-radio-card:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}
.sp-form-radio-card.active {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
}

.sp-btn-submit-pengaduan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b5ed7 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: .95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 8px 24px rgba(11,94,215,.28);
}
.sp-btn-submit-pengaduan:hover {
  background: linear-gradient(135deg, #1565c0 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(11,94,215,.38);
}

/* ── SLA Respon Aduan Boxes ── */
.sp-sla-aduan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .sp-sla-aduan-grid { grid-template-columns: 1fr; }
}

.sp-sla-box {
  border-radius: 16px;
  padding: 18px;
  border: 1px solid;
  display: flex;
  flex-direction: column;
}
.sla-ringan { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.sla-sedang { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.sla-berat  { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }

.sp-sla-tag {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.sp-sla-time {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.sp-sla-desc {
  font-size: .78rem;
  opacity: .85;
  margin: 0;
  line-height: 1.45;
}

/* ── Publikasi Dokumen Pengaduan ── */
.sp-pub-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .sp-pub-doc-grid { grid-template-columns: 1fr; }
}

.sp-pub-doc-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--sp-shadow);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}
.sp-pub-doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(15,23,42,.1);
  border-color: #93c5fd;
}
.sp-pub-doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.sp-pub-doc-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--sp-txt);
  margin-bottom: 6px;
  line-height: 1.35;
}
.sp-pub-doc-desc {
  font-size: .82rem;
  color: var(--sp-txt-2);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

/* ── Multi-Channel Box ── */
.sp-channel-multi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 32px;
}
@media (max-width: 991px) {
  .sp-channel-multi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .sp-channel-multi-grid { grid-template-columns: 1fr; }
}

.sp-channel-box-v2 {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--sp-shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all .25s ease;
}
.sp-channel-box-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(15,23,42,.1);
  border-color: #93c5fd;
}
.sp-ch-icon-v2 {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
/* ═══════════════════════════════════════════════════════════════════════
   20.  JADWAL DOKTER SPESIALIS — MODERN CLINICAL SCHEDULE STYLES
═══════════════════════════════════════════════════════════════════════ */

/* ── Doctor Filter Bar ── */
.sp-doc-filter-wrap {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 12px;
}
@media (max-width: 768px) {
  .sp-doc-filter-wrap { grid-template-columns: 1fr; }
}

/* ── Doctor Card Grid ── */
.sp-doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 32px;
}
@media (max-width: 991px) {
  .sp-doctor-grid { grid-template-columns: 1fr; }
}

.sp-doctor-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  box-shadow: var(--sp-shadow);
  transition: all .28s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sp-doctor-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 16px 36px -8px rgba(15,23,42,.12);
}
.sp-doctor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0b5ed7, #06b6d4);
}

.sp-doc-card-body {
  padding: 22px 20px 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sp-doc-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.sp-doc-avatar {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15,23,42,.06);
}
.sp-doc-avatar-fallback {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #0b5ed7;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #bfdbfe;
}
.sp-doc-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #fff;
  border-radius: 50%;
}

.sp-doc-info {
  flex-grow: 1;
  min-width: 0;
}
.sp-doc-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .74rem;
  font-weight: 800;
  color: #0b5ed7;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 6px;
}
.sp-doc-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 6px;
}
.sp-doc-poliklinik {
  font-size: .8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

/* ── Schedule Chips ── */
.sp-doc-schedules {
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.sp-schedule-heading {
  font-size: .72rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sp-schedule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sp-schedule-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 700;
  color: #334155;
  transition: all .2s ease;
}
.sp-schedule-chip .chip-day {
  color: #0b5ed7;
  font-weight: 800;
}
.sp-schedule-chip .chip-time {
  color: #475569;
}
.sp-schedule-empty {
  font-size: .78rem;
  color: #94a3b8;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Doctor Card Action Footer ── */
.sp-doc-footer {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  margin-top: auto;
}
.sp-btn-booking {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b5ed7 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}
.sp-btn-booking:hover {
  background: linear-gradient(135deg, #1565c0 0%, #1e40af 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11,94,215,.25);
}
.sp-btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.sp-btn-detail:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #0b5ed7;
}






