/* =========================================================================
   PT SUN — stylesheet utama (mobile-first)
   Design system: ui-ux-pro-max → "Trust & Authority" + pola "Enterprise Gateway"
   Palet: Authority navy + trust gold · Tipografi: EB Garamond (heading) + Lato (body)
   Mode terang & gelap penuh (prefers-color-scheme)
   ========================================================================= */
:root {
  color-scheme: light dark;

  /* Palet skill */
  --primary: #1E3A8A;
  --primary-2: #1E40AF;
  --primary-900: #172554;
  --accent: #B45309;
  --accent-hover: #92400E;
  --highlight: #F59E0B;

  /* Token semantik — mode terang */
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --muted: #E9EEF5;
  --border: #CBD5E1;
  --fg: #0F172A;
  --fg-2: #475569;
  --heading: #172554;
  --link: #1E40AF;
  --link-hover: #172554;
  --eyebrow: #92400E;   /* 6.08:1 di --muted, 6.78:1 di --bg */
  --ring: #1E3A8A;
  --icon-bg: #1E3A8A;
  --icon-fg: #FDE68A;
  --btn-accent-bg: #B45309;
  --btn-accent-fg: #FFFFFF;
  --btn-accent-hover: #92400E;
  --badge-bg: #FFFBEB;
  --badge-border: #F3D9A4;
  --badge-fg: #78350F;

  /* Area gelap (hero, CTA, footer) */
  --dark-bg: #172554;
  --dark-bg-2: #0F1A3D;
  --on-dark: #E2E8F0;
  --on-dark-2: #CBD5E1;
  --on-dark-accent: #FBBF24;
  --dark-line: rgba(226, 232, 240, .18);

  --radius: 12px;
  --radius-sm: 8px;
  --card-shadow: 0 4px 6px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .06);
  --card-shadow-hover: 0 12px 24px rgba(15, 23, 42, .10), 0 2px 4px rgba(15, 23, 42, .06);
  --badge-height: 48px;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --dur: 200ms;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-body: "Lato", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "EB Garamond", Georgia, "Times New Roman", serif;

  /* z-index */
  --z-header: 40;
  --z-mega: 45;
  --z-skip: 100;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1120;
    --surface: #111A2E;
    --muted: #1A2540;
    --border: #2A3A57;
    --fg: #E2E8F0;
    --fg-2: #A3B1C6;
    --heading: #F1F5F9;
    --link: #93C5FD;
    --link-hover: #BFDBFE;
    --eyebrow: #FBBF24;
    --ring: #FBBF24;
    --icon-bg: #1E3A8A;
    --icon-fg: #FDE68A;
    --btn-accent-bg: #F59E0B;
    --btn-accent-fg: #0F172A;
    --btn-accent-hover: #FBBF24;
    --badge-bg: #1F1A10;
    --badge-border: #5C4413;
    --badge-fg: #FDE68A;
    --dark-bg: #0F1A3D;
    --dark-bg-2: #070D1F;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --card-shadow-hover: 0 12px 24px rgba(0, 0, 0, .45);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, .h3 {
  margin: 0 0 .5em;
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--heading);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4rem); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 600; }
h3, .h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
address { font-style: normal; }
strong { font-weight: 700; }

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
a, button, summary { touch-action: manipulation; }
button, summary, [role="button"] { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }

