/* ==========================================================================
   IDSpeaker v2 — Sertifikasi: daftar (/certification), kategori, dan detail program.
   Memakai ulang .ih*, .sp-chip(s), .sp-help*, .qa* dan .btn* dari berkas v2 lain.
   ========================================================================== */
[x-cloak] { display: none !important; }

/* ---------- Header ---------- */
.ih--cert { padding-bottom: 126px; }
.ih--cert .ih__grid { grid-template-columns: minmax(0, 880px); }
.ih--cert .ih__title { text-wrap: balance; font-size: clamp(36px, 4.5vw, 64px); }
.ih--cert .ih__sub { max-width: 680px; }
.ih--cert .ih__cta { margin-top: 30px; }
.ih--cert-sub { padding-bottom: 100px; }
.ih--cert-sub .ih__title, .cv-title { margin-top: 16px; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.08; }
.cv-back { display: flex; width: fit-content; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.cv-back svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.cv-back:hover { color: var(--red); }
.cv-back:hover svg { transform: translateX(-4px); }
.cv-badge { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 18px 8px 14px; border-radius: 999px; background: var(--c, var(--red)); color: #fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-weight: 800; font-size: 14.5px; }
.cv-badge svg { width: 17px; height: 17px; }

/* ---------- Penanda & judul bagian ---------- */
.cv-label { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--sun); border: 2.5px solid var(--ink); font-weight: 800; font-size: 13.5px; letter-spacing: .02em; rotate: -1.5deg; color: var(--ink); }
.cv-label svg { width: 16px; height: 16px; }
.cv-label--white { background: #fff; }
.cv-h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.cv-lead { margin-top: 14px; max-width: 660px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.cv-sec { padding: 78px 0 10px; }
.cv-sec--first { padding-top: 24px; }
.cv-head { display: grid; justify-items: start; margin-bottom: 40px; }
#programs { scroll-margin-top: 96px; }

/* ---------- Mitra ---------- */
.cv-partners-sec { position: relative; z-index: 3; margin-top: -70px; }
.cv-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 36px; padding: 22px 34px; background: #fff; border: var(--stk); border-radius: var(--r-xl); box-shadow: 8px 8px 0 var(--ink); }
.cv-partners__label { font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.cv-partners__logos { display: inline-flex; align-items: center; gap: 30px; }
.cv-partners__logos img { height: 52px; width: auto; display: block; }
.cv-partners__logos img.is-inopi { height: 58px; }
.cv-partners__logos i { width: 3px; height: 38px; border-radius: 2px; background: var(--line); }

/* ---------- Keunggulan ---------- */
.cv-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cv-why__card { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 30px; background: #fff; border: 2.5px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.cv-why__card:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: translate(-3px, -4px); }
.cv-why__ico { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 22px; background: var(--s); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); margin-bottom: 8px; }
.cv-why__ico svg { width: 30px; height: 30px; stroke-width: 2.2; }
.cv-why__card:nth-child(odd) .cv-why__ico { rotate: -4deg; }
.cv-why__card:nth-child(even) .cv-why__ico { rotate: 4deg; }
.cv-why__card h3 { font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.cv-why__card p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Kartu program ---------- */
.cv-chips { padding: 0 2px 22px; }
.cv-chips .sp-chip em { font-style: normal; font-size: 12.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: rgba(26, 10, 12, .09); }
.cv-chips .sp-chip.is-on em { background: rgba(255, 255, 255, .25); }
.cv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.cv-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 22px; background: #fff; border: 2.5px solid var(--line); border-radius: var(--r-lg); animation: cardIn .65s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.cv-card[hidden] { display: none; }
.cv-card:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: translate(-3px, -4px); }
.cv-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cv-card__ico { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: var(--s); color: var(--c); border: 2.5px solid var(--ink); }
.cv-card__ico svg { width: 26px; height: 26px; stroke-width: 2.2; }
.cv-card__badge { min-width: 0; padding: 5px 13px; border-radius: 999px; background: var(--s); font-weight: 800; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-card__title { margin-top: 4px; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; }
.cv-card__desc { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.cv-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 16px; border-top: 2.5px dashed var(--line); }
.cv-card__price { font-weight: 800; font-size: 17px; }
.cv-card__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--red); }
.cv-card__go svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.cv-card:hover .cv-card__go svg { transform: translateX(5px); }

/* ---------- Paginasi ---------- */
.cv-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 42px; }
.cv-pager:empty { display: none; }
.cv-pager__btn { min-width: 46px; height: 46px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 16px; background: #fff; border: 2.5px solid var(--ink); font-weight: 800; font-size: 15.5px; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.cv-pager__btn:hover:not(:disabled):not(.is-active) { background: var(--sun); transform: translateY(-2px); }
.cv-pager__btn.is-active { background: var(--red); color: #fff; box-shadow: 3px 3px 0 var(--ink); cursor: default; }
.cv-pager__btn:disabled { opacity: .35; cursor: not-allowed; }
.cv-pager__btn svg { width: 18px; height: 18px; }

/* ---------- Alur lima langkah ---------- */
.cv-steps { list-style: none; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.cv-steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 38px; border-top: 3px dashed rgba(26, 10, 12, .28); }
.cv-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.cv-step__ico { position: relative; z-index: 1; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); border: var(--stk); box-shadow: 4px 4px 0 var(--ink); }
.cv-step:nth-child(even) .cv-step__ico { background: #bfeaff; }
.cv-step:nth-child(3n) .cv-step__ico { background: #c9f5df; }
.cv-step__ico svg { width: 32px; height: 32px; stroke-width: 2.2; }
.cv-step__no { position: absolute; z-index: 2; left: calc(50% + 22px); top: -8px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; border: 2.5px solid var(--ink); font-weight: 800; font-size: 14px; }
.cv-step__txt { display: grid; justify-items: center; gap: 6px; margin-top: 8px; min-width: 0; }
.cv-step h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.cv-step p { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 22ch; }

/* ---------- Program terpadu ---------- */
.cv-banner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding: 48px 48px 48px 52px; background: var(--grad-hero); color: #fff; border: var(--stk); border-radius: var(--r-xl); box-shadow: 8px 8px 0 var(--ink); }
.cv-banner__title { margin-top: 16px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.cv-banner__sub { margin-top: 12px; font-size: 18px; font-weight: 600; opacity: .95; }
.cv-banner__list { list-style: none; display: grid; gap: 10px; margin: 24px 0 30px; }
.cv-banner__list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; font-size: 16.5px; line-height: 1.4; }
.cv-banner__list svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #fff; color: var(--red); margin-top: 1px; }
.cv-banner .btn--primary { background: #fff; color: var(--red); }
.cv-banner .btn--primary:hover { background: var(--sun); color: var(--ink); }
.cv-banner__media { rotate: 2deg; border: var(--stk); border-radius: 28px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); background: #fff; aspect-ratio: 16 / 10.5; }
.cv-banner__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- FAQ ---------- */
.cv-faq { display: grid; gap: 14px; max-width: 860px; }

/* ---------- Kosong ---------- */
.cv-empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 60px 24px; border: 3px dashed var(--line); border-radius: var(--r-lg); }
.cv-empty__ico { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 26px; background: var(--s); color: var(--c); border: var(--stk); box-shadow: 4px 4px 0 var(--ink); }
.cv-empty__ico svg { width: 34px; height: 34px; }
.cv-empty h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.cv-empty p { max-width: 480px; font-size: 16.5px; font-weight: 600; color: var(--ink-2); }
.cv-empty__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* ---------- Alur dari admin (kartu bernomor) ---------- */
.cv-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cv-flow--tight { grid-template-columns: 1fr; gap: 14px; }
.cv-flow__item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 20px 24px; background: #fff; border: 2.5px solid var(--line); border-radius: 24px; transition: border-color .2s, box-shadow .3s var(--ease); }
.cv-flow__item:hover { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.cv-flow__no { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); font-weight: 800; font-size: 20px; }
.cv-flow__item:nth-child(even) .cv-flow__no { background: #bfeaff; }
.cv-flow__item:nth-child(3n) .cv-flow__no { background: #c9f5df; }
.cv-flow__item h3 { font-size: 18.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.cv-flow__item p { margin-top: 4px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Detail program ---------- */
.cv-stats-sec { position: relative; z-index: 3; margin-top: -62px; }
.cv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; background: #fff; border: var(--stk); border-radius: var(--r-xl); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.cv-stat { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-left: 2.5px dashed var(--line); min-width: 0; }
.cv-stat:first-child { border-left: 0; }
.cv-stat__ico { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--sun); border: 2.5px solid var(--ink); }
.cv-stat:nth-child(2) .cv-stat__ico { background: #bfeaff; }
.cv-stat:nth-child(3) .cv-stat__ico { background: #c9f5df; }
.cv-stat:nth-child(4) .cv-stat__ico { background: #ffd0d6; }
.cv-stat__ico svg { width: 24px; height: 24px; stroke-width: 2.2; }
.cv-stat > div { display: grid; gap: 1px; min-width: 0; }
.cv-stat b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.cv-stat span:last-child { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }

.cv-detail { padding: 56px 0 24px; }
.cv-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.cv-detail__main { display: grid; gap: 44px; }
.cv-block h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.cv-count { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 0; }
.cv-block__lead { margin-top: 14px; font-size: 18px; line-height: 1.8; }
.cv-block__sub { margin: 8px 0 20px; font-size: 16.5px; color: var(--ink-2); }
.cv-check { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cv-check li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; background: #fff; border: 2.5px solid var(--line); border-radius: 18px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.cv-check svg, .cv-tick svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--mint); color: var(--ink); margin-top: 1px; }
.cv-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-tags span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 9px 14px; border-radius: 999px; background: #fff; border: 2.5px solid var(--ink); font-weight: 700; font-size: 15px; }
.cv-tags svg { width: 16px; height: 16px; color: var(--red); }
.cv-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cv-mini { padding: 26px 26px 24px; background: #fff; border: var(--stk); border-radius: var(--r-lg); box-shadow: 5px 5px 0 var(--ink); }
.cv-mini--accent { background: var(--sun); }
.cv-mini h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.cv-mini h3 svg { width: 22px; height: 22px; color: var(--red); }
.cv-tick { list-style: none; display: grid; gap: 11px; }
.cv-tick li { display: flex; align-items: flex-start; gap: 11px; font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.cv-mini--accent .cv-tick svg { background: #fff; }

/* kartu harga (sidebar) */
.cv-detail__side { position: sticky; top: 104px; }
.cv-buy { background: #fff; border: var(--stk); border-radius: var(--r-lg); box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.cv-buy__head { padding: 24px 26px 22px; background: var(--s, var(--sun)); border-bottom: var(--stk); }
.cv-buy__cat { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; }
.cv-buy__cat svg { width: 16px; height: 16px; color: var(--c, var(--red)); }
.cv-buy__price { margin-top: 10px; font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.cv-buy__price small { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--ink-2); }
.cv-buy__body { display: grid; gap: 14px; padding: 24px 26px 26px; }
.cv-buy__meta { list-style: none; display: grid; gap: 10px; }
.cv-buy__meta li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.cv-buy__meta svg { flex: none; width: 18px; height: 18px; color: var(--red); margin-top: 2px; }
.cv-buy__meta b { font-weight: 800; }
.cv-buy .btn { width: 100%; justify-content: center; }
.cv-buy__incl { display: grid; gap: 12px; margin-top: 4px; padding-top: 18px; border-top: 2.5px dashed var(--line); }
.cv-buy__incl > b { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cv-buy__trust { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--paper); border: 2.5px solid var(--line); }
.cv-buy__trust img { height: 38px; width: auto; flex: none; }
.cv-buy__trust span { font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--ink-2); }
.cv-buy__note { font-size: 14px; font-weight: 600; color: var(--ink-2); text-align: center; }

.page-cert-show main > section:last-of-type, .page-cert-sub main > section:last-of-type { margin-bottom: 0; }
.cv-cta { padding-top: 84px; }

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
  .cv-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .cv-steps::before { display: none; }
  .cv-banner { grid-template-columns: 1fr; padding: 40px 34px; }
  .cv-detail__grid { grid-template-columns: 1fr; gap: 36px; }
  .cv-detail__side { position: static; }
  .ih--cert .ih__deco { display: none; }
}
@media (max-width: 760px) {
  .cv-check, .cv-two, .cv-flow { grid-template-columns: 1fr; }
  .cv-steps { grid-template-columns: 1fr; text-align: left; }
  .cv-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; }
  .cv-step__ico { flex: none; width: 60px; height: 60px; }
  .cv-step__ico svg { width: 26px; height: 26px; }
  .cv-step__no { left: 40px; top: -6px; width: 26px; height: 26px; font-size: 12.5px; }
  .cv-step__txt { margin-top: 2px; justify-items: start; flex: 1; }
  .cv-step p { max-width: none; }
  .cv-stat { border-left: 0; border-top: 2.5px dashed var(--line); }
  .cv-stat:first-child { border-top: 0; }
}
@media (max-width: 640px) {
  .ih--cert { padding-bottom: 112px; }
  .cv-sec { padding-top: 60px; }
  .cv-head { margin-bottom: 28px; }
  .cv-why, .cv-grid { grid-template-columns: 1fr; }
  .cv-partners { padding: 20px 20px; border-radius: 30px; box-shadow: 5px 5px 0 var(--ink); }
  .cv-partners__logos img { height: 42px; }
  .cv-partners__logos img.is-inopi { height: 48px; }
  .cv-banner { padding: 30px 22px; border-radius: 32px; box-shadow: 5px 5px 0 var(--ink); }
  .cv-buy__price { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .cv-card { animation: none !important; } }
