:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --text: #0b1220;
  --muted: #55627a;
  --line: #e4e8f0;
  --primary: #0a2f6b;
  --primary-dark: #071f48;
  --primary-soft: #e7eefb;
  --accent: #e8a317;
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(11, 18, 32, .10);
  --shadow-sm: 0 6px 18px rgba(11, 18, 32, .06);
  --max: 1160px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 1em; }
.text-muted { color: var(--muted); font-size: 1.05rem; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.site-header--overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-color: transparent;
}
.site-header--overlay.is-scrolled,
.site-header--overlay.menu-open {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-color: var(--line);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--primary);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.brand-name { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.site-header--overlay:not(.is-scrolled):not(.menu-open) .brand-name { color: #fff; }
.site-header--overlay:not(.is-scrolled):not(.menu-open) .brand-mark { background: #fff; color: var(--primary); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: color .15s;
}
.nav a:hover { color: var(--primary); }
.site-header--overlay:not(.is-scrolled):not(.menu-open) .nav a { color: rgba(255, 255, 255, .85); }
.site-header--overlay:not(.is-scrolled):not(.menu-open) .nav a:hover { color: #fff; }
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
}
.nav-cta:hover { background: var(--primary-dark); }
.site-header--overlay:not(.is-scrolled):not(.menu-open) .nav-cta { background: #fff; color: var(--primary) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.site-header--overlay:not(.is-scrolled):not(.menu-open) .nav-toggle span { background: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-soft); }
.btn-block { width: 100%; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 72px) 0 0;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 31, 72, .92) 0%, rgba(7, 31, 72, .72) 50%, rgba(7, 31, 72, .45) 100%),
    linear-gradient(180deg, rgba(7, 31, 72, .3), rgba(7, 31, 72, .6));
}
.hero-content {
  position: relative;
  max-width: var(--max);
  padding-bottom: 72px;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow-light { color: var(--accent); }
.hero h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 800;
  line-height: 1.1;
}
.hero .lead {
  max-width: 600px;
  margin-bottom: 34px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .85);
}

.trust-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: -56px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}
.trust-icon svg, .feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Sections ---------- */
.section { padding: 110px 0 96px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--primary-dark); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .section-intro { color: rgba(255, 255, 255, .75); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 44px;
}
.section-head h2 { margin-bottom: 0; }
.section-intro { max-width: 420px; margin: 0; color: var(--muted); }

/* Tentang */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-media::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  right: 40px;
  bottom: 40px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  z-index: -1;
}
.about-badge {
  position: absolute;
  right: -16px;
  bottom: 28px;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 1.4rem; font-weight: 800; letter-spacing: .04em; }
.about-badge span { display: block; font-size: .85rem; opacity: .85; }
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.vm {
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--bg-alt);
}
.vm h3 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.vm p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-num { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--accent); margin-bottom: 8px; }
.card-body p { color: var(--muted); margin-bottom: 18px; flex: 1; }
.card-link { font-weight: 700; font-size: .95rem; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}
.step p { margin: 0; color: var(--muted); font-size: .97rem; }
.step::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -24px;
  width: 24px;
  height: 2px;
  background: var(--line);
}
.step:last-child::after { display: none; }

/* Keunggulan (dark) */
.feature {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(232, 163, 23, .15);
  color: var(--accent);
}
.feature p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .97rem; }

/* CTA band */
.cta-band {
  position: relative;
  padding: 96px 0;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.cta-overlay { position: absolute; inset: 0; background: rgba(10, 47, 107, .88); }
.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, .85); }

/* Kontak */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: stretch;
}
.contact-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-list { margin: 0; display: grid; gap: 20px; }
.contact-list dt {
  margin-bottom: 2px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }
.contact-list dd small { display: block; margin-top: 3px; font-weight: 500; color: var(--muted); }
.map {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--bg-alt);
}
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Halaman teks (kebijakan privasi) */
.prose { max-width: 780px; padding-top: 72px; padding-bottom: 96px; }
.prose h1 { margin-bottom: 8px; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
.prose .updated { margin: 0 0 40px; color: var(--muted); }
.prose h2 { margin: 44px 0 10px; font-size: 1.35rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  padding: 64px 0 0;
  background: #0b1220;
  color: #b7c0d0;
  font-size: .95rem;
}
.site-footer .brand { color: #fff; }
.site-footer h4 { margin-bottom: 16px; color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { color: #b7c0d0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-text { margin: 16px 0 0; max-width: 380px; color: #8c97ab; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .88rem;
  color: #8c97ab;
}

/* Tombol WhatsApp melayang */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.07); }

/* Animasi muncul */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted) !important; }
  .nav .nav-cta { margin-top: 12px; text-align: center; border: 0; background: var(--primary) !important; color: #fff !important; }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 48px; }
  .about-badge { right: 12px; }
  .grid-3 { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section { padding: 90px 0 72px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); }
}
@media (max-width: 600px) {
  .grid-4, .steps, .trust-bar, .vm-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .brand-name { font-size: 1rem; }
  .map, .map iframe { min-height: 300px; }
  .contact-card { padding: 26px; }
}
