@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── TOKENS ─────────────────────────────── */
:root {
  --cream:      #FBF7F0;
  --cream-alt:  #FFF8EF;
  --cream-deep: #F5ECD8;
  --border:     #EDD9B8;
  --ink:        #5C3010;
  --ink-soft:   #8B6040;
  --ink-mute:   #B8916A;
  --terra:      #D4622A;
  --terra-dark: #A84C2F;
  --terra-lt:   #FFF0D6;
  --green:      #2D9E75;
  --green-lt:   #EEF7F1;
  --white:      #FFFFFF;
  --r:          14px;
  --max-w:      1100px;
  --px:         48px;
}

/* ── BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--ink); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAVBAR ────────────────────────────────── */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
}
.nav {
  background: var(--cream);
  border-bottom: 1.5px solid var(--border);
  padding: 0 var(--px);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.nav-brand-name { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.nav-links { display: flex; gap: 4px; }
.nav-a {
  font-size: 13px; color: var(--ink-soft);
  padding: 7px 16px; border-radius: 30px;
  transition: background .18s, color .18s;
}
.nav-a:hover { background: var(--cream-deep); color: var(--ink); }
.nav-a.on { background: var(--terra); color: #fff; font-weight: 500; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1.5px solid var(--border);
  padding: 12px 20px 16px;
  gap: 4px;
  z-index: 99;
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-a { padding: 10px 16px; border-radius: 10px; font-size: 14px; }

/* ── HERO ──────────────────────────────────── */
.hero {
  padding: 72px var(--px) 64px;
  background: linear-gradient(135deg, #FFF3E0 0%, var(--cream) 55%, var(--green-lt) 100%);
  border-bottom: 1.5px solid var(--border);
}
.hero-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  max-width: var(--max-w); margin: 0 auto;
}
.hero-left { flex: 1; max-width: 520px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
}
.hero-eyebrow::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--green); }
.hero-title { font-size: 44px; font-weight: 500; color: var(--ink); line-height: 1.12; margin-bottom: 16px; }
.hero-title em { color: var(--terra); font-style: normal; }
.hero-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta {
  display: inline-block;
  background: var(--terra); color: #fff;
  font-size: 14px; font-weight: 500;
  padding: 12px 28px; border-radius: 30px;
  transition: background .18s;
}
.hero-cta:hover { background: var(--terra-dark); }
.hero-cta-sec {
  display: inline-block;
  background: transparent; color: var(--green);
  font-size: 14px; font-weight: 500;
  padding: 12px 28px; border-radius: 30px;
  border: 1.5px solid var(--green);
  transition: background .18s;
}
.hero-cta-sec:hover { background: var(--green-lt); }
.hero-right { flex-shrink: 0; position: relative; }
.hero-img-wrap {
  width: 260px; height: 260px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--cream-deep);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-deco-badge {
  position: absolute; bottom: -14px; left: -18px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 8px 16px;
  font-size: 12px; color: var(--ink); font-weight: 500;
  white-space: nowrap;
}

/* ── SECTION BASE ──────────────────────────── */
.sec { padding: 64px var(--px); }
.sec-inner { max-width: var(--max-w); margin: 0 auto; }
.sec-alt { background: var(--cream-alt); }
.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--terra); margin-bottom: 10px;
}
.sec-label::before { content: ''; display: block; width: 18px; height: 1.5px; background: var(--terra); }
.sec-title { font-size: 28px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.sec-sub { font-size: 15px; color: var(--ink-soft); line-height: 1.75; max-width: 620px; margin-bottom: 36px; }

/* ── CERITA SINGKAT ────────────────────────── */
.cerita-wrap { font-size: 15px; color: var(--ink-soft); line-height: 1.85; max-width: 740px; margin-bottom: 36px; }
.cerita-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cerita-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 22px;
}
.cerita-card-icon { font-size: 26px; margin-bottom: 10px; }
.cerita-card-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.cerita-card-text { font-size: 13px; color: var(--ink-soft); line-height: 1.65; }

/* ── CARA BERMAIN ──────────────────────────── */
.cara-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cara-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 20px;
}
.cara-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--terra-lt); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--terra);
  margin-bottom: 10px;
}
.cara-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.cara-text { font-size: 12px; color: var(--ink-soft); line-height: 1.65; }

/* ── KOMENTAR ──────────────────────────────── */
.comment-form-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 28px;
  max-width: 600px; margin-bottom: 28px;
}
.comment-form-card h3 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 18px; }
.cf-label { display: block; font-size: 12px; font-weight: 500; color: var(--ink-soft); margin-bottom: 6px; }
.cf-row { margin-bottom: 14px; }
.cf-full { width: 100%; }
.cf-input, .cf-textarea {
  width: 100%; background: var(--cream);
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  transition: border-color .18s;
}
.cf-input:focus, .cf-textarea:focus { outline: none; border-color: var(--terra); }
.cf-textarea { resize: vertical; min-height: 100px; }
.cf-submit {
  background: var(--terra); color: #fff;
  font-size: 14px; font-weight: 500;
  padding: 11px 26px; border-radius: 30px;
  border: none; cursor: pointer;
  transition: background .18s;
}
.cf-submit:hover { background: var(--terra-dark); }
.alert { padding: 10px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }
.alert-ok { background: var(--green-lt); color: #1B6B50; border: 1px solid #9FE1CB; }
.alert-err { background: #FDE8EC; color: #7C1D2A; border: 1px solid #F4A7B0; }

.comment-list { display: flex; flex-direction: column; gap: 12px; max-width: 600px; }
.comment-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 18px;
  display: flex; gap: 14px;
}
.comment-ava {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--terra-lt); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: var(--terra);
}
.comment-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.comment-time { font-size: 11px; color: var(--ink-mute); margin-bottom: 7px; }
.comment-text { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.comment-empty {
  padding: 48px 24px; text-align: center;
  border: 1.5px dashed var(--border); border-radius: var(--r);
  color: var(--ink-mute); font-size: 15px;
}

/* ── FOOTER ────────────────────────────────── */
.footer {
  background: var(--ink); padding: 36px var(--px);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-name { font-size: 16px; font-weight: 600; color: #FFF3E0; letter-spacing: .04em; }
.footer p { font-size: 12px; color: var(--ink-mute); }
.footer p a { color: #F2C97A; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  :root { --px: 32px; }
  .cerita-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --px: 20px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 48px 20px 40px; }
  .hero-inner { flex-direction: column; gap: 24px; }
  .hero-right { display: none; }
  .hero-title { font-size: 34px; }

  .sec { padding: 48px 20px; }
  .cerita-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cara-grid { grid-template-columns: repeat(2, 1fr); }

  .footer { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-desc { font-size: 14px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-cta, .hero-cta-sec { text-align: center; width: 100%; }
  .cerita-cards { grid-template-columns: 1fr; }
  .cara-grid { grid-template-columns: 1fr; }
  .comment-form-card { padding: 20px 16px; }
  .sec-title { font-size: 24px; }
}