/* ==========================================================================
   Skinberries Group Industri - Company Profile (gaya corporate klasik)
   Struktur: 1 Token  2 Dasar  3 Komponen  4 Section  5 Responsif
   Warna, font, dan ukuran utama ada di :root supaya mudah diubah.
   ========================================================================== */

/* 1. TOKEN ------------------------------------------------------------- */
:root {
  --primary: #7a1c2e;
  --primary-dark: #581320;
  --gold: #b58a3c;
  --ink: #232323;
  --text: #3b3b3b;
  --muted: #6a6a6a;
  --line: #dedede;
  --bg-grey: #f4f4f4;
  --white: #ffffff;
  --wa: #1f9d55;

  --font-heading: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 3px;
  --shadow: 0 1px 8px rgba(0, 0, 0, .08);
  --section-pad: clamp(3.2rem, 2.4rem + 4vw, 5.5rem);
  --gutter: clamp(1rem, 4vw, 1.5rem);
}

/* 2. DASAR ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd, address, blockquote { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--ink); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.05rem); }
h3 { font-size: 1.1rem; }

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

.container { width: min(100% - 2 * var(--gutter), 1170px); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section-grey { background: var(--bg-grey); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 300; background: var(--primary); color: var(--white); padding: .7rem 1rem; transition: top .2s; }
.skip-link:focus { top: 1rem; color: var(--white); }

/* 3. KOMPONEN ---------------------------------------------------------- */
.btn { display: inline-block; padding: .75rem 1.6rem; border: 2px solid transparent; border-radius: var(--radius); font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.3; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-light { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-small { padding: .55rem 1.1rem; font-size: .92rem; }
.btn-large { padding: .95rem 2rem; font-size: 1.05rem; }

/* Judul section: teks di tengah, garis emas di bawah */
.section-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-sub { font-weight: 700; font-size: 1rem; color: var(--primary); margin-bottom: .35rem; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin: .9rem auto 0; }

/* Daftar bertanda kotak kecil */
.bullet-list { display: grid; gap: .35rem; margin: 1.2rem 0 1.6rem; }
.bullet-list li { position: relative; padding-left: 1.4rem; }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; background: var(--primary); }

/* Form */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
input[type="text"], select, textarea { width: 100%; padding: .7rem .9rem; background: var(--white); border: 1px solid #c9c9c9; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
input[type="text"]:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(122, 28, 46, .15); }
textarea { resize: vertical; min-height: 7rem; }
.field-error { color: #b3261e; font-size: .88rem; min-height: 1.1em; }
.field.has-error input { border-color: #b3261e; }

/* 4. SECTION ----------------------------------------------------------- */

/* Top bar */
.topbar { background: var(--primary-dark); color: rgba(255, 255, 255, .9); font-size: .9rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .4rem; }
.topbar ul { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--white); text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 2px 12px rgba(0, 0, 0, .12); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; line-height: 1.1; color: var(--primary); }
.brand-text small { font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; }
.nav-menu ul { display: flex; gap: 1.5rem; }
.nav-menu a:not(.btn) { display: block; white-space: nowrap; padding-block: .5rem; font-weight: 600; font-size: 1rem; color: var(--ink); border-bottom: 3px solid transparent; }
.nav-menu a:not(.btn):hover { color: var(--primary); border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .65rem .7rem; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--primary); content: ""; transition: transform .2s, opacity .2s; }
.bars { position: relative; }
.bars::before { position: absolute; top: -7px; }
.bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero slider */
.hero { position: relative; color: var(--white); background: #3a0d18; }
.slides { position: relative; min-height: clamp(460px, 56vw, 620px); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58, 13, 24, .92) 0%, rgba(58, 13, 24, .75) 50%, rgba(58, 13, 24, .4) 100%); }
.slide-content { position: relative; padding-block: 3rem 5rem; }
.slide h1, .slide .slide-title { color: var(--white); max-width: 40rem; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); line-height: 1.3; }
.slide p { max-width: 36rem; margin-top: 1.1rem; font-size: 1.15rem; color: rgba(255, 255, 255, .94); }
.slide-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.slide-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 2.8rem; height: 4rem; border: 0; background: rgba(0, 0, 0, .35); color: var(--white); font-size: 2.4rem; line-height: 1; cursor: pointer; transition: background-color .2s; }
.slide-nav:hover { background: var(--primary); }
.slide-prev { left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.slide-next { right: 0; border-radius: var(--radius) 0 0 var(--radius); }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 4.6rem; z-index: 3; display: flex; justify-content: center; gap: .55rem; }
.slide-dots button { width: .8rem; height: .8rem; padding: 0; border: 2px solid var(--white); border-radius: 50%; background: transparent; cursor: pointer; }
.slide-dots button[aria-current="true"] { background: var(--white); }

