/* =========================================================
   Aren Banjarnegara — gula semut aren
   Satu stylesheet untuk semua halaman.

   MOBILE FIRST.
   Semua aturan dasar menargetkan layar HP (±360–599px).
   Penyempurnaan untuk layar lebih besar memakai min-width:
     600px  ponsel besar / tablet kecil: kartu & form 2 kolom, tombol sebaris
     760px  bar WhatsApp bawah berganti tombol melayang
     900px  tablet lanskap / laptop: menu horizontal, tata letak 2 kolom, 3 kolom
     1000px proses jadi 4 kolom
   Tanpa framework, tanpa webfont eksternal (nol permintaan jaringan).
   ========================================================= */

/* ---------- token ---------- */
:root {
  --ink: #1f1712;
  --ink-2: #4b3d32;
  --ink-3: #6f6053;
  --paper: #f8f2e7;
  --paper-2: #f1e7d6;
  --paper-3: #e6d8c1;
  --line: #d9c9ae;
  --accent: #9c5418;
  --accent-deep: #6f3a10;
  --accent-soft: #e9d3b4;
  --palm: #3d5233;
  --wa: #0d7a52;
  --wa-deep: #075c3d;

  --font-display: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --gutter: 1.15rem;
  --radius: 3px;
  --tap: 48px;                 /* tinggi minimum area sentuh */
  --shadow-1: 0 1px 2px rgba(31, 23, 18, .06), 0 8px 24px -16px rgba(31, 23, 18, .35);
  --shadow-2: 0 2px 4px rgba(31, 23, 18, .07), 0 18px 40px -22px rgba(31, 23, 18, .45);
  --ease: cubic-bezier(.2, .7, .3, 1);
  --sticky-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;    /* agar anchor tidak tertutup header */
}

body {
  margin: 0;
  /* ruang untuk bar pesan yang menempel di bawah (khusus HP) */
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(156, 84, 24, .12);
}

/* butiran kertas: tekstur halus, bukan gradien ungu */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.25rem 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: .75rem; top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .8rem 1rem;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: .75rem; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}
.narrow { max-width: 46rem; }

/* ---------- tipografi bantu ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .7rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 20px; height: 2px;
  background: currentColor;
  flex: none;
}

.h-display {
  font-size: clamp(2rem, 8.6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.028em;
}
.h-section { font-size: clamp(1.5rem, 5.6vw, 2.5rem); }
.lede {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 60ch;
}
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-inline: auto; }

.section { padding-block: 2.75rem; position: relative; }
.section--tight { padding-block: 2rem; }
@media (min-width: 600px) {
  .section { padding-block: 4rem; }
  .section--tight { padding-block: 2.75rem; }
}
@media (min-width: 900px) {
  .section { padding-block: clamp(4.5rem, 8vw, 6.5rem); }
  .section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
}
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper-2); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lede, .section--ink p { color: #d8c9b5; }
.section--ink .eyebrow { color: #e3b273; }

/* ---------- tombol ----------
   Di HP tombol selebar layar: mudah dijangkau ibu jari. */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: var(--tap);
  padding: .8rem 1.25rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn svg { flex: none; }

.btn--wa { --btn-bg: var(--wa); }
.btn--kelapa { --btn-bg: var(--accent-deep); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
}
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .94rem; }

/* Lebar penuh hanya di dalam deretan tombol pada layar HP.
   Tombol tunggal tetap selebar isinya, dan .btn--block selalu penuh. */
.btn-row {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.btn-row > .btn { width: 100%; }

@media (min-width: 600px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; gap: .75rem; }
  .btn-row > .btn { width: auto; }
}

