/* =====================================================================
   Puskesmas Tenjolaya — sistem desain
   Ide: layanan mengikuti siklus hidup, digambarkan sebagai garis tumbuh
   (seperti kurva KMS di Buku KIA). Garis tipis, bukan kartu bersusun.
   ===================================================================== */
:root {
  --ink: #0f3d24;          /* Daun Tua: judul, panel gelap */
  --g900: #0b2e1a;
  --g800: #0f3d24;
  --g700: #0f6b2c;
  --g600: #158938;         /* hijau logo */
  --g500: #2fa653;
  --g100: #dcefe1;
  --g50:  #eef5ee;
  --mist: #f2f6f1;         /* Kabut: latar */
  --paper: #fbfcfa;
  --sun:  #f2b100;         /* Kunyit: penanda pilihan */
  --sun-50: #fff4cc;
  --teal: #0e7c86;         /* khusus sisi digital */
  --teal-50: #e3f2f3;
  --red: #b8322a;
  --red-50: #fbe9e7;
  --amber: #d98a00;
  --amber-50: #fff1d6;
  --text: #1d2e24;
  --muted: #55695c;
  --line: #cfdccf;
  --line-soft: #e1eae1;
  --r: 6px;
  --font-d: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--g700); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-d); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.wrap { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 300; border-radius: var(--r); }
.skip:focus { left: 8px; }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: var(--r); font-family: var(--font); font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--g600); color: #fff; }
.btn-primary:hover { background: var(--g700); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 40px; padding: 7px 16px; font-size: .94rem; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; position: relative; }
.logo img { height: 44px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 20px; align-items: center; }
.nav a { display: block; padding: 8px 0; color: var(--text); font-weight: 700; font-size: .95rem; text-decoration: none; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--g700); }
.nav a.active { border-bottom-color: var(--sun); color: var(--ink); }
.burger { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--ink); cursor: pointer; padding: 8px; margin-left: auto; }

/* ---------- menu darurat dan tautan ---------- */
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; background: var(--red); color: #fff; border: 0; border-radius: var(--r); font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap; }
.menu-btn:hover { background: #9c2820; }
.menu-btn .chev { font-size: .8rem; transition: transform .2s; }
.menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.menu { position: absolute; right: 0; top: calc(100% + 1px); width: min(680px, 100vw - 32px); display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 2px solid var(--ink); border-top: 6px solid var(--red); box-shadow: 0 18px 40px rgba(11,46,26,.22); z-index: 120; }
.menu-col { padding: 22px 24px 18px; }
.menu-col + .menu-col { border-left: 1px solid var(--line); }
.menu-col.emergency { background: var(--red-50); }
.menu h3 { font-size: 1rem; margin: 0 0 8px; }
.menu .emergency h3 { color: var(--red); }
.menu .h-gap { margin-top: 20px; }
.nav .menu a { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--text); text-decoration: none; font-weight: 400; font-size: .98rem; line-height: 1.35; border: 0; border-top: 1px solid rgba(15,61,36,.12); }
.nav .menu a:hover { color: var(--g700); }
.nav .menu a i { color: var(--g600); margin-top: 2px; flex: none; width: 20px; text-align: center; }
.nav .menu .emergency a i { color: var(--red); }
.nav .menu a b { color: var(--ink); font-family: var(--font-d); margin-right: 4px; }
.nav .menu .emergency a:hover { color: var(--red); }

/* ---------- hero: garis tumbuh ---------- */
.hero { padding: 72px 0 0; background: var(--mist); overflow: hidden; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; max-width: 15ch; margin-bottom: 22px; }
.hero .lead { font-size: 1.2rem; max-width: 52ch; color: var(--text); margin-bottom: 0; }
.hero-live { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--muted); }
.hero-live::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--g500); flex: none; }

