/* ==========================================================================
   LPK KIB & LPK HMI - Website publik (demo)
   Palet: navy + biru (bersama), oranye (HMI), emas (KIB).
   ========================================================================== */

:root {
  --navy: #0F1E3D;
  --navy-deep: #08122B;
  --accent: #E8590C;
  --brand-blue: #1F5FB0;
  --gold: #C9A24B;
  --accent-dark: #C94A05;
  --cream: #f7f7f4;
  --ink: #141414;
  --muted: #647086;
  --border: #dfe4ea;
  --bg: #ffffff;
  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 0.25rem 0.85rem rgb(0 0 0 / 0.06);
  --shadow-md: 0 0.75rem 2rem rgb(0 0 0 / 0.08);
  --content-width: 78rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: #1a1a1a;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: Georgia, "Times New Roman", serif; }

a { color: var(--navy); }

img { max-width: 100%; display: block; }

.wrap {
  width: min(100% - 2.5rem, var(--content-width));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.6rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0.6rem 1.4rem rgb(232 89 12 / 0.28);
}
.button-primary:hover { background: var(--brand-blue); color: #fff; }

.button-secondary {
  border-color: var(--navy);
  background: #fff;
  color: var(--navy);
}
.button-secondary:hover { border-color: var(--accent); background: #fff8f2; color: var(--brand-blue); }

.button-outline {
  border-color: rgb(255 255 255 / 0.55);
  background: rgb(255 255 255 / 0.09);
  color: #fff;
}
.button-outline:hover { border-color: #fff; background: rgb(255 255 255 / 0.16); color: #fff; }

.button-light { border-color: #fff; background: #fff; color: var(--brand-blue); }
.button-light:hover { background: #fff6ee; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-block: 3px solid var(--navy);
  border-block-end-width: 1px;
  background: rgb(255 255 255 / 0.97);
  backdrop-filter: blur(12px);
}

.site-header-inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.55rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { width: clamp(7.25rem, 10vw, 8.75rem); height: auto; }

.site-nav { display: flex; flex-wrap: wrap; gap: clamp(0.5rem, 1.6vw, 1.5rem); align-items: center; order: 3; flex-basis: 100%; justify-content: center; }
.site-nav a {
  position: relative;
  padding-block: 0.4rem;
  color: #5e6878;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.15s ease;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--navy); }

.header-actions { display: flex; gap: 0.5rem; align-items: center; }

@media (min-width: 58rem) {
  .site-nav { order: 0; flex-basis: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgb(255 255 255 / 0.08) 0 12rem, transparent 12.1rem),
    radial-gradient(circle at 4% 96%, rgb(31 95 176 / 0.28) 0 9rem, transparent 9.1rem),
    linear-gradient(115deg, var(--brand-blue) 0%, var(--navy-deep) 60%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgb(255 255 255 / 0.1) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.1) 1px, transparent 1px);
  background-size: 2rem 2rem;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(4rem, 7vw, 6.5rem);
}
.eyebrow { color: var(--accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.hero .eyebrow { color: #ffa561; }
.hero h1 { max-width: 12ch; margin-block: 0.75rem 1rem; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1.05; letter-spacing: -0.03em; }
.hero-copy { max-width: 39rem; color: #dcdcdc; font-size: clamp(1.02rem, 1.8vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 1.5rem; }

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1.2rem 2.8rem rgb(0 0 0 / 0.3);
}
.hero-panel .eyebrow { color: var(--accent); }
.hero-panel h2 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.15; }
.hero-panel > a { color: var(--navy); font-weight: 800; text-underline-offset: 0.25em; }
.hero-service-list { display: grid; gap: 0.85rem; margin: 0; padding: 0; list-style: none; }
.hero-service-list li { display: grid; gap: 0.15rem; padding-block-end: 0.8rem; border-block-end: 1px solid #e6e9ef; }
.hero-service-list li:last-child { padding-block-end: 0; border-block-end: 0; }
.hero-service-list strong { font-size: 0.94rem; }
.hero-service-list span { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

@media (max-width: 58rem) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 36rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.75rem, 9vw, 8rem); }
.section-compact { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section-muted { background: #f1f3f6; }
.section-white { background: #fff; }

.section-heading { max-width: 50rem; margin-block-end: clamp(2rem, 5vw, 4rem); }
.section-heading h2 { color: var(--ink); font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.03em; margin-block: 0.5rem 0.75rem; }
.section-heading p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; margin: 0; }
.heading-centered { max-width: 47rem; margin-inline: auto; text-align: center; }
.heading-split { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.heading-split h2 { max-width: 38rem; margin-block-end: 0; }

/* Feature grid */
.feature-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid article {
  min-height: 12rem;
  padding: clamp(1.2rem, 2.5vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  display: grid;
  align-content: start;
  gap: 0.5rem;
}
.feature-number { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: 0.55rem; background: #ececec; color: var(--navy); font-size: 0.72rem; font-weight: 800; }
.feature-grid article:nth-child(2n) .feature-number { background: #fff1e6; color: var(--accent); }
.feature-grid h3 { color: var(--navy); font-size: 1rem; margin: 0; }
.feature-grid p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }

@media (min-width: 42rem) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 70rem) { .feature-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Program cards */
.program-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 42rem) { .program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.program-card {
  display: grid;
  gap: 1.1rem;
  min-height: 100%;
  padding: clamp(1.45rem, 3vw, 2.1rem);
  border: 1px solid var(--border);
  border-block-start: 0.32rem solid var(--navy);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 0.7rem 1.75rem rgb(0 0 0 / 0.08);
  text-decoration: none;
  color: inherit;
}
.program-card.accent-orange { border-block-start-color: var(--accent); }
.program-card.accent-gold { border-block-start-color: var(--gold); }

.card-kicker { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.card-kicker span:last-child { padding: 0.28rem 0.5rem; border-radius: 999px; background: #f2f4f7; color: #566174; letter-spacing: 0; text-transform: none; }
.program-card h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; }
.program-card > p { margin: 0; color: var(--muted); line-height: 1.55; }

.program-facts { display: grid; gap: 0.5rem; margin: 0; }
.program-facts div { display: flex; justify-content: space-between; gap: 0.75rem; align-items: start; padding-block: 0.5rem; border-block-end: 1px solid #e7eaf0; }
.program-facts dt { margin: 0; color: var(--muted); font-size: 0.82rem; }
.program-facts dd { margin: 0; text-align: left; line-height: 1.45; color: #364058; }

.price-box { display: grid; gap: 0.25rem; padding-block: 0.75rem; margin-block-start: auto; }
.price-box span { color: var(--muted); font-size: 0.82rem; }
.price-box strong { color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.3; }
.price-box p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }

/* Process band */
.process-band { width: 100%; padding-block: clamp(5rem, 10vw, 8rem); background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; }
.process-band .section-heading h2, .process-band .section-heading p { color: #fff; }
.process-band .section-heading p { color: #c9c9c9; }
.process-grid { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 42rem) { .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70rem) { .process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.process-grid li { display: grid; gap: 0.75rem; padding: 1.35rem 1.15rem 0; }
.process-grid li > span {
  display: grid; width: 2.4rem; height: 2.4rem; place-items: center;
  border: 2px solid var(--accent); border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.86rem; font-weight: 800;
}
.process-grid h3 { color: #fff; font-size: 1rem; margin: 0; }
.process-grid p { color: #c9c9c9; font-size: 0.88rem; line-height: 1.6; margin: 0; }

.process-grid.on-light li > span { border-color: var(--accent); background: #fff; color: var(--accent); }
.process-grid.on-light h3 { color: var(--navy); }
.process-grid.on-light p { color: var(--muted); }

/* Trust grid */
.trust-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 42rem) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70rem) { .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-grid article { display: grid; gap: 0.75rem; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--cream); }
.trust-grid article > span { color: var(--accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; }
.trust-grid h3 { margin: 0; color: var(--navy); font-size: 1.05rem; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* FAQ */
.faq-list { display: grid; gap: 0.85rem; max-width: none; }
.faq-list details { border: 1px solid var(--border); border-radius: 0.7rem; background: #fff; }
.faq-list summary { position: relative; padding: 1.2rem 3.25rem 1.2rem 1.25rem; color: var(--navy); font-weight: 800; line-height: 1.45; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 1.25rem; color: var(--accent); font-size: 1.35rem; font-weight: 400; transform: translateY(-52%); }
.faq-list details[open] summary { border-block-end: 1px solid var(--border); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { max-width: 60rem; margin: 0; padding: 1.15rem 1.25rem; color: var(--muted); line-height: 1.7; }

/* CTA bands */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  width: min(100% - 2.5rem, var(--content-width));
  margin-inline: auto;
  margin-block: clamp(3rem, 7vw, 6rem);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(118deg, var(--brand-blue), var(--accent));
  box-shadow: 0 1.2rem 2.4rem rgb(170 0 0 / 0.2);
  color: #fff;
}
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band p { color: #eaf1ff; max-width: 44rem; margin-block-start: 0.5rem; }
.cta-band .eyebrow { color: #ffd9bf; }
.cta-band .button-primary { border-color: #fff; background: #fff; color: var(--brand-blue); box-shadow: none; }
.cta-band .button-primary:hover { background: #fff6ee; }

@media (max-width: 42rem) {
  .cta-band { flex-direction: column; align-items: stretch; text-align: left; }
  .cta-band .button { width: 100%; text-align: center; }
}

/* Footer */
.site-footer { padding-block: clamp(3rem, 6vw, 5rem); background: #000000; color: #d6d6d6; }
.footer-inner { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 42rem) { .footer-inner { grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.85fr); } }
.footer-brand { display: grid; gap: 1rem; }
.footer-brand .brand img { width: clamp(7.25rem, 10vw, 8.75rem); }
.footer-brand p { max-width: 30rem; color: #aaaaaa; line-height: 1.6; margin: 0; }
.footer-links { display: grid; align-content: start; gap: 0.75rem; }
.footer-links strong { color: #fff; }
.footer-links a { width: max-content; color: #d6d6d6; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-block-start: 2.5rem; padding-block-start: 1.5rem; border-block-start: 1px solid rgb(255 255 255 / 0.12); color: #8f8f8f; font-size: 0.82rem; }

/* Page hero (inner pages) */
.page-hero { width: 100%; padding-block: clamp(3rem, 6vw, 4.75rem); }
.page-hero > div { margin-inline: auto; max-width: var(--content-width); width: min(100% - 2.5rem, var(--content-width)); }
.page-hero > div > * { max-width: 48rem; }
.page-hero h1 { margin-block: 0.75rem 1rem; font-size: clamp(2.75rem, 5.4vw, 4.65rem); }
.page-hero--dark {
  color: #fff;
  background: radial-gradient(circle at 88% 15%, rgb(255 255 255 / 0.08) 0 11rem, transparent 11.1rem), linear-gradient(120deg, var(--brand-blue) 0%, var(--navy-deep) 65%);
}
.page-hero--dark p:not(.eyebrow) { color: #cfcfcf; }
.page-hero--dark .eyebrow { color: #ffa561; }
.page-hero--light { background: #f1f3f6; }
.page-hero--light h1 { color: var(--navy); }

/* Program detail hero */
.program-hero {
  width: min(100% - 2.5rem, var(--content-width));
  margin-inline: auto;
  margin-block: clamp(2rem, 5vw, 4rem) 0;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand-blue) 0%, var(--navy-deep) 65%);
  color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 58rem) { .program-hero { grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr); align-items: center; } }
.program-hero h1 { max-width: 11ch; font-size: clamp(2.3rem, 5vw, 4.2rem); margin-block: 0.75rem 1rem; }
.program-hero .eyebrow { color: #ffa561; }
.program-hero p { max-width: 45rem; color: #d6d6d6; line-height: 1.65; }
.program-tagline { font-size: 1.15rem; font-weight: 700; color: #fff !important; }
.back-link { color: #d8d8d8; font-size: 0.92rem; font-weight: 700; display: inline-block; margin-block-end: 1.5rem; }

.program-summary { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid rgb(255 255 255 / 0.2); border-radius: 0.85rem; background: rgb(255 255 255 / 0.1); }
.program-summary .price-box { margin: 0; border-block-end: 1px solid rgb(255 255 255 / 0.17); padding-block-end: 1rem; }
.program-summary .price-box strong { color: #fff; }
.program-summary .price-box span, .program-summary dt { color: #aaaaaa; }
.program-summary dd { color: #fff; }
.program-summary dl { display: grid; gap: 0.5rem; margin: 0; }
.program-summary dl div { display: flex; justify-content: space-between; gap: 0.75rem; padding-block: 0.4rem; border-block-end: 1px solid rgb(255 255 255 / 0.12); }
.program-summary dl div:last-child { border-block-end: 0; }

.detail-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 58rem) { .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.detail-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: 0.85rem; background: #fff; display: grid; align-content: start; gap: 0.75rem; }
.detail-card h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); margin: 0.5rem 0; color: var(--ink); }
.check-list, .step-list { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.check-list li { padding: 0.75rem 0.75rem 0.75rem 1.7rem; border-block-end: 1px solid #e7eaf0; line-height: 1.5; position: relative; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.step-list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.step-list li span { color: var(--accent); font-weight: 800; }
.step-list li p { margin: 0; line-height: 1.5; }
.note { padding: 0.75rem; border-inline-start: 0.25rem solid var(--accent); background: #fff6ee; color: #1f2a44; }

/* Responsive tweaks */
@media (max-width: 48rem) {
  .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav a { text-align: center; }
  .header-actions .button { min-height: 2.5rem; padding-inline: 0.75rem; font-size: 0.84rem; }
  .hero-inner { padding-block: 4rem; }
  .hero-actions .button, .cta-band .button { width: 100%; text-align: center; }
}

/* ===== Merek ganda ===== */
.brand-duo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-duo img { height: 2.75rem; width: auto; max-width: none; }
.brand-duo .brand-text { font-weight: 800; color: var(--navy); letter-spacing: 0.02em; margin-left: 0.25rem; white-space: nowrap; }
.brand-duo .brand-text b { color: var(--accent); }
.logo-badge { display: inline-flex; align-items: center; justify-content: center; width: 4.25rem; height: 4.25rem; background: #fff;
  border-radius: 1rem; padding: 0.3rem; box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 0.18); }
.logo-badge img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.footer-logos { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.footer-contact span { display: block; color: #dbe4f5; margin-block: 0.35rem; font-size: 0.9rem; }
.footer-contact em { color: #ffb27a; font-style: normal; }
.footer-contact small { display: block; margin-top: 0.5rem; color: #9fb0cf; font-size: 0.75rem; }
.lpk-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.lpk-card { display: flex; gap: 1.25rem; align-items: center; padding: 1.5rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); border-block-start: 0.3rem solid var(--gold); }
.lpk-card.lpk-hmi { border-block-start-color: var(--accent); }
.lpk-card .logo-badge { width: 6.5rem; height: 6.5rem; flex: none; box-shadow: none; border: 1px solid var(--border); }
.lpk-card h3 { margin: 0.15rem 0 0.4rem; font-size: 1.3rem; }
.lpk-card p { margin: 0; color: var(--muted); }
.lpk-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 1rem; }
@media (max-width: 48rem) { .brand-duo .brand-text { display: none; } }
