/* Sbcskin — styles. 2 warna saja: neutral + ink (lihat design-tokens.md). */

:root {
  --sbc-neutral: #EAEBED;
  --sbc-ink: #1C1D1F;
  --sbc-font-display: 'Didot', 'GFS Didot', 'Playfair Display', Georgia, serif;
  --sbc-font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --line: rgba(28, 29, 31, 0.18);
  --line-soft: rgba(28, 29, 31, 0.1);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sbc-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  background: var(--sbc-neutral);
  color: var(--sbc-ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

main { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- teks utilitas ---------- */

.label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--sbc-font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

/* ---------- tombol ---------- */

.btn {
  display: inline-block;
  font-family: var(--sbc-font-body);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1px solid var(--sbc-ink);
  padding: 0.65rem 1.6rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover { background: var(--sbc-ink); color: var(--sbc-neutral); }

.btn--solid { background: var(--sbc-ink); color: var(--sbc-neutral); }

.btn--solid:hover { background: transparent; color: var(--sbc-ink); }

.btn--lg { padding: 0.85rem 2.4rem; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--sbc-neutral);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
}

.nav__logo img {
  width: 108px;
  height: 44px;
  object-fit: cover; /* crop padding atas-bawah file logo persegi */
  mix-blend-mode: multiply;
}

.nav__menu { display: flex; align-items: center; gap: 1.6rem; }

.nav__menu a:not(.btn) {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.nav__menu a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 4.5rem 0 4rem;
}

.hero__title {
  font-family: var(--sbc-font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.hero__desc { max-width: 44ch; margin-bottom: 2.2rem; }

.hero__img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* ---------- pills manfaat ---------- */

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0 0 3.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--sbc-ink);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.pill svg { width: 18px; height: 18px; flex: none; }

/* ---------- pita bukti ---------- */

.proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 3rem;
  row-gap: 0.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
}

/* ---------- katalog ---------- */

.katalog { padding: 5rem 0 4rem; text-align: center; }

.katalog__group { margin-top: 3rem; }

.katalog__kategori {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  padding-bottom: 0.9rem;
  margin: 0 auto 2rem;
  max-width: 320px;
  border-bottom: 1px solid var(--line);
}

.katalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 2.5rem;
  text-align: left;
}

/* placeholder foto produk yang belum ada */
.imgph {
  aspect-ratio: 4 / 5;
  width: 100%;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.imgph .imgph__logo {
  width: 90px;
  height: 38px;
  aspect-ratio: auto;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.imgph span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  opacity: 0.55;
}

.imgph--tall { max-height: 520px; }

.card { text-decoration: none; display: block; }

.card__imgwrap { overflow: hidden; margin-bottom: 1.1rem; }

.card__imgwrap img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  transition: transform 0.6s ease;
}

.card:hover .card__imgwrap img { transform: scale(1.03); }

.card__label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  margin-bottom: 0.4rem;
}

.card__name {
  font-family: var(--sbc-font-display);
  font-weight: 400;
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.card__untuk { font-size: 0.9rem; opacity: 0.75; margin-bottom: 0.5rem; }

.card__price { letter-spacing: 0.03em; margin-bottom: 0.8rem; }

.card__cta {
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--sbc-ink);
  padding-bottom: 2px;
}

.card:hover .card__cta { opacity: 0.65; }

/* ---------- section keluarga ---------- */

.keluarga {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 3.5rem;
  padding: 4rem 0 5rem;
}

.keluarga__img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.keluarga__text p:not(.label) { max-width: 52ch; margin-bottom: 1rem; }

/* ---------- kutipan ---------- */

.quote {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 4.5rem 1rem;
}

.quote__text {
  font-family: var(--sbc-font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.quote__cite {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}

/* ---------- halaman produk ---------- */

.pdp { padding-top: 1.6rem; }

.pdp__crumb { font-size: 0.85rem; opacity: 0.75; margin-bottom: 2rem; }

.pdp__crumb a { text-decoration: none; }

.pdp__crumb a:hover { text-decoration: underline; }

.pdp__layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  padding-bottom: 5rem;
}

.pdp__gallery { display: grid; gap: 1.2rem; align-content: start; }

.pdp__gallery img { width: 100%; object-fit: cover; }

.pdp__info { position: sticky; top: 5.5rem; align-self: start; }

.pdp__name {
  font-family: var(--sbc-font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.pdp__untuk { opacity: 0.75; margin-bottom: 1rem; }

.pdp__price { font-size: 1.25rem; letter-spacing: 0.03em; margin-bottom: 1.4rem; }

.pdp__desc { max-width: 50ch; margin-bottom: 1.6rem; }

.pdp__klaim { list-style: none; margin-bottom: 2rem; }

.pdp__klaim li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
}

.pdp__klaim svg { width: 15px; height: 15px; flex: none; transform: translateY(2px); }

.pdp__buy { width: 100%; text-align: center; }

.pdp__buynote { font-size: 0.85rem; opacity: 0.75; margin-top: 0.7rem; }

.pdp__cara { margin-top: 2.6rem; }

.pdp__cara ol { padding-left: 1.2rem; }

.pdp__cara li { margin-bottom: 0.4rem; }

.pdp__quote {
  margin-top: 2.8rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.pdp__quote .quote__text { font-size: 1.4rem; margin-bottom: 0.6rem; }

/* ---------- footer ---------- */

.footer {
  background: var(--sbc-ink);
  color: var(--sbc-neutral);
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
}

.footer__logo {
  width: 130px;
  height: 54px;
  object-fit: cover;
  mix-blend-mode: screen; /* latar hitam file logo lebur ke footer ink */
  margin: 0 auto 0.8rem;
}

.footer__tagline {
  font-family: var(--sbc-font-display);
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__links a {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.footer__links a:hover { text-decoration: underline; text-underline-offset: 5px; }

.footer__note {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10.5px;
  opacity: 0.75;
  margin-bottom: 1.6rem;
}

.footer__copy { font-size: 0.82rem; opacity: 0.6; }

/* ---------- mobile ---------- */

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding: 2.8rem 0 3rem;
    text-align: center;
  }

  .hero__desc { margin-left: auto; margin-right: auto; }

  .keluarga { grid-template-columns: 1fr; gap: 2.2rem; padding: 3rem 0 3.5rem; }

  .pdp__layout { grid-template-columns: 1fr; gap: 2.2rem; }

  .pdp__info { position: static; }

  .katalog { padding: 3.5rem 0 3rem; }

  .nav { padding: 0.5rem 1rem; }

  .nav__menu { gap: 1rem; }

  .nav__menu a:not(.btn) { display: none; } /* mobile: logo + tombol Belanja saja */

  .proof { column-gap: 1.4rem; }
}
