/* ============================================================
   PREMA KONVEKSI — style.css
   Warna & ukuran utama ada di :root. Mobile-first:
   aturan dasar untuk HP, lalu @media (min-width) untuk layar besar.
   ============================================================ */

:root {
  --hitam: #141010;
  --krem: #FFF8EC;
  --merah: #CF2A29;
  --merah-terang: #FF5A4E;
  --kuning: #FDE47F;
  --hijau-wa: #25D366;
  --wa-ink: #062A14;
  --kartu-terang: #FFFCF5;
  --teks-redup-terang: #5A4E4A;
  --garis-gelap: rgba(255, 248, 236, .1);

  --f-judul: "Montserrat", "Arial Black", system-ui, sans-serif;
  --f-isi: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(2.5rem, 1.7rem + 3.6vw, 4.5rem);
  --fs-section: clamp(1.875rem, 1.4rem + 2vw, 3rem);
  --fs-big: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
  --fs-sub: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: clamp(.9375rem, .9rem + .15vw, 1rem);
  --fs-label: clamp(.75rem, .72rem + .1vw, .8125rem);

  --gutter: 20px;
  --section-y: clamp(4.5rem, 3.4rem + 4.8vw, 7.5rem);
  --radius: 20px;
  --header-h: 100px;
  --dock-h: 64px;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--krem);
  color: var(--hitam);
  font-family: var(--f-isi);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: clip;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--kuning); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible, .strip:focus-visible, .consent :focus-visible { outline-color: var(--hitam); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--kuning); color: var(--hitam); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.ico { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--lg { width: 36px; height: 36px; }
.ico--star { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--bleed { padding-inline: 0; }
.container--narrow { max-width: calc(840px + var(--gutter) * 2); }
.center { display: flex; justify-content: center; margin-top: 40px; }

.dark { background: var(--hitam); color: var(--krem); }
.light { background: var(--krem); color: var(--hitam); }

.section { padding-block: var(--section-y); }
.section--tight-top { padding-top: 0; }

.section-title {
  font-family: var(--f-judul); font-weight: 800; font-size: var(--fs-section);
  line-height: 1.08; letter-spacing: -.015em; max-width: 22ch; margin-bottom: clamp(32px, 4vw, 56px);
  text-wrap: balance;
}
.accent { color: var(--merah); }
.dark .accent { color: var(--merah-terang); }

.label {
  display: inline-block; font-family: var(--f-judul); font-weight: 700; font-size: var(--fs-label);
  letter-spacing: .08em; text-transform: uppercase;
}
.label--yellow { background: var(--kuning); color: var(--hitam); padding: 6px 12px; border-radius: 6px; transform: rotate(-2deg); }

.note { font-size: 13px; color: var(--teks-redup-terang); margin-top: 16px; }
.note--dark { color: rgba(255, 248, 236, .66); }

.sticker {
  display: inline-block; font-family: var(--f-judul); font-weight: 800; font-size: var(--fs-label);
  letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 8px;
  border: 2px solid var(--hitam); transform: rotate(-4deg); white-space: nowrap;
}
.sticker--yellow { background: var(--kuning); color: var(--hitam); }
.sticker--red { background: var(--merah); color: var(--krem); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--merah); min-height: 44px; }
.text-link .ico { width: 18px; height: 18px; }

/* ---------- Tombol ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-family: var(--f-judul); font-weight: 700; font-size: 15px; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; text-align: center; transition: transform .12s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--xl { min-height: 64px; padding: 0 32px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--wa { background: var(--hijau-wa); color: var(--wa-ink); overflow: hidden; isolation: isolate; }
.btn--wa::after, .dock::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: kilau 4s ease-in-out infinite;
}
@keyframes kilau { 0% { transform: translateX(-120%); } 20%, 100% { transform: translateX(120%); } }

.btn--ghost { background: transparent; color: var(--krem); border: 2px solid var(--krem); }
.btn--ghost:hover { background: rgba(255, 248, 236, .08); }
.btn--dark { background: var(--hitam); color: var(--krem); }
.btn--ghost-dark { background: transparent; color: var(--hitam); border: 2px solid var(--hitam); }

.only-desktop { display: none; }

/* ---------- Teks berjalan (marquee) ---------- */
.marquee { overflow: hidden; display: flex; user-select: none; }
.marquee__track { display: flex; width: max-content; animation: jalan 30s linear infinite; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes jalan { to { transform: translateX(-50%); } }

/* ---------- 0. Strip promo + 1. Navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.strip {
  display: flex; align-items: center; height: 42px; background: linear-gradient(90deg, #E01B1B, #FF5A1F 50%, #E01B1B); color: #fff;
  text-decoration: none; font-family: var(--f-judul); font-weight: 800; font-size: var(--fs-label);
  letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s;
}
.strip .marquee { width: 100%; }
.strip__item { white-space: nowrap; padding-right: 2.5em; }
.strip.is-urgent { background: linear-gradient(90deg, #B80D0D, #E01B1B 50%, #B80D0D); color: #fff; }
.strip__hot { background: var(--kuning); color: var(--hitam); padding: 3px 9px; border-radius: 4px; font-weight: 900; animation: kedip 1.4s ease-in-out infinite; }
@keyframes kedip { 0%, 100% { box-shadow: 0 0 0 0 rgba(253, 228, 127, .7); } 50% { box-shadow: 0 0 0 6px rgba(253, 228, 127, 0); } }
@media (prefers-reduced-motion: reduce) { .strip__hot { animation: none; } }

.nav { background: var(--hitam); color: var(--krem); transition: background .3s; }
.site-header.is-scrolled .nav { background: rgba(20, 16, 16, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.nav__brand { font-family: var(--f-judul); font-weight: 900; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.nav__brand span { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .28em; margin-top: 3px; opacity: .75; }
.nav__menu { display: none; }

/* Logo bingkai lingkaran */
.logo-circle { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--merah); flex-shrink: 0; }
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.logo-circle--xs { width: 40px; }
.logo-circle--sm { width: 40px; }
.logo-circle--md { width: 88px; }

/* ---------- 2. Hero ---------- */
.hero { padding: 40px 0 var(--section-y); overflow: hidden; }
.hero__grid { display: grid; gap: 48px; }
.hero__title {
  font-family: var(--f-judul); font-weight: 900; font-size: var(--fs-hero); line-height: 1.02;
  letter-spacing: -.025em; margin: 20px 0;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; animation: kataNaik .6s ease-out both; animation-delay: calc(var(--i) * .08s + .1s); }
.hero__title .hl { color: var(--kuning); }
@keyframes kataNaik { from { transform: translateY(105%); } to { transform: none; } }

.hero__points { margin-bottom: 16px; font-size: var(--fs-sub); }
.hero__points li { font-weight: 700; }
.ticks.hero__points .ico { color: var(--kuning); width: 22px; height: 22px; margin-top: 4px; }
.hero__sub { font-size: var(--fs-sub); font-weight: 500; line-height: 1.5; color: rgba(255, 248, 236, .82); max-width: 36ch; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero__cta .btn { width: 100%; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 24px; font-size: 14px; color: rgba(255, 248, 236, .85); }
.hero__proof .ico--star { width: 18px; height: 18px; color: var(--kuning); }
.hero__proof strong { color: var(--krem); }
.dot { opacity: .5; }

.hero__collage { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin-inline: auto; }
.collage__item { position: absolute; width: 44%; z-index: 1; }
.collage__item--1 { left: 1%; top: 3%; transform: rotate(-6deg); }
.collage__item--2 { right: 1%; top: 0; transform: rotate(5deg); }
.collage__item--3 { right: 4%; bottom: 0; transform: rotate(4deg); z-index: 2; }
.collage__drop { animation: jatuh .8s cubic-bezier(.2, .8, .25, 1) both; }
.collage__item--1 .collage__drop { animation-delay: .25s; }
.collage__item--2 .collage__drop { animation-delay: .4s; }
.collage__item--3 .collage__drop { animation-delay: .55s; }
.collage__drop > * { border: 5px solid var(--krem); border-radius: 16px; }
.collage__drop > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #241D1C; }
@keyframes jatuh { from { transform: translateY(-60px) rotate(-14deg); opacity: 0; } to { transform: none; opacity: 1; } }

.collage__badge { position: absolute; left: 3%; bottom: 2%; width: 52%; z-index: 3; animation: jatuh .8s cubic-bezier(.2, .8, .25, 1) .1s both; }
.collage__swing { animation: ayun 6s ease-in-out infinite; transform-origin: 50% 10%; }
.collage__swing .logo-circle { width: 100%; border: 5px solid var(--krem); }
@keyframes ayun { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.collage__sticker { position: absolute; right: -2%; top: 50%; z-index: 4; transform: rotate(6deg); }

/* Placeholder foto berlabel */
.ph {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; width: 100%; padding: 12px;
  text-align: center; font-size: 13px; font-weight: 600; line-height: 1.35;
  background: repeating-linear-gradient(135deg, rgba(20, 16, 16, .05) 0 10px, transparent 10px 20px), #F3E9D6;
  color: var(--teks-redup-terang); outline: 2px dashed rgba(20, 16, 16, .25); outline-offset: -8px;
}
.ph--dark {
  background: repeating-linear-gradient(135deg, rgba(255, 248, 236, .06) 0 10px, transparent 10px 20px), #241D1C;
  color: rgba(255, 248, 236, .75); outline-color: rgba(255, 248, 236, .25);
}
.ph span { max-width: 16ch; }

/* ---------- 3. Bukti sosial ---------- */
.proof { background: var(--merah); color: var(--krem); padding-top: clamp(48px, 6vw, 80px); }
.proof__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; }
.proof__item { display: flex; flex-direction: column; gap: 6px; }
.big-num { font-family: var(--f-judul); font-weight: 900; font-size: var(--fs-big); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof__label { font-size: 14px; font-weight: 600; line-height: 1.35; }
.marquee--clients {
  margin-top: clamp(40px, 5vw, 64px); padding: 16px 0; border-top: 1px solid rgba(255, 248, 236, .3);
  font-family: var(--f-judul); font-weight: 700; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase;
}
.marquee--clients .marquee__track { animation-duration: 40s; }
.client { white-space: nowrap; padding-right: 2em; }
.client--lead { color: var(--kuning); }

/* ---------- 4. Promo ---------- */
.promo-grid { display: grid; gap: 32px; }
.promo-card {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 36px 24px 24px;
  background: var(--kartu-terang); border: 2px solid var(--hitam); border-radius: var(--radius);
}
.promo-card__sticker { position: absolute; top: -16px; right: 20px; animation: goyang 3s ease-in-out infinite; }
@keyframes goyang { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(2deg); } }
.promo-card:nth-child(2) .promo-card__sticker { animation-delay: -1.5s; }
.promo-card__title { font-family: var(--f-judul); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.12; letter-spacing: -.01em; }
.promo-card__tagline { font-family: var(--f-judul); font-weight: 700; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--merah); margin-bottom: -12px; }
.promo-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; font-family: var(--f-judul); line-height: 1; }
.promo-card__price s { font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); color: var(--teks-redup-terang); text-decoration-color: var(--merah); text-decoration-thickness: 3px; }
.promo-card__price strong { font-weight: 900; font-size: var(--fs-big); color: var(--merah); letter-spacing: -.02em; }
.promo-card__price small { font-size: .4em; font-weight: 800; vertical-align: super; margin-right: 2px; }
.promo-card__quota { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--merah); color: #fff; font-weight: 800; font-size: 13.5px; line-height: 1.3; box-shadow: 0 0 0 3px rgba(207, 42, 41, .2); }
.promo-card__quota .ico { width: 18px; height: 18px; color: var(--kuning); }
.promo-card__sk { font-size: 12.5px; color: var(--teks-redup-terang); margin-top: -10px; text-align: center; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks .ico { color: var(--merah); width: 20px; height: 20px; margin-top: 3px; }
.promo-card .btn { margin-top: auto; }
.promo-card__habis { font-weight: 700; color: var(--merah); }
.promo-card.is-habis .ticks { opacity: .5; }

.fomo {
  display: grid; gap: 28px; margin-top: 32px; padding: 28px 20px;
  background: var(--hitam); color: var(--krem); border-radius: var(--radius);
}
.fomo__label { font-family: var(--f-judul); font-weight: 700; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--kuning); margin-bottom: 12px; }
.fomo__quota-label { color: var(--kuning); font-family: var(--f-judul); font-weight: 800; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.2; margin-bottom: 14px; }
.fomo__small { font-size: 14px; color: rgba(255, 248, 236, .72); margin-top: 12px; }

