/* ===== Tokens ===== */
:root {
  --navy: #0A1134;
  --navy-2: #2B3368;
  --navy-line: #272E59;
  --navy-muted: #6B72B0;
  --navy-muted-2: #565D8E;
  --cream: #F6F3EC;
  --white: #FFFFFF;
  --card-border: #ECE7D8;
  --card-photo-bg: #E9E4D4;
  --card-photo-ink: #A79B78;
  --ink: #1C2340;
  --ink-soft: #4B5178;
  --muted: #6B7290;
  --gold: #C88C39;
  --gold-light: #E3B567;
  --wa-green: #5BD066;
  --radius-lg: 20px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-float: 0 12px 30px rgba(10, 17, 52, .18);
  --shadow-hover: 0 24px 48px rgba(10, 17, 52, .14);
  --maxw: 1280px;
}

/* ===== Reset / base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
h1, h2, h3 { font-family: 'Fraunces', serif; margin: 0; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-light); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

/* ===== Scroll-reveal motion ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ===== Utility bar + Navbar ===== */
.topbar { background: var(--navy); color: #E7E4DA; padding: 7px 0; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { display: flex; align-items: center; gap: 6px; color: #E7E4DA; text-decoration: none; font-weight: 600; }
.topbar a svg { flex: 0 0 auto; }

.navbar { background: var(--cream); padding: 16px 0; border-bottom: 1px solid var(--card-border); position: sticky; top: 0; z-index: 40; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { font-family: 'Fraunces', serif; font-weight: 600; font-size: 21px; color: var(--navy); text-decoration: none; letter-spacing: .01em; }
.brand span { color: var(--gold); }

.nav-links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; color: var(--ink); text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--gold); transition: right .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 700; }