/* Kotak keunggulan di bawah hero */
.feature-strip { position: relative; z-index: 2; margin-top: -3rem; }
.feature-boxes { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-top: 4px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 6px 24px rgba(0, 0, 0, .16); }
.feature-boxes li { padding: 1.5rem 1.7rem; }
.feature-boxes li + li { border-left: 1px solid var(--line); }
.feature-boxes h3 { margin-bottom: .3rem; color: var(--primary); }
.feature-boxes p { color: var(--muted); font-size: 1rem; }

/* Tentang */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-copy h2 { margin-bottom: 1.1rem; }
.about-copy p + p { margin-top: .9rem; }
.video { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: #222; box-shadow: var(--shadow); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 4.4rem; height: 4.4rem; border-radius: 50%; border: 0; background: var(--primary); cursor: pointer; box-shadow: 0 0 0 8px rgba(255, 255, 255, .5); transition: background-color .2s; }
.video-play:hover { background: var(--primary-dark); }
.video-play span { position: absolute; left: 50%; top: 50%; translate: -35% -50%; border-style: solid; border-width: .7rem 0 .7rem 1.15rem; border-color: transparent transparent transparent var(--white); }
.video[data-youtube-id=""] .video-play { display: none; }

/* Visi misi */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vm-block { padding: .4rem 0 .4rem 1.6rem; border-left: 4px solid var(--primary); }
.vm-block h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.vm-block .bullet-list { margin: 0; }

/* Keunggulan */
.point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.point { padding: 1.6rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--radius); }
.point h3 { margin-bottom: .5rem; }
.point p { color: var(--muted); }

/* Angka */
.stats-band { background: var(--primary); color: var(--white); padding-block: 2.8rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat { display: flex; flex-direction: column; }
.stat dd { order: 1; font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.3rem); line-height: 1.15; }
.stat dt { order: 2; font-size: 1.05rem; opacity: .92; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .25); }

/* Peta */

/* Alur: nomor dibuat otomatis lewat CSS counter */
.steps { counter-reset: step-counter; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.6rem; }
.step { counter-increment: step-counter; text-align: center; padding-inline: .5rem; }
.step::before { content: counter(step-counter); display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--primary); color: var(--white); font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; box-shadow: 0 0 0 5px var(--white), 0 0 0 7px var(--gold); }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); max-width: 21rem; margin-inline: auto; }

/* Logo klien dan media */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.logo-grid li { display: grid; place-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); min-height: 6rem; }
.logo-grid img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-grid li:hover img { filter: none; opacity: 1; }
.logo-grid-media { grid-template-columns: repeat(4, 1fr); }
.logo-grid-media img { max-height: 44px; }

/* Testimoni */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.6rem; }
.testi blockquote { padding-left: 1rem; border-left: 3px solid var(--gold); margin-bottom: 1.3rem; font-family: var(--font-heading); font-size: 1rem; line-height: 1.7; color: var(--ink); }
.testi-by { display: flex; align-items: center; gap: .9rem; }
.testi-by img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testi-by strong { display: block; line-height: 1.3; }
.testi-by span { font-size: .92rem; color: var(--muted); }