/* Efek hover hanya untuk perangkat yang punya kursor.
   Di layar sentuh, "hover" menempel setelah diketuk dan terlihat rusak. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); color: var(--btn-fg); }
  .btn--wa:hover { --btn-bg: var(--wa-deep); }
  .btn--kelapa:hover { --btn-bg: var(--accent); }
  .btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
}
.btn:active { transform: translateY(0); filter: brightness(.95); }

/* ---------- header ---------- */
/* ---------- top bar kontak ---------- */
/* Tinggi bar dikunci (height, bukan min-height) dan overflow disembunyikan
   supaya tidak pernah melebar jadi dua-tiga baris walau teks alamat panjang
   atau browser memakai ukuran font minimum sendiri. */
.topbar {
  background: var(--ink);
  color: rgba(248, 242, 231, .78);
  font-size: .78rem;
  line-height: 1.2;
  height: 34px;
  overflow: hidden;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 34px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.topbar__item svg { flex: none; opacity: .7; }
a.topbar__item:hover { color: #fff; }
/* Alamat 80+ karakter baru muat di satu baris mulai layar ~1100px. Di bawah
   itu yang tampil hanya nomor telepon, satu baris, di tengah. */
@media (max-width: 1099px) {
  .topbar { text-align: center; }
  .topbar__inner { justify-content: center; }
  .topbar__item--address { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 242, 231, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -18px rgba(31, 23, 18, .8);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 64px;
}

.brand { display: flex; align-items: center; gap: .6rem; min-height: 44px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand__mark {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  padding: 5px;
  overflow: hidden;
}
/* logo-mark.png transparan: emblem hijau di atas chip gelap, sama seperti
   logo aslinya yang memang hijau di atas hitam */
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .5rem .75rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  flex: none;
}

/* tombol ganti bahasa: satu tombol 44x44, berisi kode bahasa tujuan */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 .4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-2);
  text-decoration: none;
}
.lang-switch__label { display: none; }
@media (min-width: 900px) {
  .lang-switch { min-width: 0; padding: 0 .7rem; gap: .4rem; }
  .lang-switch__label { display: inline; font-size: .82rem; letter-spacing: 0; }
}

/* panel menu HP: menutupi layar, item besar, tidak bisa digulir di belakang */
.nav {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  flex-direction: column;
  align-items: stretch;
  padding: .35rem var(--gutter) 1.1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overscroll-behavior: contain;
}
.nav.is-open { display: flex; }
/* saat menu terbuka, halaman di belakang tidak ikut bergulir */
body.nav-open { overflow: hidden; }
.nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: .5rem .25rem;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nav a:last-child { border-bottom: 0; }
.nav a[aria-current="page"] { color: var(--accent-deep); font-weight: 700; }

.header-cta { display: none; }

@media (min-width: 900px) {
  :root { --gutter: 1.5rem; }
  .header-inner { min-height: 72px; gap: 1.25rem; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.14rem; }
  .brand__tag { font-size: .64rem; }
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: .2rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav a {
    min-height: 40px;
    padding: .5rem .7rem;
    font-size: .95rem;
    font-weight: 550;
    border-bottom: 0;
    border-radius: var(--radius);
  }
  .nav a[aria-current="page"] { font-weight: 700; }
  .header-cta { display: flex; gap: .5rem; align-items: center; }
  .header-cta .btn { width: auto; }
}
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--accent); }
  .nav a:hover { color: var(--ink); background: var(--paper-2); }
}

/* ---------- hero full-bleed ---------- */
/* Foto dipasang sebagai background milik .hero itu sendiri, bukan <img> di
   dalam wrapper absolut. Dengan begitu lebar foto selalu = lebar elemen .hero
   (100% layar) di semua browser, tanpa bergantung pada <picture>/inset.
   Tinggi dibatasi supaya tombol di bawahnya tidak terdorong keluar layar. */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(430px, 74svh, 760px);
  padding-block: clamp(2.75rem, 9vw, 6rem);
  color: var(--paper-2);
  text-align: center;
  overflow: hidden;
  background-color: var(--ink);
  background-image: url("../img/hero-mobile.webp?h=691496b6");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