.countdown { display: flex; align-items: flex-start; gap: 6px; }
.cd__unit { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; background: rgba(255, 248, 236, .08); border-radius: 12px; perspective: 300px; }
.cd__num { display: block; font-family: var(--f-judul); font-weight: 900; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.cd__num.flip { animation: flip .3s ease-out; }
@keyframes flip { from { transform: rotateX(80deg); opacity: .2; } to { transform: none; opacity: 1; } }
.cd__cap { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.cd__sep { font-family: var(--f-judul); font-weight: 900; font-size: 1.5rem; line-height: 1; padding-top: 12px; opacity: .5; }

.quota-bar { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 248, 236, .15); overflow: hidden; }
.quota-bar__fill { position: absolute; inset: 0; background: linear-gradient(90deg, #FF5A1F, var(--kuning)); border-radius: inherit; transform-origin: left center; transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .8, .25, 1); }
.quota-bar.is-low .quota-bar__fill { background: var(--merah-terang); }
.quota-bar.is-filled .quota-bar__fill { transform: scaleX(var(--isi, 0)); }

/* ---------- Baris geser (scroll-snap) ---------- */
.snap-row {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.snap-row::-webkit-scrollbar { display: none; }
.snap-row > * { scroll-snap-align: start; flex-shrink: 0; }

/* ---------- 5. Momen ---------- */
.moments > li { width: min(72%, 260px); }
.moment {
  display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 200px; padding: 22px;
  background: var(--kartu-terang); border: 2px solid var(--hitam); border-radius: var(--radius);
  text-decoration: none; transition: background .2s, transform .2s;
}
.moment:hover { background: var(--kuning); transform: translateY(-4px); }
.moment .ico--lg { color: var(--merah); }
.moment h3 { font-family: var(--f-judul); font-weight: 800; font-size: 18px; line-height: 1.2; }
.moment p { font-size: 14px; color: var(--teks-redup-terang); }
.moment__go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.moment__go .ico { width: 18px; height: 18px; }

/* ---------- 6. Produk (bento) ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255, 248, 236, .04); border: 1px solid var(--garis-gelap); border-radius: var(--radius);
  transition: transform .2s ease-out;
}
.pcard:hover, .pcard:focus-within { transform: translateY(-4px); }
.pcard__media { position: relative; overflow: hidden; }
.pcard__media > img, .pcard__media > .ph { transition: transform .2s ease-out; aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.pcard:hover .pcard__media > * { transform: scale(1.04); }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.pcard h3 { font-family: var(--f-judul); font-weight: 800; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); line-height: 1.2; }
.pcard p { font-size: 13.5px; line-height: 1.5; color: rgba(255, 248, 236, .72); }
.pcard__link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--kuning); text-decoration: none; min-height: 32px; }
.pcard__link::after { content: ""; position: absolute; inset: 0; }
.pcard__link .ico { width: 18px; height: 18px; }
.pcard__tag { position: absolute; top: 12px; left: 12px; z-index: 3; pointer-events: none; }

.pcard--big { grid-column: span 2; }
/* Kartu besar: foto lanskap 16:9 di atas, cocok untuk foto produk berjejer */
.pcard--big .pcard__media > img, .pcard--big .pcard__media > .ph, .pcard--big .zoom img { aspect-ratio: 16 / 9; }
.pcard--big .pcard__body { padding: 18px; }
.pcard__media .zoom { position: relative; z-index: 2; border-radius: 0; }
.zoom__ico b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--kuning); color: var(--hitam); font: 800 11px/20px var(--f-judul); text-align: center; }
.pcard--big h3 { font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); }
.pcard--big p { font-size: 14px; }

/* Kartu "Produk lainnya" dengan foto: kartu besar, badan kuning */
.pcard--other-foto .pcard__body { background: var(--kuning); color: var(--hitam); }
.pcard--other-foto p { color: var(--teks-redup-terang); }
.pcard--other-foto .pcard__link { color: var(--hitam); }
.pcard--other { grid-column: span 2; background: var(--kuning); color: var(--hitam); border-color: transparent; }
.pcard--other .pcard__body { flex-direction: row; align-items: center; gap: 16px; padding: 22px; }
.pcard--other p { color: var(--teks-redup-terang); }
.pcard--other .pcard__link { color: var(--hitam); }
.pcard--other .ico--lg { width: 44px; height: 44px; }
.pcard--other .pcard__text { display: flex; flex-direction: column; gap: 4px; flex: 1; }

/* ---------- 7. Galeri ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -8px calc(var(--gutter) * -1) 24px; padding: 4px var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--hitam);
  background: transparent; font-family: var(--f-judul); font-weight: 700; font-size: 14px;
}
.tab[aria-pressed="true"] { background: var(--hitam); color: var(--krem); }
.carousel-wrap { position: relative; }
/* Galeri: tinggi sama, lebar mengikuti bentuk foto (mendatar 16:10, tegak 3:4) */
.gallery { --gh: 196px; }
.gallery > li { height: var(--gh); width: calc(var(--gh) * 1.6); }
.gallery > li.tegak { width: calc(var(--gh) * .75); }
.gallery .zoom { height: 100%; border-radius: 16px; }
.gallery img, .gallery .zoom img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 16px; }
.gallery .ph { height: 100%; aspect-ratio: auto; border-radius: 16px; }
.carousel-btn {
  display: none; position: absolute; top: calc(50% - 32px); width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: var(--hitam); color: var(--krem); align-items: center; justify-content: center;
}
.carousel-btn--prev { left: 8px; }
.carousel-btn--next { right: 8px; }
.gallery__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 32px; text-align: center; }
.gallery__links { font-size: 15px; color: var(--teks-redup-terang); }
.gallery__links a { color: var(--merah); font-weight: 700; padding-block: 12px; }

