/* ══════════════════════════════════════════════════════════════
   GREENBOX INDONESIA — site.css
   Gaya halaman publik (profil, layanan, portfolio, artikel, kontak)
   Mengikuti bahasa visual index.html: hijau, bersih, tegas.
══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f4f8f5;
  --card: #ffffff;
  --ink: #06210f;
  --ink-2: #14301f;
  --mut: #5f7669;
  --line: #dfe9e2;
  --soft: #eaf3ed;
  --dark: #06210f;
  --on-dark: #eafaf0;
  --g: #22c55e;
  --g2: #0f7a3a;
  --radius: 24px;
  --radius-lg: 30px;
  --max: 1120px;
  --shadow: 0 18px 50px -30px rgba(6,33,15,.35);
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }
::selection { background: rgba(34,197,94,.22); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(42px, 6vw, 84px) 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); background: transparent; border: 1px solid rgba(6,33,15,.35);
  border-radius: 30px; padding: 6px 13px; margin-bottom: 12px; line-height: 1;
}
.section-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.section-title { font-family: var(--display); font-size: clamp(24px, 3.6vw, 40px); line-height: 1; letter-spacing: -.045em; font-weight: 800; text-transform: uppercase; }
.section-desc { color: var(--mut); font-size: 14px; margin-top: 12px; max-width: 560px; }

/* ── HEADER (mengikuti pola kartu melayang halaman depan) ── */
.site-header {
  position: sticky; top: 10px; z-index: 60;
  background: transparent; padding-top: 10px;
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  height: 64px; padding: 0 20px;
  background: rgba(251,253,251,.92); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 26px -18px rgba(6,33,15,.38);
  transition: box-shadow .25s ease;
}
.site-header.scrolled .header-inner {
  box-shadow: 0 18px 40px -12px rgba(6,33,15,.34), 0 2px 10px rgba(6,33,15,.07);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: 21px; line-height: 1; text-transform: uppercase; }
.brand img { width: 44px; height: 44px; border: 0; border-radius: 0; object-fit: contain; background: transparent; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand span small { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); font-weight: 700; margin-top: 4px; line-height: 1; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1; color: var(--ink-2); transition: .2s; }
.nav a svg { width: 14px; height: 14px; flex: none; opacity: .8; }
.nav a.active svg { opacity: 1; }
.nav a:hover { background: var(--soft); }
.nav a.active { background: var(--dark); color: var(--on-dark); }
.header-cta { margin-left: 8px; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 17px; border-radius: 22px; background: var(--g2); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; line-height: 1; white-space: nowrap; transition: .2s; }
.header-cta:hover { background: var(--dark); }
.mobile-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); place-items: center; margin-left: auto; }
.mobile-toggle svg { width: 20px; height: 20px; }
.mobile-nav {
  display: none; margin: 8px 16px 0; padding: 8px 18px 14px;
  border: 1px solid var(--line); border-radius: 22px; background: var(--card);
  box-shadow: 0 18px 40px -30px rgba(6,33,15,.45);
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: flex; align-items: center; gap: 9px; padding: 11px 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1; border-bottom: 1px solid var(--line); }
.mobile-nav a svg { width: 16px; height: 16px; flex: none; color: var(--g2); }
.mobile-nav a:last-child { border: 0; }

