/* ============================================================
   CV. Wanda Sejahtera — Modern Scientific Supplier
   Stylesheet tunggal untuk seluruh situs statis.
   ============================================================ */

:root {
  --navy: #0B2942;
  --navy-2: #10395C;
  --navy-deep: #071E31;
  --teal: #008FA8;
  --teal-dark: #007288;
  --blue: #1371C8;
  --bg: #F5F8FA;
  --surface: #FFFFFF;
  --ink: #243746;
  --muted: #5A7184;
  --line: #DCE6EC;
  --line-strong: #C3D2DC;
  --wa: #1FAF54;
  --wa-dark: #178F44;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 41, 66, 0.06), 0 2px 8px rgba(11, 41, 66, 0.05);
  --shadow-md: 0 6px 24px rgba(11, 41, 66, 0.10);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--teal); color: #fff; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Eyebrow / mono labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--teal);
  flex: none;
}
.eyebrow--light { color: #7FD4E0; }
.eyebrow--light::before { background: #7FD4E0; }

.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  min-height: 48px;
  transition: background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out),
              color 0.22s var(--ease-out), transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal); box-shadow: var(--shadow-md); }

.btn--accent { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--teal-dark); box-shadow: var(--shadow-md); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--navy); background: #fff; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-sm); }
.btn--wa:hover { background: var(--wa-dark); box-shadow: var(--shadow-md); }

.btn--sm { padding: 11px 18px; font-size: 14px; min-height: 42px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none !important;
}
.link-arrow svg { transition: transform 0.22s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #B9CDDB;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #DCE9F2; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar-item svg { color: var(--teal); flex: none; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease-out);
}
.navbar.is-scrolled { box-shadow: 0 4px 20px rgba(11, 41, 66, 0.08); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

/* LOGO PLACEHOLDER — ganti blok .brand ini dengan <img> logo resmi.
   Lihat README.md bagian "Mengganti Logo". */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  margin-right: auto;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--teal);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block;
  padding: 10px 13px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 6px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(7, 30, 49, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  width: min(340px, 88vw);
  background: #fff;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer-close {
  width: 44px; height: 44px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  color: var(--navy);
  line-height: 1;
}
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.drawer nav a[aria-current="page"] { color: var(--teal); }
.drawer .btn { width: 100%; margin-top: 24px; }
.drawer-meta {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: #E7F0F6;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 212, 224, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 212, 224, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 480px at 82% 30%, rgba(0, 143, 168, 0.22), transparent 65%);
  z-index: -1;
}
.hero-ticks {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 18px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(127, 212, 224, 0.35) 0 1px,
    transparent 1px 22px
  );
  opacity: 0.5;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 84px 20px 96px;
}
.hero-content { max-width: 640px; }