/* Foto yang bisa diklik untuk diperbesar */
.zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; overflow: hidden; }
.zoom img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .2s ease-out; }
.zoom:hover img { transform: scale(1.04); }
.zoom__ico { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 16, 16, .7); color: var(--krem); }
.zoom__ico .ico { width: 18px; height: 18px; }
.gallery .zoom { border-radius: 16px; }

/* ---------- Foto try-on customer ---------- */
.tryon { background: var(--kuning); }
.tryon .section-title { margin-bottom: 12px; }
.tryon__sub { font-size: var(--fs-sub); font-weight: 500; margin-bottom: clamp(28px, 4vw, 48px); }
/* Susunan "masonry": foto mendatar 4:3, foto tegak 3:4, jadi foto grup tidak terpotong */
.tryon-grid { columns: 2; column-gap: 12px; }
.tryon-card { display: flex; flex-direction: column; break-inside: avoid; margin-bottom: 12px; border: 2px solid var(--hitam); border-radius: 16px; overflow: hidden; background: var(--kartu-terang); }
.tryon-card .zoom img { aspect-ratio: 4 / 3; }
.tryon-card.tegak .zoom img { aspect-ratio: 3 / 4; }
.tryon-card .ph { border-radius: 0; }
.tryon-card__cap { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; font-size: 13px; line-height: 1.35; border-top: 2px solid var(--hitam); }
.tryon-card__cap strong { font-family: var(--f-judul); font-weight: 800; font-size: 14px; }
.tryon-card__cap span { color: var(--teks-redup-terang); }
.tryon__more { display: flex; justify-content: center; margin-top: 24px; }
.tryon .ph { background: repeating-linear-gradient(135deg, rgba(20, 16, 16, .06) 0 10px, transparent 10px 20px), #FFF3C4; }

/* ---------- Lightbox ---------- */
.no-scroll { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: 64px 12px calc(24px + env(safe-area-inset-bottom)); background: rgba(20, 16, 16, .94);
}
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lightbox__fig img { max-width: min(100%, 720px); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.lightbox__fig figcaption { color: var(--krem); font-weight: 600; font-size: 14px; text-align: center; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 248, 236, .12); color: var(--krem); }
.lightbox__btn:hover { background: rgba(255, 248, 236, .22); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: calc(50% - 24px); }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }

/* ---------- 8. Kenapa Prema ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why__card { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px; border: 1px solid var(--garis-gelap); border-radius: var(--radius); background: rgba(255, 248, 236, .03); }
.why__card .ico--lg { color: var(--kuning); }
.why__card h3 { font-family: var(--f-judul); font-weight: 800; font-size: clamp(.975rem, .9rem + .4vw, 1.25rem); line-height: 1.25; }
.why__card p { font-size: 13.5px; line-height: 1.5; color: rgba(255, 248, 236, .72); }

/* ---------- 9. Cara order ---------- */
.steps-block { margin-top: var(--section-y); }
.steps { position: relative; display: grid; gap: 28px; }
.steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 40px; width: 2px; background: rgba(255, 248, 236, .2); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
.step__num {
  grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--kuning); color: var(--hitam); font-family: var(--f-judul); font-weight: 900; font-size: 24px;
}
.step h3 { font-family: var(--f-judul); font-weight: 800; font-size: 19px; line-height: 1.25; align-self: end; }
.step p { font-size: 14.5px; color: rgba(255, 248, 236, .75); }

/* ---------- 10. Testimoni ---------- */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: -16px 0 28px; }
.rating__stars { display: inline-flex; gap: 2px; color: var(--merah); }
.rating__stars .ico { width: 22px; height: 22px; }
.rating p { font-weight: 600; }
.reviews { align-items: flex-start; }
.reviews > li { width: min(85%, 360px); }
.review { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 24px; background: var(--kartu-terang); border: 2px solid var(--hitam); border-radius: var(--radius); }
.review__stars { display: flex; gap: 2px; color: var(--merah); }
.review__stars .ico { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 15px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; line-clamp: 8; overflow: hidden; }
.review { margin: 0; }
.review footer { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(20, 16, 16, .12); font-size: 14px; }
.review footer strong { display: block; font-family: var(--f-judul); font-weight: 800; }
.review footer span { color: var(--teks-redup-terang); }
.review--ph { border-style: dashed; color: var(--teks-redup-terang); justify-content: center; min-height: 200px; text-align: center; }