.life { position: relative; height: 262px; margin-top: 36px; }
.life-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.life-line { fill: none; stroke: var(--g600); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.life-base { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
#lc-tabs { position: static; }
.node { position: absolute; left: calc((var(--i) + .5) / 7 * 100%); bottom: calc(14px + var(--i) * 17px); width: calc(100% / 7); transform: translateX(-50%); background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; text-align: center; }
.node .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 3px solid var(--g600); display: grid; place-items: center; color: var(--g700); font-size: 1.2rem; transition: background .15s, transform .15s, border-color .15s; }
.node:hover .dot { background: var(--g100); transform: scale(1.08); }
.node .lbl { height: 58px; display: block; }
.node .lbl b { display: block; font-family: var(--font-d); font-size: .98rem; line-height: 1.2; color: var(--ink); }
.node .lbl small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.node.on .dot { background: var(--sun); border-color: var(--ink); color: var(--ink); transform: scale(1.18); box-shadow: 0 0 0 6px rgba(242,177,0,.28); }
.node.on .lbl b { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sun); text-underline-offset: 4px; }

/* gerakan utama halaman: kurva tergambar, titik muncul berurutan */
@media (prefers-reduced-motion: no-preference) {
  .life-line { animation: draw 1.6s cubic-bezier(.5, 0, .2, 1) .15s both; }
  .node { animation: node-in .5s ease-out both; animation-delay: calc(var(--i) * .17s + .35s); }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes node-in { from { opacity: 0; translate: 0 14px; } }

/* panel layanan terpilih */
.lc { background: var(--paper); border-top: 4px solid var(--ink); padding: 40px 0 56px; }
.lc-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.lc-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 8px; }
.lc-head .tagline { font-size: 1.1rem; max-width: 32ch; }
.lc-meta { margin-top: 24px; display: grid; gap: 16px; }
.fact { padding-left: 16px; border-left: 4px solid var(--g500); }
.fact.digital { border-left-color: var(--teal); }
.fact b { display: block; font-family: var(--font-d); color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.fact p { margin: 0; font-size: .98rem; }
.lc-list h3 { font-size: 1.1rem; margin-bottom: 14px; }
.lc-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.ticks li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line-soft); line-height: 1.5; }
.ticks li:last-child { border-bottom: 1px solid var(--line-soft); }
.ticks li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 12px; color: var(--g600); font-size: 1.15rem; }
.ticks-sm li { padding: 8px 0 8px 28px; font-size: .98rem; border: 0; }
.ticks-sm li:last-child { border: 0; }
.ticks-sm li::before { top: 8px; font-size: 1rem; }