.hero-title {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0 0 22px;
}
.kl { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.kl > span {
  display: block;
  transform: translateY(112%);
  animation: line-up 0.9s var(--ease-out) forwards;
}
.kl:nth-child(1) > span { animation-delay: 0.15s; }
.kl:nth-child(2) > span { animation-delay: 0.28s; }
.kl:nth-child(3) > span { animation-delay: 0.41s; }
.hero-title .accent { color: #4FC3D6; }

@keyframes line-up {
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: #B9CDDB;
  max-width: 480px;
  margin: 0 0 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-fade {
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) forwards;
  animation-delay: 0.55s;
}
.hero-fade--late { animation-delay: 0.75s; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #8FA9BC;
  border-top: 1px solid rgba(127, 212, 224, 0.18);
  padding-top: 22px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta i {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  flex: none;
  font-style: normal;
}

/* Hero visual — spotlight product frame */
.hero-visual { position: relative; }
.spotlight {
  position: relative;
  background: var(--navy-2);
  border: 1px solid rgba(127, 212, 224, 0.22);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 42%, rgba(127, 212, 224, 0.16), transparent 70%);
  pointer-events: none;
}
.spotlight img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frame-ticks i {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #4FC3D6;
}
.frame-ticks i:nth-child(1) { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.frame-ticks i:nth-child(2) { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.frame-ticks i:nth-child(3) { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.frame-ticks i:nth-child(4) { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.hero-chip {
  position: absolute;
  left: -18px;
  bottom: 34px;
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.hero-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.01em;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy-deep);
  border-top: 1px solid rgba(127, 212, 224, 0.16);
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9FBFD2;
  white-space: nowrap;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
}
.marquee-item::after { content: "//"; color: var(--teal); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections & chapters ---------- */
.section { padding: 88px 0; }
.section--white { background: var(--surface); }
.section--navy { background: var(--navy); color: #E7F0F6; }
.section--tight { padding: 64px 0; }
.section--line { border-top: 1px solid var(--line); }

.chapter {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px 48px;
  margin-bottom: 52px;
  align-items: start;
}
.chapter-no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.1em;
  border-top: 2px solid var(--teal);
  padding-top: 12px;
}
.chapter h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  margin: 0 0 10px;
}
.chapter .chapter-sub {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 620px;
  margin: 0;
}
.section--navy .chapter h2 { color: #fff; }
.section--navy .chapter .chapter-sub { color: #B9CDDB; }

.chapter-link { margin-top: 14px; }

/* ---------- Segments ---------- */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.segment-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.segment-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.segment-card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(0, 143, 168, 0.1);
  color: var(--teal);
  border-radius: 10px;
  margin-bottom: 18px;
}
.segment-card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
.segment-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Category list ---------- */
.cat-list { border-top: 1px solid var(--line); }
.cat-row {
  display: grid;
  grid-template-columns: 64px 1fr auto 44px;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none !important;
  color: var(--ink);
  transition: background-color 0.2s var(--ease-out), padding-left 0.25s var(--ease-out);
}
.cat-row:hover { background: #fff; padding-left: 20px; }
.cat-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.cat-row:hover .cat-num { color: var(--teal); }
.cat-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--navy);
}
.cat-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.cat-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: var(--navy);
  transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.cat-row:hover .cat-arrow {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: rotate(-45deg);
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.product-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-card[hidden] { display: none; }
.pc-media {
  position: relative;
  background: #EDF3F7;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pc-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.product-card:hover .pc-media img { transform: scale(1.045); }
.pc-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 41, 66, 0.88);
  color: #CFE6EE;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
}
.pc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pc-name { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.pc-name a { color: var(--navy); text-decoration: none; }
.pc-name a:hover { color: var(--teal); }
.pc-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 14px; flex: 1; }
.pc-spec {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--teal-dark);
  background: rgba(0, 143, 168, 0.07);
  border-radius: 6px;
  padding: 7px 11px;
  margin: 0 0 16px;
}
.pc-price-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pc-price-note::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--teal);
}
.pc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Why list ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
}
.why-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.why-item .num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--teal);
  border-top: 2px solid var(--teal);
  padding-top: 10px;
}
.why-item h3 { font-size: 17.5px; font-weight: 700; margin: 0 0 6px; }
.why-item p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(127, 212, 224, 0.18);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step .step-no {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  color: #4FC3D6;
  display: block;
  margin-bottom: 16px;
}
.step h3 { color: #fff; font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.step p { color: #A9C0D1; font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- Articles ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  transition: border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.article-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ac-thumb { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--navy); }
.ac-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.ac-meta {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.ac-meta time { color: var(--muted); }
.ac-title { font-size: 17.5px; font-weight: 700; color: var(--navy); margin: 0 0 8px; line-height: 1.35; }
.article-card:hover .ac-title { color: var(--teal); }
.ac-excerpt { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }

/* ---------- Location ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: stretch;
}
.loc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.loc-row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.loc-row .icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: rgba(0, 143, 168, 0.1);
  color: var(--teal);
  border-radius: 10px;
  flex: none;
}
.loc-row h3 { font-size: 15px; margin: 0 0 4px; }
.loc-row p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.65; }
.loc-row a { color: var(--navy); font-weight: 600; }
.loc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  background: #E4ECF1;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 212, 224, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 212, 224, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 36px;
  align-items: center;
}
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 12px; }
.cta-inner p { color: #B9CDDB; margin: 0; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page head / breadcrumbs ---------- */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 52px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 34%;
  background-image:
    linear-gradient(rgba(0, 143, 168, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 143, 168, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-head h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  position: relative;
}
.page-head .lead { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0; position: relative; }

.crumbs { position: relative; }
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--line-strong); margin-right: 6px; }
.crumbs a { color: var(--teal-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Catalog toolbar ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.search-wrap { position: relative; flex: 1 1 280px; max-width: 420px; }
.search-wrap svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 13px 18px 13px 44px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.search-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 143, 168, 0.14); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.chip:hover { border-color: var(--teal); color: var(--teal-dark); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.result-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 26px;
}

.empty-state {
  text-align: center;
  padding: 64px 24px;
  background: #fff;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty-state h2 { font-size: 20px; }
.empty-state p { color: var(--muted); }

.catalog-note {
  margin-top: 40px;
  padding: 18px 22px;
  background: rgba(0, 143, 168, 0.06);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
  color: var(--ink);
}

/* ---------- Product detail ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: start;
}
.gallery { position: sticky; top: 100px; }
.gallery-main {
  position: relative;
  background: #EDF3F7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.gallery-thumbs button {
  flex: 1;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #EDF3F7;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out);
}
.gallery-thumbs button:hover { border-color: var(--teal); }
.gallery-thumbs button[aria-current="true"] { border-color: var(--navy); }
.gallery-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.pd-info .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(0, 143, 168, 0.09);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.pd-info h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 14px; }
.pd-lead { font-size: 16.5px; color: var(--muted); margin-bottom: 26px; }
.pd-section { margin-bottom: 30px; }
.pd-section h2 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.pd-section p { color: var(--ink); font-size: 15px; margin: 0; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.spec-table caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
}
.spec-table th, .spec-table td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 42%;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: var(--bg);
}
.spec-table td { color: var(--ink); }
.spec-note { font-size: 13px; color: var(--muted); margin-top: 10px; font-style: italic; }

.pd-cta {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 26px;
  color: #D7E5EE;
}
.pd-cta p { font-size: 14px; margin: 0 0 18px; }
.pd-cta .btn { margin: 0 10px 10px 0; }

.related-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 32px; }
.related-head h2 { font-size: clamp(22px, 3vw, 30px); margin: 0; }

/* ---------- Prose (article) ---------- */
.article-head { max-width: 760px; margin: 0 auto; }
.article-head h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.02em; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 16px;
}
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-size: 22px;
  margin-top: 44px;
  padding-top: 10px;
  border-top: 2px solid var(--line);
}
.prose p { font-size: 16.5px; line-height: 1.75; color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; line-height: 1.7; }

.article-cta {
  max-width: 760px;
  margin: 52px auto 0;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 30px 32px;
  color: #C9DCE9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.article-cta p { margin: 0; font-size: 15px; max-width: 420px; }
.article-cta strong { color: #fff; display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 21px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 7px;
}
.field label .req { color: #C2433A; }
.field .input, .field .textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 15px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.field .input:focus, .field .textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 143, 168, 0.14);
}
.field .textarea { min-height: 110px; resize: vertical; }
.field.invalid .input, .field.invalid .textarea { border-color: #C2433A; }
.field-error {
  display: none;
  font-size: 13px;
  color: #C2433A;
  margin-top: 6px;
}
.field.invalid .field-error { display: block; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 4px 0 18px; }
.form-success {
  display: none;
  background: rgba(31, 175, 84, 0.1);
  border: 1px solid var(--wa);
  color: var(--wa-dark);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 18px;
}
.form-success.show { display: block; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.contact-stack { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}
.contact-card .icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: rgba(0, 143, 168, 0.1);
  color: var(--teal);
  border-radius: 12px;
}
.contact-card.wa .icon { background: rgba(31, 175, 84, 0.12); color: var(--wa-dark); }
.contact-card h2 { font-size: 16px; margin: 0 0 5px; }
.contact-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 10px; line-height: 1.65; }
.contact-card a.inline {
  font-weight: 600;
  color: var(--teal-dark);
  font-size: 14.5px;
}

/* ---------- Note box / FAQ ---------- */
.note-box {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  font-size: 15px;
}
.note-box strong { color: var(--navy); }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  transition: background-color 0.2s var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg); }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--teal);
  flex: none;
  transition: transform 0.25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.faq .faq-body p { margin: 0; }

