/* ============================================================
   Tiga Perkasa Teknik — Bengkel Seal Rubber Custom Surabaya
   Stylesheet utama
   ============================================================ */

:root {
  --primary: #51355A;
  --primary-dark: #2A0C4E;
  --primary-light: #6B4A76;
  --accent: #9E2B25;
  --accent-dark: #7C1F1B;
  --dark: #1B0733;
  --text: #33243D;
  --muted: #6A5A73;
  --bg: #FFF8F0;
  --bg-alt: #F5F8DE;
  --border: #E7DCCF;
  --wa: #9E2B25;
  --wa-dark: #7C1F1B;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(27, 7, 51, 0.08);
  --shadow-md: 0 8px 24px rgba(27, 7, 51, 0.12);
  --shadow-lg: 0 20px 48px rgba(27, 7, 51, 0.18);
  --container: 1160px;
}

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

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

body {
  overflow-x: hidden;
  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; }

.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: #fff; box-shadow: 0 6px 18px rgba(158, 43, 37, 0.35); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(158, 43, 37, 0.45); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--primary-dark); color: rgba(255, 255, 255, 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: #fff; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  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: 20px; 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.08rem; color: var(--primary-dark); letter-spacing: 0.2px; }
.brand-text small { font-size: 0.72rem; color: var(--muted); font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; }

.nav-menu { display: flex; gap: 6px; }
.nav-link {
  padding: 8px 13px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover { color: var(--primary); background: rgba(81, 53, 90, 0.07); }
.nav-link[aria-current="page"] { color: var(--primary); background: rgba(81, 53, 90, 0.1); }
.nav-link.active { color: var(--primary-dark); background: var(--bg-alt); }

.nav-cta { padding: 10px 18px; font-size: 0.88rem; }
.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, #2A0C4E 0%, #51355A 55%, #3B1A55 100%);
  color: #fff;
  padding: 84px 0 140px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(158, 43, 37, 0.18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(107, 74, 118, 0.35), 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(158, 43, 37, 0.15);
  border: 1px solid rgba(158, 43, 37, 0.5);
  color: #F5F8DE;
  font-size: 0.82rem;
  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.1rem, 4.5vw, 3.3rem); line-height: 1.15; font-weight: 800; margin-bottom: 18px; }
.hero .accent { color: #F5F8DE; }
.hero .lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.85); max-width: 520px; 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(255, 255, 255, 0.92); font-weight: 500; }
.hero-points li::before {
  content: "✓";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { text-align: center; }
.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;
}
@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; }

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

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block;
  color: var(--accent-dark);
  background: rgba(158, 43, 37, 0.12);
  border: 1px solid rgba(158, 43, 37, 0.35);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  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: #fff; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.75); }
.section-dark .section-tag { color: #F5F8DE; background: rgba(158, 43, 37, 0.12); border-color: rgba(158, 43, 37, 0.4); }

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

/* ---------- Layanan ---------- */
.services-grid { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  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(107, 74, 118, 0.35); }
.card-icon {
  width: 62px; height: 62px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--primary);
  background: rgba(81, 53, 90, 0.08);
  margin-bottom: 20px;
  transition: background 0.22s ease, color 0.22s ease;
}
.card:hover .card-icon { background: var(--primary); color: #fff; }
.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(--accent); color: #fff;
  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: #fff;
  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;
}
.chip-product:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.chip-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--accent); }

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

/* ---------- Galeri ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item {
  background: #fff;
  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-note { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 26px; }

/* ---------- Artikel ---------- */
.articles-grid { grid-template-columns: repeat(3, 1fr); }
.article-card {
  background: #fff;
  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.78rem; 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(--primary-light); }
.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, var(--accent-dark), var(--accent)); color: #fff; 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(255, 255, 255, 0.9); max-width: 560px; }
.cta .btn-wa { background: #fff; color: var(--accent-dark); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.cta .btn-wa:hover { background: #F5F8DE; }

/* ---------- 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(81, 53, 90, 0.08);
  border-radius: 12px;
  font-size: 1.1rem;
}
.contact-list strong { color: var(--primary-dark); }
.contact-list a:hover { color: var(--primary); text-decoration: underline; }

.contact-form {
  background: #fff;
  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 {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(107, 74, 118, 0.12);
}
.form-group input.error, .form-group textarea.error { border-color: #e74c3c; }
.form-note { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* ---------- Katalog Spesialis ---------- */
.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: #fff;
  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(81, 53, 90, 0.3);
}
.category-hub-label {
  color: var(--accent-dark);
  font-size: 0.76rem;
  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(255, 255, 255, 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(255, 255, 255, 0.12);
}
.footer-cta-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: #F5F8DE;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-cta h2 {
  color: #fff;
  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: #fff; }
.footer-cta .btn:hover { background: var(--accent-dark); color: #fff; }
.footer-cta .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); }
.footer-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.footer-tagline {
  display: block;
  margin: -4px 0 12px;
  color: #F5F8DE;
  font-size: 0.78rem;
  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: #F5F8DE; }
.footer-nav a[aria-current="page"] { color: #F5F8DE; }
.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: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }
.footer-nav h4 { color: #fff; 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: #F5F8DE; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; }
.footer-bottom p { font-size: 0.85rem; text-align: center; color: rgba(255, 255, 255, 0.55); }

/* ---------- Floating WA ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(158, 43, 37, 0.45);
  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(--wa-dark); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(158, 43, 37, 0.45), 0 0 0 0 rgba(158, 43, 37, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(158, 43, 37, 0.45), 0 0 0 16px rgba(158, 43, 37, 0); }
}

/* ---------- Animasi muncul saat scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsif
   ============================================================ */
@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; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 72px; }
  .topbar-hide { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed;
    top: 72px;
    right: 0;
    width: min(320px, 85vw);
    height: calc(100vh - 72px);
    flex-direction: column;
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 24px 20px;
    gap: 8px;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); visibility: visible; transition: transform 0.28s ease; }
  .nav-link { font-size: 1.02rem; padding: 12px 14px; }
  .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; }
}

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