/* ── TOMBOL ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 26px; font-size: 13px; font-weight: 700;
  line-height: 1; background: var(--dark); color: var(--on-dark); transition: .2s; border: 1px solid transparent;
}
.btn:hover { background: var(--g2); }
.btn.outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.outline:hover { border-color: var(--ink); background: var(--card); }
.btn.wa { background: #16a34a; }
.btn.wa:hover { background: #15803d; }
.btn.sm { height: 36px; padding: 0 16px; font-size: 12px; }

/* ── HERO HALAMAN (pola: judul Archivo uppercase + ghost word) ── */
.page-hero { padding: clamp(36px, 5vw, 68px) 0 clamp(26px, 3.5vw, 44px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; right: -140px; top: -160px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(34,197,94,.16), transparent 68%);
  pointer-events: none;
}
.page-hero::after {
  content: attr(data-ghost);
  position: absolute; right: -1.5%; top: 3%; z-index: 0;
  font-family: var(--display); font-weight: 800; font-size: clamp(48px, 9vw, 130px);
  line-height: .8; letter-spacing: -.06em; text-transform: uppercase;
  color: rgba(6,33,15,.05); white-space: nowrap; pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
  color: var(--ink); background: rgba(251,253,251,.7); border: 1px solid rgba(6,33,15,.35);
  border-radius: 30px; padding: 6px 13px; margin-bottom: 14px; line-height: 1;
}
.page-hero .kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.page-hero h1 {
  font-family: var(--display); font-size: clamp(28px, 4.8vw, 56px);
  line-height: .98; letter-spacing: -.045em; font-weight: 800;
  text-transform: uppercase; max-width: 900px;
}
.page-hero p { color: var(--mut); font-size: clamp(14px, 1.6vw, 16.5px); max-width: 620px; margin-top: 16px; }
.page-hero .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ── GRID & KARTU ─────────────────────────────────────── */
.grid { display: grid; gap: 16px; }
.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)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.card p { color: var(--mut); font-size: 13.5px; margin-top: 7px; }
.card .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.feature-list { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.feature-list li { font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.feature-list li::before { content: '✓'; color: var(--g2); font-weight: 800; flex-shrink: 0; }

/* ── PORTFOLIO ────────────────────────────────────────── */
.portfolio-card { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: .25s; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.portfolio-visual { aspect-ratio: 16/10; position: relative; display: grid; place-items: center; padding: 22px; overflow: hidden; }
.portfolio-visual .pv-brand { position: absolute; top: 16px; left: 18px; font-family: var(--display); font-weight: 800; color: #fff; font-size: 15px; letter-spacing: -.02em; }
.portfolio-visual .pv-h { color: #fff; font-family: var(--display); font-size: clamp(16px, 2.4vw, 26px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; max-width: 80%; position: relative; z-index: 1; }
.portfolio-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.32)); }
.portfolio-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portfolio-body { padding: 16px 18px 18px; display: flex; align-items: center; gap: 12px; }
.portfolio-body .pt { flex: 1; min-width: 0; }
.portfolio-body h3 { font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.portfolio-body p { font-size: 12px; color: var(--mut); }
.portfolio-body .arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; flex-shrink: 0; transition: .2s; }
.portfolio-card:hover .arrow { background: var(--dark); color: #fff; }

/* ── PRICING ──────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 26px; position: relative; display: flex; flex-direction: column; }
.price-card.popular { border-color: var(--g2); box-shadow: 0 20px 50px -30px rgba(15,122,58,.5); }
.price-card .pop-badge { position: absolute; top: -11px; left: 22px; display: inline-flex; align-items: center; height: 23px; line-height: 1; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; background: var(--g2); color: #fff; padding: 0 11px; border-radius: 20px; }
.price-name { font-family: var(--display); font-size: 17px; font-weight: 800; }
.price-desc { font-size: 12.5px; color: var(--mut); margin-top: 4px; min-height: 38px; }
.price-val { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 2px; color: var(--ink); }
.price-period { font-size: 11.5px; color: var(--mut); }
.price-card .feature-list { margin: 16px 0 20px; flex: 1; }

/* ── ARTIKEL ──────────────────────────────────────────── */
.article-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #dcfce7, #a7f3d0); display: grid; place-items: center; overflow: hidden; position: relative; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-thumb .ph { font-family: var(--display); font-size: 26px; font-weight: 800; color: #166534; opacity: .5; letter-spacing: -.03em; }
.article-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.article-meta { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--g2); display: flex; gap: 8px; align-items: center; }
.article-meta span { color: var(--mut); font-weight: 600; }
.article-card h3 { font-family: var(--display); font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.article-card p { font-size: 12.5px; color: var(--mut); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .more { margin-top: auto; padding-top: 10px; font-size: 11.5px; font-weight: 800; color: var(--g2); }
.filter-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 15px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); font-size: 12px; font-weight: 700; line-height: 1; color: var(--ink-2); transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination button { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 12px; font-weight: 700; line-height: 1; }
.pagination button.active { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }

/* ── ARTIKEL DETAIL ───────────────────────────────────── */
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 34px; align-items: start; padding: 40px 0 70px; }
.article-main { min-width: 0; }
.article-main .cover { width: 100%; border-radius: 18px; margin: 18px 0 24px; border: 1px solid var(--line); }
.article-content { font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }
.article-content p { margin: 0 0 16px; }
.article-content h2, .article-content h3, .article-content h4 { font-family: var(--display); letter-spacing: -.02em; margin: 26px 0 10px; line-height: 1.25; }
.article-content h2 { font-size: 24px; } .article-content h3 { font-size: 20px; } .article-content h4 { font-size: 17px; }
.article-content ul, .article-content ol { margin: 0 0 16px 22px; }
.article-content li { margin-bottom: 6px; }
.article-content a { color: var(--g2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-content img { border-radius: 12px; margin: 10px 0; }
.article-content blockquote { border-left: 3px solid var(--g); padding: 4px 0 4px 16px; color: var(--mut); font-style: italic; margin: 0 0 16px; }
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-head h1 { font-family: var(--display); font-size: clamp(24px, 3.8vw, 40px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; text-transform: uppercase; margin-top: 12px; }
.back-link { font-size: 12px; font-weight: 700; color: var(--g2); }
.sidebar-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 20px; position: sticky; top: 88px; }
.sidebar-card h4 { font-family: var(--display); font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.related-item { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
.related-item:last-child { border: 0; }
.related-item b { display: block; font-size: 13px; line-height: 1.4; }
.related-item span { font-size: 11px; color: var(--mut); }

/* ── KONTAK ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 30px; align-items: start; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 26px; }
.contact-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border: 0; }
.contact-item .ci { width: 38px; height: 38px; border-radius: 11px; background: var(--soft); display: grid; place-items: center; flex-shrink: 0; }
.contact-item b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); }
.contact-item span { font-size: 13.5px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.form-field label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); font-size: 13.5px; outline: none; transition: .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--g); background: var(--card); }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12px; margin-top: 10px; min-height: 18px; font-weight: 600; }

/* ── PROFIL ───────────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-box { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; text-align: center; }
.stat-box b { display: block; font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--g2); letter-spacing: -.03em; }
.stat-box span { font-size: 11.5px; color: var(--mut); font-weight: 600; }
.prose { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.prose p { margin-bottom: 12px; }
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.quote-card .q { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.quote-card .who { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.quote-card .who .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--g), var(--g2)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; overflow: hidden; }
.quote-card .who img { width: 100%; height: 100%; object-fit: cover; }
.quote-card .who b { font-size: 13px; display: block; }
.quote-card .who span { font-size: 11px; color: var(--mut); }
.stars { color: #eab308; font-size: 13px; letter-spacing: 1px; margin-bottom: 8px; }
.mitra-row { display: flex; flex-wrap: wrap; gap: 10px; }
.mitra-chip { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 30px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; font-weight: 700; }
.mitra-chip img { width: 22px; height: 22px; object-fit: contain; border-radius: 50%; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 2px; text-align: left; font-size: 14.5px; font-weight: 700; }
.faq-q .plus { font-size: 18px; color: var(--g2); transition: .2s; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--mut); font-size: 13.5px; line-height: 1.7; }
.faq-a div { padding: 0 2px 17px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ── CTA BAND & FOOTER ────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, #06210f, #0f3d24 70%, #14532d); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(74,222,128,.22), transparent 70%); }
.cta-band h2 { font-family: var(--display); font-size: clamp(22px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.04em; text-transform: uppercase; line-height: 1.15; max-width: 560px; position: relative; z-index: 1; }
.cta-band .btn { background: var(--g); color: #052e16; position: relative; z-index: 1; }
.cta-band .btn:hover { background: #fff; }

.site-footer { background: transparent; color: #b9d3c4; margin-top: 56px; padding: 0 20px 30px; }
.site-footer > .container {
  background: linear-gradient(160deg, #06210f 0%, #071b11 55%, #0b2417 100%);
  border-radius: var(--radius-lg); padding: 40px 34px 24px;
  position: relative; overflow: hidden;
}
.site-footer > .container::after {
  content: ''; position: absolute; right: -80px; top: -100px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(74,222,128,.16), transparent 70%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 28px; position: relative; z-index: 1; }
.footer-brand { display: block; width: 100%; color: #fff; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 16px; letter-spacing: -.03em; margin-bottom: 14px; }
.footer-brand img { width: 75%; height: auto; max-width: 100%; border: 0; border-radius: 0; background: none; object-fit: contain; display: block; }
.site-footer p { font-size: 12.5px; line-height: 1.7; max-width: 300px; color: #8fb0a1; }
.site-footer h4 { color: #fff; font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 12px; font-weight: 800; line-height: 1; display: flex; align-items: center; gap: 7px; }
.site-footer h4 svg { width: 15px; height: 15px; flex: none; color: var(--lime); }
.site-footer a.flink { display: block; font-size: 12.5px; padding: 4px 0; color: #9dbdae; transition: .2s; }
.site-footer a.flink:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; display: flex; justify-content: center; align-items: center; text-align: center; gap: 6px 24px; flex-wrap: wrap; font-size: 11.5px; color: #7fa392; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #dcefe3; font-size: 12px; transition: .2s; }
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--g); color: #052e16; transform: translateY(-2px); }

/* ── UTIL ─────────────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, #e6efe9 25%, #f4f9f6 50%, #e6efe9 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.empty-note { text-align: center; color: var(--mut); font-size: 13px; padding: 40px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card .feature-list { min-height: 0; }
}
/* ── Header ringkas untuk tablet & mobile ───────────────── */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .theme-toggle { margin-left: auto; }
  .mobile-toggle { display: grid; margin-left: 0; }
}
@media (max-width: 760px) {
  .nav, .header-cta { display: none; }
  .mobile-toggle { display: grid; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-layout { padding-top: 24px; }
  .section { padding: 38px 0; }
}

/* ── POLISH MOBILE (selaras halaman depan) ─────────────── */
@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .site-header { top: 6px; padding-top: 8px; }
  .header-inner { height: 58px; padding: 0 14px; gap: 10px; }
  .brand { font-size: 18px; }
  .brand img { width: 38px; height: 38px; }
  .brand span small { font-size: 10px; margin-top: 3px; }
  .mobile-nav { margin: 8px 12px 0; }
  .container { padding: 0 16px; }
  .page-hero { padding-top: 26px; }
  .page-hero h1 { font-size: clamp(24px, 7.2vw, 40px); }
  .page-hero::after { font-size: clamp(48px, 14vw, 90px); top: 10px; }
  .section-title { font-size: clamp(21px, 5.8vw, 30px); }
  .site-footer { padding: 0 12px 20px; margin-top: 40px; }
  .site-footer > .container { padding: 28px 22px 20px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .footer-grid .fg-brand { grid-column: 1 / -1; }
  .footer-grid .fg-kontak { grid-column: 1 / -1; }
  .footer-brand img { width: 100%; height: auto; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .cta-band { padding: 26px 22px; border-radius: 24px; }
}
@media (max-width: 400px) {
  .page-hero h1 { font-size: clamp(22px, 7vw, 32px); }
}


/* ══════════════════════════════════════════════════════════
   TOMBOL TEMA & MODE GELAP
══════════════════════════════════════════════════════════ */
body { transition: background-color .25s ease, color .25s ease; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--soft); color: var(--ink-2);
  border: 1px solid var(--line); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover { background: var(--card); border-color: var(--ink-4); transform: rotate(8deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08130d;
  --card: #0f1d15;
  --ink: #e8f5ec;
  --ink-2: #cbe4d5;
  --mut: #8fa99a;
  --line: #22362a;
  --soft: #132a1d;
  --dark: #030c07;
  --on-dark: #eafaf0;
  --g: #22c55e;
  --g2: #4ade80;
}
:root[data-theme="dark"] ::selection { background: rgba(74,222,128,.3); }
:root[data-theme="dark"] .header-inner {
  background: rgba(15,29,21,.92); border-color: var(--line);
  box-shadow: 0 10px 26px -18px rgba(0,0,0,.7);
}
:root[data-theme="dark"] .site-header.scrolled .header-inner {
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.65), 0 2px 10px rgba(0,0,0,.4);
}
:root[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
:root[data-theme="dark"] .brand span small { color: var(--mut); }
:root[data-theme="dark"] .nav a:hover { background: var(--soft); }
:root[data-theme="dark"] .header-cta { background: #16a34a; color: #fff; }
:root[data-theme="dark"] .header-cta:hover { background: #15803d; }
:root[data-theme="dark"] .btn:hover { background: #15803d; color: #fff; }
:root[data-theme="dark"] .btn.outline { background: transparent; }
:root[data-theme="dark"] .btn.outline:hover { background: var(--soft); }
:root[data-theme="dark"] .page-hero::before {
  background: radial-gradient(circle, rgba(34,197,94,.2), transparent 68%);
}
:root[data-theme="dark"] .page-hero::after { color: rgba(232,245,236,.05); }
:root[data-theme="dark"] .section-kicker,
:root[data-theme="dark"] .page-hero .kicker {
  border-color: rgba(232,245,236,.28); background: rgba(15,29,21,.65); color: var(--ink);
}
:root[data-theme="dark"] .article-thumb { background: linear-gradient(135deg,#123524,#0b2417); }
:root[data-theme="dark"] .article-thumb .ph { color: #86efac; opacity: .6; }
:root[data-theme="dark"] .cta-band { background: linear-gradient(135deg,#030c07,#0b2c1a 70%,#12452a); }
:root[data-theme="dark"] .price-card .pop-badge { background: #16a34a; color: #fff; }
:root[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg,#132a1d 25%,#1a3526 50%,#132a1d 75%);
  background-size: 200% 100%;
}
:root[data-theme="dark"] .site-footer > .container { border: 1px solid rgba(255,255,255,.06); }
:root[data-theme="dark"] .footer-social a { background: rgba(255,255,255,.1); }
:root[data-theme="dark"] .article-content a { color: var(--g2); }
:root[data-theme="dark"] .article-content blockquote { color: var(--mut); }
:root[data-theme="dark"] .mobile-nav { background: var(--card); }
:root[data-theme="dark"] .mobile-nav a { border-color: var(--line); }
:root[data-theme="dark"] .nav a.active { background: rgba(74,222,128,.16); color: #eafaf0; }
:root[data-theme="dark"] .chip.active { background: #16a34a; border-color: #16a34a; color: #04140a; }
:root[data-theme="dark"] .btn { border-color: #2c4636; }
:root[data-theme="dark"] .theme-toggle { background: var(--soft); border-color: var(--line); color: var(--ink); }


/* ── Pencarian artikel ─────────────────────────────────── */
.article-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.search-box { position: relative; display: flex; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 0 14px; height: 44px; flex: 1; max-width: 420px; min-width: min(280px, 100%); }
.search-box:focus-within { border-color: var(--g); box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
.search-box svg { width: 18px; height: 18px; color: var(--mut); flex: none; }
.search-box input { border: 0; background: none; outline: 0; color: var(--ink); font-size: 13.5px; width: 100%; height: 100%; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box button { font-size: 18px; color: var(--mut); padding: 2px 6px; line-height: 1; }
.search-count { font-size: 12px; color: var(--mut); font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; top: 0 !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }


/* ── Aksesibilitas ─────────────────────────────────────── */
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 300; background: var(--dark); color: var(--on-dark); padding: 11px 18px; border-radius: 12px; font-size: 13px; font-weight: 700; transform: translateY(-180%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(34,197,94,.6); outline-offset: 3px; border-radius: 4px; }


/* ── Tombol share artikel ──────────────────────────────── */
.share-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 20px 0 22px; }
.share-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--mut); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: 11px; font-weight: 700; text-decoration: none; transition: .2s; }
.share-btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.share-btn.wa:hover { background: #16a34a; border-color: #16a34a; color: #fff; }
.share-btn.tg:hover { background: #229ed9; border-color: #229ed9; color: #fff; }
.share-btn.fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-btn.x:hover { background: #111; border-color: #111; color: #fff; }
.share-btn.copy { cursor: pointer; }
@media (max-width: 600px) { .share-row { gap: 5px; } .share-btn { padding: 0 11px; font-size: 10px; } }
