:root {
  --navy-900: #0b1f3f;
  --navy-800: #11295a;
  --navy-700: #1a3a78;
  --blue-600: #1f6fd1;
  --blue-500: #2388e6;
  --sky-400: #22a8ff;
  --gold-500: #c9a34a;
  --gold-400: #dcbc6a;
  --green-600: #0e9a55;
  --ink: #16233b;
  --muted: #56637a;
  --line: #e2e7f0;
  --bg: #ffffff;
  --tint: #f4f7fc;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 31, 63, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* Watermark */
.watermark {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid; place-items: center;
}
.watermark img { width: min(70vw, 760px); opacity: .045; filter: grayscale(20%); }
main, .topbar, .footer { position: relative; z-index: 1; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand .brand-mam { height: 26px; }
.brand-text { font-size: .9rem; color: var(--navy-800); line-height: 1.2; }
.brand-text strong { display: block; font-weight: 800; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--navy-800); transition: color .2s; }
.nav a:hover { color: var(--blue-600); }
.nav-cta { background: var(--navy-800); color: #fff !important; padding: 10px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--blue-600); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; }

/* Hero — latar terang (gading) agar area transparan logo menyatu & logo biru tetap kontras */
.hero { position: relative; overflow: hidden; color: var(--navy-900); padding: 72px 0 0; text-align: center; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(35, 136, 230, .10), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(201, 163, 74, .20), transparent 60%),
    linear-gradient(170deg, #fdfaf2 0%, #f8f1df 60%, #f3e8cc 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: url("assets/logo-mam.png") no-repeat right -60px bottom -40px / 520px auto;
  opacity: .06;
}
.hero-logos { display: flex; align-items: center; justify-content: center; gap: 40px; margin-bottom: 36px; }
.logo-card { height: 190px; display: grid; place-items: center; }
.logo-card img { max-height: 190px; width: auto; filter: drop-shadow(0 10px 18px rgba(11, 31, 63, .16)); }
.logo-card:last-child img { max-height: 112px; }
.logo-divider { width: 2px; height: 120px; background: linear-gradient(transparent, var(--gold-500), transparent); }
.hero-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: #8a6a22; border: 1px solid rgba(201, 163, 74, .6); background: rgba(255, 255, 255, .5);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hero-title { display: flex; flex-direction: column; gap: 6px; }
.title-1 {
  font-size: clamp(1.05rem, 2.6vw, 1.6rem); font-weight: 700; letter-spacing: .38em;
  color: var(--blue-600); padding-left: .38em;
}
.title-2 {
  font-family: "Playfair Display", Georgia, serif; font-weight: 800;
  font-size: clamp(2.1rem, 6.4vw, 4.4rem); line-height: 1.1; letter-spacing: .03em;
  color: var(--navy-800);
}
.title-2::after {
  content: ""; display: block; width: 120px; height: 3px; margin: 18px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.hero-tagline { margin: 16px auto 0; max-width: 560px; font-size: 1.1rem; color: var(--muted); font-style: italic; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 34px 0 56px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-900); box-shadow: 0 10px 24px rgba(201, 163, 74, .35); }
.btn-ghost { border: 1.5px solid var(--navy-800); color: var(--navy-800); }
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-outline { border: 1.5px solid var(--navy-800); color: var(--navy-800); margin-top: 18px; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }

.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr 2fr;
  background: var(--navy-800); color: #fff;
  border-radius: 20px 20px 0 0; box-shadow: 0 -8px 30px rgba(11, 31, 63, .12);
}
.hero-stats > div { padding: 22px 24px; text-align: left; }
.hero-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.stat-label { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; }
.stat-value { display: block; font-size: 1.1rem; font-weight: 700; margin-top: 4px; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: rgba(244, 247, 252, .92); }
.section-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #fff; }
.section h2 {
  font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.2; color: var(--navy-800);
}
.section-navy h2 { color: #fff; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 8px; }
.kicker-light { color: var(--gold-400); }
.gold-rule { width: 64px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); margin-top: 16px; }
.gold-rule.center { margin-inline: auto; }
.section-head { text-align: center; margin-bottom: 52px; }
.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.prose p + p { margin-top: 18px; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.product-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--sky-400)); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 31, 63, .12); }
.product-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e6f1ff, #d4e7ff); color: var(--blue-600); margin-bottom: 20px;
}
.product-icon svg { width: 28px; height: 28px; }
.product-card h3 { font-size: 1.3rem; color: var(--navy-800); margin-bottom: 10px; }
.product-card p { color: var(--muted); }

/* Commitments */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li {
  position: relative; padding: 16px 20px 16px 58px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; font-weight: 500;
}
.check-list li::before {
  content: ""; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Visi Misi */
.vm-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.vm-visi blockquote {
  margin-top: 28px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.5; color: #eaf2ff; border-left: 3px solid var(--gold-400); padding-left: 24px;
}
.misi-list { list-style: none; counter-reset: m; margin-top: 28px; display: grid; gap: 14px; }
.misi-list li {
  counter-increment: m; position: relative; padding: 14px 18px 14px 64px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; color: #dbe6f7;
}
.misi-list li::before {
  content: counter(m, decimal-leading-zero); position: absolute; left: 18px; top: 14px;
  font-weight: 800; color: var(--gold-400);
}

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); transition: transform .25s;
}
.value-card:hover { transform: translateY(-4px); }
.value-num { font-family: "Playfair Display", Georgia, serif; font-size: 2rem; font-weight: 800; color: var(--gold-500); }
.value-card h3 { font-size: 1.15rem; color: var(--navy-800); margin: 6px 0 8px; }
.value-card p { color: var(--muted); font-size: .95rem; }
.closing-quote {
  margin: 56px auto 0; max-width: 760px; text-align: center; font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-style: italic; color: var(--navy-700);
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; transition: background .25s;
}
.contact-card:hover { background: rgba(255, 255, 255, .1); }
.contact-icon {
  width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-900); margin-bottom: 14px;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; }
.contact-value { font-weight: 600; margin-top: 6px; word-break: break-word; }
.contact-value a { text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

/* Footer */
.footer { background: var(--navy-900); color: #b9c7de; padding: 36px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 52px; width: auto; background: #f8f1df; border-radius: 12px; padding: 4px; }
.footer-brand .brand-mam { height: 52px; padding: 12px 8px; }
.footer-title { color: #fff; line-height: 1.35; font-size: .95rem; }
.footer-sub, .footer-copy { font-size: .82rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .values-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    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 16px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 12px; border-bottom: 0 !important; }
}
@media (max-width: 640px) {
  .brand-text { display: none; }
  .hero { padding-top: 48px; }
  .hero-logos { gap: 14px; }
  .logo-card { height: 120px; }
  .logo-card img { max-height: 120px; }
  .logo-card:last-child img { max-height: 64px; }
  .logo-divider { height: 70px; }
  .title-1 { letter-spacing: .2em; padding-left: .2em; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .section { padding: 72px 0; }
  .product-grid, .values-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-card { padding: 26px 20px; }
}