/* ---------- 11. FAQ ---------- */
.faq { border-top: 2px solid var(--hitam); }
.faq__item { border-bottom: 2px solid var(--hitam); }
.faq__q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px 0; background: none; border: 0; text-align: left;
  font-family: var(--f-judul); font-weight: 700; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); line-height: 1.3;
}
.faq__icon { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--hitam); transition: background .25s, transform .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--hitam); color: var(--krem); transform: rotate(180deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .25s ease-out, visibility 0s .25s; }
.faq__panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .25s ease-out, visibility 0s; }
.faq__inner { overflow: hidden; }
.faq__inner p { padding: 0 48px 20px 0; color: #3A302D; }
.faq__inner .text-link { margin: -12px 0 12px; }

/* ---------- 12. Penutup ---------- */
.final { background: var(--merah); color: var(--krem); padding-block: var(--section-y); text-align: center; }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.final__title { font-family: var(--f-judul); font-weight: 900; font-size: clamp(2rem, 1.4rem + 2.8vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.countdown--sm { width: 100%; max-width: 360px; }
.countdown--sm .cd__unit { background: rgba(20, 16, 16, .22); padding: 8px 2px 6px; }
.countdown--sm .cd__num { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.countdown--sm .cd__sep { font-size: 1.25rem; padding-top: 8px; }
.final .btn--xl { width: 100%; max-width: 440px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 32px; }
.footer__grid { display: grid; gap: 36px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__tagline { font-family: var(--f-judul); font-weight: 900; font-size: 20px; line-height: 1.1; text-transform: uppercase; max-width: 12ch; }
.footer__head { font-family: var(--f-judul); font-weight: 700; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--kuning); margin-bottom: 12px; }
.footer__addr address { color: rgba(255, 248, 236, .8); margin-bottom: 16px; max-width: 32ch; }
.footer__social li a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 600; }
.footer__social li a:hover { color: var(--kuning); }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--garis-gelap); font-size: 14px; color: rgba(255, 248, 236, .6); }

/* ---------- Bar WA mengambang ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 12px; min-height: var(--dock-h);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--hijau-wa); color: var(--wa-ink); text-decoration: none;
  transform: translateY(110%); transition: transform .3s ease-out;
}
.dock.is-visible { transform: none; }
.dock__text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.dock__text strong { font-family: var(--f-judul); font-weight: 800; font-size: 16px; }
.dock__text small { font-size: 12.5px; font-weight: 600; }
.dock__ico { width: 26px; height: 26px; }

/* Kalau badge "Powered by Netlify" ada (paket gratis Netlify, pojok kanan bawah),
   bar WA dinaikkan jadi kartu mengambang di atasnya supaya tombol tidak tertutup.
   Kelas .ada-badge dipasang otomatis oleh main.js hanya jika badge terdeteksi. */
.ada-badge body { padding-bottom: calc(var(--dock-h) + 84px + env(safe-area-inset-bottom)); }
.ada-badge .dock {
  left: 12px; right: 12px; bottom: 70px; padding: 10px 16px 10px 10px;
  border: 2px solid var(--hitam); border-radius: 18px; transform: translateY(calc(100% + 90px));
}
.ada-badge .dock.is-visible { transform: none; }
.ada-badge .consent { bottom: calc(var(--dock-h) + 84px); }

/* ---------- Banner persetujuan ---------- */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--dock-h) + 12px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px;
  background: var(--kuning); color: var(--hitam); border: 2px solid var(--hitam); border-radius: 16px; font-size: 14px; font-weight: 500;
}
.consent p { flex: 1 1 200px; }
.consent__btns { display: flex; gap: 8px; }

