/* ============================================================
   Harum4d — tema "Racik Harum" (terang, enam warna)
   Merah cabai · Putih · Hijau daun · Kuning kunyit · Biru nila · Hitam lada
   WordPress-style class names, statis, responsif penuh.
   ============================================================ */

:root {
  --merah: #cf1f2e;
  --merah-gelap: #a51726;
  --hijau: #0e8a4b;
  --hijau-gelap: #0a6d3a;
  --kuning: #f5b301;
  --kuning-lembut: #fff4d6;
  --biru: #1f5fd6;
  --biru-lembut: #e8effc;
  --hitam: #12151a;
  --hitam-2: #1a1f27;
  --putih: #ffffff;
  --krem: #fbfaf6;
  --abu: #f3f1ea;
  --garis: #e6e2d8;
  --teks: #262b33;
  --teks-lembut: #5b6472;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 21, 26, 0.08);
  --shadow-sm: 0 4px 14px rgba(18, 21, 26, 0.07);
  --hdr-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--teks);
  background: var(--krem);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--merah); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--hitam); margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: 2.3rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--hitam); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--hitam); color: #d9dde4; font-size: 0.82rem; }
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 36px; flex-wrap: wrap; padding-block: 4px;
}
.topbar__left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar__left .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--merah);
  box-shadow: 0 0 0 3px rgba(207, 31, 46, 0.25); flex: none;
}
.topbar__left .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__right { display: flex; align-items: center; gap: 10px; flex: none; }
.badge--18 {
  background: var(--merah); color: #fff; font-weight: 800; font-size: 0.78rem;
  padding: 1px 9px; border-radius: 999px; letter-spacing: 0.5px;
}
.topbar .motto { color: var(--kuning); white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--garis);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(18, 21, 26, 0.1); }
.site-header .container {
  display: flex; align-items: center; gap: 20px; min-height: var(--hdr-h);
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand svg { width: 46px; height: 46px; }
.brand__name span { font-size: 1.35rem; font-weight: 900; color: var(--hitam); letter-spacing: 0.3px; }
.brand__name .hl { color: var(--merah); }
.brand__name small { display: block; font-size: 0.66rem; font-weight: 600; color: var(--teks-lembut); letter-spacing: 1.4px; text-transform: uppercase; }

.main-navigation { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu-item { position: relative; }
.menu-item > a {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: var(--teks); font-weight: 700; font-size: 0.93rem;
}
.menu-item > a:hover { background: var(--abu); color: var(--merah); text-decoration: none; }
.current-menu-item > a { color: var(--merah); background: #fbeaea; }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 250px; z-index: 50;
  background: #fff; border: 1px solid var(--garis); border-radius: 12px;
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.menu-item:hover > .sub-menu, .menu-item:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-item-has-children:last-child .sub-menu { left: auto; right: 0; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--teks); font-size: 0.9rem; font-weight: 600; }
.sub-menu a:hover { background: var(--abu); color: var(--merah); text-decoration: none; }

.hdr-actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 150; flex: none; }
.hdr-search { display: flex; align-items: center; gap: 0; }
.hdr-search input {
  width: 168px; padding: 9px 12px; font-size: 0.88rem;
  border: 1.5px solid var(--garis); border-right: 0; border-radius: 10px 0 0 10px;
  background: var(--putih); color: var(--teks); outline: none;
}
.hdr-search input:focus { border-color: var(--merah); }
.hdr-search button {
  border: 0; background: var(--hitam); color: #fff; font-size: 0.95rem;
  padding: 9px 13px; border-radius: 0 10px 10px 0; cursor: pointer;
}
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border: 1.5px solid var(--garis);
  border-radius: 10px; background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--hitam); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 12px; border: 0;
  font-weight: 800; font-size: 0.9rem; letter-spacing: 0.6px; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--merah { background: linear-gradient(135deg, var(--merah), var(--merah-gelap)); color: #fff; box-shadow: 0 6px 18px rgba(207, 31, 46, 0.35); }
.btn--hijau { background: linear-gradient(135deg, var(--hijau), var(--hijau-gelap)); color: #fff; box-shadow: 0 6px 18px rgba(14, 138, 75, 0.32); }
.btn--biru { background: linear-gradient(135deg, var(--biru), #163f96); color: #fff; box-shadow: 0 6px 18px rgba(31, 95, 214, 0.3); }
.btn--kuning { background: linear-gradient(135deg, #ffcf3d, var(--kuning)); color: var(--hitam); box-shadow: 0 6px 18px rgba(245, 179, 1, 0.4); }
.btn--ghost { background: #fff; color: var(--hitam); border: 2px solid var(--hitam); box-shadow: none; }
.btn--ghost:hover { background: var(--hitam); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 0.82rem; }
.btn--block { display: block; width: 100%; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--garis); font-size: 0.85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 10px 0; }
.breadcrumb li { color: var(--teks-lembut); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--kuning); font-weight: 800; }
.breadcrumb a { color: var(--teks-lembut); font-weight: 600; }
.breadcrumb a:hover { color: var(--merah); }
.breadcrumb [aria-current="page"] { color: var(--hitam); font-weight: 700; }

/* ---------- Section & headings ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--abu); }
.section--putih { background: var(--putih); }
.section--hitam { background: linear-gradient(160deg, var(--hitam), #232a35); color: #dbe0e8; }
.section--hitam h2, .section--hitam h3 { color: #fff; }
.section--merah { background: linear-gradient(135deg, var(--merah-gelap), var(--merah)); color: #ffe9eb; }
.section--merah h2, .section--merah h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head--kiri { margin-inline: 0; text-align: left; }
.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--merah);
  background: #fbeaea; border-radius: 999px; padding: 4px 14px; margin-bottom: 12px;
}
.section--hitam .kicker { background: rgba(255, 255, 255, 0.12); color: var(--kuning); }
.section--merah .kicker { background: rgba(255, 255, 255, 0.16); color: #fff; }
.lead { font-size: 1.04rem; color: var(--teks-lembut); }
.section--hitam .lead, .section--merah .lead { color: rgba(255, 255, 255, 0.85); }
.text-center { text-align: center; }

/* ---------- Grid & cards (minmax(0,1fr) anti-luber) ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; max-width: 100%; }

.card {
  background: #fff; border: 1px solid var(--garis); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; }
.card--top { border-top: 4px solid var(--kuning); }
.ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem; margin-bottom: 14px;
}
.ic--merah { background: #fbeaea; }
.ic--hijau { background: #e4f4ec; }
.ic--biru { background: var(--biru-lembut); }
.ic--kuning { background: var(--kuning-lembut); }

.pill {
  display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.pill--merah { background: #fbeaea; color: var(--merah); }
.pill--hijau { background: #e4f4ec; color: var(--hijau-gelap); }
.pill--biru { background: var(--biru-lembut); color: var(--biru); }
.pill--kuning { background: var(--kuning-lembut); color: #8a6300; }
.pill--hitam { background: var(--hitam); color: var(--kuning); }

/* ---------- Hero beranda ---------- */
.hero {
  position: relative; overflow: clip;
  background:
    radial-gradient(900px 400px at 88% -10%, rgba(245, 179, 1, 0.16), transparent 60%),
    radial-gradient(700px 380px at -8% 108%, rgba(14, 138, 75, 0.12), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--krem) 100%);
  border-bottom: 1px solid var(--garis);
  padding: 64px 0 72px;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 44px; align-items: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 800;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--hijau-gelap);
  background: #e4f4ec; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 2.9rem; margin-bottom: 16px; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--merah), var(--kuning));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.08rem; color: var(--teks-lembut); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero__note { font-size: 0.85rem; color: var(--teks-lembut); }
.hero__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stat-chip {
  background: #fff; border: 1px solid var(--garis); border-radius: 12px;
  padding: 8px 16px; font-size: 0.86rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.stat-chip b { color: var(--merah); }
.hero__media { position: relative; }
.hero__media img { border-radius: 20px; box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; left: -14px; bottom: 22px;
  background: var(--hitam); color: #fff; border-radius: 14px;
  padding: 12px 18px; box-shadow: var(--shadow); font-size: 0.86rem; max-width: 240px;
}
.hero__badge b { color: var(--kuning); display: block; font-size: 0.95rem; }

/* ---------- Langkah (4 card bernomor) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: langkah; }
.step {
  position: relative; background: #fff; border: 1px solid var(--garis);
  border-radius: var(--radius); padding: 28px 22px 22px; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: langkah; content: counter(langkah, decimal-leading-zero);
  position: absolute; top: -16px; left: 20px;
  background: linear-gradient(135deg, var(--merah), var(--merah-gelap)); color: #fff;
  font-weight: 900; font-size: 0.95rem; padding: 4px 13px; border-radius: 10px;
  box-shadow: 0 6px 14px rgba(207, 31, 46, 0.3);
}
.step:nth-child(2)::before { background: linear-gradient(135deg, var(--kuning), #d99a00); color: var(--hitam); box-shadow: 0 6px 14px rgba(245, 179, 1, 0.35); }
.step:nth-child(3)::before { background: linear-gradient(135deg, var(--hijau), var(--hijau-gelap)); box-shadow: 0 6px 14px rgba(14, 138, 75, 0.3); }
.step:nth-child(4)::before { background: linear-gradient(135deg, var(--biru), #163f96); box-shadow: 0 6px 14px rgba(31, 95, 214, 0.3); }
.step h3 { margin-top: 8px; font-size: 1.08rem; }
.step p { font-size: 0.92rem; color: var(--teks-lembut); margin-bottom: 0; }
.step .more { display: inline-block; margin-top: 12px; font-size: 0.86rem; font-weight: 800; color: var(--merah); }

/* ---------- Kenapa (split) ---------- */
.why { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }
.why__media img { border-radius: 20px; box-shadow: var(--shadow); }
.why__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.why__list li { display: flex; gap: 12px; align-items: flex-start; }
.why__list .b {
  flex: none; width: 28px; height: 28px; border-radius: 9px; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e4f4ec; color: var(--hijau-gelap); font-weight: 900; font-size: 0.85rem;
}
.why__list li:nth-child(2n) .b { background: var(--kuning-lembut); color: #8a6300; }
.why__list li:nth-child(3n) .b { background: var(--biru-lembut); color: var(--biru); }

/* ---------- Pembayaran ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pay-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; counter-reset: alur; }
.pay-flow .node {
  background: #fff; border: 1px dashed #d8d2c2; border-radius: 12px; padding: 18px 16px;
  font-size: 0.9rem; position: relative; counter-increment: alur;
}
.pay-flow .node::before {
  content: counter(alur); display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px; background: var(--biru-lembut);
  color: var(--biru); font-weight: 900; font-size: 0.82rem; margin-bottom: 8px;
}

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.testi { background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.testi .stars { color: var(--kuning); letter-spacing: 2px; font-size: 0.95rem; }
.testi blockquote { margin: 12px 0 16px; font-size: 0.95rem; color: var(--teks); }
.testi .who { display: flex; align-items: center; gap: 10px; }
.testi .ava {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: 0.9rem;
}
.testi .who b { display: block; font-size: 0.92rem; color: var(--hitam); }
.testi .who small { color: var(--teks-lembut); font-size: 0.8rem; }
.testi-note { text-align: center; font-size: 0.82rem; color: var(--teks-lembut); margin-top: 22px; }

/* ---------- Peta Cita Rasa (inovasi) ---------- */
.rasa-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 30px; align-items: center; }
.rasa-map {
  position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%;
  background:
    linear-gradient(var(--garis) 1px, transparent 1px),
    linear-gradient(90deg, var(--garis) 1px, transparent 1px);
  background-size: 25% 25%;
  border: 1.5px solid #d8d2c2; border-radius: 18px;
  background-color: #fffdf6;
}
.rasa-axis { position: absolute; font-size: 0.72rem; font-weight: 800; color: var(--teks-lembut); letter-spacing: 0.5px; text-transform: uppercase; }
.rasa-axis--top { top: 8px; left: 50%; transform: translateX(-50%); }
.rasa-axis--bottom { bottom: 8px; left: 50%; transform: translateX(-50%); }
.rasa-axis--left { left: 10px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; }
.rasa-axis--right { right: 10px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; }
.rasa-dot {
  position: absolute; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  border: 3px solid #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; box-shadow: 0 8px 18px rgba(18, 21, 26, 0.22);
  transition: transform 0.15s ease;
}
.rasa-dot:hover { transform: translate(-50%, -50%) scale(1.12); }
.rasa-dot.is-on { outline: 3px solid var(--kuning); outline-offset: 3px; }
.rasa-dot b { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 0.62rem; font-weight: 800; white-space: nowrap; color: var(--teks); background: rgba(255,255,255,0.92); padding: 1px 7px; border-radius: 6px; }
.rasa-note { font-size: 0.8rem; color: var(--teks-lembut); margin-top: 12px; text-align: center; }
.rasa-panel {
  background: #fff; border: 1px solid var(--garis); border-left: 6px solid var(--kuning);
  border-radius: var(--radius); padding: 26px 26px 20px; box-shadow: var(--shadow-sm); min-height: 250px;
}
.rasa-panel .pill { margin-bottom: 10px; }
.rasa-panel h3 { margin: 0 0 8px; }
.rasa-panel p { font-size: 0.94rem; color: var(--teks-lembut); }
.rasa-panel .takaran { font-size: 0.86rem; background: var(--abu); border-radius: 10px; padding: 10px 14px; margin: 12px 0; }
.rasa-panel .takaran b { color: var(--hitam); }

/* ---------- Keamanan / RG ---------- */
.lock-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rg-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 24px; }
.rg-card h3 { color: var(--kuning); }
.rg-banner {
  margin-top: 30px; background: rgba(0, 0, 0, 0.35); border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius); padding: 20px 26px; text-align: center; font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--garis); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { margin: 0; padding: 16px 20px; font-size: 1rem; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.faq-q::before { content: "❓"; flex: none; font-size: 0.9rem; }
.faq-a { padding: 0 20px 18px 46px; color: var(--teks-lembut); font-size: 0.94rem; }
.faq-a p { margin: 0; }

/* ---------- Layout artikel + sidebar ---------- */
.page-hero { background: linear-gradient(135deg, #fff, var(--krem)); border-bottom: 1px solid var(--garis); padding: 46px 0 40px; }
.page-hero .kicker { margin-bottom: 10px; }
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-hero .lead { max-width: 780px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--teks-lembut); margin-top: 14px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 48px 0 64px; align-items: start; }
.entry-content { min-width: 0; }
.entry-content h2 { margin-top: 1.6em; scroll-margin-top: calc(var(--hdr-h) + 16px); }
.entry-content h2::before {
  content: ""; display: block; width: 46px; height: 5px; border-radius: 4px;
  background: linear-gradient(90deg, var(--merah), var(--kuning)); margin-bottom: 10px;
}
.entry-content p { color: #333a45; }
.entry-content ul, .entry-content ol { padding-left: 22px; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.5em; color: #333a45; }
.entry-content figure { margin: 26px 0; }
.entry-content figure img { border-radius: 16px; box-shadow: var(--shadow); }
.entry-content figcaption { font-size: 0.8rem; color: var(--teks-lembut); margin-top: 10px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; border-radius: 12px; border: 1px solid var(--garis); background: #fff; }
.entry-content table, .section table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
.entry-content th, .section th { background: var(--hitam); color: #fff; text-align: left; padding: 12px 14px; font-size: 0.82rem; letter-spacing: 0.4px; }
.entry-content td, .section td { padding: 11px 14px; border-top: 1px solid var(--garis); vertical-align: top; }
.entry-content tr:nth-child(even) td, .section tr:nth-child(even) td { background: #faf8f2; }
.callout { border-radius: 12px; padding: 18px 22px; margin: 24px 0; font-size: 0.94rem; border: 1px solid transparent; }
.callout--merah { background: #fdecec; border-color: #f3c1c6; color: #7c1620; }
.callout--hijau { background: #e9f6ef; border-color: #bfe3cf; color: #0a5c33; }
.callout--kuning { background: var(--kuning-lembut); border-color: #ecd48a; color: #6e5200; }
.callout--biru { background: var(--biru-lembut); border-color: #c3d5f5; color: #173d80; }
.callout b { color: inherit; }
.toc { background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 18px 22px; margin: 22px 0; }
.toc b { display: block; margin-bottom: 8px; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--teks-lembut); }
.toc ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 28px; }
.toc a { font-size: 0.9rem; font-weight: 600; }

.sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--hdr-h) + 20px); }
.widget { background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.widget h3 { font-size: 0.95rem; letter-spacing: 0.8px; text-transform: uppercase; color: var(--hitam); border-bottom: 3px solid var(--kuning); padding-bottom: 8px; margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { border-top: 1px dashed var(--garis); }
.widget li a { display: block; padding: 9px 0; font-size: 0.92rem; font-weight: 600; color: var(--teks); }
.widget li a:hover { color: var(--merah); }
.widget--cta { background: linear-gradient(150deg, var(--hitam), #262e3b); border: 0; }
.widget--cta h3 { color: var(--kuning); border-color: rgba(245, 179, 1, 0.4); }
.widget--cta p { color: #c9d0da; font-size: 0.9rem; }
.widget--cta .mini { font-size: 0.78rem; color: #94a0af; margin: 12px 0 0; }

/* ---------- Promo hub ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.promo-card { background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.promo-card .band { padding: 18px 20px 14px; color: #fff; }
.promo-card .band h3 { color: #fff; margin: 8px 0 0; font-size: 1.1rem; }
.promo-card .band--merah { background: linear-gradient(135deg, var(--merah), var(--merah-gelap)); }
.promo-card .band--hijau { background: linear-gradient(135deg, var(--hijau), var(--hijau-gelap)); }
.promo-card .band--biru { background: linear-gradient(135deg, var(--biru), #163f96); }
.promo-card .band--hitam { background: linear-gradient(135deg, var(--hitam), #2a3240); }
.promo-card .band--kuning { background: linear-gradient(135deg, #ffcf3d, var(--kuning)); }
.promo-card .band--kuning h3 { color: var(--hitam); }
.promo-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-card .body p { font-size: 0.9rem; color: var(--teks-lembut); margin: 0; flex: 1; }
.promo-card .syarat { display: flex; flex-wrap: wrap; gap: 6px; }
.promo-card .syarat span { font-size: 0.72rem; font-weight: 700; background: var(--abu); border-radius: 6px; padding: 3px 8px; color: var(--teks-lembut); }

/* ---------- Halaman auth ---------- */
.auth-wrap { display: grid; place-items: center; }
.auth-card {
  width: min(480px, 100%); background: #fff; border: 1px solid var(--garis);
  border-radius: 18px; box-shadow: var(--shadow); padding: 36px 32px;
}
.auth-card h1 { font-size: 1.6rem; }
.auth-card .sub { font-size: 0.92rem; color: var(--teks-lembut); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.84rem; font-weight: 800; margin-bottom: 6px; color: var(--hitam); }
.field input {
  width: 100%; padding: 12px 14px; font-size: 0.95rem; font-family: inherit;
  border: 1.5px solid var(--garis); border-radius: 10px; background: #fffdf8; color: var(--teks);
}
.field input:focus { outline: none; border-color: var(--hijau); background: #fff; }
.hint { font-size: 0.78rem; color: var(--teks-lembut); margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--teks-lembut); margin: 18px 0; }
.check input { margin-top: 4px; flex: none; }
.auth-alt { font-size: 0.9rem; margin-top: 18px; }
.auth-note { font-size: 0.78rem; color: var(--teks-lembut); margin-top: 14px; border-top: 1px dashed var(--garis); padding-top: 14px; }

/* ---------- Halaman pencarian ---------- */
.search-strip { display: flex; gap: 0; max-width: 640px; margin: 0 auto; }
.search-strip input {
  flex: 1; min-width: 0; padding: 14px 18px; font-size: 1rem;
  border: 2px solid var(--hitam); border-right: 0; border-radius: 12px 0 0 12px;
}
.search-strip button {
  border: 0; background: var(--hitam); color: var(--kuning); font-weight: 800;
  padding: 0 22px; border-radius: 0 12px 12px 0; cursor: pointer; font-size: 0.9rem; letter-spacing: 1px;
}
.sr-item { background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.sr-item + .sr-item { margin-top: 14px; }
.sr-item .crumb { font-size: 0.74rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--hijau-gelap); }
.sr-item h3 { margin: 6px 0; }
.sr-item p { margin: 0; font-size: 0.9rem; color: var(--teks-lembut); }

/* ---------- Tagcloud ---------- */
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a {
  font-size: 0.8rem; font-weight: 700; color: var(--teks);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 12px; border-radius: 999px;
}
.tagcloud a:hover { background: var(--merah); border-color: var(--merah); color: #fff; text-decoration: none; }
.section .tagcloud a { background: #fff; border-color: var(--garis); color: var(--teks); box-shadow: var(--shadow-sm); }
.section .tagcloud a:hover { background: var(--hitam); color: var(--kuning); border-color: var(--hitam); }

/* ---------- Footer ---------- */
.site-footer { background: var(--hitam); color: #b9c1cc; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr; gap: 36px; padding: 54px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand svg { width: 44px; height: 44px; }
.footer-brand span { font-size: 1.3rem; font-weight: 900; color: #fff; }
.footer-about { font-size: 0.86rem; color: #99a2af; }
.footer-badge {
  display: inline-block; margin-top: 6px; font-size: 0.78rem; font-weight: 800;
  color: var(--kuning); border: 1px solid rgba(245, 179, 1, 0.45); border-radius: 999px; padding: 5px 14px;
}
.site-footer h3 { color: #fff; font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: block; padding: 6px 0; font-size: 0.9rem; color: #b9c1cc; }
.site-footer li a:hover { color: var(--kuning); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badges span {
  font-size: 0.78rem; font-weight: 700; color: #dfe4ea;
  border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: 8px; padding: 4px 12px;
}
.footer-note { font-size: 0.75rem; color: #7f8a99; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 16px 0; font-size: 0.8rem; color: #8d97a5; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.footer-disclaimer { font-size: 0.74rem; line-height: 1.7; color: #7f8a99; margin: 0; }

/* ---------- Floatbar (slot + koin) ---------- */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: linear-gradient(180deg, #232a35, var(--hitam));
  border-top: 3px solid var(--kuning);
  box-shadow: 0 -10px 30px rgba(18, 21, 26, 0.35);
  padding: 10px 0;
}
.floatbar .container { display: flex; align-items: center; gap: 18px; }
.reels { display: flex; gap: 6px; flex: none; }
.reel {
  width: 24px; height: 24px; border-radius: 6px; overflow: hidden;
  background: #0b0d11; border: 1.5px solid #3a4351;
}
.strip { display: flex; flex-direction: column; animation: reelspin 1.2s steps(4) infinite; }
.reel--mid .strip { animation-duration: 1.7s; }
.reel--slow .strip { animation-duration: 2.3s; }
.strip b { height: 24px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
@keyframes reelspin { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.floatbar__mid { min-width: 0; flex: 1; }
.floatbar__mid .t1 { color: #fff; font-weight: 800; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floatbar__mid .t1 .gold { color: var(--kuning); }
.floatbar__mid .t2 { color: #8d97a5; font-size: 0.76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floatbar__cta { display: flex; gap: 10px; align-items: center; flex: none; position: relative; }
.floatbar__cta .btn { padding: 11px 22px; }
.coin { position: absolute; font-size: 0.85rem; pointer-events: none; opacity: 0; animation: coinfly 2.6s ease-in infinite; }
.coin--1 { left: -6px; bottom: 6px; animation-delay: 0.2s; }
.coin--2 { left: 34%; bottom: 10px; animation-delay: 1.1s; }
.coin--3 { left: 66%; bottom: 4px; animation-delay: 1.9s; }
@keyframes coinfly {
  0% { opacity: 0; transform: translateY(0) rotate(0deg); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-34px) rotate(180deg); }
}

/* ---------- Utilitas warna kecil ---------- */
.c-merah { color: var(--merah); }
.c-hijau { color: var(--hijau-gelap); }
.c-biru { color: var(--biru); }
.c-kuning { color: #8a6300; }
.c-putih { color: #fff; }

/* ============================================================
   Responsif
   ============================================================ */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 960px) {
  .main-navigation { display: none; margin: 0; }
  .main-navigation.is-open {
    display: block; position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 340px);
    background: #fff; z-index: 140; overflow-y: auto; padding: 84px 18px 30px;
    box-shadow: -16px 0 40px rgba(18, 21, 26, 0.25);
  }
  .main-navigation.is-open .menu { display: block; }
  .main-navigation.is-open .menu-item > a { padding: 13px 12px; border-bottom: 1px dashed var(--garis); border-radius: 0; }
  .main-navigation.is-open .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--kuning); border-radius: 0; margin: 0 0 6px 12px;
  }
  .nav-toggle { display: inline-flex; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 560px; }
  .rasa-wrap { grid-template-columns: minmax(0, 1fr); }
  .rasa-map { margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .grid--4, .lock-grid, .pay-grid, .pay-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testi-grid, .promo-grid, .rg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .testi-grid, .promo-grid, .rg-grid, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 2.1rem; }
  .page-hero h1 { font-size: 1.65rem; }
  .hero__badge { position: static; margin-top: 14px; max-width: none; }
  .toc ul { columns: 1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .grid--4, .lock-grid, .pay-grid, .pay-flow { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .hdr-search { display: none; }
  .hdr-actions .btn--ghost { display: none; }
  .hdr-actions .btn--merah { padding: 9px 14px; }
  .topbar .motto { display: none; }
  .topbar .container { justify-content: center; }
  .section { padding: 46px 0; }
  .hero { padding: 44px 0 52px; }
  .floatbar__mid .t2 { display: none; }
  .floatbar__cta .btn { padding: 10px 16px; font-size: 0.8rem; }
}

@media (max-width: 420px) {
  .brand__name span { font-size: 1.08rem; }
  .hdr-actions .btn--merah { padding: 8px 12px; font-size: 0.78rem; }
  .nav-toggle { width: 40px; height: 40px; }
}

@media (max-width: 400px) {
  .reels { display: none; }
  .floatbar__mid .t1 { font-size: 0.8rem; }
  .brand__name small { display: none; }
  .hero h1 { font-size: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .strip { animation: none; }
  .coin { display: none; }
  html { scroll-behavior: auto; }
}
