/* ================= TOKENS ================= */
:root {
  --navy: #064236;
  --navy-2: #0a5646;
  --blue: #0e7a5a;
  --accent: #1fb67c;
  --accent-dark: #169a67;
  --ink: #0f172a;
  --muted: #5b6477;
  --line: #e1ebe6;
  --bg: #ffffff;
  --bg-alt: #f3f8f5;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(6, 66, 54, .18);
  --shadow-lg: 0 24px 60px -20px rgba(6, 66, 54, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.hl { color: var(--blue); }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
  background: #e3f4ec;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent); background: rgba(31, 182, 124, .12); }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--navy-2); }
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--sm { padding: 10px 18px; font-size: .95rem; }
.btn--block { width: 100%; }

.link { font-weight: 700; color: var(--blue); }
.link:hover { text-decoration: underline; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}

/* ================= TOPBAR / NAV ================= */
.topbar { background: var(--navy); color: #d3e6de; font-size: .88rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; }
.topbar__link { color: var(--accent); font-weight: 700; white-space: nowrap; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(0,0,0,.25); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__menu { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.nav__menu a:not(.btn):hover { color: var(--blue); }

.logo { display: inline-flex; align-items: center; }
/* PNG berlatar putih: multiply membuat latar putihnya menyatu dengan navbar */
.logo img { height: 46px; width: auto; mix-blend-mode: multiply; }
.logo--light img { height: 52px; mix-blend-mode: normal; border-radius: 8px; }

.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ================= HERO ================= */
/* Foto latar (Unsplash License). Ganti URL dengan file lokal di assets/img/ bila perlu. */
:root {
  --img-hero: url("https://images.unsplash.com/photo-1555333145-4acf190da336?w=1920&q=70&auto=format&fit=crop");
  --img-vo: url("https://images.unsplash.com/photo-1683605899819-443c9a4c694f?w=1600&q=70&auto=format&fit=crop");
  --img-cta: url("https://images.unsplash.com/photo-1681505531034-8d67054e07f6?w=1600&q=70&auto=format&fit=crop");
}

.hero {
  padding: 88px 0 120px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(4, 44, 36, .96) 0%, rgba(6, 66, 54, .88) 45%, rgba(6, 66, 54, .55) 100%),
    var(--img-hero) center / cover no-repeat,
    var(--navy);
}
.hero .eyebrow { color: #fff; background: rgba(255, 255, 255, .14); }
.hero .hl { color: var(--accent); }
.hero .lead { color: #d3e6de; }
.hero .hero__checks li::before { color: var(--accent); }
.hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.hero .btn--primary { background: var(--accent); color: var(--navy); }
.hero .btn--primary:hover { background: #fff; }
.hero__card { color: var(--ink); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .95rem; }
.hero__checks li::before { content: "✓"; color: #16a34a; font-weight: 800; margin-right: 8px; }

.hero__card { box-shadow: var(--shadow-lg); }
.card__title { font-size: 1.35rem; }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font: inherit; color: inherit; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(14, 122, 90, .12);
}
.field--check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.field--check input { width: 18px; height: 18px; accent-color: var(--navy); }
.field--check > span { margin: 0; font-weight: 500; }
.field--check em { font-style: normal; }

.estimate {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px; margin: 4px 0 18px; border-radius: 12px; background: var(--bg-alt);
}
.estimate strong { font-size: 1.5rem; color: var(--navy); }

/* ================= STATS ================= */
.stats { margin-top: -48px; position: relative; z-index: 2; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 26px 12px;
}
.stats__grid > div { text-align: center; padding: 6px 16px; border-right: 1px solid var(--line); }
.stats__grid > div:last-child { border-right: 0; }
.stats .stats__icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: #e3f4ec; font-size: 1.35rem; margin-bottom: 10px;
}
.stats strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.stats span { font-size: .9rem; color: var(--muted); }

/* ================= SECTIONS ================= */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  color: #fff;
  background:
    linear-gradient(160deg, rgba(6, 66, 54, .9), rgba(3, 41, 31, .8)),
    var(--img-vo) center / cover no-repeat,
    var(--navy);
}
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section__head--light p { color: #c5dbd2; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service p { color: var(--muted); font-size: .95rem; flex: 1; }
.service__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; background: var(--bg-alt); margin-bottom: 16px;
}

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.4rem; }
.plan__price { font-size: 3rem; font-weight: 800; color: var(--navy); margin: 8px 0 20px; line-height: 1; }
.plan__price small { font-size: 1rem; font-weight: 700; margin: 0 4px; color: var(--muted); }
.plan__list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan__list li { padding: 9px 0 9px 28px; position: relative; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.plan__list li.off { color: #a3aab8; text-decoration: line-through; }
.plan__list li.off::before { content: "✕"; color: #c4c9d4; }
.plan--featured { background: var(--navy); color: #fff; border-color: var(--navy); transform: scale(1.03); box-shadow: var(--shadow-lg); }
.plan--featured .plan__price, .plan--featured .plan__price small { color: var(--accent); }
.plan--featured .plan__list li { border-color: rgba(255,255,255,.14); }
.plan--featured .plan__list li::before { color: var(--accent); }
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--navy); font-weight: 800; font-size: .8rem;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.note { text-align: center; margin-top: 28px; }

/* perizinan */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.permits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.permit {
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 16px 18px; background: #fff;
}
.permit b { display: block; color: var(--navy); }
.permit span { font-size: .9rem; color: var(--muted); }

/* virtual office */
.vo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.vo__features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vo__feat {
  display: flex; gap: 12px; align-items: center; padding: 16px;
  border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  font-weight: 600;
}
.vo__feat span {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--navy); font-weight: 800; font-size: .85rem;
}
.vo__table { color: var(--ink); padding: 20px; }
.vo__tabs { display: flex; gap: 6px; background: var(--bg-alt); padding: 6px; border-radius: 12px; margin-bottom: 12px; }
.vo__tab {
  flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 8px;
  font: inherit; font-weight: 700; color: var(--muted); cursor: pointer;
}
.vo__tab.is-active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.vo__list { list-style: none; margin: 0; padding: 0; }
.vo__list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  padding: 14px 8px; border-bottom: 1px solid var(--line);
}
.vo__list li:last-child { border-bottom: 0; }
.vo__list .loc b { display: block; }
.vo__list .loc span { font-size: .85rem; color: var(--muted); }
.vo__list .price { font-weight: 800; color: var(--navy); white-space: nowrap; }
.vo__list .price small { font-weight: 500; color: var(--muted); }
.vo__list .btn { padding: 8px 14px; font-size: .88rem; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--bg-alt); }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: var(--accent); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px;
}
.docs ul { columns: 2; column-gap: 40px; padding-left: 20px; margin: 0; }
.docs li { margin-bottom: 8px; break-inside: avoid; }

/* why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why__item p { color: var(--muted); margin: 0; font-size: .95rem; }

/* faq */
.faq details {
  border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--blue); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* cta */
.section--cta {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(4, 44, 36, .95) 0%, rgba(6, 66, 54, .82) 55%, rgba(11, 90, 72, .6) 100%),
    var(--img-cta) center / cover no-repeat,
    var(--navy);
}
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta > div > p { color: #c5dbd2; font-size: 1.1rem; }
.contact { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.contact a { color: var(--accent); font-weight: 600; }
.lead-form { color: var(--ink); }
.form-error { color: #dc2626; font-size: .9rem; font-weight: 600; }

/* footer */
.footer { background: #074239; color: #b5cfc5; padding: 64px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__grid p { margin-top: 16px; max-width: 360px; }
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer__grid a:not(.logo) { display: block; margin-bottom: 8px; }
.footer__grid a:not(.logo):hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; }

/* floating wa */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* grid children boleh menyusut di layar sempit */
.hero__grid > *, .split > *, .vo > *, .cta > *, .vo__features > *, .permits > * { min-width: 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .vo { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 14px; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 48px 0 80px; }
  .hero__grid, .split, .cta { grid-template-columns: 1fr; gap: 36px; }
  .pricing { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stats__grid > div:nth-child(2) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .topbar__inner span { font-size: .8rem; }
  .topbar__link { display: none; }
  .services, .why, .steps, .permits, .vo__features { grid-template-columns: 1fr; }
  .docs ul { columns: 1; }
  .card { padding: 22px; }
  .vo__list li { grid-template-columns: 1fr; gap: 8px; }
  .hero__actions .btn { flex: 1 1 100%; }
}
