/* ============================================================
   PT Tiga Perkasa — Expansion Joint Metal & Rubber
   Stylesheet utama (turunan layout tigaperkasa.id)
   Palet: #a5d0a8 #8cada7 #110b11 #b7990d #f2f4cb
   ============================================================ */

:root {
  --primary: #110b11;
  --primary-dark: #110b11;
  --primary-light: #3a323a;
  --accent: #b7990d;
  --accent-dark: #7a6608;
  --sage: #a5d0a8;
  --sage-dark: #8cada7;
  --cream: #f2f4cb;
  --dark: #110b11;
  --text: #241f24;
  --muted: #5f5a5f;
  --bg: #fffefa;
  --bg-alt: #f2f4cb;
  --border: #dfe2cf;
  --wa: #a5d0a8;
  --wa-dark: #8cada7;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(17, 11, 17, 0.08);
  --shadow-md: 0 8px 24px rgba(17, 11, 17, 0.12);
  --shadow-lg: 0 20px 48px rgba(17, 11, 17, 0.2);
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--primary);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; border-radius: 12px; }
.btn-wa { background: var(--wa); color: #110b11; box-shadow: 0 6px 18px rgba(140, 173, 167, 0.4); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(140, 173, 167, 0.5); }
.btn-primary { background: var(--primary); color: var(--cream); }
.btn-primary:hover { background: var(--accent); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(242, 244, 203, 0.65); }
.btn-ghost:hover { background: rgba(242, 244, 203, 0.14); border-color: var(--cream); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--primary-dark); color: rgba(242, 244, 203, 0.85); font-size: 0.82rem; padding: 7px 0; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-link:hover { color: var(--sage); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 250, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: auto;
  height: 44px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.06rem; color: var(--primary-dark); letter-spacing: 0.2px; }
.brand-text small { font-size: 0.68rem; color: var(--muted); font-weight: 700; letter-spacing: 0.35px; text-transform: uppercase; }

.nav-menu { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--primary); background: rgba(183, 153, 13, 0.12); }
.nav-link[aria-current="page"] { color: var(--primary); background: rgba(165, 208, 168, 0.45); }

.nav-cta { padding: 10px 16px; font-size: 0.86rem; white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--primary-dark); border-radius: 3px; transition: transform 0.25s ease, opacity 0.25s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #110b11 0%, #1d161d 55%, #2a222a 100%);
  color: var(--cream);
  padding: 84px 0 140px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(165, 208, 168, 0.2), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(183, 153, 13, 0.25), transparent 45%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }

.badge {
  display: inline-block;
  background: rgba(165, 208, 168, 0.14);
  border: 1px solid rgba(165, 208, 168, 0.55);
  color: #d7ead8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.05rem, 4.4vw, 3.25rem); line-height: 1.14; font-weight: 800; margin-bottom: 18px; }
.hero h1 .accent { color: var(--sage); }
.hero h1 .accent-gold { color: var(--accent); }
.hero .lead { font-size: 1.1rem; color: rgba(242, 244, 203, 0.84); max-width: 540px; margin-bottom: 26px; }

.hero-points { display: grid; gap: 10px; margin-bottom: 32px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(242, 244, 203, 0.94); font-weight: 500; }
.hero-points li::before {
  content: "✓";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  display: grid; place-items: center;
  background: var(--sage);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { text-align: center; position: relative; }
.hero-visual img {
  width: 100%; max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(242, 244, 203, 0.18);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18px -6px -18px 18px;
  border: 1px solid rgba(183, 153, 13, 0.55);
  border-radius: var(--radius);
  z-index: -1;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { display: block; }
.hero-wave path { fill: var(--bg); }

/* ---------- Section umum ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(135deg, var(--dark), #2a222a); color: var(--cream); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block;
  color: var(--accent-dark);
  background: rgba(183, 153, 13, 0.12);
  border: 1px solid rgba(183, 153, 13, 0.4);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--primary-dark); line-height: 1.25; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section-dark .section-head h2 { color: var(--cream); }
.section-dark .section-head p { color: rgba(242, 244, 203, 0.78); }
.section-dark .section-tag { color: #d7ead8; background: rgba(165, 208, 168, 0.12); border-color: rgba(165, 208, 168, 0.45); }

.grid { display: grid; gap: 26px; }

/* ---------- Layanan ---------- */
.services-grid { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(183, 153, 13, 0.55); }
.card-icon {
  width: 62px; height: 62px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--primary);
  background: rgba(165, 208, 168, 0.4);
  margin-bottom: 20px;
  transition: background 0.22s ease, color 0.22s ease;
}
.card:hover .card-icon { background: var(--primary); color: var(--sage); }
.service-card h3 { font-size: 1.15rem; color: var(--primary-dark); margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Tentang ---------- */
.about-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-visual img { width: 100%; max-width: 420px; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--primary-dark); line-height: 1.25; margin: 4px 0 18px; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-checks { margin: 22px 0 28px; display: grid; gap: 10px; }
.about-checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--text); }
.about-checks li::before {
  content: "✓";
  flex: none; width: 22px; height: 22px; margin-top: 2px;
  display: grid; place-items: center;
  background: var(--sage); color: var(--primary);
  border-radius: 50%; font-size: 0.72rem; font-weight: 800;
}

/* ---------- Produk ---------- */
.products-grid { grid-template-columns: repeat(4, 1fr); }
.chip-product {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.chip-product:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); background: #fff; }
.chip-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--accent); }
.chip-product:nth-child(2n) .chip-dot { background: var(--sage-dark); }
.chip-product:nth-child(3n) .chip-dot { background: var(--sage); }