.break { overflow-wrap: anywhere; }
.muted { color: var(--fg-2); font-size: .95rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: var(--z-skip);
  padding: 10px 16px;
  background: var(--btn-accent-bg);
  color: var(--btn-accent-fg);
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
.narrow { max-width: 820px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .7em 1.4em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-gold { background: var(--btn-accent-bg); color: var(--btn-accent-fg); box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.btn-gold:hover { background: var(--btn-accent-hover); color: var(--btn-accent-fg); }
.btn-navy { background: var(--primary); color: #fff; }
.btn-navy:hover { background: var(--primary-900); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: scale(.98); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 700;
  color: var(--link);
}
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header & navigasi ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; padding: 6px 0; border-radius: 8px; }
.brand-logo { height: 42px; width: auto; }
@media (prefers-color-scheme: dark) {
  .brand { background: #fff; padding: 5px 10px; }
  .brand-logo { height: 36px; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--heading);
  font: inherit;
  font-weight: 700;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
html:not(.js) .nav-toggle { display: none; }

/* Mobile: tanpa JS menu tampil sebagai daftar; dengan JS menjadi panel */
.site-nav { display: none; }
html:not(.js) .site-nav { display: block; width: 100%; padding-bottom: 12px; }
html:not(.js) .header-inner { flex-wrap: wrap; }
.site-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 24px rgba(15, 23, 42, .14);
}
.nav-list { list-style: none; }
.nav-item { border-bottom: 1px solid var(--muted); }
.nav-row { display: flex; align-items: center; justify-content: space-between; }
.nav-list a.nav-link {
  display: block;
  flex: 1;
  padding: 12px 4px;
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}
.nav-list a.nav-link:hover { color: var(--link); }
.nav-list a[aria-current="page"], .nav-list a.is-active { color: var(--heading); box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
.nav-cta { margin-top: 16px; width: 100%; }

/* Mega menu (submenu Layanan) */
.mega-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--heading);
}
.mega-toggle:hover { background: var(--muted); }
.mega-toggle .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.mega-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
html:not(.js) .mega-toggle { display: none; }
.mega { display: none; padding: 4px 0 14px; }
.mega.is-open { display: block; }
html:not(.js) .mega { display: block; }
.mega-grid { list-style: none; display: grid; gap: 4px; }
.mega-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  border-radius: var(--radius-sm);
  color: var(--fg);
  text-decoration: none;
}
.mega-link:hover { background: var(--muted); color: var(--fg); }
.mega-link .mega-icon {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; flex: none;
  border-radius: 8px;
  background: var(--icon-bg);
  color: var(--icon-fg);
}
.mega-link .mega-icon .icon { width: 20px; height: 20px; }
.mega-link strong { display: block; color: var(--heading); font-size: .98rem; line-height: 1.3; }
.mega-link .mega-desc { display: block; color: var(--fg-2); font-size: .88rem; line-height: 1.45; margin-top: 2px; }
.mega-all { display: none; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .header-inner { position: static; }
  .site-nav, html:not(.js) .site-nav {
    display: flex !important;
    position: static;
    align-items: center;
    gap: 24px;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    box-shadow: none;
    border: 0;
    background: none;
  }
  html:not(.js) .header-inner { flex-wrap: nowrap; }
  .nav-list { display: flex; gap: 2px; align-items: center; }
  .nav-item { border: 0; }
  .nav-list a.nav-link { padding: 8px 12px; border-radius: var(--radius-sm); }
  .nav-list a.nav-link:hover { background: var(--muted); }
  .nav-list a[aria-current="page"], .nav-list a.is-active { padding-left: 12px; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
  .has-mega .nav-link { padding-right: 4px !important; }
  .mega-toggle { width: 32px; height: 40px; }
  .nav-cta { margin: 0; width: auto; min-height: 44px; padding: .55em 1.2em; }

  .mega, html:not(.js) .mega {
    display: block;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    z-index: var(--z-mega);
    padding: 28px 0 32px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 32px rgba(15, 23, 42, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .mega.is-open, html:not(.js) .has-mega:hover .mega, html:not(.js) .has-mega:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
  }
  .mega-inner { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
  .mega-all { display: block; }
  .mega-all .mega-title { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 600; color: var(--heading); margin-bottom: .3em; line-height: 1.2; }
  .mega-all p { color: var(--fg-2); font-size: .95rem; }
  .mega-grid { grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
  color: var(--on-dark);
  padding: 56px 0 64px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(251, 191, 36, .06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(251, 191, 36, .06) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(110deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000 100%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 40px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero .lead, .page-hero .lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); color: var(--on-dark); max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-actions .btn { flex: 1 1 220px; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-accent);
}
.eyebrow-dark { color: var(--eyebrow); }

/* Path selection ("Apa yang ingin Anda urus?") */
.path-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--dark-line);
}
.path-card h2 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-accent);
  margin-bottom: 12px;
}
.path-list { list-style: none; display: grid; gap: 6px; }
.path-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}
.path-list a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.path-list .path-icon { color: var(--on-dark-accent); width: 22px; height: 22px; }
.path-list .path-arrow { margin-left: auto; opacity: .7; transition: transform var(--dur) var(--ease); }
.path-list a:hover .path-arrow { transform: translateX(3px); opacity: 1; }
.path-list small { display: block; font-weight: 400; color: var(--on-dark-2); font-size: .85rem; }

@media (min-width: 960px) {
  .hero { padding: 88px 0 96px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* Hero halaman dalam */
.page-hero {
  background: linear-gradient(160deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
  color: var(--on-dark);
  padding: 32px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -160px;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(251, 191, 36, .25);
  box-shadow: 0 0 0 40px rgba(251, 191, 36, .04), 0 0 0 80px rgba(251, 191, 36, .03);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 22ch; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.5rem); }
.page-hero .lead { max-width: 60ch; }
.page-hero-404 { padding: 64px 0 72px; }
@media (min-width: 960px) { .page-hero { padding: 40px 0 72px; } }

.breadcrumb { margin-bottom: 28px; font-size: .92rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; color: var(--on-dark-2); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .45); }
.breadcrumb a { color: var(--on-dark); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--on-dark-accent); }

/* ---------- Section ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 40px 0 0; }
.section-ivory { background: var(--muted); }
@media (min-width: 960px) { .section { padding: 88px 0; } }

.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head p { color: var(--fg-2); font-size: 1.08rem; }
.section-foot { margin: 28px 0 0; }

.split { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .split { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
  .split .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
}

.prose p, .prose li { color: var(--fg); font-size: 1.08rem; }
.prose h2 { margin-top: 1.3em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Kartu & ikon ---------- */
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 10px;
  background: var(--icon-bg);
  color: var(--icon-fg);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-num { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--eyebrow); text-transform: uppercase; margin: 0; }

.service-card, .approach-item, .step, .scope-card, .faq-item, .related-card, .service-row, .contact-card, .industry-card, .role-card, .check-list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.service-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(6, 1fr); } .service-card { grid-column: span 2; } .service-card:nth-child(4) { grid-column: 2 / span 2; } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover, .related-card:hover, .industry-card:hover { border-color: var(--accent); box-shadow: var(--card-shadow-hover); }
@media (prefers-reduced-motion: no-preference) { .service-card:hover { transform: translateY(-2px); } }
.service-card .card-num { position: absolute; top: 26px; right: 26px; }
.service-card .card-title { margin: 8px 0 0; font-size: 1.45rem; }
.service-card .card-title a { color: var(--heading); text-decoration: none; }
.service-card p { margin: 0; color: var(--fg-2); }
.card-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--link); font-size: .95rem; }
.card-more .icon { width: 1.1em; height: 1.1em; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 3px solid var(--ring); outline-offset: 2px; }