/* ---------- Animasi muncul saat di-scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease-out, transform .5s ease-out; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* HP kecil (< 400px): rapatkan tombol supaya teks muat satu baris */
@media (max-width: 399px) {
  .btn--lg, .btn--xl { padding: 0 14px; gap: 8px; font-size: 14.5px; }
  .btn--xl { min-height: 60px; }
}

/* ============================================================
   TABLET (≥ 768px)
   ============================================================ */
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 108px; }
  .nav__inner { height: 68px; }
  .logo-circle--sm { width: 44px; }
  .hero { padding-top: 64px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .hero__cta .btn { width: auto; }
  .proof__grid { grid-template-columns: repeat(4, 1fr); }
  .promo-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .promo-card { padding: 40px 32px 32px; }
  .fomo { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; padding: 36px 40px; }
  .bento { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .pcard__body { padding: 18px; }
  .pcard p { font-size: 14px; }
  .why { gap: 16px; }
  .why__card { padding: 28px 24px; }
  .why__card p { font-size: 14.5px; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   DESKTOP (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .only-desktop { display: inline; }
  .only-mobile { display: none; }
  .nav__menu { display: flex; gap: 4px; }
  .nav__menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 8px; }
  .nav__menu a:hover { color: var(--kuning); }

  .hero { padding-top: 80px; }
  .hero__grid { grid-template-columns: 7fr 5fr; align-items: center; gap: 24px; }
  .hero__collage { max-width: 500px; }

  .moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-inline: var(--gutter); max-width: calc(1200px + var(--gutter) * 2); margin-inline: auto; overflow: visible; }
  .moments > li { width: auto; }

  .bento { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .why { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .tryon-grid { columns: 4; column-gap: 24px; }
  .tryon-card { margin-bottom: 24px; }

  .gallery { --gh: 320px; }
  .gallery, .reviews { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .carousel-btn { display: inline-flex; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps::before { left: 28px; right: calc(25% - 52px); top: 27px; bottom: auto; width: auto; height: 2px; }
  .step { display: flex; flex-direction: column; gap: 10px; }
  .step h3 { margin-top: 10px; align-self: auto; }

  .dock {
    left: auto; right: 24px; bottom: 24px; min-height: 60px; padding: 8px 22px 8px 8px; border-radius: 999px;
    transform: translateY(calc(100% + 32px));
  }
  .dock.is-visible { transform: none; }
  .dock__text small, .dock__ico { display: none; }
  .dock:active { transform: scale(.97); }

  .consent { left: 24px; right: auto; bottom: 24px; max-width: 440px; }

  .ada-badge body { padding-bottom: 0; }
  .ada-badge .dock { left: auto; right: 18px; bottom: 72px; padding: 8px 22px 8px 8px; border: 0; border-radius: 999px; }
  .ada-badge .consent { bottom: 24px; }
}

/* ============================================================
   Mengurangi gerakan: matikan semua animasi kecuali countdown
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .countdown .cd__num.flip { animation: flip .3s ease-out !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn--wa::after, .dock::after { display: none; }
}