/* ---------- Proses ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: rgba(242, 244, 203, 0.06);
  border: 1px solid rgba(242, 244, 203, 0.16);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.step:hover { transform: translateY(-5px); background: rgba(242, 244, 203, 0.1); }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(183, 153, 13, 0.4);
}
.step h3 { color: var(--cream); font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: rgba(242, 244, 203, 0.72); font-size: 0.92rem; }

/* ---------- Galeri ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item figcaption { padding: 14px 18px; font-weight: 700; color: var(--primary-dark); font-size: 0.95rem; }
.gallery-item figcaption small { display: block; margin-top: 3px; font-weight: 500; font-size: 0.72rem; color: var(--muted); }
.gallery-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 26px; }
.gallery-note a { color: var(--accent-dark); text-decoration: underline; }

/* ---------- Artikel ---------- */
.articles-grid { grid-template-columns: repeat(3, 1fr); }
.article-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.article-thumb { display: block; overflow: hidden; }
.article-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.35s ease; }
.article-card:hover .article-thumb img { transform: scale(1.06); }
.article-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-date { font-size: 0.76rem; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.6px; }
.article-body h3 { font-size: 1.06rem; line-height: 1.4; }
.article-body h3 a { color: var(--primary-dark); }
.article-body h3 a:hover { color: var(--accent-dark); }
.article-body p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.article-link { font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.article-link:hover { color: var(--accent-dark); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, #8c7a06, var(--accent)); color: var(--primary); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.25; margin-bottom: 10px; }
.cta p { color: rgba(17, 11, 17, 0.82); max-width: 560px; }
.cta .btn-wa { background: var(--primary); color: var(--cream); box-shadow: 0 8px 24px rgba(17, 11, 17, 0.28); }
.cta .btn-wa:hover { background: #2a222a; }

/* ---------- Kontak ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--primary-dark); line-height: 1.25; margin: 4px 0 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(165, 208, 168, 0.45);
  border-radius: 12px;
  font-size: 1.1rem;
}
.contact-list strong { color: var(--primary-dark); }
.contact-list a:hover { color: var(--accent-dark); text-decoration: underline; }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { color: var(--primary-dark); margin-bottom: 22px; font-size: 1.25rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fbfcf3;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(183, 153, 13, 0.16);
}
.form-group input.error, .form-group textarea.error { border-color: #b3261e; }
.form-note { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* ---------- Katalog / kartu hub ---------- */
.category-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.category-hub-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.category-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(183, 153, 13, 0.5);
}
.category-hub-label {
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.category-hub-card h3 { color: var(--primary-dark); font-size: 1.18rem; line-height: 1.3; }
.category-hub-card p { color: var(--muted); font-size: 0.94rem; }
.category-hub-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--primary);
  font-weight: 700;
}
.category-hub-link:hover { color: var(--accent-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(242, 244, 203, 0.8); padding-top: 40px; }
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0 34px;
  border-bottom: 1px solid rgba(242, 244, 203, 0.14);
}
.footer-cta-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-cta h2 {
  color: var(--cream);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.28;
  margin-bottom: 10px;
}
.footer-cta p { max-width: 700px; font-size: 0.92rem; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta .btn { background: var(--accent); color: var(--primary); }
.footer-cta .btn:hover { background: var(--sage); color: var(--primary); }
.footer-tagline {
  display: block;
  margin: -4px 0 12px;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-address { font-style: normal; margin-top: 16px; }
.footer-address a,
.footer-address span { display: block; font-size: 0.88rem; margin-bottom: 8px; }
.footer-address a:hover { color: var(--sage); }
.footer-nav a[aria-current="page"] { color: var(--sage); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand strong { display: block; color: var(--cream); font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }
.footer-nav h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.4px; }
.footer-nav a, .footer-nav span { display: block; font-size: 0.9rem; margin-bottom: 10px; }
.footer-nav a:hover { color: var(--sage); }
.footer-bottom { border-top: 1px solid rgba(242, 244, 203, 0.14); padding: 18px 0; }
.footer-bottom p { font-size: 0.85rem; text-align: center; color: rgba(242, 244, 203, 0.6); }
.footer-bottom a { color: rgba(242, 244, 203, 0.8); text-decoration: underline; }

/* ---------- Floating WA ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--primary);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(140, 173, 167, 0.55);
  transition: transform 0.2s ease, background 0.2s ease;
  animation: pulse 2.4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); background: var(--sage-dark); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(140, 173, 167, 0.55), 0 0 0 0 rgba(165, 208, 168, 0.5); }
  50% { box-shadow: 0 8px 24px rgba(140, 173, 167, 0.55), 0 0 0 16px rgba(165, 208, 168, 0); }
}

/* ---------- Animasi muncul saat scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img, .wa-float { animation: none; }
}

/* ============================================================
   Halaman produk & utilitas
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #241c24 60%, #3a323a 100%);
  color: var(--cream);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(165, 208, 168, 0.18), transparent 45%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: rgba(242, 244, 203, 0.68); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--sage); text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--cream); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.2; max-width: 860px; margin-bottom: 14px; }
.page-hero .lead { color: rgba(242, 244, 203, 0.82); max-width: 760px; font-size: 1.04rem; }

.page-body { padding: 56px 0 80px; }
.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.page-content {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 38px 42px;
  min-width: 0;
}
.page-content > img.page-cover { width: 100%; border-radius: 12px; margin-bottom: 26px; aspect-ratio: 16 / 9; object-fit: cover; }
.page-content h2 { color: var(--primary-dark); font-size: 1.42rem; margin: 32px 0 12px; line-height: 1.35; }
.page-content h3 { color: var(--primary-dark); font-size: 1.15rem; margin: 24px 0 10px; }
.page-content p { color: var(--muted); margin-bottom: 16px; line-height: 1.75; }
.page-content .article-lead { color: var(--text); font-size: 1.06rem; font-weight: 500; border-left: 4px solid var(--accent); padding: 4px 0 4px 16px; margin-bottom: 20px; }
.page-content ul, .page-content ol { margin: 0 0 18px 22px; color: var(--muted); line-height: 1.75; }
.page-content li { margin-bottom: 8px; }
.page-content li::marker { color: var(--accent); font-weight: 700; }
.page-content ul.article-list { list-style: disc; padding-left: 4px; }
.page-content ol.article-list { list-style: decimal; padding-left: 4px; }
.page-content strong { color: var(--text); }
.page-content a:not(.btn) { color: #6f5b06; text-decoration: underline; text-underline-offset: 2px; }
.page-content a:not(.btn):hover { color: var(--primary); }

.key-takeaways {
  background: rgba(165, 208, 168, 0.22);
  border: 1px solid rgba(140, 173, 167, 0.55);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 24px 0;
}
.key-takeaways h2, .key-takeaways h3 { margin: 0 0 10px; font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary-dark); }
.key-takeaways ul { margin: 0 0 0 20px; list-style: disc; }
.key-takeaways li::marker { color: var(--accent-dark); }
.key-takeaways li { color: var(--text); font-size: 0.94rem; margin-bottom: 6px; }

.answer-box {
  background: #fbfcf3;
  border-left: 4px solid var(--sage-dark);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 0 0 20px;
}
.answer-box p { margin: 0; color: var(--text); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0 24px; }
.feature-item {
  background: #fbfcf3;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.feature-item strong { display: block; color: var(--primary-dark); margin-bottom: 4px; }
.feature-item span { color: var(--muted); font-size: 0.9rem; }

.spec-table-wrap { overflow-x: auto; margin: 20px 0 26px; border: 1px solid var(--border); border-radius: 12px; }
.spec-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.9rem; }
.spec-table th { background: var(--bg-alt); color: var(--primary-dark); text-align: left; font-weight: 700; padding: 12px 14px; }
.spec-table td { padding: 12px 14px; border-top: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.spec-table tbody tr:nth-child(even) { background: #fbfcf3; }
.spec-table td:first-child { color: var(--text); font-weight: 600; width: 34%; }

.product-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.sidebar-box h3 { color: var(--primary-dark); font-size: 1.05rem; margin-bottom: 16px; }
.sidebar-box p { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.sidebar-links { display: grid; gap: 8px; }
.sidebar-links a { font-size: 0.9rem; font-weight: 600; color: var(--primary-dark); padding: 9px 12px; border-radius: 8px; background: #f7f8e9; }
.sidebar-links a:hover, .sidebar-links a[aria-current="page"] { background: var(--sage); color: var(--primary); }
.sidebar-article { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.sidebar-article:last-child { border-bottom: 0; padding-bottom: 0; }
.sidebar-article img { width: 68px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.sidebar-article a { font-size: 0.85rem; font-weight: 700; color: var(--primary-dark); line-height: 1.4; }
.sidebar-article a:hover { color: var(--accent-dark); }

.related-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.related-product {
  display: flex; gap: 12px; align-items: center;
  border: 1px solid var(--border); border-radius: 12px; padding: 10px;
  background: #fbfcf3;
}
.related-product img { width: 62px; height: 50px; object-fit: cover; border-radius: 8px; flex: none; }
.related-product strong { display: block; font-size: 0.88rem; color: var(--primary-dark); }
.related-product small { color: var(--muted); font-size: 0.75rem; }

/* ---------- TOC ---------- */
.article-toc {
  background: #fbfcf3;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
}
.article-toc strong { display: block; color: var(--primary-dark); margin-bottom: 8px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.article-toc ol { margin: 0 0 0 18px; }
.article-toc li { margin-bottom: 4px; font-size: 0.9rem; }
.article-toc a { color: var(--primary-dark); font-weight: 600; text-decoration: none; }
.article-toc a:hover { color: var(--accent-dark); text-decoration: underline; }

/* ---------- FAQ / detail ---------- */
.faq-item { border: 1px solid var(--border); border-radius: 12px; padding: 0; margin-bottom: 12px; background: var(--bg); overflow: hidden; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 0.95rem; color: var(--primary-dark); padding: 14px 18px; list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--accent-dark); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 18px 16px; font-size: 0.92rem; }
.faq-item summary:hover { background: #fbfcf3; }

/* ---------- Referensi & kredit ---------- */
.references { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--border); }
.references h2 { margin-top: 0; font-size: 1.1rem; }
.references ol { margin: 0 0 0 20px; font-size: 0.86rem; }
.references li { margin-bottom: 6px; color: var(--muted); }
.references a { overflow-wrap: anywhere; }

.photo-credit { font-size: 0.74rem; color: var(--muted); margin: -18px 0 24px; line-height: 1.5; }
.photo-credit a { color: inherit; text-decoration: underline; }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 10px; margin: 24px 0 30px; }
.search-form input { flex: 1; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 10px; background: #fbfcf3; }
.search-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(183, 153, 13, 0.16); background: #fff; }
.search-results { display: grid; gap: 14px; }
.search-result { border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; background: #fbfcf3; }
.search-result h3 { margin: 0 0 4px; font-size: 1.02rem; }
.search-result h3 a { color: var(--primary-dark); text-decoration: none; }
.search-result h3 a:hover { color: var(--accent-dark); text-decoration: underline; }
.search-result p { margin: 0; font-size: 0.9rem; }
.search-empty { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   Responsif
   ============================================================ */
@media (max-width: 1080px) {
  .nav-link { padding: 8px 8px; font-size: 0.84rem; }
}

@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-points { justify-items: center; }
  .hero-points li { text-align: left; }
  .hero-actions { justify-content: center; }
  .hero { padding-bottom: 110px; }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-checks { justify-items: center; }
  .about-checks li { text-align: left; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .category-hub-grid { grid-template-columns: 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-cta-actions { width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .product-sidebar { order: 2; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed;
    top: 72px;
    right: 0;
    width: min(330px, 86vw);
    height: calc(100vh - 72px);
    flex-direction: column;
    background: var(--bg);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 24px 20px;
    gap: 8px;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    z-index: 120;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { font-size: 1.02rem; padding: 12px 14px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 72px; }
  .topbar-hide { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta-inner { flex-direction: column; text-align: center; }
  .contact-form { padding: 26px 20px; }
  .footer-cta-actions { flex-direction: column; }
  .footer-cta-actions .btn { width: 100%; text-align: center; }
  .page-content { padding: 26px 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .related-products { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .search-form { flex-direction: column; }
}

/* ============================================================
   Tambahan: kartu produk, pencarian, dan utilitas
   ============================================================ */
.product-card .article-thumb img { aspect-ratio: 4 / 3; }
.product-card .article-body p { flex: 0 1 auto; }
.section-foot { text-align: center; margin-top: 34px; }
.section-foot .btn { min-width: 240px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.form-group select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fbfcf3;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(183, 153, 13, 0.16);
  background: #fff;
}

.spec-table thead th { border-bottom: 1px solid var(--border); }
