/* ============================================================
   CV Esa Mega Jaya — assets/css/style.css
   CSS mandiri, tanpa framework / CDN.
   Dimuat dari partials/head.php:
     <link rel="stylesheet" href="assets/css/style.css">
   Gambar: ../images/cover1.jpg (gedung), cover2.jpg (AC),
   cover3.jpg (K3), supply.jpg, biz-ac.jpg, biz-k3.jpg
   ============================================================ */

/* ---------- Reset & dasar ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy-950: #071829;
  --navy-900: #0b2239;
  --navy-800: #0e2a47;
  --navy-700: #143659;
  --navy-600: #1b456f;
  --navy-200: #c3d0de;
  --navy-100: #e4eaf1;
  --navy-50: #f3f6f9;
  --gold-600: #b98322;
  --gold-500: #d9a032;
  --gold-400: #e8b54a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --field-border: #dbe3ec;
  --max-w: 80rem;
}
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #fff;
  color: var(--slate-700);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

.container { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: 6rem; }
.section-tint { background: var(--navy-50); }
.section-border { border-top: 1px solid #f1f5f9; }

/* ---------- Ikon SVG inline ---------- */
.ic { flex: none; vertical-align: middle; }
.ic-14 { width: 14px; height: 14px; }
.ic-16 { width: 16px; height: 16px; }
.ic-20 { width: 20px; height: 20px; }
.ic-24 { width: 24px; height: 24px; }

/* ---------- Teks ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .2em; }
.eyebrow-gold { color: var(--gold-400); }
.eyebrow-dark { color: var(--gold-600); }
.section-title {
  margin-top: 1.25rem;
  font-size: 1.875rem; line-height: 1.15; font-weight: 300;
  letter-spacing: -0.025em; color: var(--navy-900);
}
.section-title span { font-weight: 600; }
.lead { font-size: 1.125rem; line-height: 1.75; color: var(--slate-600); }
.lead strong { color: var(--navy-900); font-weight: 500; }
.text-justify { text-align: justify; }
.body-text { line-height: 1.75; color: var(--slate-600); }
.body-text strong { color: var(--navy-900); font-weight: 500; }
@media (min-width: 768px) { .section-title { font-size: 42px; } }

/* ---------- Tombol ---------- */
.btn-outline {
  display: none; align-items: center; gap: .5rem;
  height: 2.5rem; padding-inline: 1.25rem;
  border: 1px solid rgba(255,255,255,.4); color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: .05em; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: #fff; color: var(--navy-900); }
.btn-light, .btn-ghost, .btn-dark {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 3rem; padding-inline: 1.75rem;
  font-size: 13px; font-weight: 500; letter-spacing: .05em; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--gold-400); }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--navy-900); color: #fff; border: 0; }
.btn-dark:hover { background: var(--navy-800); }
@media (min-width: 640px) {
  .btn-outline { display: inline-flex; }
  .btn-dark { width: auto; }
}
.btn-dark { width: 100%; justify-content: center; }
.text-link {
  margin-top: 2rem; display: inline-flex; align-items: center; gap: .5rem;
  font-size: 13px; font-weight: 500; letter-spacing: .05em; color: var(--navy-900);
  border-bottom: 1px solid var(--navy-900); padding-bottom: .25rem; text-decoration: none;
  transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--gold-600); border-color: var(--gold-600); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; }