/* ---------- Aksesibilitas ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary-dark); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Dropdown produk ---------- */
.nav-item { position: relative; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-item > .nav-link::after { content: "▾"; font-size: 0.72rem; opacity: 0.75; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 250px; padding: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 110;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--text);
}
.dropdown a:hover, .dropdown a:focus { background: var(--bg-alt); color: var(--primary-dark); }
.dropdown small { display: block; font-size: 0.74rem; font-weight: 500; color: var(--muted); margin-top: 1px; }

/* ---------- Katalog produk bergambar ---------- */
.product-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-hub-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-hub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(158, 43, 37, .35); }
.product-hub-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-hub-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-hub-label { font-size: 0.74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.product-hub-body h3 { font-size: 1.1rem; line-height: 1.35; color: var(--primary-dark); }
.product-hub-body p { font-size: 0.92rem; color: var(--muted); flex: 1; }
.product-hub-link { font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.product-hub-card:hover .product-hub-link { color: var(--accent); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 12px 0; font-size: 0.82rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; opacity: .5; }
.breadcrumb a { font-weight: 600; color: var(--primary); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Halaman produk ---------- */
.product-page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 62%, var(--primary-light) 100%); color: #fff; padding: 64px 0 56px; }
.product-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.product-page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.2; margin-bottom: 14px; }
.product-page-hero p { color: rgba(255,255,255,.84); font-size: 1.04rem; max-width: 560px; }
.product-page-hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.product-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 26px; }
.spec-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 12px 14px; }
.spec-item span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.65); margin-bottom: 3px; }
.spec-item strong { font-size: .95rem; color: #fff; }

/* ---------- Artikel: TOC, jawaban singkat, penulis, sumber ---------- */
.answer-box {
  background: var(--bg-alt); border: 1px solid rgba(158, 43, 37, .22);
  border-left: 5px solid var(--accent); border-radius: 12px;
  padding: 18px 22px; margin: 0 0 26px;
}
.answer-box strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.answer-box p { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.7; }
.toc-box { background: #FFFAF3; border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin: 0 0 28px; }
.toc-box strong { display: block; color: var(--primary-dark); font-size: .95rem; margin-bottom: 8px; }
.toc-box ol { margin: 0 0 0 18px; font-size: .92rem; }
.toc-box li { margin-bottom: 5px; }
.toc-box a { color: var(--primary); }
.toc-box a:hover { color: var(--accent); }
.author-box { display: flex; gap: 14px; align-items: flex-start; background: #FFFAF3; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin: 28px 0 0; }
.author-box img { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; background: #fff; padding: 4px; border: 1px solid var(--border); flex: none; }
.author-box p { margin: 0; font-size: .86rem; line-height: 1.6; }
.author-box strong { color: var(--primary-dark); }
.source-list { margin: 8px 0 0 20px; font-size: .86rem; }
.source-list li { margin-bottom: 6px; }
.source-list a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.source-list a:hover { color: var(--accent); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.related-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.related-card span { display: block; padding: 12px 14px 14px; font-weight: 700; font-size: .88rem; color: var(--primary-dark); line-height: 1.4; }
.article-figure { margin: 24px 0; }
.article-figure img { width: 100%; border-radius: 12px; }
.article-figure figcaption { font-size: .78rem; color: var(--muted); margin-top: 8px; line-height: 1.5; }

@media (max-width: 992px) {
  .product-hub-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero-inner { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-item > .nav-link { pointer-events: none; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 10px; min-width: 0; }
  .dropdown a { font-size: .95rem; }
  .product-hub-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ---------- Ikon inline ---------- */
.icon { width: 14px; height: 14px; flex: none; }
.topbar-item .icon { width: 14px; height: 14px; }
.footer-address a,
.footer-address span { display: flex; align-items: flex-start; gap: 8px; }
.footer-address .icon { width: 15px; height: 15px; margin-top: 2px; }
.contact-icon .icon { width: 22px; height: 22px; }

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