/* Pendekatan */
.approach-list { display: grid; gap: 16px; }
.approach-item { display: flex; gap: 16px; padding: 22px; }
.approach-item h3 { margin-bottom: .2em; }
.approach-item p { margin: 0; color: var(--fg-2); }
@media (min-width: 720px) { .approach-grid { grid-template-columns: repeat(2, 1fr); } }

/* Solusi per industri */
.industry-grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .industry-grid { grid-template-columns: repeat(4, 1fr); } }
.industry-card { padding: 22px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.industry-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.industry-head h3 { margin: 0; font-size: 1.35rem; }
.industry-head .icon { width: 28px; height: 28px; color: var(--accent); }
.industry-links { list-style: none; display: grid; gap: 4px; font-size: .95rem; }
.industry-links a { display: inline-flex; gap: 6px; align-items: flex-start; padding: 4px 0; }
.industry-links .icon { width: 1em; height: 1em; margin-top: .3em; }

/* Sektor (versi ringkas di halaman dalam) */
.sector-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sector-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-weight: 700;
  font-size: .98rem;
  color: var(--heading);
}
.sector-list .icon { width: 24px; height: 24px; color: var(--accent); }
@media (min-width: 640px) { .sector-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sector-list { grid-template-columns: repeat(7, 1fr); } .sector-list li { flex-direction: column; text-align: center; padding: 22px 12px; } }
@media (prefers-color-scheme: dark) { .industry-head .icon, .sector-list .icon { color: var(--highlight); } }