.topbar { display: none; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; transition: height .3s; height: 36px; overflow: hidden; }
.topbar-inner { height: 2.25rem; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.7); }
.topbar-contact { display: flex; align-items: center; gap: 1.5rem; }
.topbar-item { display: inline-flex; align-items: center; gap: .375rem; }
.topbar-links { display: flex; align-items: center; gap: 1.25rem; }
.topbar-links a { text-decoration: none; }
.topbar-links a:hover { color: #fff; }
.topbar-sep { width: 1px; height: .75rem; background: rgba(255,255,255,.2); }
.navbar { height: 5rem; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-logo { width: 2.25rem; height: 2.25rem; border-radius: .25rem; }
.brand-logo-lg { width: 2.5rem; height: 2.5rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: .05em; color: #fff; transition: color .3s; }
.brand-tag { font-size: 10px; letter-spacing: .18em; color: rgba(255,255,255,.6); transition: color .3s; }
.brand-name-light { color: #fff; }
.brand-tag-dim { color: rgba(255,255,255,.5); }
.main-nav { display: none; align-items: center; gap: 2.25rem; font-size: 14px; color: rgba(255,255,255,.85); }
.nav-link { position: relative; padding: 6px 0; text-decoration: none; transition: color .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.navbar-cta { display: flex; align-items: center; gap: .75rem; }
.menu-btn { padding: .5rem; margin-right: -.5rem; color: #fff; display: inline-flex; }
/* Header saat di-scroll */
.site-header.scrolled { background: #fff; border-bottom: 1px solid var(--navy-100); }
.site-header.scrolled .topbar { height: 0; border-color: transparent; }
.site-header.scrolled .brand-name { color: var(--navy-900); }
.site-header.scrolled .brand-tag { color: var(--slate-500); }
.site-header.scrolled .main-nav { color: var(--slate-700); }
.site-header.scrolled .menu-btn { color: var(--navy-900); }
.site-header.scrolled .btn-outline { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.site-header.scrolled .btn-outline:hover { background: var(--navy-700); }
@media (min-width: 1024px) {
  .topbar { display: block; }
  .main-nav { display: flex; }
  .menu-btn { display: none; }
}

/* ---------- Drawer mobile ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(7,24,41,.6); }
.drawer-panel {
  position: absolute; right: 0; top: 0; height: 100%;
  width: 82%; max-width: 24rem; background: #fff; display: flex; flex-direction: column;
}
.drawer-head { height: 5rem; padding-inline: 1.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f1f5f9; }
.drawer-title { font-weight: 600; letter-spacing: .05em; color: var(--navy-900); }
.drawer-close { padding: .5rem; margin-right: -.5rem; color: var(--navy-900); display: inline-flex; }
.drawer-nav { flex: 1; padding: 1rem 1.5rem; display: flex; flex-direction: column; font-size: 15px; color: var(--navy-900); }
.drawer-link { padding-block: 1rem; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; text-decoration: none; }
.drawer-link-last { border-bottom: 0; }
.drawer-link-ic { color: var(--slate-400); }
.drawer-foot { padding: 1.5rem; border-top: 1px solid #f1f5f9; font-size: .875rem; color: var(--slate-500); display: grid; gap: .25rem; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--navy-950); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  background-color: var(--navy-900);
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.2s ease, transform 7s ease;
}
.slide.is-active { opacity: 1; transform: scale(1); }
.slide-1 { background-image: url('../images/supply.jpg'); }
.slide-2 { background-image: url('../images/cover2.jpg'); }
.slide-3 { background-image: url('../images/cover3.jpg'); }
.hero-overlay { position: absolute; inset: 0; background: rgba(7,24,41,.6); }
.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 6rem; }
@media (min-width: 768px) { .hero-content { padding-bottom: 7rem; } }
.hero-captions { max-width: 48rem; }
.caption { display: none; }
.caption.is-active { display: block; animation: capIn .9s ease both; }
@keyframes capIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-title { margin-top: 1.25rem; color: #fff; font-size: 2.25rem; line-height: 1.1; font-weight: 300; letter-spacing: -0.025em; }
.hero-title span { font-weight: 600; }
.hero-sub { margin-top: 1.25rem; color: rgba(255,255,255,.8); font-size: 1.125rem; max-width: 36rem; }
.hero-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-controls { position: absolute; bottom: 2rem; left: 1.5rem; right: 1.5rem; max-width: var(--max-w); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.slider-progress { display: flex; align-items: center; gap: 1rem; color: rgba(255,255,255,.8); font-size: .875rem; }
.slide-num { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.slide-total { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.5); }
.dots { display: flex; gap: .5rem; }
.dot { width: 40px; height: 2px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; padding: 0; }
.dot span { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dot.is-active span { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.scroll-hint { display: none; align-items: center; gap: .5rem; color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .18em; text-decoration: none; }
.scroll-hint:hover { color: #fff; }
@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
  .scroll-hint { display: inline-flex; }
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }

/* ---------- Tentang ---------- */
.about-grid { display: grid; gap: 3rem; }
.mini-cards { margin-top: 2rem; display: grid; border-top: 1px solid var(--slate-200); border-left: 1px solid var(--slate-200); }
.mini-card { padding: 1.25rem; border-right: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); display: flex; gap: 1rem; }
.mini-card-ic { color: var(--gold-600); margin-top: 2px; }
.mini-card-title { font-weight: 500; color: var(--navy-900); }
.mini-card-sub { font-size: .875rem; color: var(--slate-500); margin-top: .25rem; }
.about-grid .body-text { margin-top: 1.25rem; }
@media (min-width: 640px) { .mini-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(12, 1fr); gap: 5rem; } .about-grid > :first-child { grid-column: span 5; } .about-grid > :last-child { grid-column: span 7; } }

/* ---------- Statistik ---------- */
.stats { margin-top: 5rem; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--slate-200); }
.stat { padding: 2rem 1.5rem 2rem 0; border-bottom: 1px solid var(--slate-200); }
.stat-num { font-size: 2.25rem; font-weight: 300; color: var(--navy-900); }
.stat-label { margin-top: .75rem; font-size: .875rem; color: var(--slate-500); }
@media (max-width: 1023px) { .stat:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--slate-200); } }
@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding: 2.5rem 2rem; border-left: 1px solid var(--slate-200); }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .stat-num { font-size: 3rem; }
}

/* ---------- Bisnis ---------- */
.biz-head { display: flex; flex-direction: column; gap: 1.5rem; }
.biz-head-sub { max-width: 28rem; line-height: 1.75; color: var(--slate-600); }
.biz-row { padding-top: 4rem; display: grid; }
.biz-row-pad { padding-bottom: 6rem; }
.biz-img { aspect-ratio: 4/3; background-color: var(--navy-800); background-position: center; background-size: cover; background-repeat: no-repeat; }
.biz-img-ac { background-image: url('../images/biz-ac.jpg'); }
.biz-img-k3 { background-image: url('../images/biz-k3.jpg'); }
.biz-img-general { background-image: url('../images/cover1.jpg'); }
.biz-body { background: #fff; padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.biz-num { font-size: .875rem; color: var(--slate-400); font-variant-numeric: tabular-nums; }
.biz-title { margin-top: 1rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; color: var(--navy-900); }
.biz-body .body-text { margin-top: 1rem; }
.feat-ic { color: var(--gold-600); }
.feat-title { margin-top: .75rem; font-weight: 500; color: var(--navy-900); }
.feat-sub { margin-top: .25rem; font-size: .875rem; color: var(--slate-500); }

@media (min-width: 768px) { .biz-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } .biz-title { font-size: 1.875rem; } }
@media (min-width: 1024px) {
  .biz-row { grid-template-columns: 1fr 1fr; }
  .biz-img { aspect-ratio: auto; min-height: 520px; }
  .biz-body { padding: 3.5rem; }
  .biz-body-first { order: 1; } .biz-row .biz-img-right { order: 2; }
}

/* ---------- Unit usaha (minimalis) ---------- */
.unit-row-domain { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--gold-600); }
.unit-row-name { margin-top: .5rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; color: var(--navy-900); }
.unit-row-desc { margin-top: .5rem; color: var(--slate-600); line-height: 1.7; max-width: 38rem; }
.unit-row-go { flex: none; display: inline-flex; align-items: center; gap: .75rem; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--navy-900); }
.go-circle { width: 2.75rem; height: 2.75rem; border: 1px solid var(--slate-200); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .3s, color .3s, border-color .3s; }

