/* KAMI Kompeten - gaya komponen (CSS biasa, bekerja dengan Tailwind CDN maupun hasil build) */
:root{
  --navy:#12315B; --navy-900:#0B1F3A; --brand:#2563EB; --gold:#D9A441;
  --ink:#0F172A; --muted:#475569; --line:#E2E8F0; --soft:#F5F8FC;
}
html{scroll-behavior:smooth}
body{font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:4px}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--gold);color:var(--navy);padding:.6rem 1rem;font-weight:700;z-index:100}
.skip-link:focus{left:.5rem;top:.5rem}
.container-kk{width:100%;max-width:72rem;margin-inline:auto;padding-inline:1.25rem}
@media(min-width:768px){.container-kk{padding-inline:2rem}}
.section-y{padding-block:3.5rem}
@media(min-width:768px){.section-y{padding-block:5.5rem}}

/* Tombol */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:.75rem;padding:.8rem 1.35rem;font-weight:700;font-size:.95rem;line-height:1.2;transition:background-color .15s,color .15s,border-color .15s;cursor:pointer;border:2px solid transparent;text-align:center}
.btn-primary{background:var(--brand);color:#fff}.btn-primary:hover{background:#1D4ED8}
.btn-gold{background:var(--gold);color:var(--navy-900)}.btn-gold:hover{background:#E4B45A}
.btn-navy{background:var(--navy);color:#fff}.btn-navy:hover{background:var(--navy-900)}
.btn-outline{border-color:var(--navy);color:var(--navy);background:transparent}.btn-outline:hover{background:var(--navy);color:#fff}
.btn-outline-light{border-color:rgba(255,255,255,.55);color:#fff}.btn-outline-light:hover{background:#fff;color:var(--navy)}
.btn[disabled]{opacity:.6;cursor:not-allowed}

/* Formulir */
.label{display:block;margin-bottom:.35rem;font-size:.875rem;font-weight:600;color:var(--navy)}
.field{width:100%;border:1.5px solid #CBD5E1;border-radius:.65rem;background:#fff;padding:.7rem .9rem;font:inherit;font-size:.95rem;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.field:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(37,99,235,.2)}
.field[aria-invalid="true"]{border-color:#DC2626}
.field-error{min-height:0;margin-top:.3rem;font-size:.8rem;color:#B91C1C}
.field-error:empty{display:none}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.flash{border-radius:.65rem;padding:.8rem 1rem;font-size:.9rem;margin-bottom:1rem}
.flash-success{background:#ECFDF5;color:#065F46;border:1px solid #A7F3D0}
.flash-error{background:#FEF2F2;color:#991B1B;border:1px solid #FECACA}

/* Teks artikel / deskripsi program */
.prose-kk{max-width:68ch;font-size:1.05rem;line-height:1.8;color:#1E293B}
.prose-kk p{margin:0 0 1.15rem}
.prose-kk h2{margin:2.2rem 0 .8rem;font-size:1.5rem;line-height:1.3;font-weight:800;color:var(--navy)}
.prose-kk h3{margin:1.8rem 0 .6rem;font-size:1.2rem;font-weight:800;color:var(--navy)}
.prose-kk ul{margin:0 0 1.2rem;padding-left:1.3rem;list-style:disc}
.prose-kk li{margin-bottom:.4rem}

/* Penanda data belum terverifikasi */
.placeholder-tag{display:inline-block;border:1.5px dashed #B88A2B;background:#FFF8E6;color:#7A5A12;border-radius:.4rem;padding:.1rem .5rem;font-size:.8rem;font-weight:600}

/* Hero: tangga kompetensi (satu-satunya momen visual utama) */
.hero-bg{background:radial-gradient(60rem 30rem at 85% -10%,rgba(37,99,235,.45),transparent 60%),linear-gradient(180deg,var(--navy-900),var(--navy))}
.stair{display:grid;grid-template-columns:repeat(4,1fr);align-items:end;gap:.5rem;height:21rem}
.stair-step{display:flex;flex-direction:column;justify-content:flex-end;border-radius:.9rem .9rem .35rem .35rem;padding:.9rem .75rem;color:#fff;font-weight:700;font-size:.85rem;line-height:1.25;transform-origin:bottom;animation:rise .8s cubic-bezier(.2,.8,.2,1) both}
.stair-step:nth-child(1){height:35%;background:#1E4A82;animation-delay:.05s}
.stair-step:nth-child(2){height:54%;background:var(--brand);animation-delay:.15s}
.stair-step:nth-child(3){height:75%;background:#3B82F6;animation-delay:.25s}
.stair-step:nth-child(4){height:100%;background:var(--gold);color:var(--navy-900);animation-delay:.35s}
@keyframes rise{from{transform:scaleY(.15);opacity:0}to{transform:scaleY(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.stair-step{animation:none}html{scroll-behavior:auto}}

/* Tombol WhatsApp mengambang */
.wa-float{position:fixed;right:1rem;bottom:1rem;z-index:40;display:flex;align-items:center;gap:.5rem;border-radius:999px;background:#1FA855;color:#fff;padding:.75rem 1.05rem;font-weight:700;font-size:.9rem;box-shadow:0 6px 18px rgba(15,23,42,.25)}
.wa-float:hover{background:#188A45}
@media(max-width:480px){.wa-float span{display:none}.wa-float{padding:.85rem}}