/* Badge sertifikasi (Trust & Authority) */
.badge-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .badge-grid { grid-template-columns: repeat(4, 1fr); } }
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: calc(var(--badge-height) + 24px);
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--badge-border);
  background: var(--badge-bg);
  color: var(--badge-fg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.badge:hover { box-shadow: var(--card-shadow-hover); border-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .badge:hover { transform: translateY(-2px); } }
.badge-seal {
  display: inline-grid; place-items: center;
  width: var(--badge-height); height: var(--badge-height); flex: none;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--icon-fg);
  box-shadow: inset 0 0 0 3px rgba(253, 230, 138, .35);
}
.badge-seal .icon { width: 24px; height: 24px; }
.badge strong { display: block; font-size: 1rem; line-height: 1.25; color: var(--heading); }
.badge .badge-desc { display: block; font-size: .85rem; line-height: 1.35; color: var(--fg-2); }
.badge-note { margin-top: 18px; font-size: .92rem; color: var(--fg-2); }
@media (max-width: 400px) { .badge { flex-direction: column; align-items: flex-start; } }

/* Solusi per peran */
.role-grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 800px) { .role-grid { grid-template-columns: repeat(3, 1fr); } }
.role-card { padding: 24px; }
.role-card h3 { margin-bottom: .3em; }
.role-card p { color: var(--fg-2); margin-bottom: .9em; }
.role-card ul { list-style: none; display: grid; gap: 4px; font-size: .95rem; }
.role-card ul a { display: inline-block; padding: 4px 0; }

/* Alur kerja */
.steps { display: grid; gap: 16px; }
.step { position: relative; padding: 24px 24px 22px; }
.step-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--border);
}
.step-icon {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--icon-fg);
}
.step-icon .icon { width: 22px; height: 22px; }
.step h3 { margin-bottom: .2em; font-size: 1.45rem; }
.step p { margin: 0; color: var(--fg-2); }
.step .step-short { color: var(--heading); font-weight: 700; margin-bottom: .5em; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 46px; right: -21px;
    width: 22px; height: 2px;
    background: var(--accent);
  }
}

/* Halaman layanan */
.scope-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .scope-grid { grid-template-columns: repeat(3, 1fr); } }
.scope-card { display: flex; gap: 14px; padding: 20px; }
.scope-card h3 { margin-bottom: .15em; font-size: 1.3rem; }
.scope-card p { margin: 0; color: var(--fg-2); }
.scope-check {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; flex: none;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--icon-fg);
}
.scope-check .icon { width: 18px; height: 18px; }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .4em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FDE68A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list-card { padding: 24px; }