@media (min-width: 900px) {
  .hero { background-image: url("../img/hero-full.webp?h=661aaa6b"); }
}
/* dua lapis gelap: gradien dari bawah (biar teks aman) dan sedikit dari atas.
   z-index 0 hanya menutupi background .hero, teks di atasnya lewat z-index 1. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 14, 10, .55) 0%, rgba(20, 14, 10, .35) 40%, rgba(20, 14, 10, .82) 100%),
    radial-gradient(120% 90% at 50% 40%, rgba(20, 14, 10, 0) 40%, rgba(20, 14, 10, .55) 100%);
}

/* teks hero di tengah, seperti hero referensi */
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: min(var(--wrap), 56rem);
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  padding: .35rem .85rem .35rem .4rem;
  border: 1px solid rgba(248, 242, 231, .28);
  border-radius: 100px;
  background: rgba(20, 14, 10, .32);
  backdrop-filter: blur(6px);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper-2);
}
.hero__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ef05a;
  box-shadow: 0 0 0 3px rgba(142, 240, 90, .22);
  flex: none;
}

.hero h1 {
  max-width: 26ch;
  margin: 0 auto .9rem;
  color: #fff;
  font-size: clamp(1.95rem, 1.1rem + 3.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero .lede {
  max-width: 52ch;
  margin: 0 auto;
  color: rgba(248, 242, 231, .88);
  font-size: clamp(.98rem, .92rem + .3vw, 1.1rem);
}
.hero .btn-row {
  margin-top: 1.75rem;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.hero__spec-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 1.15rem 0 0;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(248, 242, 231, .82);
}
.hero__spec-note .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ef05a;
  flex: none;
}

/* tombol sekunder di atas foto gelap: border terang, bukan border gelap */
.btn--ghost.onDark {
  border-color: rgba(248, 242, 231, .5);
  color: var(--paper-2);
  background: rgba(20, 14, 10, .18);
  backdrop-filter: blur(6px);
}
.btn--ghost.onDark:hover {
  border-color: var(--paper-2);
  background: rgba(20, 14, 10, .34);
}

@media (min-width: 600px) {
  .hero .btn-row > .btn { width: auto; }
}


/* ---------- strip kepercayaan ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: 1rem;
}
.trust__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2);
}
.trust__list li { display: flex; align-items: center; gap: .5rem; margin: 0; }
.trust__list svg { color: var(--palm); flex: none; }

@media (min-width: 600px) {
  .trust__list { grid-template-columns: 1fr 1fr; gap: .55rem 1rem; }
}
@media (min-width: 900px) {
  .trust__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.25rem; font-size: .875rem; }
}

/* ---------- grid produk ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.product-card__media { position: relative; background: var(--paper-2); aspect-ratio: 1 / 1; }
/* Foto produk diekspor 1:1 dan kotaknya juga 1:1 — jadi pas persis, tanpa
   potongan dan tanpa bingkai kosong. */
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__flag {
  position: absolute;
  top: .65rem; left: .65rem;
  background: var(--palm);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .5rem;
  border-radius: 2px;
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1rem 1.15rem; }
.product-card__body h3 { font-size: 1.12rem; margin-bottom: 0; }
.product-card__body h3 a { display: flex; align-items: center; min-height: var(--tap); color: inherit; text-decoration: none; }
.product-card__size { font-size: .76rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .55rem; }
.product-card__desc { font-size: .92rem; color: var(--ink-2); margin-bottom: .9rem; }
.product-card__foot { margin-top: auto; display: flex; flex-direction: column; gap: .6rem; }

@media (min-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .product-card__body { padding: 1.1rem 1.15rem 1.25rem; }
  .product-card__body h3 { font-size: 1.16rem; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--paper-3); }
  .product-card__body h3 a:hover { color: var(--accent-deep); }
}

/* ---------- produk rinci ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 84px;
}
.product-detail:first-of-type { border-top: 0; padding-top: 0; }
.product-detail__media { position: relative; }
/* Halaman produk: tiap foto tampil apa adanya (rasio asli berkasnya), tidak
   dipotong dan tidak diberi bingkai. Foto 250g/500g/1kg kotak, produk-kopi
   potret, produk-grosir lebar. */
