/* ============================================================
   BIOSEREA — main.css
   Desain clean ala brand food & beverage, mobile-first.
   Palet: hijau alpukat #2E7D32 / #1B4332, aksen #AED581, putih.
   Font: Plus Jakarta Sans (+ fallback sistem).
   ============================================================ */

:root {
	--bs-green: #2e7d32;
	--bs-green-dark: #1b4332;
	--bs-green-light: #aed581;
	--bs-green-pale: #eef6ee;
	--bs-white: #ffffff;
	--bs-ink: #22301f;
	--bs-muted: #5f6f5b;
	--bs-line: #e3ece3;
	--bs-radius: 16px;
	--bs-shadow: 0 10px 30px rgba(27, 67, 50, 0.08);
	--bs-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--bs-container: 1140px;
}

/* ---------- Reset & dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--bs-font);
	color: var(--bs-ink);
	background: var(--bs-white);
	line-height: 1.7;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--bs-green); text-decoration: none; }
a:hover { color: var(--bs-green-dark); }

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 0.6em; font-weight: 800; color: var(--bs-green-dark); }

.container { width: 100%; max-width: var(--bs-container); margin: 0 auto; padding: 0 20px; }

.section { padding: 64px 0; }
.section--pale { background: var(--bs-green-pale); }
.section--dark { background: var(--bs-green-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head .kicker {
	display: inline-block;
	font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
	color: var(--bs-green); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--bs-muted); margin: 0; }
.section--dark .section-head p { color: rgba(255,255,255,.8); }
.section--dark .section-head .kicker { color: var(--bs-green-light); }

/* ---------- Tombol ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 28px; border-radius: 999px;
	font-weight: 700; font-size: 16px; line-height: 1.2;
	border: 2px solid transparent; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--bs-green); color: #fff; box-shadow: 0 8px 20px rgba(46,125,50,.3); }
.btn--primary:hover { background: var(--bs-green-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--bs-green-dark); border-color: var(--bs-green); }
.btn--outline:hover { background: var(--bs-green-pale); color: var(--bs-green-dark); }
.btn--white { background: #fff; color: var(--bs-green-dark); }
.btn--white:hover { background: var(--bs-green-pale); color: var(--bs-green-dark); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--bs-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; max-width: var(--bs-container); margin: 0 auto; }
.site-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--bs-green-dark); }
.site-brand img { max-height: 44px; width: auto; }
.brand-mark {
	width: 40px; height: 40px; border-radius: 12px; flex: none;
	background: linear-gradient(135deg, var(--bs-green) 0%, var(--bs-green-dark) 100%);
	display: inline-flex; align-items: center; justify-content: center;
	color: #fff; font-weight: 800; font-size: 20px;
}
.main-nav .nav-list { display: none; list-style: none; margin: 0; padding: 0; gap: 6px; }
.main-nav .nav-list a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--bs-ink); font-weight: 600; }
.main-nav .nav-list a:hover { background: var(--bs-green-pale); color: var(--bs-green-dark); }
.header-cta { display: none; }
.hamburger {
	display: inline-flex; flex-direction: column; gap: 5px;
	background: none; border: 0; padding: 10px; cursor: pointer;
}
.hamburger span { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--bs-green-dark); transition: .2s; }
.mobile-menu {
	display: none; border-top: 1px solid var(--bs-line); background: #fff; padding: 8px 20px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-menu .nav-list a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--bs-line); color: var(--bs-ink); font-weight: 600; }
.mobile-menu .btn { margin-top: 14px; }

@media (min-width: 900px) {
	.main-nav .nav-list { display: flex; }
	.header-cta { display: inline-flex; }
	.hamburger, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bs-green-pale) 0%, #fff 100%); padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-kicker {
	display: inline-block; background: #fff; border: 1px solid var(--bs-line);
	color: var(--bs-green); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
	padding: 8px 16px; border-radius: 999px; margin-bottom: 18px; box-shadow: var(--bs-shadow);
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); margin-bottom: 16px; }
.hero h1 .hl { color: var(--bs-green); }
.hero-sub { font-size: 18px; color: var(--bs-muted); margin: 0 0 28px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-legal {
	display: inline-flex; align-items: center; gap: 8px;
	background: #fff; border: 1px solid var(--bs-line); border-radius: 12px;
	padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--bs-green-dark);
	box-shadow: var(--bs-shadow);
}
.badge-legal .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bs-green); flex: none; }
.hero-media { position: relative; }
.hero-media .media-frame {
	border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(27,67,50,.18);
	background: linear-gradient(135deg, #dcedc8 0%, #aed581 50%, #2e7d32 100%);
	aspect-ratio: 4 / 3;
}
.hero-media .media-frame img, .hero-media .media-frame svg { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
	position: absolute; right: 12px; bottom: -18px;
	background: #fff; border-radius: 16px; box-shadow: var(--bs-shadow);
	padding: 12px 18px; font-size: 14px; font-weight: 700; color: var(--bs-green-dark);
	border: 1px solid var(--bs-line);
}
@media (min-width: 900px) {
	.hero-grid { grid-template-columns: 1.05fr .95fr; }
	.hero { padding: 80px 0 96px; }
}

/* ---------- Strip legalitas ---------- */
.legal-strip { background: var(--bs-green-dark); color: #fff; padding: 18px 0; }
.legal-strip .container { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: center; align-items: center; font-size: 14px; }
.legal-strip strong { color: var(--bs-green-light); }

/* ---------- Kartu produk ---------- */
.product-card {
	display: grid; gap: 32px; align-items: center;
	background: #fff; border: 1px solid var(--bs-line); border-radius: 24px;
	padding: 32px; box-shadow: var(--bs-shadow);
}
.product-media { border-radius: 18px; overflow: hidden; background: var(--bs-green-pale); aspect-ratio: 1; }
.product-media img, .product-media svg { width: 100%; height: 100%; object-fit: cover; }
.product-info .weight-badge {
	display: inline-block; background: var(--bs-green); color: #fff;
	font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.product-info h3 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 12px; }
.product-info p { color: var(--bs-muted); margin: 0 0 20px; }
.product-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.product-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.product-points .check {
	flex: none; width: 24px; height: 24px; border-radius: 50%;
	background: var(--bs-green-pale); color: var(--bs-green);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
@media (min-width: 900px) { .product-card { grid-template-columns: .9fr 1.1fr; padding: 48px; } }

/* ---------- Grid bahan ---------- */
.bahan-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.bahan-card {
	background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-radius);
	overflow: hidden; box-shadow: var(--bs-shadow);
	transition: transform .18s ease, box-shadow .18s ease;
}
.bahan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(27,67,50,.12); }
.bahan-card .bahan-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bs-green-pale); }
.bahan-card .bahan-img img { width: 100%; height: 100%; object-fit: cover; }
.bahan-card .bahan-body { padding: 20px; }
.bahan-card h3 { font-size: 18px; margin-bottom: 8px; }
.bahan-card p { font-size: 14px; color: var(--bs-muted); margin: 0; }
@media (min-width: 600px) { .bahan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bahan-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Langkah penyajian ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
.step {
	background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-radius);
	padding: 28px 24px; text-align: center; box-shadow: var(--bs-shadow); position: relative;
}
.step-num {
	width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
	background: var(--bs-green); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 24px; font-weight: 800;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--bs-muted); margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Video ---------- */