/* Produk */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.product:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.product a { display: block; color: inherit; }
.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-body { padding: 1rem 1.1rem 1.25rem; border-top: 1px solid var(--line); }
.product-cat { font-size: .88rem; color: var(--muted); }
.product h3 { margin-block: .2rem .6rem; font-size: 1rem; line-height: 1.45; }
.product a:hover h3 { color: var(--primary); }
.price del { color: var(--muted); font-size: .9rem; margin-right: .4rem; }
.price strong { color: var(--primary); font-size: 1.15rem; }
.note-line { margin-top: 2rem; text-align: center; color: var(--muted); }

/* Sertifikat */
.cert-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.cert { width: min(100%, 17rem); padding: 1.6rem 1.3rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.cert img { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 1rem; }
.cert p { color: var(--muted); font-size: .98rem; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: .7rem; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-list summary { position: relative; padding: 1rem 3rem 1rem 1.2rem; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; translate: 0 -50%; font-size: 1.5rem; line-height: 1; color: var(--primary); }
.faq-list details[open] { border-color: var(--primary); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 1.2rem 1.2rem; color: var(--muted); }

/* Artikel: blog + sidebar */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.blog-main { display: grid; gap: 1.8rem; }
.post { display: grid; grid-template-columns: 250px 1fr; gap: 1.5rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.post-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.post-body h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--primary); }
.post-meta { display: flex; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.post-meta > * + * { margin-left: .8rem; padding-left: .8rem; border-left: 1px solid var(--line); }
.read-more { display: inline-block; margin-top: .6rem; font-weight: 700; }
.read-more:hover { text-decoration: underline; }
.blog-more { padding-top: .4rem; }

.sidebar { display: grid; gap: 1.8rem; }
.widget { background: var(--bg-grey); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.4rem; }
.widget-title { font-size: 1.05rem; padding-bottom: .6rem; margin-bottom: 1rem; border-bottom: 2px solid var(--primary); }
.search-form { display: flex; }
.search-form input { border-radius: var(--radius) 0 0 var(--radius); }
.search-form .btn { border-radius: 0 var(--radius) var(--radius) 0; padding-inline: 1rem; }
.widget-list li + li { border-top: 1px solid var(--line); }
.widget-list a { display: block; padding: .5rem 0; color: var(--text); }
.widget-list a:hover { color: var(--primary); padding-left: .3rem; }
.recent-list { display: grid; gap: .9rem; }
.recent-list li { display: grid; grid-template-columns: 72px 1fr; gap: .8rem; align-items: start; }
.recent-list img { width: 72px; height: 56px; object-fit: cover; border-radius: var(--radius); }
.recent-list a { display: block; font-weight: 600; line-height: 1.35; color: var(--ink); }
.recent-list a:hover { color: var(--primary); }
.recent-list time { font-size: .85rem; color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-cloud a { display: block; padding: .2rem .7rem; font-size: .92rem; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tag-cloud a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* CTA */
.cta-band { background: var(--primary); color: var(--white); padding-block: 2.8rem; border-top: 4px solid var(--gold); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); }
.cta-band p { margin-top: .3rem; opacity: .94; }

/* Kontak */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-info { display: grid; gap: 1.5rem; }
.contact-item { padding-left: 1.2rem; border-left: 4px solid var(--primary); }
.contact-item h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.contact-form { padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1.1rem; background: var(--bg-grey); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-form .btn { justify-self: start; }

/* Footer widget */
.site-footer { background: #241015; color: rgba(255, 255, 255, .8); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 2rem; padding-block: 3.2rem 2.4rem; }
.footer-logo { border-radius: 50%; margin-bottom: 1rem; }
.footer-widget h3 { color: var(--white); font-size: 1.05rem; padding-bottom: .6rem; margin-bottom: 1rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-widget p + p { margin-top: .5rem; }
.footer-widget a { color: rgba(255, 255, 255, .8); }
.footer-widget a:hover { color: var(--white); text-decoration: underline; }
.footer-widget li { padding-block: .2rem; }
.footer-bottom { background: #1a0b0f; padding-block: 1.1rem; text-align: center; font-size: .92rem; }

/* WhatsApp dan kembali ke atas */
.wa-float { position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 150; padding: .8rem 1.2rem; border-radius: 99px; background: var(--wa); color: var(--white); font-weight: 700; font-size: 1rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); transition: background-color .2s; }
.wa-float:hover { background: #17813f; color: var(--white); }
.to-top { position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: calc(clamp(1rem, 3vw, 1.6rem) + 4rem); z-index: 140; width: 2.8rem; height: 2.8rem; border: 0; border-radius: var(--radius); background: var(--primary); cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.to-top:hover { background: var(--primary-dark); }
.to-top span { position: absolute; left: 50%; top: 50%; width: .8rem; height: .8rem; border-left: 3px solid var(--white); border-top: 3px solid var(--white); translate: -50% -30%; rotate: 45deg; }

/* 5. RESPONSIF --------------------------------------------------------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1180px) and (min-width: 961px) {
  .nav-menu { gap: 1rem; }
  .nav-menu ul { gap: 1rem; }
  .nav-menu a:not(.btn) { font-size: .95rem; }
  .nav-menu .btn { padding: .5rem .8rem; font-size: .88rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0, 0, 0, .08); }
  .nav-menu.is-open { display: flex; }
  .nav-menu ul { flex-direction: column; gap: 0; }
  .nav-menu a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { align-self: flex-start; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .feature-boxes { grid-template-columns: 1fr; }
  .feature-boxes li + li { border-left: 0; border-top: 1px solid var(--line); }
  .point-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hide-sm { display: none; }
}

@media (max-width: 640px) {
  .brand-text small { display: none; }
  .slide-nav { display: none; }
  .slide-dots { bottom: 4.2rem; }
  .point-grid, .testi-grid, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 1.2rem; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 1.2rem; }
  .logo-grid, .logo-grid-media { grid-template-columns: repeat(2, 1fr); }
  .post { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-block: 2.5rem 1.5rem; }
  .slide-actions .btn { width: 100%; }
  .contact-form .btn, .cta-inner .btn { width: 100%; justify-self: stretch; }
  .topbar-links { display: none; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 6. HALAMAN DALAM (artikel, 404) --------------------------------------- */
.page-head { background: var(--bg-grey); border-bottom: 1px solid var(--line); padding-block: clamp(1.8rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); margin-top: .5rem; }
.page-head p { margin-top: .6rem; max-width: 46rem; color: var(--muted); }
.page-head .post-meta { margin-top: .8rem; margin-bottom: 0; }
.breadcrumb { font-size: .92rem; color: var(--muted); }
.breadcrumb span { margin: 0 .3rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.empty-note { padding: 2rem 0; color: var(--muted); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }
.not-found { text-align: center; }
.not-found h1 { margin: .4rem 0 1rem; }
.not-found p { margin-bottom: 1.2rem; }

.pagination ul { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination a, .pagination span { display: block; min-width: 2.4rem; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; color: var(--text); background: var(--white); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination [aria-current] { background: var(--primary); border-color: var(--primary); color: var(--white); font-weight: 700; }
.pagination .gap { border: 0; background: none; }

.article-cover { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 1.6rem; }
.article-content { font-size: 1.05rem; line-height: 1.85; }
.article-content > * + * { margin-top: 1.1rem; }
.article-content h2 { font-size: 1.45rem; margin-top: 2rem; }
.article-content h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.article-content ul { list-style: disc; padding-left: 1.4rem; }
.article-content ol { list-style: decimal; padding-left: 1.4rem; }
.article-content li + li { margin-top: .35rem; }
.article-content blockquote { border-left: 4px solid var(--gold); padding: .4rem 0 .4rem 1.1rem; color: var(--muted); font-style: italic; }
.article-content img { border-radius: var(--radius); }
.article-content table { width: 100%; border-collapse: collapse; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; }
.article-tags { margin-top: 1.6rem; }
.article-cta { margin-top: 2.4rem; padding: 1.6rem; background: var(--bg-grey); border-left: 4px solid var(--primary); }
.article-cta h2 { font-size: 1.25rem; margin-bottom: .4rem; }
.article-cta p { margin-bottom: 1rem; }
.related { margin-top: 2.6rem; display: grid; gap: 1.6rem; }
.related > h2 { font-size: 1.3rem; padding-bottom: .5rem; border-bottom: 2px solid var(--primary); }
@media (max-width: 900px) { .article, .blog-main { min-width: 0; } }

/* 7. PRODUK YANG DIPRODUKSI ---------------------------------------------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; align-items: stretch; }
.prod-card { display: block; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: border-color .2s, box-shadow .2s; }
.prod-card:hover { border-color: var(--primary); box-shadow: var(--shadow); color: inherit; }
.prod-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prod-card-body { display: block; padding: 1rem 1.1rem 1.2rem; border-top: 3px solid var(--primary); }
.prod-card-title { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: .35rem; }
.prod-card:hover .prod-card-title { color: var(--primary); }
.prod-card-text { display: block; font-size: .95rem; color: var(--muted); margin-bottom: .6rem; }
.prod-card-meta { display: block; font-size: .92rem; font-weight: 700; color: var(--primary); }
.center { text-align: center; }
.blog-more.center { margin-top: 2rem; }
.section-head p:not(.section-sub) { margin-top: .8rem; color: var(--muted); }
.chip-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.chip-list a { display: block; padding: .15rem .65rem; font-size: .88rem; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--text); }
.chip-list a:hover { border-color: var(--primary); color: var(--primary); }

.prod-main { min-width: 0; display: grid; gap: 1.6rem; }
.prod-intro { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; align-items: start; }
.prod-intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.prod-count { font-size: 1.25rem; padding-bottom: .5rem; border-bottom: 2px solid var(--primary); }
.item { display: grid; grid-template-columns: 200px 1fr; gap: 1.4rem; padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 100px; }
.item:target { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.item-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.item-body h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.item-body > p { margin-bottom: .9rem; }
.spec { display: grid; gap: 0; margin: 0 0 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.spec > div { display: grid; grid-template-columns: 110px 1fr; gap: .8rem; padding: .45rem .8rem; }
.spec > div + div { border-top: 1px solid var(--line); }
.spec dt { font-weight: 700; color: var(--ink); }
.spec dd { margin: 0; }
.widget-list a.is-current { color: var(--primary); font-weight: 700; }
.widget-list small { color: var(--muted); font-weight: 400; }

@media (max-width: 1024px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .prod-intro, .item { grid-template-columns: 1fr; }
  .item-photo { max-width: 240px; }
  .spec > div { grid-template-columns: 90px 1fr; }
}
@media (max-width: 480px) { .prod-grid { grid-template-columns: 1fr; } }

/* 8. PETA PERSEBARAN (MapLibre GL + OpenFreeMap, tanpa API key) ------------ */
.bmap { position: relative; height: clamp(320px, 52vw, 520px); background: #eef0f1; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bmap.is-failed { display: none; }
.bmap-dot { width: 18px; height: 18px; padding: 0; border: 3px solid var(--white); border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 2px var(--gold), 0 1px 4px rgba(0, 0, 0, .3); cursor: pointer; }
.bmap-dot:hover, .bmap-dot:focus-visible { background: var(--primary-dark); }
.bmap .maplibregl-popup-content { padding: .5rem .75rem; background: var(--ink); color: var(--white); font-family: var(--font-body); font-size: .88rem; line-height: 1.4; border-radius: var(--radius); box-shadow: var(--shadow); }
.bmap .maplibregl-popup-content strong { display: block; color: var(--gold); font-family: var(--font-heading); font-size: .92rem; }
.bmap .maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: var(--ink); }
.bmap .maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: var(--ink); }
.bmap .maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: var(--ink); }
.bmap .maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: var(--ink); }
.map-fallback { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; font-size: .95rem; }
.map-fallback li { background: var(--bg-grey); border: 1px solid var(--line); border-radius: 99px; padding: .25rem .9rem; }
@media (max-width: 640px) { .bmap-dot { width: 14px; height: 14px; border-width: 2px; } }
