/* ==========================================================================
   SILAU BOS - Sistem Layanan Analisis Usaha
   Stylesheet utama (FASE 1)
   ========================================================================== */

:root {
    /* Warna identitas */
    --primary: #07579F;
    --primary-600: #064B8A;
    --primary-dark: #082957;
    --navy-deep: #061D3F;
    --accent: #FFD83D;
    --accent-600: #F2C400;
    --light: #F6F8FC;
    --soft: #EAF2FB;
    --text: #163052;
    --muted: #5B6B82;
    --border: #DCE4EF;
    --white: #FFFFFF;
    --success: #1E9E6A;
    --danger: #D64545;
    --warning: #E8A317;

    /* Tipografi */
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --fs-hero: clamp(2rem, 1.1rem + 3.2vw, 3.35rem);
    --fs-h2: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
    --fs-h3: 1.125rem;

    /* Bentuk */
    --radius-lg: 24px;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(8, 41, 87, .06);
    --shadow: 0 10px 30px -12px rgba(8, 41, 87, .18);
    --shadow-lg: 0 24px 60px -20px rgba(8, 41, 87, .35);

    --container: 1200px;
    --nav-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* Motif ikat (belah ketupat) untuk dekorasi */
    --ikat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 3 41 22 22 41 3 22Z' fill='none' stroke='%23FFFFFF' stroke-opacity='.09' stroke-width='1.5'/%3E%3Cpath d='M22 15 29 22 22 29 15 22Z' fill='%23FFD83D' fill-opacity='.10'/%3E%3C/svg%3E");
}

/* ---------- Reset ringan ---------- */
*, *::before, *::after { box-sizing: border-box; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
    color: var(--text); background: var(--white); overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--primary-dark); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.text-accent { color: var(--accent); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--accent); color: var(--primary-dark); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Tombol ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 46px; padding: .7rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn i { transition: transform .2s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: .85rem 1.7rem; font-size: 1rem; }
.btn-sm { min-height: 36px; padding: .4rem .9rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 18px -8px rgba(7, 87, 159, .7); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--primary-dark); box-shadow: 0 10px 22px -10px rgba(255, 216, 61, .8); }
.btn-accent:hover { background: var(--accent-600); color: var(--primary-dark); }
.btn-outline { background: var(--white); color: var(--primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: var(--white); color: var(--primary-dark); }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--primary); }
.link-arrow i { transition: transform .2s var(--ease); }

/* ---------- Navbar ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; background: var(--white);
    border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(8, 41, 87, .25); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--primary-dark); position: relative; z-index: 2; }
.brand img { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: .01em; }
.brand-text small { font-size: .74rem; color: var(--muted); font-weight: 500; margin-top: 3px; }
.brand-light, .brand-light:hover { color: var(--white); }
.brand-light .brand-text small { color: rgba(255, 255, 255, .7); }

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav ul { display: flex; list-style: none; gap: .25rem; }
.nav-link { display: block; padding: .5rem .85rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--text); position: relative; }
.nav-link:hover { color: var(--primary); background: var(--light); }
.nav-link.is-active { color: var(--primary); }
.nav-link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px; background: var(--accent); transform: translateX(-50%); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); cursor: pointer; padding: 0; position: relative; z-index: 2; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--primary-dark); margin: 4px auto; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Dekorasi bersama (lingkaran & motif) ---------- */
.hero-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-deco::before { content: ""; position: absolute; inset: 0; background-image: var(--ikat); background-size: 44px; -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%); mask-image: linear-gradient(115deg, transparent 35%, #000 100%); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); }
.ring-a { width: 620px; height: 620px; right: -180px; top: -240px; box-shadow: 0 0 0 70px rgba(255, 255, 255, .03), 0 0 0 140px rgba(255, 255, 255, .02); }
.ring-b { width: 280px; height: 280px; left: -120px; bottom: -140px; border-color: rgba(255, 216, 61, .25); }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: var(--white); overflow: hidden;
    background: radial-gradient(1200px 600px at 85% 10%, #0A6BC2 0%, transparent 60%), linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 78%);
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(6.5rem, 10vw, 8.5rem);
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--white); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: .85rem; font-weight: 600; backdrop-filter: blur(4px); }
.badge span { color: var(--accent); }
.hero-title { font-size: var(--fs-hero); color: var(--white); margin: 1.25rem 0 1.1rem; letter-spacing: -.03em; line-height: 1.08; }
.hero-title .text-accent { display: inline-block; position: relative; }
.hero-title .text-accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .12em; border-radius: 99px; background: var(--accent); opacity: .35; transform-origin: left; animation: underline 1s .6s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-desc { max-width: 56ch; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.4rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.hero-points i { color: var(--accent); margin-right: .3rem; }

.hero-visual { position: relative; }
.hero-frame { position: relative; border-radius: var(--radius-lg); padding: 10px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); box-shadow: var(--shadow-lg); transform: rotate(1.2deg); }
.hero-frame::before { content: ""; position: absolute; inset: -18px 18px auto auto; width: 90px; height: 90px; border-radius: 22px; background: var(--accent); z-index: -1; transform: rotate(12deg); }
.hero-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius-lg) - 8px); }
.float-card { position: absolute; left: -28px; bottom: -26px; display: flex; align-items: center; gap: .85rem; background: var(--white); color: var(--text); padding: .95rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 270px; animation: floaty 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: 1.35rem; color: var(--primary-dark); line-height: 1.1; }
.float-card span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; }
.float-icon { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--primary-dark); font-size: 1.2rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Statistik ---------- */
.stats-wrap { position: relative; z-index: 3; margin-top: -4.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.stat-card { display: flex; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem 1.5rem; box-shadow: var(--shadow); }
.stat-card strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1.1; letter-spacing: -.02em; }
.stat-card span { color: var(--muted); font-size: .92rem; font-weight: 500; }
.stat-icon { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--soft); color: var(--primary); font-size: 1.25rem; }

