/* ===================================================
   TAHAP 1 — FONDASI
   Design tokens, reset, typography, static layout.
   Animasi ada di animation.css, responsive di responsive.css.
=================================================== */

:root {
  --void: #0A0A0F;
  --charcoal: #14141B;
  --charcoal-2: #1B1B24;
  --champagne: #F5F0E8;
  --ivory: #EDE8DF;
  --gold: #C9A961;
  --gold-dim: #8A7448;
  --line: rgba(245, 240, 232, 0.10);
  --line-strong: rgba(245, 240, 232, 0.18);
  --muted: rgba(237, 232, 223, 0.58);

  --display: 'Plus Jakarta Sans', sans-serif;
  --body: 'Inter', sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--ivory);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--void); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.italic { font-style: italic; font-weight: 300; color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark {
  width: 34px; height: 34px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--champagne);
}
.brand-name em { font-style: italic; font-weight: 300; color: var(--gold); }

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--muted); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 110;
}
.nav-toggle span {
  width: 22px; height: 1px;
  background: var(--champagne);
  display: block;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 140px 32px 80px;
  overflow: hidden;
}
.hero-pleats {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
  opacity: 0.5;
}
.pleat {
  flex: 1;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(201,169,97,0.03), transparent 40%);
}
.pleat:nth-child(odd) { background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent 55%); }
.pleat:last-child { border-right: none; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--champagne);
  max-width: 820px;
}
.hero-sub {
  margin-top: 28px;
  max-width: 520px;
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  display: inline-block;
}
.btn-primary { background: var(--gold); color: var(--void); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--champagne); }

.hero-stats {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--champagne); }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-divider { width: 1px; height: 32px; background: var(--line-strong); }

/* ---------- Marquee strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--charcoal);
  padding: 16px 0;
}
.strip-track {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.strip-track .dot { color: var(--gold-dim); }

/* ---------- Section shared ---------- */
.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--champagne);
  max-width: 640px;
}

/* ---------- Collection ---------- */
.collection { padding: 120px 0; }
.collection-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.c-card { position: relative; background: var(--charcoal); padding: 36px 30px; overflow: hidden; }
.c-card--wide { grid-column: span 2; }
.c-fold {
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  transform: scaleX(0);
  transform-origin: left;
}
.c-body h3 { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--champagne); margin-bottom: 12px; }
.c-body p { font-size: 14px; color: var(--muted); max-width: 380px; }

/* ---------- Process ---------- */
.process { padding: 60px 0 140px; }
.process-rail {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.process-step { position: relative; padding: 28px 24px 0; border-top: 1px solid var(--line-strong); }
.process-step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 40px; height: 1px;
  background: var(--gold);
}
.process-mark { display: block; font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.process-step p { font-size: 13.5px; color: var(--muted); max-width: 240px; }

/* ---------- Before & After ---------- */
.ba { padding: 60px 0 140px; }
.ba-slider {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.ba-frame {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  user-select: none;
  background: var(--charcoal);
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-before { z-index: 1; }
.ba-after { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-label {
  position: absolute;
  top: 16px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(10,10,15,0.65);
  color: var(--champagne);
  z-index: 3;
}
.ba-label--before { left: 16px; }
.ba-label--after { right: 16px; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  z-index: 4;
  transform: translateX(-1px);
}
.ba-handle::after {
  content: '↔';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--void);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery { padding: 60px 0 140px; }
.gallery-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.gallery-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 0 32px;
  animation: gallery-scroll 32s linear infinite;
}
.gallery-track:hover { animation-play-state: paused; }
.g-item {
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  height: 340px;
  background: linear-gradient(155deg, var(--charcoal-2), var(--charcoal) 60%, #0d0d13);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
}
.g-fold {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(100deg, rgba(201,169,97,0.05) 0 2px, transparent 2px 26px);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-note { max-width: var(--container); margin: 32px auto 0; padding: 0 32px; font-size: 13px; color: var(--muted); }
.gallery-note a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,10,15,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  visibility: hidden;
  opacity: 0;
}
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox-img {
  max-width: min(900px, 90vw);
  max-height: 80vh;
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(155deg, var(--charcoal-2), var(--charcoal) 60%, #0d0d13);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--champagne);
  width: 40px; height: 40px;
  font-size: 18px;
}

/* ---------- Testimonial ---------- */
.testimonial { padding: 100px 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--charcoal); }
.t-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.t-quote { font-family: var(--display); font-size: clamp(20px, 3vw, 28px); font-weight: 500; font-style: italic; color: var(--champagne); line-height: 1.45; }
.t-author { margin-top: 24px; font-size: 13px; color: var(--gold); letter-spacing: 0.03em; }

/* ---------- FAQ ---------- */
.faq { padding: 60px 0 140px; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}
.faq-item {
  border-top: 1px solid var(--line-strong);
}
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--champagne);
}
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 14px; }
.faq-answer {
  overflow: hidden;
  height: 0;
  padding: 0 4px;
}
.faq-answer p { font-size: 14.5px; color: var(--muted); padding-bottom: 24px; max-width: 640px; }

/* ---------- CTA / Kontak ---------- */
.cta { padding: 140px 32px; }
.cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.cta .eyebrow, .cta h2 { text-align: center; }
.cta h2 { font-family: var(--display); font-size: clamp(30px, 5vw, 48px); font-weight: 700; color: var(--champagne); letter-spacing: -0.015em; }
.cta-sub { margin-top: 20px; color: var(--muted); font-weight: 300; }
.cta .hero-actions { justify-content: center; }

.cta-info {
  margin-top: 72px;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.ci-label { display: block; font-family: var(--display); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 8px; }
.ci-value { font-size: 14px; color: var(--muted); max-width: 260px; display: block; }

/* ---------- Footer ---------- */
.footer { padding: 40px 32px; border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand { font-size: 14px; }
.footer-inner p { font-size: 12px; color: var(--muted); }

/* ---------- WhatsApp float button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.wa-float svg { width: 26px; height: 26px; }