@media (min-width: 768px) { .unit-row-name { font-size: 1.75rem; } }

/* ---------- Sektor ---------- */
.sectors-grid { display: grid; gap: 3rem; }
.sector-list { display: grid; border-top: 1px solid var(--slate-200); border-left: 1px solid var(--slate-200); }
.sector { display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-right: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); transition: background .25s; }
.sector:hover { background: var(--navy-50); }
.sector-ic { color: var(--navy-700); }
.sector-title { font-weight: 500; color: var(--navy-900); }
.sector-sub { font-size: .875rem; color: var(--slate-500); margin-top: .25rem; }
@media (min-width: 640px) { .sector-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sectors-grid { grid-template-columns: repeat(12, 1fr); } .sectors-grid > :first-child { grid-column: span 4; } .sector-list { grid-column: span 8; } }

/* ---------- Komitmen ---------- */
.commit { background: var(--navy-900); color: #fff; }
.commit-head { max-width: 48rem; }
.commit-title { margin-top: 1.25rem; font-size: 1.875rem; line-height: 1.15; font-weight: 300; letter-spacing: -0.025em; }
.commit-title span { font-weight: 600; }
.commit-grid { margin-top: 3.5rem; display: grid; gap: 2.5rem; }
.commit-item { padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.15); }
.commit-num { color: var(--gold-400); font-size: .8rem; font-weight: 600; letter-spacing: .22em; }
.commit-item-title { margin-top: .9rem; font-size: 1.3rem; font-weight: 600; }
.commit-item-sub { margin-top: .6rem; color: var(--navy-200); line-height: 1.7; font-size: .95rem; }
@media (min-width: 768px) {
  .commit-title { font-size: 42px; }
  .commit-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Kontak ---------- */
.contact-grid { display: grid; gap: 3rem; }
.contact-grid .body-text { margin-top: 1.25rem; }
.contact-list { margin-top: 2.5rem; border-top: 1px solid var(--slate-200); }
.contact-row { padding-block: 1.25rem; border-bottom: 1px solid var(--slate-200); display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; }
.contact-term { font-size: .875rem; color: var(--slate-500); }
.contact-val { color: var(--navy-900); }
.contact-val a { text-decoration: none; }
.contact-val a:hover { color: var(--gold-600); }
.contact-form { background: var(--navy-50); padding: 1.5rem; display: grid; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; }
.field-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); margin-bottom: 10px; }
.field-opt { color: var(--slate-400); text-transform: none; letter-spacing: normal; }
.field {
  width: 100%; height: 48px; padding: 0 14px; font-size: 14px; font-family: inherit;
  background: #fff; border: 1px solid var(--field-border); outline: none; color: var(--navy-900);
  transition: border-color .2s; border-radius: 0; appearance: none;
}
.field:focus { border-color: var(--navy-900); }
.field::placeholder { color: var(--slate-400); }
.field-area { height: auto; padding-block: .75rem; resize: none; }
.select-wrap { position: relative; }
.field-select { padding-right: 2.5rem; }
.select-ic { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); color: var(--slate-400); pointer-events: none; }
.form-error { font-size: .875rem; color: #dc2626; }
.form-error[hidden] { display: none; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } .contact-form { padding: 2.5rem; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(12, 1fr); gap: 5rem; } .contact-grid > :first-child { grid-column: span 5; } .contact-grid > :last-child { grid-column: span 7; } }