/* ---------- Section umum ---------- */
.section { position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-light { background: var(--light); }
.section-blue { background: linear-gradient(140deg, var(--primary) 0%, var(--primary-dark) 85%); color: var(--white); overflow: hidden; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head.center .section-sub { margin-inline: auto; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: .75rem; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; }
.eyebrow-light { color: var(--accent); }
.section-title { font-size: var(--fs-h2); }
.section-title.light { color: var(--white); }
.section-sub { color: var(--muted); max-width: 60ch; font-size: 1.05rem; margin-bottom: 0; }

/* ---------- Kartu layanan ---------- */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.service-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.25rem 1.3rem; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.service-card::before { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #C5D6EA; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .link-arrow i { transform: translateX(4px); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.1rem; }
.service-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--soft); color: var(--primary); font-size: 1.25rem; transition: background-color .25s, color .25s; }
.service-icon.lg { width: 64px; height: 64px; font-size: 1.6rem; border-radius: 18px; }
.service-icon.on-dark { background: rgba(255, 255, 255, .12); color: var(--accent); }
.service-card:hover .service-icon { background: var(--primary); color: var(--accent); }
.service-number { font-weight: 800; font-size: .95rem; color: #9FB3CC; letter-spacing: .04em; }
.service-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .9rem; line-height: 1.6; flex: 1; }
.service-card .link-arrow { font-size: .9rem; margin-top: .25rem; }

/* ---------- Alur ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 25px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #BCD0E8 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-dot { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%; background: var(--primary); color: var(--white); font-weight: 800; font-size: 1.15rem; box-shadow: 0 0 0 6px var(--light), 0 0 0 7px #CFDDEE; }
.step:last-child .step-dot { background: var(--accent); color: var(--primary-dark); }
.step h3 { font-size: var(--fs-h3); margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .92rem; max-width: 26ch; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq-layout { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-intro p { color: rgba(255, 255, 255, .82); max-width: 42ch; margin-bottom: 1.6rem; }
.faq-intro { position: sticky; top: calc(var(--nav-h) + 24px); }
.accordion { display: grid; gap: .8rem; }
.acc-item { background: var(--white); border-radius: var(--radius); color: var(--text); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5); overflow: hidden; transition: box-shadow .25s; }
.acc-heading { margin: 0; font-size: 1rem; }
.acc-button { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.1rem 1.25rem; background: none; border: 0; text-align: left; cursor: pointer; font-weight: 700; color: var(--primary-dark); line-height: 1.4; }
.acc-num { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--soft); color: var(--primary); font-size: .85rem; font-weight: 800; transition: background-color .25s, color .25s; }
.acc-item.is-open .acc-num { background: var(--accent); color: var(--primary-dark); }
.acc-q { flex: 1; }
.acc-icon { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--primary); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { padding: 0 1.25rem 1.2rem calc(1.25rem + 38px + 1rem); color: var(--muted); }
.acc-panel p { margin: 0; }
.faq-page .section-blue { padding-top: clamp(3rem, 6vw, 5rem); }

/* ---------- Analis ---------- */
.analyst-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.analyst-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.analyst-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.analyst-photo { position: relative; aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, var(--soft), #CFE0F3); display: grid; place-items: center; overflow: hidden; }
.analyst-photo::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M18 3 33 18 18 33 3 18Z' fill='none' stroke='%2307579F' stroke-opacity='.08' stroke-width='1.5'/%3E%3C/svg%3E"); }
.analyst-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 1.9rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 0 0 6px rgba(255, 255, 255, .7); }
.analyst-body { padding: 1rem 1.1rem 1.2rem; }
.analyst-body h3 { font-size: .95rem; line-height: 1.35; margin-bottom: .35rem; }
.analyst-role { color: var(--primary); font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.analyst-exp { font-size: .82rem; color: var(--muted); margin: 0; }
.analyst-exp i { color: var(--accent-600); margin-right: .2rem; }

/* ---------- Edukasi ---------- */
.edu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.filter-item { display: contents; }
.filter-item[hidden] { display: none; }
.edu-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.edu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.edu-cover { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--accent); font-size: 2.3rem; overflow: hidden; }
.edu-cover::before { content: ""; position: absolute; inset: 0; background-image: var(--ikat); background-size: 36px; }
.edu-cover i { position: relative; transition: transform .35s var(--ease); }
.edu-card:hover .edu-cover i { transform: scale(1.1) rotate(-4deg); }
.edu-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edu-num { position: absolute; left: 12px; top: 12px; padding: .2rem .6rem; border-radius: 8px; background: var(--white); color: var(--primary-dark); font-size: .8rem; font-weight: 800; }
.edu-body { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.edu-body h3 { font-size: 1rem; margin: .2rem 0 0; line-height: 1.35; }
.edu-body h3 a { color: var(--primary-dark); }
.edu-card:hover h3 a { color: var(--primary); }
.edu-body p { color: var(--muted); font-size: .88rem; margin: 0; }
.chip { align-self: flex-start; display: inline-block; padding: .18rem .65rem; border-radius: 999px; background: #FFF6CC; color: #7A5B00; font-size: .75rem; font-weight: 700; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter-btn { min-height: 42px; padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--white); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.is-active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-lg); background: var(--primary-dark); color: var(--white); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: var(--ikat); background-size: 44px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); margin-bottom: .4rem; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 55ch; }

/* ---------- Page hero (halaman dalam) ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, var(--primary), var(--primary-dark) 80%); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 3.75rem); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); margin: .8rem 0 .5rem; max-width: 22ch; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 60ch; margin: 0; font-size: 1.05rem; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: .6rem; opacity: .6; }
.breadcrumb [aria-current] { color: var(--accent); font-weight: 600; }

/* ---------- Detail layanan ---------- */
.service-detail-list { display: grid; gap: 1.25rem; }
.service-detail { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); scroll-margin-top: calc(var(--nav-h) + 20px); transition: box-shadow .25s, border-color .25s; }
.service-detail:target { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(7, 87, 159, .12); }
.sd-head { display: flex; gap: 1.25rem; align-items: flex-start; }
.sd-head h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.65rem); margin: .1rem 0 .35rem; }
.sd-head p { color: var(--muted); margin: 0; }
.sd-body { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.5rem 2.5rem; margin: 1.5rem 0; padding: 1.5rem 0; border-block: 1px dashed var(--border); }
.sd-body h3 { font-size: .95rem; margin-bottom: .6rem; }
.sd-body p { color: var(--muted); margin: 0; }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.25rem; }
.check-list li { display: flex; gap: .55rem; font-size: .93rem; }
.check-list i { color: var(--success); margin-top: .3rem; font-size: .8rem; }
.sd-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Artikel edukasi ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
.article { min-width: 0; }
.infographic { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-bottom: 1.5rem; }
.infographic img { width: 100%; }
.infographic-placeholder { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 1.5rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); }
.infographic-placeholder::before { content: ""; position: absolute; inset: 0; background-image: var(--ikat); background-size: 44px; }
.infographic-placeholder > * { position: relative; }
.infographic-placeholder i { font-size: 3.5rem; color: var(--accent); }
.infographic-placeholder span { font-weight: 800; font-size: 1.3rem; }
.infographic-placeholder small { opacity: .75; }
.article-meta { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; font-size: .9rem; }
.article h2 { font-size: 1.4rem; }
.point-list { list-style: none; counter-reset: pt; display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.point-list li { counter-increment: pt; position: relative; padding: .9rem 1rem .9rem 3.4rem; border-radius: var(--radius-sm); background: var(--light); }
.point-list li::before { content: counter(pt); position: absolute; left: .9rem; top: .8rem; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--primary); color: var(--white); font-weight: 800; font-size: .85rem; }
.article-note { display: flex; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: #FFF8D6; border: 1px solid #F5E08A; margin-bottom: 1.75rem; }
.article-note i { color: #9A7300; font-size: 1.2rem; margin-top: .2rem; }
.article-note p { margin: 0; }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.aside-card { position: sticky; top: calc(var(--nav-h) + 20px); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.aside-card h3 { font-size: 1rem; }
.aside-list { list-style: none; display: grid; gap: .15rem; max-height: 60vh; overflow-y: auto; }
.aside-list a { display: flex; gap: .7rem; padding: .5rem .6rem; border-radius: 8px; font-size: .9rem; color: var(--text); line-height: 1.4; }
.aside-list a:hover { background: var(--light); color: var(--primary); }
.aside-list span { font-weight: 800; color: #9FB3CC; font-size: .8rem; margin-top: .1rem; }
.empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem 0; }
.empty-state i { font-size: 3rem; color: #9FB3CC; }

/* ---------- Formulir ---------- */
.form-section { position: relative; padding: clamp(2rem, 5vw, 4rem) 0 clamp(3.5rem, 6vw, 5.5rem); background: var(--light); }
.form-layout { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.form-aside { position: sticky; top: calc(var(--nav-h) + 20px); overflow: hidden; color: var(--white); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 85%); box-shadow: var(--shadow-lg); }
.form-aside::before { content: ""; position: absolute; inset: 0; background-image: var(--ikat); background-size: 44px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%); mask-image: linear-gradient(200deg, #000, transparent 70%); pointer-events: none; }
.form-aside > * { position: relative; }
.form-aside h1 { color: var(--white); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); margin: 1.1rem 0 .75rem; }
.form-aside p { color: rgba(255, 255, 255, .85); }
.back-link { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .8); font-size: .9rem; font-weight: 600; margin-bottom: 1.25rem; }
.back-link:hover { color: var(--accent); }
.aside-points { list-style: none; display: grid; gap: .8rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.aside-points li { display: flex; align-items: center; gap: .75rem; font-weight: 600; font-size: .93rem; }
.aside-points i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: var(--accent); flex-shrink: 0; }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.field { display: flex; flex-direction: column; margin-bottom: 1.15rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label { font-weight: 700; font-size: .92rem; margin-bottom: .45rem; color: var(--primary-dark); }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 12px; border: 1.5px solid var(--border);
    background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23163052' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field input::placeholder, .field textarea::placeholder { color: #98A6B9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(7, 87, 159, .14); }
.field [aria-invalid="true"] { border-color: var(--danger); background-color: #FFF8F8; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(214, 69, 69, .14); }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; margin: .4rem 0 0; }
.field-foot { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.char-count { margin-left: auto; font-size: .8rem; color: var(--muted); margin-top: .4rem; white-space: nowrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: .5rem 0 0; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--primary); flex-shrink: 0; }
.consent + .field-error { margin-bottom: .5rem; }
#applicationForm .btn-block { margin-top: 1.4rem; }
.alert { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1.25rem; font-weight: 600; font-size: .92rem; }
.alert-danger { background: #FDECEC; color: #9E2B2B; border: 1px solid #F5C2C2; }
.alert i { margin-top: .2rem; }

/* ---------- Sukses ---------- */
.success-card { grid-column: 1 / -1; max-width: 640px; margin: 1rem auto 0; background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.75rem, 5vw, 3rem); box-shadow: var(--shadow-lg); text-align: center; }
.success-icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--success); color: var(--white); font-size: 2.2rem; box-shadow: 0 0 0 10px rgba(30, 158, 106, .14); animation: pop .5s var(--ease) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-card h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.3rem); }
.success-card > p { color: var(--muted); max-width: 48ch; margin-inline: auto; }
.ticket { display: flex; flex-direction: column; align-items: center; gap: .4rem; margin: 1.5rem 0; padding: 1.25rem; border-radius: var(--radius); border: 2px dashed #BCD0E8; background: var(--light); }
.ticket span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.ticket strong { font-size: clamp(1.3rem, 1rem + 1.5vw, 1.8rem); color: var(--primary-dark); letter-spacing: .04em; margin-bottom: .4rem; word-break: break-all; }
.success-meta { display: grid; gap: .1rem; text-align: left; margin: 0 0 1.25rem; }
.success-meta div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.success-meta dt { color: var(--muted); font-size: .9rem; }
.success-meta dd { margin: 0; font-weight: 700; text-align: right; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* ---------- Status badge ---------- */
.status { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-waiting { background: #FFF4D6; color: #946200; }
.status-fix { background: #FDECEC; color: #B03A3A; }
.status-verified { background: #E4F0FC; color: var(--primary); }
.status-process { background: #EDE7FB; color: #5B3FB5; }
.status-done { background: #E2F5EC; color: #177A52; }
.status-rejected { background: #EEF0F3; color: #5B6B82; }

/* ---------- Hasil analisis ---------- */
.result-section { background: var(--light); padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.result-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: 900px; margin: 0 auto 1.25rem; }
.demo-note { font-size: .9rem; color: var(--muted); font-weight: 600; }
.toolbar-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.result-doc { max-width: 900px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 3rem); overflow: hidden; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 4px solid var(--primary); position: relative; }
.result-head::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 120px; height: 4px; background: var(--accent); }
.result-head .brand-text small { max-width: 34ch; }
.result-title { text-align: right; }
.result-title h1 { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem); text-transform: uppercase; letter-spacing: .02em; margin-bottom: .35rem; }
.result-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 0 0 2rem; }
.result-meta div { display: grid; grid-template-columns: 150px 1fr; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.result-meta dt { color: var(--muted); font-size: .88rem; }
.result-meta dd { margin: 0; font-weight: 700; font-size: .93rem; }
.result-block { margin-bottom: 1.75rem; }
.result-block h2, .swot-card h2 { font-size: 1.1rem; display: flex; align-items: center; gap: .55rem; }
.result-block > h2::before { content: ""; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; }
.result-block p { color: var(--text); }
.swot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.75rem; }
.swot-card { border-radius: var(--radius); padding: 1.2rem 1.25rem; border: 1px solid; }
.swot-card ul { padding-left: 1.1rem; display: grid; gap: .4rem; font-size: .93rem; }
.swot-s { background: #EEF8F3; border-color: #C9EAD9; } .swot-s h2 { color: #177A52; }
.swot-w { background: #FFF6F0; border-color: #F8D9C4; } .swot-w h2 { color: #B35A1F; }
.swot-o { background: #EEF5FC; border-color: #CADDF1; } .swot-o h2 { color: var(--primary); }
.swot-t { background: #FDF0F0; border-color: #F3CFCF; } .swot-t h2 { color: #B03A3A; }
.timeline { list-style: none; position: relative; display: grid; gap: .9rem; padding-left: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -1.6rem; top: .45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--primary); }
.result-foot { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; flex-wrap: wrap; padding-top: 1.5rem; margin-top: 2rem; border-top: 1px solid var(--border); }
.result-foot p { font-size: .82rem; color: var(--muted); max-width: 48ch; margin: 0; }
.signature { display: flex; flex-direction: column; text-align: center; gap: .15rem; font-size: .9rem; min-width: 200px; }
.signature strong { margin-top: 3.5rem; padding-top: .35rem; border-top: 1px solid var(--text); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-ikat { position: absolute; top: 0; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--accent) 0 28px, var(--primary) 28px 56px, var(--white) 56px 62px, var(--primary) 62px 90px); opacity: .9; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand p { margin: 1rem 0 0; max-width: 40ch; }
.footer-agency { display: flex; gap: .6rem; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.footer-agency i { color: var(--accent); margin-top: .3rem; }
.footer-title { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .6rem; }
.footer-links a { color: rgba(255, 255, 255, .78); display: inline-flex; gap: .55rem; align-items: center; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.25rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Animasi masuk (satu kali, ringan) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-visual { animation: rise .9s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .analyst-grid { grid-template-columns: repeat(3, 1fr); }
    .main-nav { gap: 1rem; }
    .nav-link { padding: .5rem .6rem; }
}

@media (max-width: 991.98px) {
    :root { --nav-h: 68px; }
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
        background: var(--white); padding: 1rem 20px 1.5rem; border-top: 1px solid var(--border);
        box-shadow: 0 20px 40px -20px rgba(8, 41, 87, .35); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
        visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
    }
    .main-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .main-nav ul { flex-direction: column; gap: .15rem; }
    .nav-link { padding: .85rem 1rem; border-radius: 12px; font-size: 1rem; }
    .nav-link.is-active { background: var(--soft); }
    .nav-link.is-active::after { left: 0; top: 50%; bottom: auto; width: 4px; height: 20px; transform: translateY(-50%); }
    .nav-cta { width: 100%; min-height: 52px; }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; width: 100%; margin: 1rem auto 0; }
    .float-card { left: 12px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
    .steps::before { display: none; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-intro { position: static; }
    .edu-grid { grid-template-columns: repeat(3, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .aside-card { position: static; }
    .form-layout { grid-template-columns: 1fr; }
    .form-aside { position: relative; top: 0; }
    .aside-points { display: none; }
    .sd-body { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .br-desktop { display: none; }
}

@media (max-width: 767.98px) {
    .stats-grid { grid-template-columns: 1fr; gap: .75rem; }
    .stats-wrap { margin-top: -3.5rem; }
    .edu-grid { grid-template-columns: repeat(2, 1fr); }
    .analyst-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .result-meta { grid-template-columns: 1fr; }
    .swot-grid { grid-template-columns: 1fr; }
    .result-title { text-align: left; }
    .check-list { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .container { padding-inline: 16px; }
    .brand-text small { font-size: .68rem; }
    .brand img { width: 36px; height: 38px; }
    .hero-actions .btn { width: 100%; }
    .hero-frame { transform: none; }
    .hero-frame::before { width: 60px; height: 60px; inset: -12px 12px auto auto; }
    .float-card { position: relative; left: auto; bottom: auto; margin: -1.75rem auto 0; max-width: 90%; }
    .service-grid, .edu-grid, .steps { grid-template-columns: 1fr; }
    .analyst-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .analyst-body { padding: .8rem .85rem 1rem; }
    .analyst-body h3 { font-size: .86rem; }
    .avatar-initials { width: 68px; height: 68px; font-size: 1.4rem; }
    .field-row { grid-template-columns: 1fr; }
    .acc-button { padding: 1rem; gap: .75rem; }
    .acc-panel { padding: 0 1rem 1.1rem; }
    .sd-head { flex-direction: column; }
    .sd-foot .btn { width: 100%; white-space: normal; }
    .cta-band .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .result-meta div { grid-template-columns: 1fr; gap: .1rem; }
    .toolbar-actions, .toolbar-actions .btn { width: 100%; }
    .success-meta div { flex-direction: column; gap: .1rem; }
    .success-meta dd { text-align: left; }
}

/* ---------- Cetak (hasil analisis) ---------- */
@media print {
    @page { size: A4; margin: 14mm; }
    body { background: #fff; }
    .site-header, .site-footer, .no-print, .skip-link { display: none !important; }
    .result-section { padding: 0; background: #fff; }
    .result-doc { box-shadow: none; border: 0; padding: 0; max-width: none; }
    .swot-card, .result-block, .result-meta div { break-inside: avoid; }
    * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .container { max-width: none; padding: 0; }
}

/* ==========================================================================
   FASE 2 — halaman status & detail pengajuan
   ========================================================================== */
.alert-success { background: #E2F5EC; color: #146945; border: 1px solid #BFE6D2; }
.alert-info { background: var(--soft); color: var(--primary-dark); border: 1px solid #CADDF1; }
.alert a { color: inherit; text-decoration: underline; }

.status-callout { border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1.5rem; border-left: 5px solid currentColor; }
.status-callout strong { display: block; font-size: 1.05rem; }
.status-callout p { margin: .25rem 0 0; color: var(--text); }

.progress-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 0 0 2rem; padding: 0; counter-reset: none; }
.progress-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; font-size: .82rem; font-weight: 600; color: var(--muted); }
.progress-steps li::after { content: ""; position: absolute; top: 17px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 3px; border-radius: 3px; background: var(--border); }
.progress-steps li:last-child::after { display: none; }
.progress-steps .dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--light); border: 2px solid var(--border); font-weight: 800; color: var(--muted); }
.progress-steps li.is-done { color: var(--primary-dark); }
.progress-steps li.is-done .dot { background: var(--success); border-color: var(--success); color: var(--white); }
.progress-steps li.is-done::after { background: var(--success); }
.progress-steps li.is-current { color: var(--primary-dark); }
.progress-steps li.is-current .dot { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); box-shadow: 0 0 0 5px rgba(255, 216, 61, .3); }

.story-box { background: var(--light); border-radius: var(--radius-sm); padding: 1rem 1.15rem; margin: 1rem 0 0; }

.timeline.history { gap: 1.1rem; }
.timeline.history li::before { border-color: currentColor; }
.timeline.history li { color: var(--primary); }
.timeline.history li.tl-waiting { color: #C58A00; }
.timeline.history li.tl-fix { color: #B03A3A; }
.timeline.history li.tl-process { color: #5B3FB5; }
.timeline.history li.tl-done { color: #177A52; }
.timeline.history li.tl-rejected { color: #8A96A8; }
.timeline.history li p { color: var(--text); margin: .4rem 0 0; font-size: .93rem; }
.history-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; }
.history-head time { font-size: .82rem; color: var(--muted); }

@media (max-width: 575.98px) {
    .progress-steps { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
    .progress-steps li:nth-child(2)::after { display: none; }
}
.result-toolbar .back-link { color: var(--primary); margin: 0; }
.result-toolbar .back-link:hover { color: var(--primary-dark); }

/* ==========================================================================
   FASE 5 — Laporan hasil analisis & verifikasi dokumen
   ========================================================================== */
.report-toolbar { max-width: 900px; }
.report-doc { padding: clamp(1.25rem, 4vw, 2.75rem); color: var(--text); }
.report-letterhead { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 3px solid var(--primary-dark); position: relative; }
.report-letterhead::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 150px; height: 4px; background: var(--accent); }
.report-letterhead img { width: 68px; height: 68px; }
.report-org strong { display: block; font-size: 1.75rem; line-height: 1.05; color: var(--primary-dark); letter-spacing: .01em; }
.report-org span { display: block; font-weight: 800; font-size: .88rem; color: var(--primary); letter-spacing: .04em; }
.report-org small { display: block; font-size: .78rem; color: var(--muted); }
.report-badge { align-self: start; padding: .4rem .9rem; border-radius: 8px; background: var(--primary-dark); color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }

.report-title { text-align: center; margin: 1.9rem 0 1.4rem; }
.report-title h1 { margin: 0 0 .35rem; font-size: clamp(1.4rem, 1rem + 1.5vw, 1.9rem); letter-spacing: .03em; color: var(--primary-dark); }
.report-title p { margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .88rem; color: var(--muted); }
.report-title b { color: var(--text); }

.report-identity h2 { margin: 0; padding: .45rem .9rem; background: var(--primary-dark); color: var(--white); font-size: .75rem; letter-spacing: .06em; border-radius: 8px 8px 0 0; }
.report-identity dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 1.25rem; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 8px 8px; overflow: hidden; }
.report-identity dl div { display: grid; grid-template-columns: 140px 1fr; gap: .75rem; padding: .55rem .9rem; border-bottom: 1px solid var(--border); }
.report-identity dl div:nth-child(4n+1), .report-identity dl div:nth-child(4n+2) { background: #F7FAFD; }
.report-identity dl div:nth-last-child(-n+2) { border-bottom: 0; }
.report-identity dt { font-size: .82rem; color: var(--muted); }
.report-identity dd { margin: 0; font-weight: 700; font-size: .92rem; overflow-wrap: anywhere; }

.report-score { display: flex; align-items: stretch; margin-bottom: 1.5rem; border-radius: 10px; overflow: hidden; background: var(--soft); }
.report-score-value { display: flex; align-items: center; justify-content: center; gap: .35rem; white-space: nowrap; min-width: 150px; padding: .6rem 1rem; background: var(--primary-dark); color: var(--accent); font-size: 1.55rem; font-weight: 800; }
.report-score-value small { font-size: .9rem; color: var(--accent); }
.report-score-text { padding: .55rem 1.1rem; }
.report-score-text span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.report-score-text strong { font-size: 1.1rem; color: var(--primary-dark); }

.report-section-item { margin-bottom: 1.15rem; }
.report-section-item h2 { display: flex; align-items: center; gap: .75rem; margin: 0 0 .65rem; padding: .45rem .9rem; font-size: .95rem; letter-spacing: .03em; color: var(--primary-dark); background: var(--soft); border-left: 5px solid var(--primary-dark); }
.report-section-item h2 span { font-size: .78rem; color: var(--primary); }
.report-section-item p { margin: 0 0 .5rem; line-height: 1.7; }
.report-ul, .report-ol { margin: 0; padding-left: 1.6rem; display: grid; gap: .3rem; line-height: 1.6; }
.report-ul { list-style: none; padding-left: 1.2rem; }
.report-ul li { position: relative; }
.report-ul li::before { content: ""; position: absolute; left: -1.05rem; top: .58em; width: 7px; height: 7px; background: var(--accent); }
.report-ol li::marker { color: var(--primary); font-weight: 800; }

.report-appendix h3 { font-size: .9rem; margin: 1.5rem 0 .5rem; color: var(--primary-dark); }
.report-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.report-table th { background: var(--primary-dark); color: var(--white); text-align: left; padding: .45rem .7rem; font-size: .78rem; }
.report-table td { padding: .45rem .7rem; border-bottom: 1px solid var(--border); }
.report-table tbody tr:nth-child(odd) { background: #F7FAFD; }
.report-table th:nth-child(1), .report-table td:nth-child(1), .report-table th:nth-child(3), .report-table td:nth-child(3) { text-align: center; width: 60px; }
.report-table tfoot td { background: var(--soft); font-weight: 800; }
.report-table tfoot td:first-child { text-align: right; }

.report-sign { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; margin-top: 2rem; break-inside: avoid; }
.report-verify { display: grid; gap: .5rem; font-size: .78rem; color: var(--muted); }
.report-verify svg { width: 108px; height: 108px; }
.report-verify strong { display: block; color: var(--primary-dark); font-size: .8rem; }
.report-verify span, .report-verify a { display: block; overflow-wrap: anywhere; }
.report-signatures { display: grid; grid-template-columns: 1fr; justify-items: end; gap: 0 2rem; }
.report-signatures.has-two { grid-template-columns: 1fr 1fr; justify-items: stretch; }
.report-place { grid-column: 1 / -1; justify-self: end; margin: 0 0 .25rem; min-width: 230px; }
.sig { display: flex; flex-direction: column; min-width: 230px; min-height: 150px; }
.sig span { flex: 1; line-height: 1.4; }
.sig span small { color: var(--muted); }
.sig strong { padding-bottom: .15rem; border-bottom: 1px solid var(--text); }
.sig > small { margin-top: .2rem; color: var(--muted); }

.report-note { margin: 1.75rem 0 0; padding: .75rem 1rem; background: #FFF8D6; border-left: 4px solid var(--accent); font-size: .78rem; font-style: italic; color: var(--muted); line-height: 1.55; }
.report-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; margin-top: 1.25rem; padding-top: .6rem; border-top: 1px solid var(--border); font-size: .72rem; color: var(--muted); }

.report-unavailable { text-align: center; }
.report-unavailable i { font-size: 2.5rem; color: var(--primary); margin-bottom: .75rem; }
.report-unavailable h1 { font-size: 1.4rem; }

.report-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }

/* Verifikasi */
.verify-result { margin: 1.25rem 0 0; }
.verify-card { margin-top: 1.5rem; border-radius: var(--radius); border: 1px solid; overflow: hidden; }
.verify-card.is-valid { border-color: #BFE6D2; }
.verify-card.is-revising { border-color: #F5E08A; }
.verify-head { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.15rem; }
.is-valid .verify-head { background: #E2F5EC; color: #146945; }
.is-revising .verify-head { background: #FFF4D6; color: #7A5200; }
.verify-head i { font-size: 1.9rem; }
.verify-head strong { display: block; font-size: 1.05rem; }
.verify-head span { font-size: .86rem; }
.kv-verify { margin: 0; padding: .5rem 1.15rem; }
.kv-verify div { display: grid; grid-template-columns: 140px 1fr; gap: .75rem; padding: .45rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.kv-verify dt { color: var(--muted); }
.kv-verify dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.verify-card .field-hint { padding: 0 1.15rem 1rem; margin: .5rem 0 0; }

@media (max-width: 767.98px) {
    .report-letterhead { grid-template-columns: auto 1fr; }
    .report-badge { grid-column: 1 / -1; justify-self: start; }
    .report-org strong { font-size: 1.35rem; }
    .report-identity dl { grid-template-columns: 1fr; }
    .report-identity dl div:nth-child(n) { background: transparent; border-bottom: 1px solid var(--border); }
    .report-identity dl div:nth-child(odd) { background: #F7FAFD; }
    .report-identity dl div { grid-template-columns: 120px 1fr; }
    .report-sign { grid-template-columns: 1fr; }
    .report-signatures, .report-signatures.has-two { grid-template-columns: 1fr; justify-items: stretch; }
    .report-place { justify-self: start; }
    .sig { min-height: 110px; }
    .kv-verify div { grid-template-columns: 1fr; gap: .1rem; }
}

@media print {
    @page { size: A4; margin: 14mm 15mm 16mm; }
    .page-report .report-section { padding: 0; }
    .report-doc { font-size: 10.5pt; }
    .report-letterhead img { width: 56px; height: 56px; }
    .report-section-item h2, .report-identity, .report-score, .report-table tr { break-inside: avoid; break-after: avoid-page; }
    .report-section-item h2 { break-after: avoid; }
    .report-sign, .report-note { break-inside: avoid; }
    .report-footer { display: flex; }
    .report-verify a { color: var(--muted); text-decoration: none; }
    .report-org small { max-width: none; }
    .report-identity dl div { grid-template-columns: 108px 1fr; gap: .5rem; padding: .4rem .7rem; }
    .report-identity dt { font-size: 8.5pt; }
    .report-identity dd { font-size: 9.5pt; overflow-wrap: normal; }
    .report-appendix { break-inside: avoid; }
    .report-appendix h3 { break-after: avoid; }
    .report-table td:nth-child(4) { white-space: nowrap; }
}

/* ==========================================================================
   FASE 6 — Tracking pengajuan & perbaikan data
   ========================================================================== */
.status-review { background: #E8F1FB; color: #0B5CAD; }
.timeline.history li.tl-review { color: #0B5CAD; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.tracking-doc { max-width: 900px; }
.tracking-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; margin-bottom: 1.25rem; border-bottom: 3px solid var(--primary-dark); position: relative; }
.tracking-head::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 120px; height: 4px; background: var(--accent); }
.tracking-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--primary); }
.tracking-status { border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; }
.tracking-status span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.tracking-status strong { display: block; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); letter-spacing: .02em; }
.tracking-status p { margin: .35rem 0 0; color: var(--text); }

.fix-box { margin-bottom: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: #FFF8E1; border: 1px solid #F5DC8A; }
.fix-box.is-rejected { background: #F4F6F9; border-color: var(--border); }
.fix-box.is-done { background: #EAF7F0; border-color: #BFE6D2; }
.fix-box h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; margin: 0 0 .75rem; color: var(--primary-dark); }
.fix-box dl { margin: 0 0 1rem; display: grid; gap: .5rem; }
.fix-box dl div { display: grid; grid-template-columns: 180px 1fr; gap: .75rem; }
.fix-box dt { color: var(--muted); font-size: .88rem; }
.fix-box dd { margin: 0; font-weight: 600; }

.track-timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.track-timeline li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: .9rem; padding-bottom: 1.25rem; }
.track-timeline li::before { content: ""; position: absolute; left: 19px; top: 38px; bottom: 0; width: 2px; background: var(--border); }
.track-timeline li:last-child::before { display: none; }
.track-timeline li:last-child { padding-bottom: 0; }
.track-dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); color: var(--muted); font-weight: 800; font-size: 1rem; z-index: 1; }
.track-timeline strong { display: block; color: var(--primary-dark); }
.track-timeline time { display: block; font-size: .82rem; color: var(--muted); }
.track-timeline p { margin: .15rem 0 0; font-size: .92rem; color: var(--text); }
.track-timeline .is-done .track-dot { background: var(--success); border-color: var(--success); color: var(--white); }
.track-timeline .is-done::before { background: var(--success); }
.track-timeline .is-current .track-dot { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); box-shadow: 0 0 0 5px rgba(255, 216, 61, .3); }
.track-timeline .is-warning .track-dot { background: #D64545; border-color: #D64545; color: var(--white); box-shadow: 0 0 0 5px rgba(214, 69, 69, .18); }
.track-timeline .is-pending strong { color: var(--muted); }
.track-timeline .is-pending p { color: var(--muted); }
.track-updated { margin: 1rem 0 0; padding-top: .75rem; border-top: 1px dashed var(--border); font-size: .88rem; color: var(--muted); }

@media (max-width: 575.98px) {
    .fix-box dl div { grid-template-columns: 1fr; gap: .1rem; }
    .nav-link { white-space: nowrap; }
}
@media print {
    .fix-box .btn { display: none; }
}

/* FASE 6: navbar dengan menu Tracking Pengajuan tetap satu baris */
.main-nav .nav-link { white-space: nowrap; }
.brand-text small { white-space: nowrap; }
@media (min-width: 992px) {
    .main-nav ul { gap: .1rem; }
    .main-nav .nav-link { padding-left: .6rem; padding-right: .6rem; font-size: .92rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .brand-text small { display: none; }
    .main-nav .nav-link { padding-left: .45rem; padding-right: .45rem; font-size: .88rem; }
    .nav-cta { padding-left: 1rem; padding-right: 1rem; }
}

/* Lambang Provinsi NTT (rasio potret, jangan digepengkan) */
.brand-logo { object-fit: contain; }
.report-letterhead img.brand-logo { width: 64px; height: 68px; }
@media (max-width: 767.98px) { .brand img.brand-logo { width: 36px; height: 38px; } }

/* ==========================================================================
   Formulir khusus Analisis Ide Usaha (SUDAH / BELUM berjalan)
   ========================================================================== */
.idea-layout { position: relative; max-width: 1000px; }
.idea-head { text-align: center; margin: 0 auto clamp(1.25rem, 3vw, 1.75rem); max-width: 720px; }
.idea-head .eyebrow { display: inline-block; margin-bottom: .35rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.idea-head h1 { margin: 0 0 .5rem; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem); line-height: 1.12; color: var(--primary-dark); }
.idea-head h1 span { color: var(--primary); }
.idea-head p { margin: 0; color: var(--muted); }

.idea-form { display: grid; gap: 1.25rem; }
.idea-form > .alert { margin: 0; }

.stage-picker { margin: 0; padding: clamp(1rem, 2.5vw, 1.4rem); border: 1px solid #D9E6F6; border-radius: var(--radius-lg); background: linear-gradient(180deg, #F2F7FD, #EAF2FC); }
.stage-picker legend { float: left; width: 100%; margin: 0 0 .8rem; padding: 0; font-weight: 800; color: var(--primary-dark); }
.stage-options { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stage-option { position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.15rem; border: 1.5px solid var(--border); border-radius: 14px; background: var(--white); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.stage-option:hover { border-color: #9DBDE5; }
.stage-option input { flex-shrink: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--primary); }
.stage-option.is-selected, .stage-option:has(input:checked) { border-color: var(--primary); background: #EAF2FC; box-shadow: 0 6px 18px -12px rgba(7, 87, 159, .6); }
.stage-option input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.stage-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--light); color: var(--primary-dark); font-size: 1.35rem; }
.stage-text strong { display: block; font-size: .95rem; color: var(--primary-dark); letter-spacing: .02em; }
.stage-text small { display: block; margin-top: .15rem; font-size: .84rem; line-height: 1.45; color: var(--muted); }

.stage-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: var(--shadow); }
.stage-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; padding: .9rem 1.1rem; border-radius: 14px; background: #EAF2FC; }
.stage-head-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--white); color: var(--primary); font-size: 1.4rem; box-shadow: 0 4px 12px -8px rgba(8, 41, 87, .5); }
.stage-head h2 { margin: 0; font-size: 1.2rem; color: var(--primary-dark); }
.stage-head p { margin: .15rem 0 0; font-size: .88rem; color: var(--muted); }

.idea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 1.25rem; align-items: start; }
.idea-grid .field { margin-bottom: .9rem; }
.idea-grid .idea-wide { grid-column: 1 / -1; }
.idea-grid textarea { min-height: 72px; resize: vertical; }
.idea-grid .idea-wide textarea { min-height: 96px; }
.idea-grid .char-count { display: block; text-align: right; font-size: .78rem; color: var(--muted); margin-top: .25rem; }
.idea-form .consent { margin: 0; }
.idea-submit { justify-self: start; min-width: 220px; }

@media (max-width: 767.98px) {
    .stage-options, .idea-grid { grid-template-columns: 1fr; }
    .stage-option { padding: .85rem .9rem; }
    .idea-submit { justify-self: stretch; }
}
.idea-grid .field-hint { margin: .3rem 0 0; font-size: .8rem; line-height: 1.4; color: var(--muted); }

/* Logo SILAU BOS pada kartu "5 Jenis Analisis Usaha" di hero */
.float-icon.float-logo { width: 60px; height: 60px; padding: 4px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 6px 16px -10px rgba(8, 41, 87, .45); }
.float-icon.float-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ==========================================================================
   Beri Penilaian Layanan
   ========================================================================== */
.feedback-layout { max-width: 760px; }
.rating-field { margin: 0 0 1.25rem; padding: 1.1rem 1.2rem 1rem; border: 1px solid #D9E6F6; border-radius: var(--radius); background: linear-gradient(180deg, #F2F7FD, #EAF2FC); text-align: center; }
.rating-field legend { float: left; width: 100%; margin-bottom: .4rem; padding: 0; font-weight: 800; color: var(--primary-dark); }
.star-rating { clear: both; display: inline-flex; flex-direction: row-reverse; justify-content: center; gap: .3rem; }
.star-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-rating label { cursor: pointer; font-size: clamp(2.2rem, 1.6rem + 2.5vw, 2.9rem); line-height: 1; color: #D6DEE9; transition: color .15s, transform .15s; }
.star-rating label:hover, .star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: #F5B301; }
.star-rating label:hover { transform: scale(1.12); }
.star-rating input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.rating-caption { margin: .35rem 0 0; font-weight: 700; color: var(--primary-dark); }
.rating-field .field-error { text-align: center; }
.feedback-privacy { margin-top: .75rem; text-align: center; }
.feedback-mail { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.25rem; padding: .9rem 1rem; border-radius: 12px; background: var(--light); font-size: .9rem; color: var(--muted); }
.feedback-mail i { color: var(--primary); margin-top: .2rem; }
.feedback-mail a { font-weight: 700; overflow-wrap: anywhere; }
.feedback-thanks { text-align: center; }
.feedback-thanks h2 { margin: .75rem 0 .25rem; }
.stars-static { color: #F5B301; letter-spacing: .08em; font-size: 1.6rem; margin: .25rem 0 .5rem; }
.stars-static span { color: #D6DEE9; }
.feedback-cta { display: inline-flex; align-items: center; gap: .5rem; }