/* ---------- About ---------- */
.about-lead {
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
  max-width: 820px;
}
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.fact-list li svg { color: var(--teal); margin-top: 3px; }

/* ---------- 404 ---------- */
.nf { text-align: left; padding: 110px 0; }
.nf-code {
  font-family: var(--font-mono);
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.nf-code span { color: var(--teal); }
.nf h1 { font-size: clamp(22px, 3vw, 30px); }
.nf p { color: var(--muted); max-width: 480px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: #9FB4C4;
  position: relative;
}
.footer::before {
  content: "";
  display: block;
  height: 18px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(127, 212, 224, 0.35) 0 1px,
    transparent 1px 22px
  );
  opacity: 0.4;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer h2, .footer h3 {
  color: #fff;
  font-size: 14px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 14px 0 0; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #9FB4C4; font-size: 14.5px; text-decoration: none; transition: color 0.2s var(--ease-out); }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; font-size: 14px; line-height: 1.75; }
.footer-bottom {
  border-top: 1px solid rgba(127, 212, 224, 0.14);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #7E97A9;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--wa);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(31, 175, 84, 0.4);
  transition: background-color 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.wa-float:hover { background: var(--wa-dark); transform: translateY(-3px) scale(1.04); }
.wa-float::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--wa);
  border-radius: 50%;
  opacity: 0;
  animation: wa-pulse 2.6s var(--ease-out) infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 64px 20px 80px; }
  .hero-visual { max-width: 560px; }
  .hero-chip { left: 12px; }
  .segment-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { position: static; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .chapter { grid-template-columns: 1fr; gap: 8px; }
  .pd-grid { grid-template-columns: 1fr; gap: 36px; }
  .loc-grid, .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 620px) {
  .segment-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cat-row { grid-template-columns: 40px 1fr 40px; }
  .cat-count { display: none; }
  .cat-arrow { width: 40px; height: 40px; }
  .hero-meta { gap: 8px 18px; }
  .form-card { padding: 24px 20px; }
  .loc-card { padding: 24px 20px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (max-width: 430px) {
  .product-grid { grid-template-columns: 1fr; }
  .pc-actions .btn { flex: 1; }
  .hero-cta .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .btn { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .kl > span { transform: none; animation: none; }
  .hero-fade { opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Logo resmi & foto produk asli ---------- */
.brand-logo { height: 44px; width: auto; display: block; }
.footer-brand-icon { width: 42px; height: 42px; border-radius: 10px; display: block; }
@media (max-width: 860px) { .brand-logo { height: 38px; } }

/* Foto produk asli: tampil utuh tanpa terpotong */
.pc-media img,
.gallery-main img,
.gallery-thumbs img,
.spotlight img {
  object-fit: contain;
  background: #FFFFFF;
}
.pc-media, .gallery-main, .gallery-thumbs button { background: #FFFFFF; }
