@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --mist: #f3f6fa;
  --ink: #0b2545;
  --ink-2: #44546a;
  --muted: #5b6b80;
  --line: #d9e2ec;
  --line-strong: #c3d0df;
  --control: #7a8aa0;
  --primary: #1565c0;
  --primary-hover: #0d4fa0;
  --tint: #e7f0fb;
  --cable: #03a5fd;
  --cable-strong: #0277bd;
  --navy-2: #0f2f57;
  --navy-line: #24497a;
  --on-navy: #c9d6e6;
  --on-navy-2: #a9bdd6;
  --danger: #b3261e;
  --radius: 8px;
  --radius-panel: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --rx: -36px;
  --pad: 0px;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  accent-color: var(--primary);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-underline-offset: .2em; }
a:hover { color: var(--primary-hover); }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
a[href], button:not(:disabled), summary, select, label[for] { cursor: pointer; }
button:disabled { cursor: not-allowed; }
input, select, textarea, button { font: inherit; color: inherit; caret-color: var(--primary); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--radius); background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Tipografi: skala jelas, judul memimpin */
.display { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.h1 { font-size: clamp(1.85rem, 1.35rem + 1.8vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem); font-weight: 700; letter-spacing: -0.025em; }
.h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.375rem); font-weight: 700; }
.h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.0625rem, 1rem + .2vw, 1.125rem); color: var(--ink-2); max-width: 46ch; margin-top: 20px; }
.section-lead { color: var(--ink-2); margin-top: 14px; max-width: 44ch; }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.btn-lg { min-height: 48px; padding: 0 20px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-primary:active { background: #0a3f80; }
.btn-primary:disabled { background: var(--line-strong); color: var(--ink-2); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--control); }
.btn-quiet:hover { border-color: var(--primary); color: var(--primary); }
.btn-quiet:active { background: var(--tint); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-outline-light { color: #fff; border-color: #8aa0bd; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-outline-light:active { background: var(--navy-2); }
/* Tombol utama di atas navy: cyan logo digelapkan agar teks putih 4.8:1, tepi 3.2:1 terhadap navy */
.btn-cable, .page-head .btn-primary, .service-head .btn-primary { background: var(--cable-strong); color: #fff; }
.btn-cable:hover, .page-head .btn-primary:hover, .service-head .btn-primary:hover { background: #02659f; color: #fff; }
.btn-cable:active, .page-head .btn-primary:active, .service-head .btn-primary:active { background: #025a8e; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { width: auto; height: 32px; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-list { display: flex; gap: 2px; }
.nav-list a { display: block; padding: 10px 14px; border-radius: var(--radius); color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-list a:hover { background: var(--mist); color: var(--ink); }
.nav-list a[aria-current="page"] { color: var(--primary); background: var(--tint); }
.nav-toggle { display: none; margin-left: auto; min-height: 44px; padding: 0 12px; gap: 8px; align-items: center; border: 1px solid var(--control); border-radius: var(--radius); background: var(--paper); font-weight: 600; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 14px; margin: 0; padding-bottom: 16px; }
  .js .header-inner { flex-wrap: nowrap; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { position: absolute; inset: 100% 0 auto; padding: 14px var(--gutter) 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 32px -24px rgba(11, 37, 69, .35); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), visibility 0s .2s; }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: 13px 12px; font-size: 1.05rem; }
  .nav-open .nav { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .2s var(--ease); }
  .nav-open .nav-toggle .icon-menu { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
}

main { display: block; }
main:focus { outline: none; }

/* Hero: judul dan diagram yang dikelola */
.hero { position: relative; isolation: isolate; overflow: hidden;
  /* Navy sedikit lebih terang di belakang diagram memberi kedalaman; sisi teks tetap navy gelap */
  background: radial-gradient(ellipse 55% 75% at 72% 42%, #16406f 0%, #0f2f57 45%, var(--ink) 80%); color: #fff; padding-top: clamp(40px, 5vw, 72px); }
.hero .display { color: #fff; }
.accent { color: var(--cable); }
.hero .lead { color: var(--on-navy); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
/* Panel diagram: satu-satunya elevasi di hero */
.diagram { position: relative; margin: 0; padding: 22px; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius-panel); box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .65); }
.diagram-svg { width: 100%; height: auto; }
.diagram-svg .managed-area { fill: rgba(3, 165, 253, .06); stroke: var(--cable); stroke-width: 2; stroke-dasharray: 6 6; }
.diagram-svg text { font-family: "Plus Jakarta Sans", sans-serif; }
.diagram-svg .noc { fill: #133a66; stroke: #4a7ab3; stroke-width: 1.5; }
.diagram-svg .noc-title { fill: #fff; font-size: 15px; font-weight: 700; }
.diagram-svg .noc-sub, .diagram-svg .area-label { fill: var(--on-navy-2); font-size: 13px; font-weight: 600; }
.diagram-svg .noc-cell rect { fill: var(--navy-2); }
.diagram-svg .cell-label { fill: #fff; font-size: 13px; font-weight: 700; }
.diagram-svg .cell-state { fill: var(--cable); font-size: 12px; font-weight: 600; }
.diagram-svg .dicon { fill: none; stroke: var(--on-navy); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.diagram-svg .wire { fill: none; stroke: var(--cable); stroke-width: 3; stroke-linecap: round; }
.diagram-svg .node rect { fill: #133a66; stroke: #4a7ab3; stroke-width: 1.5; }
.diagram-svg .node text { fill: #fff; font-size: 13px; font-weight: 600; }
.diagram-svg .tick circle { fill: var(--cable); stroke: var(--navy-2); stroke-width: 3; }
.diagram-svg .tick path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.diagram-svg .flow-label { fill: var(--on-navy-2); font-size: 12px; font-weight: 600; }
.diagram-svg .pulse { fill: #fff; stroke: var(--cable); stroke-width: 2; }
.diagram-svg .link-node rect { fill: #133a66; stroke: #4a7ab3; stroke-width: 1.5; }
.diagram-svg .link-name { fill: #fff; font-size: 12px; font-weight: 700; }
.diagram-svg .link-role { fill: var(--cable); font-size: 11px; font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); padding-block: 22px clamp(24px, 3vw, 40px); border-top: 1px solid var(--navy-line); }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts li + li { border-left: 1px solid var(--navy-line); padding-left: clamp(20px, 3vw, 40px); }
.fact-value { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.875rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.fact-label { color: var(--on-navy); font-size: .97rem; }
/* Latar hero: cincin sinyal pemantauan memancar dari belakang panel diagram (CSS saja, tanpa gambar).
   Hiasan, memudar ke luar agar judul dan baris fakta tetap bersih. */
.diagram::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 1200px; height: 1200px; transform: translate(-50%, -50%); pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 55px, rgba(3, 165, 253, .28) 55px 56.5px);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 42%, transparent 95%); mask-image: radial-gradient(circle closest-side, #000 42%, transparent 95%); }
.diagram::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 560px; height: 560px; border: 2px solid var(--cable); border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.6); pointer-events: none; }
/* Fokus terlihat di atas latar navy */
.hero :focus-visible, .page-head :focus-visible, .crumbs :focus-visible, .service-head :focus-visible, .close :focus-visible { outline-color: var(--cable); }

/* Jalur kabel: motif identitas yang menyambung judul bagian */
.route-section { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(8px, 2vw, 24px) var(--pad); }
.route-section::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--rx); width: 2px; background: var(--cable); }
.route-title { position: relative; }
.route-title::before { content: ""; position: absolute; top: .3em; left: calc(var(--rx) - var(--pad) - 6px); width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--cable); }
.route > .route-section:first-child::before { top: 40px; }
.route > .route-section:last-child { padding-bottom: clamp(56px, 7vw, 96px); }
.route > .route-section:last-child::before { bottom: auto; height: calc(clamp(56px, 7vw, 96px) + .9em); }

/* Inti: yang kami kelola */
.managed-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.managed-item { display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 26px 24px; color: var(--ink); text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-panel); transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.managed-item:hover { color: var(--ink); border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(11, 37, 69, .45); }
.managed-item:active { transform: none; background: var(--tint); }
.managed-item .row-icon { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 12px; background: var(--tint); }
.managed-item .row-title { font-size: 1.05rem; }
.row-icon { color: var(--primary); padding-top: 2px; }
.row-icon .icon { width: 26px; height: 26px; }
.row-title { display: block; font-weight: 700; }
.row-sub { display: block; color: var(--ink-2); font-size: .97rem; margin-top: 4px; }

/* Sekunder: dipadatkan */
.other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.other-group { background: var(--mist); border-radius: var(--radius-panel); padding: clamp(22px, 3vw, 32px); }
.other-group p { color: var(--ink-2); margin-top: 8px; font-size: .98rem; max-width: 46ch; }
.other-group h3 a { color: var(--ink); text-decoration: none; }
.other-group h3 a:hover { color: var(--primary); text-decoration: underline; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.link-list a { display: inline-block; padding: 10px 0; font-weight: 600; }

/* Langkah: proses nyata tiga tahap */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; counter-reset: step; }
.step { position: relative; counter-increment: step; padding-top: 64px; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 52px; right: -24px; height: 2px; background: var(--cable); }
.step p { color: var(--ink-2); margin-top: 8px; max-width: 36ch; }

/* Penutup kontak: satu blok gelap sebagai titik akhir halaman */
.close { background: var(--ink); color: #fff; padding-block: clamp(48px, 6vw, 80px); }
.close-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.close p { color: #c9d6e6; margin-top: 10px; max-width: 46ch; }
.close .actions { margin-top: 0; }

/* Halaman dalam */
.page-head, .crumbs, .service { color: #fff; border-image: conic-gradient(var(--ink) 0 0) fill 0 / / 0 100vmax; }
.page-head { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px); }
.page-head .lead, .service .lead { color: var(--on-navy); }
.page-head .btn-quiet { color: #fff; border-color: #8aa0bd; }
.page-head .btn-quiet:hover { color: #fff; border-color: #fff; }
.page-head .btn-quiet:active { background: var(--navy-2); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tab { min-height: 44px; padding: 0 16px; border-radius: var(--radius); border: 1px solid #8aa0bd; background: transparent; color: #fff; font-weight: 600; }
.tab:hover { border-color: #fff; }
.tab[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); }
.groups { padding-block: 40px clamp(56px, 7vw, 96px); }
.group { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 24px 48px; padding-block: 36px; border-top: 1px solid var(--line); }
.group[hidden] { display: none; }
.group:first-child { border-top: 0; }
.group-head p { color: var(--ink-2); margin-top: 10px; max-width: 40ch; }
.group-managed .group-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.rows li + li { border-top: 1px solid var(--line); }
.row-link { display: flex; gap: 14px; padding: 16px 12px; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.row-link:hover { background: var(--mist); color: var(--ink); }
.row-link:active { background: var(--tint); }
.group:not(.group-managed) .row-sub { font-size: .94rem; }
.row-link .row-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border-radius: 10px; background: var(--tint); }
.row-link .row-icon .icon { width: 22px; height: 22px; }
/* Inti layanan sebagai kartu, kelompok lain tetap daftar ringkas */
.group-managed .rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.group-managed .rows li + li { border-top: 0; }
.group-managed .row-link { height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-panel); transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.group-managed .row-link:hover { background: var(--paper); border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 16px 32px -24px rgba(11, 37, 69, .45); }
.group-managed .row-link:active { transform: none; background: var(--tint); }

.crumbs { padding-top: 24px; font-size: .92rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; color: #8aa0bd; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--on-navy); display: inline-block; padding: 10px 0; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; padding: 10px 0; }
.service { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px); align-items: start; }
.service-head .btn { margin-top: 28px; }
.service-points { background: var(--paper); color: var(--ink); border-radius: var(--radius-panel); padding: clamp(20px, 3vw, 32px); }
.checks { display: grid; gap: 12px; margin-top: 16px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--primary); margin-top: 3px; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 64px); padding-top: clamp(48px, 6vw, 72px); align-items: start; }
.prose { color: var(--ink-2); max-width: 60ch; font-size: clamp(1rem, .97rem + .15vw, 1.0625rem); }
.prose p:first-child { color: var(--ink); font-weight: 600; }
.prose p + p { margin-top: 1em; }
/* Fakta perusahaan: kartu ringkas dengan baris terpisah garis */
.fact-list { display: grid; padding: 8px 24px; background: var(--mist); border-radius: var(--radius-panel); }
.fact-list div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4px 16px; padding-block: 14px; }
.fact-list div + div { border-top: 1px solid var(--line); }
.fact-list dt, .vmv dt { font-weight: 700; color: var(--ink); }
.fact-list dd { color: var(--ink-2); }
/* Bidang kerja: managed service ditonjolkan, kelompok lain menyusul */
.work-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 32px; }
.work-card { padding: clamp(22px, 3vw, 30px); background: var(--mist); border-radius: var(--radius-panel); }
.work-card p { color: var(--ink-2); margin-top: 8px; font-size: .98rem; }
.work-card h3 a { color: var(--ink); text-decoration: none; }
.work-card h3 a:hover { color: var(--primary); text-decoration: underline; }
.work-managed { background: var(--ink); color: #fff; }
.work-managed h3 a, .work-managed h3 a:hover { color: #fff; }
.work-managed p { color: var(--on-navy); }
.work-managed .link-list a { color: #fff; }
.work-managed .link-list a:hover { color: var(--on-navy); }
.work-managed :focus-visible { outline-color: var(--cable); }
.vmv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.vmv div { padding: clamp(22px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.vmv dt { font-size: 1.1rem; }
.vmv dd { color: var(--ink-2); margin-top: 10px; }

.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); padding-block: 48px clamp(56px, 7vw, 96px); }
.wa-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; align-content: start; }
.wa-form h2, .field-wide, .form-note, .form-status, .wa-form .btn, .wa-form noscript { grid-column: 1 / -1; }
.wa-form .btn { justify-self: start; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--control); border-radius: var(--radius); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select { appearance: none; padding-right: 44px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231565c0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(21, 101, 192, .25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; font-weight: 600; }
.form-note { color: var(--muted); font-size: .95rem; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; color: var(--primary); }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; }
.contact-icon { color: var(--primary); padding-top: 3px; }
.contact-label { display: block; font-weight: 700; color: var(--ink); }
.contact-list li > span:last-child { color: var(--ink-2); }
.contact-list a { display: inline-block; padding: 4px 0; }

.notfound { padding-bottom: clamp(64px, 8vw, 112px); }

/* Footer */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding-top: 48px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; padding-bottom: 32px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { color: var(--ink-2); margin-top: 14px; max-width: 52ch; font-size: .96rem; }
.footer-meta { font-size: .92rem; }
.footer-nav { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 16px 32px; }
.footer-nav a { display: inline-flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: var(--primary); text-decoration: underline; }
.footer-nav .icon { width: 18px; height: 18px; margin-top: .2em; color: var(--primary); }
.footer-base { border-top: 1px solid var(--line); padding-block: 18px; font-size: .9rem; color: var(--ink-2); }

/* Gerak: diagram tergambar sekali, bagian muncul sekali, transisi halaman */
@media (prefers-reduced-motion: no-preference) {
  .js .diagram .wire { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .diagram.in .wire { animation: draw .7s var(--ease) forwards; }
  .js .diagram.in .wire:nth-of-type(n+3) { animation-delay: .25s; }
  .js .diagram.in .wire:nth-of-type(n+6) { animation-delay: .5s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  /* Satu cincin cyan mengembang tiga kali lalu berhenti */
  .js .diagram.in::after { animation: signal 3.2s cubic-bezier(.2, .6, .3, 1) .6s 3; }
  @keyframes signal { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.1); } }
  /* Centang muncul setelah garis tersambung: bagian itu kini dipantau */
  .js .diagram .tick { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
  .js .diagram.in .tick { animation: pop .35s var(--ease) forwards; animation-delay: 1s; }
  .js .diagram.in .tick:nth-of-type(n+3) { animation-delay: 1.1s; }
  .js .diagram.in .tick:nth-of-type(n+5) { animation-delay: 1.2s; }
  @keyframes pop { to { opacity: 1; transform: none; } }
  .js .managed.in .managed-list > li { animation: rise .5s var(--ease) both; }
  .js .managed.in .managed-list > li:nth-child(2) { animation-delay: .06s; }
  .js .managed.in .managed-list > li:nth-child(3) { animation-delay: .12s; }
  .js .managed.in .managed-list > li:nth-child(4) { animation-delay: .18s; }
  .js .managed.in .managed-list > li:nth-child(5) { animation-delay: .24s; }
  .js .managed.in .managed-list > li:nth-child(6) { animation-delay: .3s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
  .js .route-section > :not(.route-title) { transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .route-section:not(.in) > :not(.route-title) { opacity: 0; transform: translateY(14px); }
  .page-leave main { opacity: 0; transition: opacity .15s ease-in; }
  .page-enter main { animation: fade-in .3s var(--ease); }
  @keyframes fade-in { from { opacity: 0; } }
}

/* Responsif: tiga keadaan (lebar, menengah, ponsel) */
@media (max-width: 1100px) {
  :root { --rx: 0px; --pad: 28px; }
  .managed-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vmv, .work-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .service, .about-grid, .contact, .group, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .diagram { max-width: 520px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .step { padding: 8px 0 0 64px; min-height: 44px; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  :root { --pad: 24px; }
  .managed-list, .other-grid, .group-managed .rows { grid-template-columns: minmax(0, 1fr); }
  /* Diagram selebar layar agar label tetap terbaca */
  .diagram { margin-inline: calc(-1 * var(--gutter)); padding: 14px 6px; border-radius: 0; border-inline: 0; }
  .hero { background: radial-gradient(ellipse 120% 45% at 50% 68%, #16406f 0%, #0f2f57 50%, var(--ink) 85%); }
  .managed-item { flex-direction: row; gap: 14px; padding: 16px 18px; }
  .managed-item .row-icon { flex: none; width: 44px; height: 44px; }
  .group-managed .rows { gap: 10px; }
  .group-managed .row-link { padding: 16px; }
  .link-list { gap: 0 18px; margin-top: 8px; }
  .link-list a { padding: 8px 0; }
  /* Breadcrumb: tanpa "Beranda" dan halaman aktif (sudah jadi judul) agar muat satu baris */
  .crumbs { font-size: .85rem; }
  .crumbs li:first-child, .crumbs li:last-child { display: none; }
  .crumbs li:nth-child(2)::before { content: none; }
  .wa-form .btn { justify-self: stretch; }
  .service-head .btn { width: 100%; padding: 0 14px; font-size: .95rem; gap: 8px; text-align: center; line-height: 1.3; }
  .contact-list { gap: 16px; font-size: .95rem; }
  .footer-brand p:not(.footer-meta) { display: none; }
  .wa-form { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 100%; }
  /* HP: header, menu, kepala halaman, penutup, dan footer dirapatkan; target sentuh tetap >= 38px */
  .header-inner { min-height: 60px; }
  .brand img { height: 28px; }
  .nav-toggle { font-size: .95rem; }
  .js .nav { padding: 8px var(--gutter) 18px; }
  .nav-list a { padding: 10px 12px; font-size: 1rem; }
  .page-head { padding-block: 36px 32px; }
  /* Filter layanan: satu baris yang bisa digeser, bukan tiga baris tombol */
  .tabs { flex-wrap: nowrap; gap: 6px; margin: 14px calc(-1 * var(--gutter)) -6px; padding: 6px var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; min-height: 38px; padding: 0 12px; font-size: .9rem; white-space: nowrap; }
  .crumbs { padding-top: 14px; }
  .service { padding-block: 16px 40px; }
  .route-section { padding-top: 44px; }
  .route > .route-section:last-child { padding-bottom: 48px; }
  .route > .route-section:last-child::before { height: calc(44px + .9em); }
  .close { padding-block: 36px; }
  .close-inner { gap: 20px; }
  .site-footer { padding-top: 32px; }
  .footer-inner { gap: 24px; padding-bottom: 20px; }
  .footer-brand img { height: 26px; }
  .footer-brand p { font-size: .9rem; margin-top: 10px; }
  .footer-nav { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 0 16px; }
  .footer-nav a { padding: 6px 0; font-size: .95rem; }
  .footer-base { padding-block: 14px; font-size: .85rem; }
  /* Fakta: angka dan keterangan satu baris, tidak tiga blok tinggi */
  .facts { grid-template-columns: minmax(0, 1fr); padding-top: 4px; }
  .facts li { flex-direction: row; align-items: baseline; gap: 12px; padding-block: 12px; }
  .fact-value { flex: none; min-width: 8.5rem; font-size: 1.25rem; }
  .fact-label { font-size: .9rem; }
  .facts li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--navy-line); }
}