.product-detail__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.product-detail__body h2 { font-size: 1.4rem; margin-bottom: .3rem; }
.product-detail__body > p { max-width: 62ch; }

@media (min-width: 600px) {
  .product-detail__media img { max-width: 340px; }
}
@media (min-width: 900px) {
  .product-detail {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    padding-block: clamp(1.75rem, 4vw, 2.75rem);
  }
  .product-detail__media img { max-width: none; }
  .product-detail__body h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
  .product-detail__body .btn-row { display: flex; }
}

.spec-list {
  display: grid;
  gap: .1rem;
  margin: 0 0 1.25rem;
  font-size: .9rem;
  border-top: 1px solid var(--line);
}
.spec-list > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .15rem .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-list dt { color: var(--ink-3); }
.spec-list dd { margin: 0; margin-left: auto; text-align: right; font-weight: 600; }

/* ---------- langkah proses ----------
   Di HP: gambar kecil di kiri, teks di kanan. Empat kartu vertikal
   dengan foto besar akan membuat halaman terlalu panjang. */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  margin: 0;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: .9rem;
  align-items: start;
}
.steps img {
  grid-row: 1 / span 2;
  width: 84px;
  height: 84px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0;
}
.steps h3 {
  font-size: 1.02rem;
  margin-bottom: .2rem;
  display: flex;
  gap: .45rem;
  align-items: baseline;
}
.steps h3::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .06em;
}
.steps p { font-size: .9rem; color: var(--ink-2); margin: 0; }

@media (min-width: 600px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .steps li { display: block; }
  .steps img { width: 100%; height: auto; aspect-ratio: 4 / 5; margin-bottom: .8rem; }
  .steps h3 { font-size: 1.05rem; }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- keunggulan ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.feature-grid li {
  margin: 0;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.feature-grid h3 { font-size: 1.06rem; margin-bottom: .3rem; }
.feature-grid p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.feature-grid .num {
  font-family: var(--font-body);
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: .5rem;
}
@media (min-width: 600px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.75rem; }
  .feature-grid li { padding: 1.5rem 0; }
}

/* ---------- split media / teks ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
.split > * { min-width: 0; }
.split__text { min-width: 0; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-1); width: 100%; }
/* Foto unggulan berbentuk potret dan di dalamnya ada teks, jadi tidak boleh
   dipotong: form factor asli dipertahankan. Lebar dibatasi ke ukuran aslinya
   supaya tidak di-upscale (tetap tajam) dan tidak pernah melebihi kolomnya. */
.split__media img { display: block; width: auto; max-width: 100%; margin-inline: auto; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 5vw, 3.5rem); }
}

/* ---------- band CTA ---------- */
.cta-band {
  background: var(--ink);
  color: #e8dcc9;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 5.2vw, 2rem); margin-bottom: .35rem; }
.cta-band p { margin: 0; color: #cbb9a2; font-size: .95rem; max-width: 48ch; }
@media (min-width: 760px) {
  .cta-band { grid-template-columns: 1fr auto; padding: clamp(1.75rem, 4vw, 3rem); gap: 1.5rem; }
}

/* ---------- artikel: daftar ---------- */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-card { margin: 0; display: flex; flex-direction: column; }
.article-card__media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.article-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: .85rem 0 .4rem;
}
.article-card__meta span + span::before { content: "·"; margin-right: .45rem; color: var(--paper-3); }
.article-card h2, .article-card h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.article-card h2 a, .article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card p { font-size: .93rem; color: var(--ink-2); margin-bottom: .7rem; }
.article-card__more {
  margin-top: auto;
  display: flex;
  align-items: center;
  min-height: var(--tap);
  font-size: .9rem;
  font-weight: 700;
}

@media (min-width: 600px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
  .article-card h2, .article-card h3 { font-size: 1.22rem; }
}
@media (min-width: 900px) {
  .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (hover: hover) and (pointer: fine) {
  .article-card__media:hover img { transform: scale(1.035); }
  .article-card h2 a:hover, .article-card h3 a:hover { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1px; }
}

/* ---------- halaman artikel ---------- */
.page-head { padding-block: 1.5rem 1.25rem; }
.page-head h1 { font-size: clamp(1.7rem, 8vw, 3.1rem); letter-spacing: -.022em; }
@media (min-width: 900px) {
  .page-head { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2rem); }
  .page-head h1 { max-width: 22ch; }
}

.breadcrumb { font-size: .8rem; color: var(--ink-3); margin-bottom: 1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .35rem; }
.breadcrumb li + li::before { content: "/"; color: var(--paper-3); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink-3); text-decoration: none; }
@media (min-width: 900px) {
  .breadcrumb { margin-bottom: 1.25rem; }
  .breadcrumb a { min-height: 32px; }
}

