/* ==========================================================================
   Variabel brand: ganti bagian ini saja untuk menyesuaikan warna & font.
   Font ada di folder fonts/ (huruf Latin saja, ketebalan sesuai @font-face di bawah).
   Kalau font diganti, ubah juga <link rel="preload"> di index.html.
   ========================================================================== */
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
/* Font cadangan selebar font asli, supaya teks tidak pindah baris saat font selesai dimuat.
   Angkanya hanya cocok untuk font di atas: kalau font diganti, hapus blok ini. */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("Roboto");
  font-weight: 400 600;
  size-adjust: 102.30%;
  ascent-override: 104.20%;
  descent-override: 29.33%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial Bold"), local("Roboto Bold");
  font-weight: 700 800;
  size-adjust: 99.57%;
  ascent-override: 107.06%;
  descent-override: 30.13%;
  line-gap-override: 0%;
}

:root {
  --font-display: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #f5f7f9;
  --surface: #ffffff;
  --ink: #0e1726;
  --muted: #53637a;
  --line: #dbe2ea;
  --accent: #0f766e;
  --accent-ink: #ffffff;
  --deep: #0e1726;
  --deep-ink: #ffffff;
  --sun: #f0b240;

  --radius: 10px;
  --maxw: 1120px;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
section[id] { scroll-margin-top: 1rem; }
.num { color: var(--accent); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  transition: background-color .15s ease, color .15s ease;
}
.btn-small { min-height: 44px; padding: .55rem 1.05rem; font-size: .9375rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #0c5f58; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { justify-self: start; background: var(--deep-ink); color: var(--deep); }
.btn-light:hover { background: var(--sun); }

/* ---------- Header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; text-decoration: none; }
.mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; background: var(--deep); color: var(--deep-ink); border-radius: 8px; font-size: 1rem; }

/* ---------- 1. Hero: tulisan saja, judul jadi pusat perhatian ---------- */
.hero { padding-block: clamp(2.5rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem); }
.eyebrow { color: var(--accent); font-size: .9375rem; font-weight: 700; }
.hero h1 {
  max-width: 13ch; margin-top: 1rem;
  font: 800 clamp(2.75rem, 11vw, 6.5rem)/1.02 var(--font-display);
  letter-spacing: -.04em; text-wrap: balance;
}
.hero-row { display: grid; gap: 1.5rem; margin-top: clamp(1.75rem, 5vw, 3rem); }
.lead { max-width: 34rem; color: var(--muted); font-size: 1.125rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.points { display: grid; margin-top: clamp(2.5rem, 7vw, 4.5rem); }
.points li { display: flex; gap: .85rem; align-items: baseline; padding-block: .9rem; border-top: 1px solid var(--line); font-weight: 600; }

/* ---------- 2. Layanan ---------- */
.services { padding-block: clamp(3.5rem, 9vw, 6.5rem); background: var(--surface); }
.split { display: grid; gap: 2.5rem; }
.side h2 { font: 800 clamp(2.25rem, 8vw, 3.5rem)/1.05 var(--font-display); letter-spacing: -.03em; }
.side p { max-width: 24rem; margin-top: .75rem; color: var(--muted); }
.side img { width: 100%; margin-top: 1.75rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.rows li { display: grid; grid-template-columns: 3rem 1fr; gap: .25rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows .num { padding-top: .35rem; }
.rows h3 { font-size: 1.3125rem; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.rows p { margin-top: .25rem; color: var(--muted); }
.steps-title { margin-top: 3rem; font-size: 1.125rem; font-weight: 700; }
.steps { position: relative; display: grid; gap: 1.5rem; margin-top: 1.25rem; padding-left: 1.5rem; border-left: 2px solid var(--line); }
.steps li { position: relative; display: grid; align-content: start; gap: .1rem; }
.steps li::before {
  content: ""; position: absolute; left: calc(-1.5rem - 6px); top: .45rem;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}
.steps strong { font-weight: 700; }
.steps span { color: var(--muted); font-size: .9375rem; }

/* ---------- 3. Ajakan WhatsApp ---------- */
.cta { padding-block: clamp(3rem, 8vw, 5rem); background: var(--deep); color: var(--deep-ink); }
.cta-row { display: grid; gap: 1.5rem; }
.cta h2 { font: 800 clamp(2.25rem, 8vw, 3.5rem)/1.05 var(--font-display); letter-spacing: -.03em; }
.cta p { max-width: 30rem; margin-top: .5rem; opacity: .8; }

/* ---------- Blok penutup ---------- */
.more { margin-block: 2.5rem; padding: 1.1rem 1rem; text-align: center; text-wrap: balance; border: 1px dashed var(--muted); border-radius: var(--radius); color: var(--muted); font-weight: 600; }

/* ---------- Footer tipis ---------- */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem;
  padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem;
}
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.foot-link { padding-block: .6rem; }
.foot-link:hover { color: var(--ink); }

/* ---------- Layar lebar ---------- */
@media (min-width: 640px) {
  .points { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .points li { padding-bottom: 0; }
}
@media (min-width: 900px) {
  .hero-row { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
  .split { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .side { position: sticky; top: 2rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.1rem 0 0; border-left: 0; border-top: 2px solid var(--line); }
  .steps li::before { left: 0; top: calc(-1.1rem - 6px); }
  .cta-row { grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
}