/* ---------- Mitra (marquee) ---------- */
.mitra-head { display: flex; flex-direction: column; gap: 1.5rem; }
.mitra-marquee {
  margin-top: 3rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mitra-track { display: flex; width: max-content; animation: mitra-scroll 30s linear infinite; }
.mitra-marquee:hover .mitra-track { animation-play-state: paused; }
.mitra-set { display: flex; gap: 1rem; padding-right: 1rem; }
.mitra-box {
  flex: 0 0 auto; width: 180px; min-height: 9.5rem; padding: 1.25rem; background: #fff; border: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.mitra-box img { max-height: 5.5rem; max-width: 90%; object-fit: contain; }
@keyframes mitra-scroll { to { transform: translateX(-50%); } }
@media (min-width: 768px) {
  .mitra-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .mitra-box { width: 240px; min-height: 12rem; }
  .mitra-box img { max-height: 7.5rem; }
}
@media (prefers-reduced-motion: reduce) { .mitra-track { animation: none; } }

.feats { margin-top: 2rem; display: grid; border-top: 1px solid var(--slate-200); }
.feat { padding-block: 1.25rem; border-bottom: 1px solid var(--slate-200); }
@media (min-width: 640px) {
  .feats { grid-template-columns: repeat(3, 1fr); }
  .feat { border-bottom: 0; }
  .feat + .feat { border-left: 1px solid var(--slate-200); }
  .feat:nth-child(1) { padding-right: 1rem; }
  .feat:nth-child(2) { padding-inline: 1rem; }
  .feat:nth-child(3) { padding-left: 1rem; }
}

/* ---------- Tree diagram ---------- */
.tree { margin-top: 2rem; border-top: 1px solid var(--slate-200); padding-top: 2rem; text-align: center; }
.tree-root { position: relative; display: inline-block; background: var(--navy-900); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .65rem 1.5rem; border-radius: 999px; }
.tree-root::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 2rem; background: var(--slate-200); }
.tree-branch { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 2rem; }
.tree-branch::before { content: ""; position: absolute; top: 0; left: calc(100% / 6); right: calc(100% / 6); height: 1px; background: var(--slate-200); }
.tree-branch.cols-2 { grid-template-columns: repeat(2, 1fr); }
.tree-branch.cols-2::before { left: calc(100% / 4); right: calc(100% / 4); }
.tree-node { position: relative; padding: 0 .5rem; }
.tree-node::before { content: ""; position: absolute; top: -2rem; left: 50%; width: 1px; height: 2rem; background: var(--slate-200); }
.tree-node .feat-ic { color: var(--gold-600); }
.tree-node .feat-title { margin-top: .75rem; font-weight: 500; color: var(--navy-900); }
.tree-node .feat-sub { margin-top: .25rem; font-size: .875rem; color: var(--slate-500); }
/* simpul unit usaha */
.unit-tree { margin-top: 3rem; }
.tree-node .unit-row-desc { margin-inline: auto; }
.tree-node .unit-row-go { margin-top: 1.25rem; text-decoration: none; }
/* ---------- Unit tree style ---------- */
.unit-tree .tree-root { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); border: 1px solid rgba(232,181,74,.55); box-shadow: 0 12px 32px -14px rgba(11,34,57,.55); }
.unit-tree .tree-branch { gap: 1.5rem; }
.unit-tree .tree-branch::before { background: linear-gradient(180deg, var(--gold-400), var(--slate-200)); }
.unit-tree .tree-node { background: #fff; border: 1px solid var(--slate-200); border-radius: 1.25rem; padding: 2.25rem 2rem; box-shadow: 0 20px 45px -30px rgba(11,34,57,.35); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.unit-tree .tree-node::before { background: var(--gold-400); }
.unit-tree .tree-node:hover { transform: translateY(-6px); border-color: var(--gold-400); box-shadow: 0 30px 60px -25px rgba(11,34,57,.45); }
.unit-tree .go-circle { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.unit-tree .tree-node:hover .go-circle { background: var(--gold-500); border-color: var(--gold-500); color: #fff; }
@media (max-width: 639px) { .unit-tree .tree-node { padding: 1.75rem 1.25rem; } }
@media (max-width: 480px) {
  .tree-branch { gap: .5rem; }
  .tree-node { padding: 0 .25rem; }
  .tree-root { font-size: 11px; padding: .6rem 1.1rem; }
}
@media (max-width: 639px) {
  .tree-branch.cols-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .tree-branch.cols-2::before, .tree-branch.cols-2 .tree-node::before { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #fff; }
.footer-pad { padding-top: 5rem; padding-bottom: 2.5rem; }
.footer-grid { display: grid; gap: 3rem; }
.footer-about { margin-top: 1.5rem; font-size: .875rem; color: rgba(255,255,255,.6); max-width: 24rem; line-height: 1.75; }
.footer-head { font-size: 12px; letter-spacing: .18em; color: rgba(255,255,255,.5); }
.footer-links { list-style: none; margin-top: 1.25rem; display: grid; gap: .75rem; font-size: .875rem; color: rgba(255,255,255,.8); }
.footer-links a { text-decoration: none; display: inline-flex; align-items: center; gap: .25rem; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact li { color: rgba(255,255,255,.8); }
.footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: .75rem; font-size: 12px; color: rgba(255,255,255,.4); }
.to-top { display: inline-flex; align-items: center; gap: .375rem; text-decoration: none; }
.to-top:hover { color: #fff; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(12, 1fr); }
  .footer-brand { grid-column: span 5; }
  .footer-grid > div:nth-child(2), .footer-grid > div:nth-child(3) { grid-column: span 2; }
  .footer-grid > div:nth-child(4) { grid-column: span 3; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .slide, .reveal { transition: none; }
  .caption.is-active, .dot.is-active span { animation: none; }
}

/* ---------- Responsif layar kecil / Android ---------- */
html, body { overflow-x: clip; }
body { -webkit-tap-highlight-color: transparent; }
.hero { height: 100vh; height: 100svh; }
@supports (height: 100dvh) { .hero { height: 100dvh; } }
/* area sentuh dots slider lebih besar */
.dot::after { content: ""; position: absolute; left: 0; right: 0; top: -12px; bottom: -12px; }

@media (max-width: 640px) {
  .field { font-size: 16px; } /* cegah auto-zoom saat isi form di HP */
  .hero-cta .btn-light, .hero-cta .btn-ghost { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 480px) {
  .section { padding-block: 4rem; }
  .hero-title { font-size: 1.9rem; }
  .hero-sub { font-size: 1rem; }
  .hero-content { padding-bottom: 8rem; } /* ruang untuk tombol + kontrol slider */
  .section-title, .commit-title { font-size: 1.65rem; }
  .stat { padding: 1.5rem 1rem 1.5rem 0; }
  .stat:nth-child(even) { padding-left: 1rem; }
  .stat-num { font-size: 1.9rem; }
  .biz-body { padding: 1.5rem; }
  .sector { padding: 1.25rem; gap: 14px; }
  .commit-grid { margin-top: 2.5rem; }
  .contact-row { grid-template-columns: 1fr; gap: .25rem; }
  .contact-form { padding: 1.25rem; }
  .footer-pad { padding-top: 3.5rem; }
}
