/* ==========================================================================
   Halaman produk (produk.html). Token dan komponen bersama ada di base.css.
   ========================================================================== */

/* ---------- Hero ---------- */
.phero {
  padding: clamp(40px, 6vw, 80px) 0 0;
  border-bottom: var(--border);
}
.phero .crumb {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.phero .crumb a {
  text-decoration: none;
}
.phero .crumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.phero .crumb span {
  margin-inline: 10px;
}
.phero .crumb b {
  font-weight: 600;
  color: var(--ink);
}
.phero h1 {
  margin-top: var(--space-5);
  max-width: 18ch;
  text-wrap: balance;
}
.phero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 52%, var(--yellow) 52%, var(--yellow) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.phero__lead {
  margin-top: var(--space-5);
  max-width: 58ch;
  font-size: 1.06rem;
  color: var(--ink-muted);
}

/* daftar produk di bawah hero: tiga kartu folder */
.pindex {
  margin-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.pindex ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-7) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pindex li {
  --fill: var(--coral);
}
.pindex li:nth-child(2) {
  --fill: var(--yellow);
}
.pindex li:nth-child(3) {
  --fill: var(--teal);
}
.pindex a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--fill);
  border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.pindex a::before {
  /* tab folder */
  content: '';
  position: absolute;
  right: 0;
  top: -19px;
  width: 104px;
  height: 20px;
  background: var(--fill);
  border-radius: 10px 10px 0 0;
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%);
}
.pindex a:hover {
  transform: translateY(-6px);
}
.pindex i {
  font-family: var(--mono);
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
}
.pindex img {
  width: auto;
  height: 30px;
  align-self: flex-start;
  padding: 8px 12px;
  box-sizing: content-box;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-sm);
}
.pindex span {
  font-size: 0.95rem;
}
.pindex b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--space-3);
  font-weight: 600;
  font-size: 0.9rem;
}
.pindex b svg {
  width: 16px;
  height: 16px;
}

/* ---------- Rincian tiap produk ---------- */
.pdet {
  padding-block: var(--sec);
  border-bottom: var(--border);
}
.pdet__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.pdet__side {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
}
.pdet__logo {
  width: auto;
  height: 40px;
  margin-bottom: var(--space-5);
}
.pdet__side h2 {
  max-width: 18ch;
}
.pdet__lead {
  margin-top: var(--space-4);
  color: var(--ink-muted);
}
.facts {
  display: grid;
  gap: 0;
  margin: var(--space-5) 0 0;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.facts div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: var(--space-3);
  padding: 12px var(--space-4);
  border-bottom: 1px solid var(--line-soft);
}
.facts div:last-child {
  border-bottom: 0;
}
.facts dt {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.facts dd {
  margin: 0;
  font-size: 0.93rem;
}
.pdet__act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-5);
  margin-top: var(--space-6);
}

.pdet__main {
  display: grid;
  gap: var(--space-5);
}
.pblock {
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-lg);
}
.pblock h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-4);
}
.pblock h3 i {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: var(--border);
  border-radius: 50%;
  background: var(--tone, var(--yellow));
  font-style: normal;
  font-size: 0.85rem;
}
.pblock:nth-child(2) h3 i {
  --tone: var(--teal);
}
.pblock:nth-child(3) h3 i {
  --tone: var(--coral);
}
.pblock:nth-child(4) h3 i {
  --tone: var(--purple);
}
.pblock > p {
  color: var(--ink-muted);
  margin-bottom: var(--space-4);
}
.ticks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.96rem;
}
.ticks li::before {
  content: '';
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.parts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.parts li {
  padding: var(--space-4);
  border: var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.parts b {
  display: block;
  font-family: var(--mono);
}
.parts small {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.75rem;
}
.parts p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.pairs {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pairs li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.93rem;
}
.pairs span {
  padding: 12px var(--space-4);
}
.pairs span + span {
  background: var(--yellow-soft);
  border-left: var(--border);
  font-weight: 500;
}
.steps {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  position: relative;
  min-height: 32px;
  padding: 4px 0 0 46px;
  font-size: 0.96rem;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 0.8rem;
}

/* ---------- Produk dan layanan ---------- */
.sec {
  padding-block: var(--sec);
}
.chead {
  max-width: 720px;
  margin-bottom: var(--space-7);
}
.chead h2 {
  margin-bottom: var(--space-4);
}
.chead > p:not(.pill) {
  color: var(--ink-muted);
}
.eco {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.eco li {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: var(--space-5);
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-lg);
}
.eco i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: var(--border);
  border-radius: 50%;
  background: var(--tone, var(--coral));
  font-family: var(--mono);
  font-style: normal;
  font-weight: 800;
  font-size: 0.8rem;
}
.eco li:nth-child(2) i {
  --tone: var(--yellow);
}
.eco li:nth-child(3) i {
  --tone: var(--teal);
}
.eco p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ---------- Ajakan ---------- */
.call {
  padding-block: var(--sec);
  border-top: var(--border);
}
.call__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
}
.call__main h2 {
  max-width: 22ch;
}
.call__lead {
  margin-top: var(--space-4);
  max-width: 52ch;
  color: var(--ink-muted);
}
.call__act {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.call__side {
  padding: var(--space-5);
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--pop);
}
.call__k {
  margin-bottom: var(--space-3);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.call__side ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.call__side li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.call__side li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.call__side a {
  font-weight: 600;
}

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .pdet__grid,
  .call__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pdet__side {
    position: static;
  }
}
@media (max-width: 860px) {
  .pindex ol,
  .eco {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .parts,
  .pairs li {
    grid-template-columns: minmax(0, 1fr);
  }
  .pairs span + span {
    border-left: 0;
    border-top: var(--border);
  }
  .facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}