/* ---------- jalan pintas ---------- */
.strip { background: var(--ink); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip a, .strip button { display: flex; flex-direction: column; gap: 2px; padding: 22px 24px; color: #fff; text-decoration: none; background: none; border: 0; border-left: 1px solid rgba(255,255,255,.18); text-align: left; cursor: pointer; font-family: var(--font); transition: background .15s; }
.strip .wrap > *:first-child { border-left: 0; padding-left: 0; }
.strip a:hover, .strip button:hover { background: rgba(255,255,255,.08); }
.strip b { font-family: var(--font-d); font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.strip b i { color: var(--sun); }
.strip span { font-size: .92rem; color: #b9d3c1; }

/* ---------- section ---------- */
.sec { padding: 96px 0; }
.sec.tint { background: var(--mist); }
.sec.dark { background: var(--ink); color: #c9ddd0; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.sec-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.dark .sec-head p { color: #a9c6b3; }
.sec-head.center { margin-inline: auto; text-align: center; }

/* ---------- ILP: tangga layanan ---------- */
.ilp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.ilp-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
.ilp-grid .big { font-size: 1.15rem; max-width: 56ch; }
.diff { margin-top: 28px; border-top: 1px solid var(--line); }
.diff > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.diff b { font-family: var(--font-d); color: var(--muted); }
.diff .after b { color: var(--g700); }
.ladder { position: relative; padding-left: 44px; }
.ladder::before { content: ''; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 4px; background: linear-gradient(var(--g500), var(--ink)); border-radius: 2px; }
.rung { position: relative; padding-bottom: 36px; }
.rung:last-of-type { padding-bottom: 8px; }
.rung::before { content: ''; position: absolute; left: -44px; top: 4px; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 4px solid var(--g600); }
.rung:last-of-type::before { background: var(--ink); border-color: var(--ink); }
.rung h3 { font-size: 1.25rem; margin-bottom: 4px; }
.rung p { margin: 0; color: var(--muted); max-width: 44ch; }
.ladder-note { margin: 24px 0 0; padding: 14px 16px; background: var(--teal-50); border-left: 4px solid var(--teal); font-size: .98rem; }

/* ---------- klaster: daftar ---------- */
.k-list { border-top: 2px solid var(--ink); }
.k-row { border-bottom: 1px solid var(--line); }
.k-head { display: grid; grid-template-columns: 72px 1fr 1.3fr auto; gap: 24px; align-items: center; width: 100%; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.k-head:hover .k-name { color: var(--g700); }
.k-no { font-family: var(--font-d); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--g600); letter-spacing: -.04em; }
.k-name { font-family: var(--font-d); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.k-sum { color: var(--muted); }
.k-plus { width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; transition: transform .2s, background .2s; color: var(--ink); }
.k-row.open .k-plus { transform: rotate(45deg); background: var(--sun); border-color: var(--ink); }
.k-more { display: grid; grid-template-columns: 72px 1fr 1fr; gap: 24px; padding: 0 0 28px; }
.k-more ul { grid-column: 2; }
.k-digital { grid-column: 3; margin: 0; padding: 14px 16px; background: var(--teal-50); border-left: 4px solid var(--teal); font-size: .98rem; align-self: start; }
.k-digital i { margin-right: 6px; color: var(--teal); }

/* ---------- posyandu: papan jadwal ---------- */
.pos-layout { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.pos-side { position: sticky; top: 96px; }
label, .group-t { display: block; font-weight: 700; font-size: .95rem; color: var(--ink); margin: 0 0 6px; }
.select, .field input[type=number] { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 1rem; appearance: none; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230f3d24' stroke-width='2.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.select:focus, .field input:focus { outline: 3px solid var(--sun); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 6px 14px; border-radius: var(--r); background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: .95rem; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-sm { min-height: 36px; padding: 4px 12px; font-size: .9rem; }
.pos-side .chips { margin-bottom: 28px; }
.pos-side h4 { font-size: 1.05rem; margin: 0 0 10px; }
.pustu { display: grid; gap: 14px; }
.tag { display: inline-block; font-size: .82rem; font-weight: 700; padding: 1px 10px; border-radius: 3px; background: var(--g100); color: var(--g800); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pos-list { border-top: 2px solid var(--ink); }
.pos-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pos-row.today { background: var(--sun-50); margin: 0 -16px; padding-inline: 16px; border-bottom-color: var(--sun); }
.pos-date { text-align: center; line-height: 1; }
.pos-date b { display: block; font-family: var(--font-d); font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; }
.pos-date span { display: block; margin-top: 4px; font-weight: 700; font-size: .92rem; color: var(--muted); }
.pos-row h4 { margin: 0 0 2px; font-size: 1.15rem; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pos-row p { margin: 0; font-size: .98rem; }
.when { font-family: var(--font); font-size: .82rem; font-weight: 700; background: var(--ink); color: #fff; padding: 1px 10px; border-radius: 3px; letter-spacing: 0; }
.pos-rule { text-align: right; font-size: .9rem !important; line-height: 1.4 !important; }
.empty { padding: 32px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.demo-note { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #6d4a00; background: var(--amber-50); border-left: 4px solid var(--amber); padding: 10px 14px; margin: 24px 0 0; max-width: 62ch; }

/* ---------- skrining ---------- */
.sk-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sk-form { border-top: 2px solid var(--ink); padding-top: 28px; }
.sk-form h3 { font-size: 1.35rem; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field-row .field { margin: 0; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 2px solid var(--line); border-radius: var(--r); font-weight: 700; cursor: pointer; background: #fff; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.checks { display: grid; gap: 0; margin: 4px 0 24px; border-top: 1px solid var(--line); }
.check { display: flex; align-items: flex-start; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--line); cursor: pointer; line-height: 1.45; margin: 0; font-weight: 400; color: var(--text); font-size: 1rem; }
.check input { width: 22px; height: 22px; accent-color: var(--g600); margin-top: 1px; flex: none; }
.check:has(input:checked) { background: var(--g50); }
.check.danger { color: var(--red); }
.check.danger:has(input:checked) { background: var(--red-50); }
.check.danger input { accent-color: var(--red); }
.form-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.sk-placeholder { border-top: 2px solid var(--line); padding-top: 28px; color: var(--muted); }
.sk-placeholder i { font-size: 2rem; color: var(--g500); display: block; margin-bottom: 8px; }
.sk-out { border-left: 8px solid; padding: 28px 28px 24px; margin: 0; }
.sk-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.sk-head > i { font-size: 2rem; line-height: 1; margin-top: 2px; }
.sk-head h3 { font-size: 1.4rem; margin-bottom: 6px; }
.sk-head p { margin: 0 0 6px; }
.sk-imt { font-weight: 700; color: var(--ink); }
.sk-out h4 { font-size: 1rem; margin: 22px 0 8px; }
.sk-items li { padding: 12px 0; border-top: 1px solid rgba(15,61,36,.18); display: grid; gap: 2px; }
.sk-items b { color: var(--ink); }
.sk-items span { font-size: .96rem; }
.sk-items em { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--teal); }
.sk-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.disclaimer { font-size: .88rem; color: var(--muted); margin: 20px 0 0; display: flex; gap: 8px; line-height: 1.5; }
.lvl-green { background: #e8f5ec; border-color: var(--g600); } .lvl-green .sk-head > i { color: var(--g600); }
.lvl-yellow { background: var(--sun-50); border-color: var(--sun); } .lvl-yellow .sk-head > i { color: var(--amber); }
.lvl-amber { background: #ffe9cc; border-color: var(--amber); } .lvl-amber .sk-head > i { color: #b86e00; }
.lvl-red { background: var(--red-50); border-color: var(--red); } .lvl-red .sk-head > i { color: var(--red); }
.lvl-info { background: var(--teal-50); border-color: var(--teal); } .lvl-info .sk-head > i { color: var(--teal); }

/* ---------- alur ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin-bottom: 40px; }
.steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 25px; height: 3px; background: rgba(255,255,255,.2); }
.step { background: none; border: 0; cursor: pointer; color: #a9c6b3; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 10px; position: relative; text-align: center; font-family: var(--font); }
.step-n { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); border: 3px solid #5a8a6a; display: grid; place-items: center; font-family: var(--font-d); font-weight: 800; color: #fff; font-size: 1.15rem; transition: all .15s; }
.step-t { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.step:hover .step-n { border-color: #fff; }
.step.done .step-n { background: var(--g600); border-color: var(--g600); }
.step.on .step-n { background: var(--sun); border-color: var(--sun); color: var(--ink); transform: scale(1.12); }
.step.on { color: #fff; }
.alur-detail { display: grid; grid-template-columns: 88px 1fr; gap: 28px; padding: 32px 0 0; border-top: 1px solid rgba(255,255,255,.22); }
.alur-ico { width: 72px; height: 72px; background: var(--g600); color: #fff; display: grid; place-items: center; font-size: 2rem; border-radius: var(--r); }
.alur-detail .step-count { color: var(--sun); font-weight: 700; margin-bottom: 4px; font-size: .95rem; }
.alur-detail h3 { font-size: 1.7rem; }
.alur-detail p { color: #d4e6da; max-width: 62ch; }
.digital-tag { display: inline-flex !important; gap: 8px; align-items: center; background: rgba(14,124,134,.4); color: #c8f3f6 !important; padding: 6px 14px; border-radius: 3px; font-weight: 700; font-size: .95rem; }
.alur-nav { display: flex; gap: 10px; margin-top: 20px; }
.dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.dark .btn-ghost:hover { background: #fff; color: var(--ink); }
.dark .btn-primary { background: var(--sun); color: var(--ink); }
.dark .btn-primary:hover { background: #ffc933; color: var(--ink); }

/* ---------- capaian ---------- */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; }
.cap-card { padding: 0 0 36px; }
.cap-card h3 { font-size: 1.15rem; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 18px; }
.cap-row + .cap-row { margin-top: 20px; }
.cap-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; line-height: 1.35; }
.cap-top b { font-family: var(--font-d); color: var(--ink); font-size: 1.15rem; }
.bar { position: relative; height: 14px; background: var(--g50); border: 1px solid var(--line); }
.bar i { display: block; height: 100%; width: 0; background: var(--amber); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.bar i.ok { background: var(--g600); }
.go .bar i { width: var(--w); }
.bar u { position: absolute; top: -5px; bottom: -5px; width: 3px; background: var(--ink); text-decoration: none; }
.cap-row small { display: block; margin-top: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 20px; font-size: .92rem; color: var(--muted); margin-top: 8px; }
.legend span::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; background: var(--g600); }
.legend span:nth-child(2)::before { background: var(--amber); }
.legend span:nth-child(3)::before { width: 3px; background: var(--ink); margin-right: 11px; }
.cap-link { margin-top: 28px; }

/* ---------- digital: daftar ---------- */
.dig-list { border-top: 2px solid var(--ink); }
.dig { display: grid; grid-template-columns: 56px 1fr 1.1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.dig > i { font-size: 2rem; color: var(--g600); line-height: 1; }
.dig:nth-child(2) > i, .dig:nth-child(4) > i { color: var(--teal); }
.dig h3 { font-size: 1.35rem; margin: 0; }
.dig p { margin: 0 0 14px; }
.dig .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- tentang ---------- */
.band { position: relative; height: clamp(260px, 38vw, 440px); background: var(--g100); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.band-cap { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; padding: 14px 28px; font-size: .98rem; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; }
.about-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
.tabbar { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.tabbar button { background: none; border: 0; padding: 10px 0; font-family: var(--font-d); font-weight: 700; font-size: 1.05rem; color: var(--muted); cursor: pointer; border-bottom: 4px solid transparent; margin-bottom: -1px; }
.tabbar button:hover { color: var(--ink); }
.tabbar button.on { color: var(--ink); border-bottom-color: var(--sun); }
.vm h4 { font-size: 1.05rem; margin: 24px 0 8px; color: var(--g700); }
.vm h4:first-child { margin-top: 0; }
.vision { font-family: var(--font-d); font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -.02em; max-width: 26ch; }
.val { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.val b { font-family: var(--font-d); color: var(--g700); font-size: 1.05rem; display: block; margin-bottom: 2px; }
.val p { margin: 0; font-size: 1rem; line-height: 1.5; }
.promise { font-family: var(--font-d); font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -.02em; max-width: 28ch; }
.promise-tag { display: inline-block; margin-top: 8px; background: var(--ink); color: #fff; padding: 8px 20px; border-radius: var(--r); font-family: var(--font-d); font-weight: 700; }

.welcome { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }
.welcome .photo { background: var(--g100); aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; }
.welcome .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.welcome h2 { font-size: 1.1rem; color: var(--g700); margin-bottom: 18px; }
.welcome blockquote { margin: 0; font-family: var(--font-d); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -.01em; max-width: 52ch; }
.sign { margin-top: 28px; padding-left: 16px; border-left: 4px solid var(--sun); }
.sign b { font-family: var(--font-d); display: block; color: var(--ink); font-size: 1.15rem; }
.sign span { color: var(--muted); }

/* ---------- infografis ---------- */
.info-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.info-head .sec-head { margin: 0; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 1.1rem; cursor: pointer; }
.arrows button:hover { background: var(--ink); color: #fff; }
.info-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; scrollbar-width: thin; scrollbar-color: var(--g600) transparent; }
.info-item { flex: 0 0 min(290px, 72vw); scroll-snap-align: start; }
.info-item a { display: block; color: inherit; text-decoration: none; }
.info-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.info-item a:hover img { border-color: var(--ink); }
.info-item span { display: flex; justify-content: space-between; gap: 8px; padding: 12px 2px 0; font-weight: 700; color: var(--ink); line-height: 1.3; }
.info-item span i { color: var(--g600); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 880px); width: 100%; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(8,28,16,.86); }
dialog.lightbox figure { margin: 0; position: relative; }
dialog.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--r); }
dialog.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 700; }
.lb-close { position: absolute; top: -14px; right: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.1rem; cursor: pointer; }

/* ---------- kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 420px 1fr; gap: 0; }
.contact-card { background: var(--ink); color: #c9ddd0; padding: 40px; }
.contact-card h3 { color: #fff; font-size: 1.6rem; }
.hours { margin: 16px 0 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.2); line-height: 1.5; }
.hours b { color: #fff; display: block; font-size: 1.1rem; }
.hours .live { display: block; margin-top: 10px; color: var(--sun); font-weight: 700; }
.c-item { display: flex; gap: 14px; margin-bottom: 20px; }
.c-item > i { font-size: 1.3rem; color: var(--sun); margin-top: 2px; }
.c-item b { color: #fff; display: block; }
.c-item a, .c-item p { color: #c9ddd0; margin: 0; word-break: break-word; }
.c-item a:hover { color: #fff; }
.map { min-height: 440px; border: 1px solid var(--line); border-left: 0; }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* ---------- footer ---------- */
.footer { background: var(--g900); color: #a9c6b3; padding: 36px 0; font-size: .98rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer b { color: #fff; }
.footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { color: #a9c6b3; } .footer a:hover { color: #fff; }

/* ---------- chatbot ---------- */
.chatbot { position: fixed; right: 22px; bottom: 22px; z-index: 150; }
.chatbot-toggle { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: 0; border-radius: var(--r); padding: 14px 20px; font-family: var(--font); font-weight: 700; cursor: pointer; font-size: 1rem; box-shadow: 0 6px 20px rgba(11,46,26,.35); }
.chatbot-toggle:hover { background: var(--g700); }
.chatbot-toggle i { font-size: 1.25rem; color: var(--sun); }
.chatbot-toggle.open .lbl { display: none; }
.chatbot-win { position: absolute; right: 0; bottom: 66px; width: min(390px, calc(100vw - 32px)); height: min(570px, calc(100vh - 120px)); background: #fff; border-radius: var(--r); box-shadow: 0 16px 48px rgba(11,46,26,.3); border: 2px solid var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.chatbot-head { background: var(--ink); color: #fff; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.chatbot-head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--g600); display: grid; place-items: center; font-size: 1.2rem; }
.chatbot-head b { display: block; line-height: 1.2; font-family: var(--font-d); }
.chatbot-head small { color: #b9d3c1; font-size: .85rem; }
.chatbot-head button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.15rem; cursor: pointer; padding: 8px; }
#chatbot-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); }
.chatbot-msg { max-width: 88%; padding: 11px 15px; border-radius: var(--r); font-size: 1rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.chatbot-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.chatbot-msg.user { background: var(--g600); color: #fff; align-self: flex-end; }
.chatbot-msg.typing { color: var(--muted); font-style: italic; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 0; background: var(--mist); }
.suggest button { background: #fff; border: 2px solid var(--line); color: var(--ink); padding: 6px 12px; border-radius: var(--r); font-size: .9rem; font-weight: 700; cursor: pointer; }
.suggest button:hover { border-color: var(--ink); }
.chatbot-in { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.chatbot-in input { flex: 1; border: 2px solid var(--line); border-radius: var(--r); padding: 10px 14px; min-height: 46px; }
.chatbot-in input:focus { outline: none; border-color: var(--ink); }
.chatbot-in button { width: 46px; height: 46px; border-radius: var(--r); border: 0; background: var(--g600); color: #fff; cursor: pointer; font-size: 1.05rem; }
.chatbot-in button:disabled { opacity: .5; }
.chatbot-note { text-align: center; font-size: .82rem; color: var(--muted); padding: 0 0 10px; background: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar i { transition: none; }
}

/* ---------- responsif ---------- */
@media (max-width: 1220px) {
  .burger { display: block; }
  .header .btn { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--paper); padding: 8px 24px 24px; border-bottom: 2px solid var(--ink); display: none; margin: 0; }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .has-menu { padding-top: 14px; }
  .menu-btn { width: 100%; justify-content: center; min-height: 48px; }
  .menu { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; margin-top: 10px; }
  .menu-col + .menu-col { border-left: 0; border-top: 1px solid var(--line); }
  .nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); }
  .nav a.active { border-bottom-color: var(--line-soft); color: var(--g700); }
}
@media (max-width: 900px) {
  .sec { padding: 64px 0; }
  .hero { padding-top: 44px; }
  .lc-grid, .ilp-grid, .pos-layout, .sk-layout, .about-grid, .welcome, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip .wrap > *:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip .wrap > *:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .k-head { grid-template-columns: 48px 1fr auto; gap: 14px; }
  .k-no { font-size: 2rem; }
  .k-sum { display: none; }
  .k-more { grid-template-columns: 1fr; padding-left: 62px; gap: 14px; }
  .k-more ul, .k-digital { grid-column: 1; }
  .pos-side { position: static; }
  .cap-grid { grid-template-columns: 1fr; }
  .dig { grid-template-columns: 44px 1fr; }
  .dig > div:last-child { grid-column: 2; }
  .steps { grid-template-columns: 1fr; gap: 4px; }
  .steps::before { display: none; }
  .step { flex-direction: row; text-align: left; padding: 6px 0; }
  .step-n { width: 44px; height: 44px; flex: none; }
  .alur-detail { grid-template-columns: 1fr; }
  .welcome .photo { max-width: 300px; }
  .info-head { flex-direction: column; align-items: flex-start; }
  .map { border-left: 1px solid var(--line); border-top: 0; }

  /* garis tumbuh jadi daftar vertikal di layar kecil */
  .life { height: auto; margin-top: 28px; padding-bottom: 8px; }
  .life-svg { display: none; }
  #lc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .node { position: static; transform: none; width: auto; flex-direction: row; text-align: left; gap: 12px; padding: 10px; border: 2px solid var(--line); border-radius: var(--r); background: var(--paper); }
  .node .dot { width: 40px; height: 40px; flex: none; }
  .node .lbl { height: auto; }
  .node.on { border-color: var(--ink); background: var(--sun-50); }
  .node.on .dot { transform: none; box-shadow: none; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  #lc-tabs { grid-template-columns: 1fr; }
  .strip .wrap { grid-template-columns: 1fr; }
  .strip .wrap > * { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid rgba(255,255,255,.18); }
  .strip .wrap > *:first-child { border-top: 0; }
  .field-row, .val { grid-template-columns: 1fr; }
  .diff > div { grid-template-columns: 1fr; gap: 2px; }
  .pos-row { grid-template-columns: 64px 1fr; gap: 16px; }
  .pos-rule { grid-column: 1 / -1; text-align: left; }
  .pos-row.today { margin: 0 -8px; padding-inline: 8px; }
  .chatbot-toggle .lbl { display: none; }
  .chatbot-toggle { padding: 16px; }
  .chatbot { right: 14px; bottom: 14px; }
  .contact-card { padding: 28px 22px; }
}