.service-rows { display: grid; gap: 20px; }
.service-row { display: grid; gap: 18px; padding: 24px; }
.service-row-head { display: flex; gap: 16px; align-items: flex-start; }
.service-row-head h2 { margin: 4px 0 6px; font-size: 1.6rem; }
.service-row-head h2 a { color: var(--heading); text-decoration: none; }
.service-row-head h2 a:hover { text-decoration: underline; }
.service-row-head p:last-child { margin: 0; color: var(--fg-2); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  font-size: .9rem;
  color: var(--badge-fg);
  font-weight: 700;
}
@media (min-width: 960px) {
  .service-row { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 32px; column-gap: 40px; }
  .service-row .text-link { grid-column: 1; }
  .service-row .tag-list { grid-column: 2; grid-row: 1 / span 2; }
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  list-style: none;
  min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-item summary h3 { margin: 0; font-size: 1.3rem; }
.faq-sign { position: relative; width: 20px; height: 20px; flex: none; }
.faq-sign::before, .faq-sign::after {
  content: "";
  position: absolute;
  left: 3px; right: 3px; top: 9px;
  height: 2px;
  background: var(--heading);
  transition: transform var(--dur) var(--ease);
}
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }
.faq-body { padding: 0 20px 18px; color: var(--fg-2); }
.faq-body p { margin: 0; }

/* Layanan terkait */
.related-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { position: relative; display: flex; gap: 14px; padding: 20px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.related-card h3 { margin-bottom: .2em; font-size: 1.3rem; }
.related-card h3 a { color: var(--heading); text-decoration: none; }
.related-card p { margin: 0; color: var(--fg-2); font-size: .95rem; }

/* Tentang */
.prose-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .prose-grid { grid-template-columns: 1.4fr .8fr; gap: 64px; align-items: start; } }
.info-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--card-shadow);
}
.info-list { margin: 0 0 24px; display: grid; gap: 14px; }
.info-list dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); }
.info-list dd { margin: 2px 0 0; color: var(--fg); }

/* Kontak */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }
.contact-card { padding: 28px; }
.contact-card .card-icon { margin-bottom: 16px; }
.contact-card .h3 { margin-bottom: .3em; }
.contact-value { font-size: 1.15rem; font-weight: 700; color: var(--heading); margin-bottom: 1em; }
.contact-card-primary { background: linear-gradient(160deg, var(--dark-bg), var(--dark-bg-2)); border-color: transparent; color: var(--on-dark); }
.contact-card-primary .h3 { color: #fff; }
.contact-card-primary .card-icon { background: var(--btn-accent-bg); color: var(--btn-accent-fg); }
.contact-card-primary .contact-value a { color: #fff; font-size: clamp(1.1rem, 1rem + .8vw, 1.45rem); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-actions .btn { flex: 1 1 220px; }
.copy-status { margin: 12px 0 0; min-height: 1.5em; color: var(--on-dark-accent); font-weight: 700; }
html:not(.js) .js-only { display: none; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
  color: var(--on-dark);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% 0%, rgba(245, 158, 11, .18), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; display: grid; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: var(--on-dark-2); font-size: 1.08rem; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions .btn { flex: 1 1 240px; }
.cta-note { font-size: .95rem; }
.cta-note a { color: var(--on-dark-accent); }
@media (min-width: 960px) {
  .cta-band { padding: 72px 0; }
  .cta-inner { grid-template-columns: 1.2fr auto; align-items: center; column-gap: 48px; }
  .cta-actions .btn { flex: 0 0 auto; }
  .cta-note { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-bg-2); color: var(--on-dark-2); padding: 56px 0 24px; font-size: .97rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1.2fr 1fr 1.3fr; gap: 40px; } }
.footer-logo {
  display: inline-flex;
  padding: 10px 14px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 10px;
}
.footer-logo .brand-logo { height: 36px; }
.footer-brand p { max-width: 34ch; }
.footer-title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-accent); margin-bottom: 14px; }
.footer-links, .footer-contact { list-style: none; display: grid; gap: 4px; }
.footer-links a, .footer-contact a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li > .icon, .footer-contact a .icon { margin-top: 3px; color: var(--on-dark-accent); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--dark-line);
  font-size: .87rem;
}
.footer-bottom p { margin: 0 0 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .nav-toggle, .cta-band, .site-footer { display: none; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
.role-title { margin-top: 14px; }