.article-hero { width: 100%; border-radius: var(--radius); margin-bottom: 1.25rem; }
@media (min-width: 900px) { .article-hero { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); } }

.prose { max-width: 68ch; font-size: 1.0625rem; }
.prose > p:first-of-type { font-size: 1.08rem; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.35rem, 5.4vw, 1.85rem); margin-top: 2rem; }
.prose h3 { font-size: 1.16rem; margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.15rem; }
.prose li { margin-bottom: .5rem; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: .25rem 0 .25rem 1rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink-2);
  font-style: italic;
}
.prose img { border-radius: var(--radius); margin: 1.5rem 0 .75rem; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: .82rem; color: var(--ink-3); line-height: 1.45; }
.prose .callout {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--palm);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1.5rem 0;
  font-size: .95rem;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout strong:first-child {
  display: block;
  margin-bottom: .25rem;
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--palm);
}
@media (min-width: 900px) {
  .prose { font-size: 1.075rem; }
  .prose h2 { margin-top: 2.4rem; }
  .prose h3 { margin-top: 1.9rem; }
  .prose ul, .prose ol { padding-left: 1.3rem; }
  .prose blockquote { margin: 1.75rem 0; padding-left: 1.25rem; font-size: 1.15rem; }
  .prose .callout { padding: 1.1rem 1.25rem; margin: 1.75rem 0; }
}

.article-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.sidebar { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 3.5rem); }
  .sidebar { position: sticky; top: 92px; }
}

