/* ===== Design Tokens ===== */
:root {
  --navy: #0f2a4a;
  --navy-700: #163a63;
  --navy-600: #1e4d80;
  --gold: #e0a92e;
  --gold-600: #c8901c;
  --ink: #1a2433;
  --muted: #5b6b80;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-navy: #0f2a4a;
  --wa: #25d366;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(15, 42, 74, 0.06);
  --shadow-md: 0 12px 34px rgba(15, 42, 74, 0.10);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.section { padding: 84px 0; }
@media (max-width: 640px) { .section { padding: 56px 0; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(224, 169, 46, .35); }
.btn-primary:hover { background: var(--gold-600); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--navy); }
.btn-nav { background: var(--gold); color: var(--navy); padding: 10px 20px; }
.btn-nav:hover { background: var(--gold-600); }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  color: var(--gold); font-weight: 800; font-size: 15px; letter-spacing: .5px;
}
.brand-text { font-size: 20px; color: var(--navy); }
.brand-text strong { color: var(--gold-600); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--ink); transition: color .18s; }
.nav-links a:not(.btn):hover { color: var(--gold-600); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 72px; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; width: min(280px, 80vw); height: calc(100vh - 72px);
    padding: 24px; box-shadow: -10px 0 40px rgba(15,42,74,.12);
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 10px 0; font-size: 16px; }
  .btn-nav { margin-top: 8px; }
}

/* ===== Hero ===== */
.hero {
  background:
    linear-gradient(115deg, rgba(15,42,74,.94) 0%, rgba(15,42,74,.82) 45%, rgba(18,32,58,.60) 100%),
    url("images/hero.png");
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: #fff; padding: 150px 0 90px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gold);
  background: rgba(224,169,46,.12); border: 1px solid rgba(224,169,46,.3);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); line-height: 1.12; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .accent { color: var(--gold); }
.hero-sub { margin: 22px 0 30px; font-size: 1.08rem; color: rgba(255,255,255,.82); max-width: 560px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: 12px 16px; border-radius: 12px;
}
.badge strong { font-size: 1.35rem; color: var(--gold); line-height: 1; }
.badge span { font-size: 12.5px; color: rgba(255,255,255,.78); line-height: 1.35; }

.hero-card { display: flex; justify-content: center; }
.stat-card {
  width: 100%; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px;
  padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  backdrop-filter: blur(6px);
}
.stat strong { display: block; font-size: 2rem; color: var(--gold); line-height: 1; }
.stat span { font-size: 13.5px; color: rgba(255,255,255,.8); }

@media (max-width: 900px) {
  .hero { padding: 128px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
}

/* ===== Section head ===== */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px;
}
.section-head h2, .about-text h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--navy);
  font-weight: 800; letter-spacing: -.4px; line-height: 1.18;
}
.section-lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ===== Tentang ===== */
.about { background: var(--bg-soft); }
.about-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.about-text p { color: var(--muted); margin-top: 16px; }
.about-text h2 { margin-top: 6px; }
.check-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.about-highlight {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-600) 100%);
  color: #fff; border-radius: var(--radius); padding: 38px 32px;
  box-shadow: var(--shadow-md); position: relative;
}
.about-highlight blockquote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; font-style: italic; }
.about-highlight::before {
  content: "\201C"; position: absolute; top: 6px; left: 22px;
  font-family: var(--serif); font-size: 5rem; color: var(--gold); opacity: .5; line-height: 1;
}
@media (max-width: 820px) { .about-inner { grid-template-columns: 1fr; gap: 32px; } }

/* ===== Grid cards ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; background: var(--bg-soft); margin-bottom: 18px;
}
.feature-card h3, .service-card h3 { color: var(--navy); font-size: 1.22rem; margin-bottom: 10px; }
.feature-card p, .service-card p { color: var(--muted); font-size: .98rem; }

/* ===== Layanan ===== */
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleY(1); }

/* ===== Proses ===== */
.process { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 28px 30px; text-align: center; position: relative; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 800;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%); color: var(--gold);
}
.step h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .98rem; }

/* ===== CTA band ===== */
.cta-band {
  background:
    radial-gradient(700px 300px at 15% 120%, rgba(224,169,46,.18), transparent 60%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-600) 100%);
  color: #fff; text-align: center;
}
.cta-inner { padding: 70px 0; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
.cta-band p { margin: 12px 0 26px; color: rgba(255,255,255,.85); font-size: 1.08rem; }

/* ===== Kontak ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.contact-item {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 26px; box-shadow: var(--shadow-sm);
}
.contact-icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-size: 26px; background: var(--bg-soft);
}
.contact-item h3 { color: var(--navy); margin-bottom: 8px; }
.contact-item p, .contact-item a { color: var(--muted); }
.contact-item a:hover { color: var(--gold-600); }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer .brand-text { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: .95rem; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.72); font-size: .95rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.footer-bottom p { text-align: center; font-size: .9rem; color: rgba(255,255,255,.6); }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  animation: wa-pulse 2.4s infinite;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

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