.video-wrap { max-width: 800px; margin: 0 auto; }
.video-frame {
	position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
	border-radius: 20px; box-shadow: var(--bs-shadow); background: #000;
}
.video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Paket & harga ---------- */
.paket-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.paket-card {
	background: #fff; border: 2px solid var(--bs-line); border-radius: 20px;
	padding: 32px 28px; text-align: center; display: flex; flex-direction: column; gap: 12px;
	transition: transform .18s ease, border-color .18s ease;
}
.paket-card:hover { transform: translateY(-4px); border-color: var(--bs-green-light); }
.paket-card.featured { border-color: var(--bs-green); box-shadow: var(--bs-shadow); position: relative; }
.paket-card .paket-tag {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	background: var(--bs-green); color: #fff; font-size: 12px; font-weight: 700;
	padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.paket-card h3 { font-size: 20px; margin: 0; }
.paket-price { font-size: 32px; font-weight: 800; color: var(--bs-green-dark); }
.paket-price-old { font-size: 16px; color: var(--bs-muted); text-decoration: line-through; }
.paket-card .btn { margin-top: auto; }
@media (min-width: 800px) { .paket-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Legalitas ---------- */
.legal-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.legal-card {
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--bs-radius); padding: 28px;
}
.legal-card .legal-icon {
	width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
	background: var(--bs-green-light); color: var(--bs-green-dark);
	display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800;
}
.legal-card h3 { font-size: 20px; margin-bottom: 8px; }
.legal-card .legal-no { font-size: 15px; font-weight: 700; color: var(--bs-green-light); word-break: break-all; }
.legal-card p { font-size: 14px; color: rgba(255,255,255,.75); margin: 8px 0 0; }
@media (min-width: 800px) { .legal-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--bs-line); border-radius: 14px; overflow: hidden; }
.faq-q {
	width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 20px; font-family: var(--bs-font); font-size: 16px; font-weight: 700; color: var(--bs-green-dark);
}
.faq-q .faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bs-green-pale); color: var(--bs-green); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; transition: transform .2s; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 20px; color: var(--bs-muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA beli ---------- */
.cta-beli { text-align: center; background: linear-gradient(135deg, var(--bs-green) 0%, var(--bs-green-dark) 100%); border-radius: 28px; padding: 56px 28px; color: #fff; }
.cta-beli h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }
.cta-beli p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Artikel: arsip & kartu ---------- */
.posts-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.post-card {
	background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-radius);
	overflow: hidden; box-shadow: var(--bs-shadow); display: flex; flex-direction: column;
	transition: transform .18s ease;
}
.post-card:hover { transform: translateY(-4px); }
.post-card .post-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bs-green-pale); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 13px; color: var(--bs-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.post-meta .cat { color: var(--bs-green); font-weight: 700; }
.post-card h3 { font-size: 19px; margin: 0; }
.post-card h3 a { color: var(--bs-green-dark); }
.post-card .excerpt { font-size: 14px; color: var(--bs-muted); margin: 0; flex: 1; }
.read-more { font-weight: 700; font-size: 14px; }
@media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }

.page-head { background: var(--bs-green-pale); padding: 48px 0; text-align: center; }
.page-head h1 { font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 8px; }
.page-head p { color: var(--bs-muted); margin: 0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--bs-line); border-radius: 10px; font-weight: 600; color: var(--bs-ink); }
.pagination .page-numbers.current { background: var(--bs-green); border-color: var(--bs-green); color: #fff; }

/* ---------- Single artikel ---------- */
.breadcrumb { font-size: 13px; color: var(--bs-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--bs-green); }
.single-head { max-width: 800px; margin: 0 auto 28px; text-align: center; }
.single-head h1 { font-size: clamp(28px, 4.5vw, 44px); }
.single-featured { max-width: 900px; margin: 0 auto 36px; border-radius: 20px; overflow: hidden; box-shadow: var(--bs-shadow); }
.entry-content { max-width: 760px; margin: 0 auto; font-size: 17px; }
.entry-content h2 { font-size: 26px; margin-top: 1.8em; }
.entry-content h3 { font-size: 21px; margin-top: 1.6em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { border-left: 4px solid var(--bs-green-light); margin: 1.5em 0; padding: 12px 20px; background: var(--bs-green-pale); border-radius: 0 12px 12px 0; }
.share-row { max-width: 760px; margin: 40px auto 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share-row .share-label { font-weight: 700; color: var(--bs-green-dark); margin-right: 6px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; }
.share-wa { background: #25d366; } .share-fb { background: #1877f2; } .share-x { background: #111; }
.share-btn:hover { color: #fff; opacity: .88; }
.related { margin-top: 64px; }
.related h2 { text-align: center; margin-bottom: 28px; }

/* ---------- Halaman statis ---------- */
.page-content { max-width: 800px; margin: 0 auto; }
.page-content h2 { font-size: 26px; margin-top: 1.8em; }

/* ---------- Tentang Kami ---------- */
.story-grid { display: grid; gap: 32px; align-items: center; }
.story-grid .story-media { border-radius: 20px; overflow: hidden; box-shadow: var(--bs-shadow); background: var(--bs-green-pale); aspect-ratio: 4/3; }
.story-grid .story-media img, .story-grid .story-media svg { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; } }
.values-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 32px; }
.value-card { background: #fff; border: 1px solid var(--bs-line); border-radius: 14px; padding: 22px; }
.value-card h3 { font-size: 17px; margin-bottom: 6px; }
.value-card p { font-size: 14px; color: var(--bs-muted); margin: 0; }
@media (min-width: 700px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Search & 404 ---------- */
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 24px auto; }
.search-form input[type="search"] { flex: 1; padding: 14px 18px; border: 1px solid var(--bs-line); border-radius: 999px; font-family: var(--bs-font); font-size: 15px; }
.search-form button { padding: 14px 24px; border-radius: 999px; border: 0; background: var(--bs-green); color: #fff; font-weight: 700; cursor: pointer; }
.empty-state { text-align: center; padding: 64px 0; color: var(--bs-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bs-green-dark); color: rgba(255,255,255,.85); margin-top: 0; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding: 56px 0 40px; }
.footer-brand .site-brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-col a { color: rgba(255,255,255,.75); }
.footer-col a:hover { color: var(--bs-green-light); }
.footer-col .legal-no { color: var(--bs-green-light); font-weight: 600; word-break: break-all; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 20px 0; font-size: 13px; color: rgba(255,255,255,.6); text-align: center; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Back to top ---------- */
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--bs-green); color: #fff; font-size: 20px; font-weight: 800;
	box-shadow: 0 10px 24px rgba(46,125,50,.35); display: none;
}
.to-top.show { display: block; }

/* ---------- Utilitas ---------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