.aside-card {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.aside-card h2 { font-size: 1rem; margin-bottom: .5rem; }
.aside-card p { font-size: .88rem; color: var(--ink-2); }
.aside-card .btn { margin-top: .35rem; }
@media (min-width: 600px) { .aside-card { padding: 1.25rem; } }

.toc { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.toc li { margin: 0; }
.toc a { display: flex; align-items: center; min-height: var(--tap); padding: .3rem 0; color: var(--ink-2); text-decoration: none; }
@media (min-width: 900px) {
  .toc a { padding: .2rem 0; }
  .toc li { margin-bottom: .35rem; }
}

.reading-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  font-size: .82rem;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
}
.reading-meta strong { color: var(--ink-2); }

/* ---------- tabel ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* bayangan tipis di kanan: isyarat bahwa tabel bisa digeser */
  background:
    linear-gradient(to right, #fffdf9 30%, rgba(255, 253, 249, 0)) left center / 32px 100% no-repeat,
    linear-gradient(to left, #fffdf9 30%, rgba(255, 253, 249, 0)) right center / 32px 100% no-repeat,
    #fffdf9;
}
table { border-collapse: collapse; width: 100%; font-size: .88rem; }
th, td { padding: .7rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-body); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 900px) {
  .table-scroll { margin: 1.75rem 0; }
  table { font-size: .93rem; }
  th, td { padding: .8rem 1rem; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex: none;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; font-size: .95rem; color: var(--ink-2); max-width: 70ch; }
@media (min-width: 900px) { .faq summary { font-size: 1.1rem; padding: 1.1rem 0; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c2b09a; padding-block: 2.25rem 1.5rem; font-size: .92rem; }
.site-footer a { color: #e8dcc9; text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); padding-block: .2rem; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a1917f;
  margin-bottom: .6rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .1rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; color: #fff; }
/* Logo perusahaan di footer: berkas logonya terang, jadi tidak perlu plat
   putih di belakangnya, dan tanpa frame lingkaran (bujur sangkar). Ukuran
   34px -> 46px, sedikit di atas mark header. */
.footer-brand .brand__mark { width: 46px; height: 46px; background: transparent; padding: 0; border-radius: 0; }
/* Logo sertifikat di footer. Chip putih tipis dipakai supaya logo ungu
   (Halal) dan hijau/USDA tetap terbaca di atas latar gelap. */
.footer-certs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .1rem 0 .25rem; }
.footer-certs li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 6px 10px;
  background: #fff;
  border-radius: 8px;
}
.footer-certs img { height: 100%; width: auto; display: block; }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.footer-legal {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid #3a2f26;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: .8rem;
  color: #a1917f;
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-legal { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
}
@media (min-width: 900px) {
  .site-footer { padding-block: 3rem 2rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; }
}
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { color: #fff; text-decoration: underline; }
}

/* ---------- WhatsApp ----------
   HP: bar aksi menempel di bawah (jangkauan ibu jari).
   Desktop: tombol melayang di kanan bawah. */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: flex;
  gap: .55rem;
  padding: .55rem var(--gutter) calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(248, 242, 231, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; min-width: 0; font-size: .94rem; }
.sticky-cta .btn--ghost { flex: 0 0 auto; }

.wa-float { display: none; }
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .wa-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 1.1rem;
    background: var(--wa);
    color: #fff;
    border-radius: 100px;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 650;
    box-shadow: 0 10px 28px -10px rgba(7, 92, 61, .8);
    transition: transform .2s var(--ease), background-color .2s var(--ease);
  }
  .wa-float svg { flex: none; }
}
@media (min-width: 760px) and (hover: hover) and (pointer: fine) {
  .wa-float:hover { background: var(--wa-deep); color: #fff; transform: translateY(-2px); }
}

/* ---------- formulir ----------
   Font 1rem (16px) mencegah iOS memperbesar halaman saat kolom disentuh. */
.form-grid { display: grid; gap: 1rem; }
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: .3rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: var(--tap);
  padding: .7rem .85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236f6053' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.2rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(156, 84, 24, .18);
  outline-offset: 0;
}
.field--two { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .field--two { grid-template-columns: 1fr 1fr; } }

/* ---------- kontak ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .9rem; }
.contact-list li { margin: 0; display: flex; gap: .8rem; align-items: flex-start; }
.contact-list svg { color: var(--accent); flex: none; margin-top: .2rem; }
.contact-list strong {
  display: block;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .1rem;
}
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.map-frame iframe { width: 100%; height: 260px; border: 0; }
@media (min-width: 600px) { .map-frame iframe { height: 320px; } }

/* ---------- band dampak sosial (landing) ---------- */
.impact { display: grid; gap: 1.1rem; align-items: start; }
.impact__figure { display: flex; flex-direction: column; }
.impact__num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 14vw, 5.5rem);
  line-height: .82;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.impact__label {
  margin-top: .55rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.4;
}
.impact__body > :first-child { margin-top: 0; }
.impact__body .h-section { margin-top: .2rem; margin-bottom: .5rem; }
.impact__body .lede { margin-bottom: 0; }
@media (min-width: 760px) {
  .impact { grid-template-columns: minmax(180px, 240px) 1fr; gap: 2.75rem; align-items: center; }
  .impact__num { font-size: clamp(4rem, 6vw, 6rem); }
}

/* ---------- animasi masuk ---------- */
.reveal { opacity: 0; transform: translateY(10px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- cetak ---------- */
@media print {
  .site-header, .sticky-cta, .wa-float, .site-footer, .sidebar { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .prose { max-width: none; }
}

/* ---------- utilitas ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