.nav-cta { background: var(--navy); color: #fff; padding: 10px 20px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { color: #fff; opacity: .9; }

.nav-toggle { display: none; background: none; border: 0; padding: 6px; color: var(--navy); }
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-bars { display: none; }
.nav-toggle.open .icon-close { display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: block; order: 3; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--card-border);
    flex-direction: column; gap: 0; padding: 0; max-height: 0; overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-links.open { max-height: 320px; padding: 8px 0; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; }
  .nav-links a::after { display: none; }
  .nav-cta { order: 2; }
}

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: var(--radius-pill); font-weight: 600; font-size: 14.5px; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { color: #fff; opacity: .92; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { color: var(--navy); opacity: .92; }

/* ===== Split section (hero / about / lokasi) ===== */
.split { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; padding: 56px 0; }
.split-text { flex: 1 1 440px; min-width: 0; }
.split-media { flex: 1 1 400px; min-width: 260px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.split-title { font-weight: 500; font-size: 38px; line-height: 1.12; margin-bottom: 18px; color: var(--navy); }
.split-desc { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); max-width: 500px; margin-bottom: 24px; }

.feature-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; list-style: none; padding: 0; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.feature-list svg { flex: 0 0 auto; color: var(--gold); }

.photo-placeholder {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  color: #8891B8; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--card-photo-bg); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-badge {
  position: absolute; left: 18px; bottom: 18px; background: #fff; padding: 13px 16px; border-radius: 14px;
  box-shadow: var(--shadow-float); display: flex; gap: 12px; align-items: center; text-align: left;
}
.photo-badge-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--cream); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.photo-badge-name { font-size: 12.5px; font-weight: 600; color: var(--navy); text-transform: none; letter-spacing: 0; }
.photo-badge-sub { font-size: 11.5px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.photo-pin {
  position: absolute; top: 18px; left: 18px; background: #fff; padding: 10px 16px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-float); display: flex; align-items: center; gap: 8px;
}
.photo-pin span { font-size: 12.5px; font-weight: 600; color: var(--navy); text-transform: none; letter-spacing: 0; }

/* ===== Hero stat row (home only) ===== */
.stat-row { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-num { font-size: 24px; font-weight: 600; color: var(--navy); }
.stat-label { font-size: 12px; color: var(--muted); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--card-border); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; color: #8A6A2E; margin-bottom: 20px; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

/* ===== Section heads ===== */
.section { padding: 44px 0 72px; }
.section-white { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.section-title { font-weight: 500; font-size: 28px; color: var(--navy); }
.section-count { font-size: 13.5px; color: var(--muted); }
.section-link { color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* ===== Kawasan filter chips ===== */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { background: #fff; border: 1px solid var(--card-border); color: var(--ink-soft); padding: 8px 16px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 500; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 600; }

/* ===== Product grid + card ===== */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--card-border); transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s cubic-bezier(.16, 1, .3, 1); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.card-photo-wrap { position: relative; aspect-ratio: 4 / 3; background: var(--card-photo-bg); overflow: hidden; }
.card-photo { width: 100%; height: 100%; object-fit: cover; }
.card-tag { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--navy); font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-pill); }
.card-badge { position: absolute; top: 12px; right: 12px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-pill); }
.card-body { padding: 18px 20px 20px; }
.card-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; color: var(--navy); margin-bottom: 9px; }
.card-specs { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #F0ECE0; }
.card-specs span { display: flex; align-items: center; gap: 5px; }
.card-specs--single { gap: 6px; }
.card-footer { display: flex; justify-content: space-between; align-items: flex-end; }
.price-label { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.card-price { font-weight: 700; font-size: 17px; color: var(--navy); }
.price-unit { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.wa-circle { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.wa-circle:hover { opacity: .85; }

/* ===== Why-us icon grid ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { text-align: center; padding: 0 12px; }
.why-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.why-title { font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 7px; }
.why-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ===== Footer ===== */
.footer { background: var(--navy); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--navy-line); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--gold); }
.footer-tagline { font-size: 13px; color: #AEB2D1; line-height: 1.7; max-width: 260px; margin-bottom: 16px; }
.footer-contact { display: inline-flex; align-items: center; gap: 9px; background: var(--gold); color: var(--navy); padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 700; font-size: 12.5px; text-decoration: none; }
.footer-contact:hover { color: var(--navy); opacity: .9; }
.footer-col-title { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-muted); margin-bottom: 10px; }
.footer-address { display: flex; gap: 9px; font-size: 13px; color: #AEB2D1; line-height: 1.65; }
.footer-address svg { flex: 0 0 auto; margin-top: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #AEB2D1; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 16px 0 4px; font-size: 11px; color: var(--navy-muted-2); }
.footer-disclaimer { padding-bottom: 16px; font-size: 10.5px; color: var(--navy-muted-2); }

/* ===== WhatsApp floating button ===== */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa-green);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(10, 17, 52, .28);
}
.wa-fab svg { width: 28px; height: 28px; fill: #fff; }
.wa-fab:hover { opacity: .92; }

/* ===== Home: snap-scroll sections ===== */
.snap-shell { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.snap-wrap { flex: 1 1 auto; overflow-y: auto; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
.snap-wrap::-webkit-scrollbar { width: 8px; }
.snap-wrap::-webkit-scrollbar-thumb { background: #D8D1BC; border-radius: 8px; }
.snap-section { scroll-snap-align: start; scroll-snap-stop: always; min-height: 100%; display: flex; align-items: center; }
.snap-section .container { width: 100%; }
.snap-section.align-end { flex-direction: column; justify-content: flex-end; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: #8A6A2E;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none;
  font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

@media (max-width: 880px) {
  /* Snap-scroll fights mobile browser chrome + makes long product grids unbrowsable: fall back to a normal page. */
  .snap-shell { height: auto; display: block; }
  .snap-wrap { overflow: visible; height: auto; }
  .snap-section { min-height: auto; padding: 48px 0; }
}

/* ===== Privacy policy ===== */
.priv-wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.priv-title { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 500; color: var(--navy); margin-bottom: 28px; }
.priv-block { margin-bottom: 24px; }
.priv-block-title { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.priv-block p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
