/* ================================================================
   SURAYA Plafon PVC — stylesheet
   Warna mengikuti katalog: merah marun, marun gelap, emas.
   ================================================================ */
:root {
  --brand: #800000;
  --brand-2: #9c1010;
  --brand-dark: #4a0303;
  --brand-deep: #2a0505;
  --brand-soft: #f7ecec;
  --gold: #c7a96b;
  --gold-2: #dcc293;
  --gold-ink: #8d6e33;
  --bg: #fbf9f7;
  --surface: #ffffff;
  --tint: #f4f0ed;
  --ink: #221a1a;
  --ink-2: #3d3333;
  --muted: #6d6464;
  --line: #e7e0dc;
  --grey-logo: #6b6b6b;
  --on-dark: #fbf3f1;
  --on-dark-muted: #d2b9b5;
  --wa: #25d366;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(60, 10, 10, .05), 0 14px 34px -14px rgba(60, 10, 10, .2);
  --shadow-lg: 0 30px 70px -30px rgba(60, 10, 10, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Montserrat", "Poppins", system-ui, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
body.menu-open .nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-weight: 500; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1240px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__bars { width: 40px; height: 36px; flex: none; }
.logo__text { display: grid; line-height: 1; }
.logo__text b { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; color: var(--grey-logo); }
.logo__text small { font-size: .72rem; color: var(--grey-logo); margin-top: 2px; }
.logo--light { --bar1: #fff; --bar2: #fff; --bar3: #fff; --bar4: #fff; --bar5: #fff; }
.logo--light .logo__text b, .logo--light .logo__text small { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--sm { padding: .62em 1.1em; font-size: .85rem; }
.btn--lg { padding: 1.05em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px rgba(128, 0, 0, .8); }
.btn--brand:hover { background: var(--brand-2); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }
.btn--outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); flex: none; }
.eyebrow--light { color: var(--gold-2); }
.pill { display: inline-block; padding: .35em .9em; border-radius: 999px; font-size: .76rem; font-weight: 600; }
.pill--gold { background: var(--gold); color: #3a2a0c; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s, height .3s; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(60, 10, 10, .4); --nav-h: 64px; }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { padding: .5em .85em; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--brand); background: var(--brand-soft); }
.nav__cta-mobile { display: none !important; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; background: var(--brand-soft); color: var(--brand); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 80px)) 0 0;
  background: var(--brand) url("../img/pattern-marun.jpg") center / 900px auto;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 85% 30%, rgba(160, 20, 20, .55), transparent 60%), linear-gradient(180deg, rgba(128, 0, 0, .2), rgba(74, 3, 3, .55)); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4.7rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 1.3rem; text-transform: uppercase; }
.hero__title span { color: var(--gold-2); }
.hero__lead { font-size: clamp(1rem, 1.3vw, 1.1rem); color: rgba(255, 255, 255, .86); max-width: 560px; margin-bottom: 2rem; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.2rem; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .92rem; }
.badge-ic { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); display: grid; place-items: center; }
.badge-ic svg { width: 20px; height: 20px; }
.hero__media { position: relative; }
.hero__photo { border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); border: 6px solid rgba(255, 255, 255, .95); transform: rotate(1.2deg); }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__chip { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: grid; line-height: 1.2; animation: float 6s ease-in-out infinite; }
.hero__chip strong { font-family: var(--display); font-size: 1.25rem; color: var(--brand); }
.hero__chip span { font-size: .78rem; color: var(--muted); }
.hero__chip--a { left: -18px; bottom: 16%; }
.hero__chip--b { right: -10px; top: 8%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(48px, 7vw, 80px); padding-top: 28px; padding-bottom: 32px; position: relative; }
.hero__stats::before { content: ""; position: absolute; top: 0; left: clamp(16px, 4vw, 40px); right: clamp(16px, 4vw, 40px); height: 1px; background: rgba(255, 255, 255, .2); }
.hero__stats dt { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.hero__stats dd { margin: 0; color: rgba(255, 255, 255, .72); font-size: .86rem; }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: var(--brand-dark); overflow: hidden; padding: 15px 0; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 36s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: #1a0909 url("../img/pattern-marun.jpg") center / 900px auto; color: var(--on-dark); position: relative; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 6, 6, .9), rgba(22, 6, 6, .95)); }
.section--dark > * { position: relative; }
.section--dark p { color: var(--on-dark-muted); }
.section--brand { background: var(--brand) url("../img/pattern-marun.jpg") center / 900px auto; color: #fff; }
.section--brand p { color: rgba(255, 255, 255, .84); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.section__head--split > div:first-child { max-width: 660px; }
.section__title { font-size: clamp(1.9rem, 3.9vw, 3.1rem); margin-bottom: .6rem; }
.section__title span { color: var(--brand); }
.section--dark .section__title span, .section--brand .section__title span { color: var(--gold-2); }
.section__lead { max-width: 440px; margin: 0; color: var(--muted); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .35s var(--ease), box-shadow .35s; position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature:hover::after { transform: scaleX(1); }
.feature__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; margin-bottom: 20px; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.feature p { color: var(--muted); margin: 0; font-size: .94rem; }

/* ---------- Simulator ---------- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.room { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; text-align: left; background: rgba(255, 255, 255, .04); border: 1.5px solid rgba(255, 255, 255, .1); color: var(--on-dark); transition: border-color .25s, background .25s, transform .25s; }
.room:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .25); }
.room.is-active { border-color: var(--gold); background: rgba(199, 169, 107, .12); }
.room__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; transition: background .25s, color .25s; }
.room.is-active .room__icon { background: var(--gold); color: var(--brand-dark); }
.room__icon svg { width: 24px; height: 24px; }
.room strong { display: block; font-family: var(--display); font-size: 1rem; }
.room small { color: var(--on-dark-muted); font-size: .78rem; }

.studio { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; }
.studio__viewer { position: relative; border-radius: var(--radius); overflow: hidden; background: #0c0808; width: 100%; height: clamp(520px, 80vh, 760px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.studio__stage { position: absolute; inset: 0; }
.studio-canvas { width: 100% !important; height: 100% !important; display: block; cursor: grab; touch-action: none; }
.studio-canvas:active { cursor: grabbing; }
.studio__viewer.is-custom .studio-canvas { cursor: crosshair; }
.studio__loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; color: var(--on-dark-muted); font-size: .92rem; background: radial-gradient(circle at 50% 40%, #3a0f0f, #0c0808 70%); transition: opacity .6s, visibility .6s; padding: 24px; }
.studio__viewer.is-ready .studio__loading { opacity: 0; visibility: hidden; }
.studio__fade { position: absolute; inset: 0; background: #0c0808; opacity: 0; pointer-events: none; transition: opacity .28s; }
.studio__viewer.is-fading .studio__fade { opacity: 1; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(199, 169, 107, .2); border-top-color: var(--gold); animation: spin 1s linear infinite; }
.is-error .spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.studio__hud, .studio__tools { position: absolute; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; }
.studio__hud { top: 14px; }
.studio__tools { bottom: 14px; }
.studio__hud > *, .studio__tools > * { pointer-events: auto; }
.studio__label, .studio .seg, .icon-btn { background: rgba(20, 8, 8, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .12); }
.studio__label { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; font-size: .84rem; font-weight: 500; color: #fff; min-width: 0; }
.studio__label span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(199, 169, 107, .25); flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(199, 169, 107, 0); } }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; gap: 2px; }
.seg__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 500; color: var(--on-dark-muted); transition: background .25s, color .25s; }
.seg__btn svg { width: 16px; height: 16px; }
.seg__btn:hover { color: #fff; }
.seg__btn.is-active { background: #fff; color: var(--brand); font-weight: 600; }
.seg--full { display: flex; }
.seg--full .seg__btn { flex: 1; }
.seg--light { background: var(--surface); border: 1px solid var(--line); }
.seg--light .seg__btn { color: var(--muted); }
.seg--light .seg__btn:hover { color: var(--brand); }
.seg--light .seg__btn.is-active { background: var(--brand); color: #fff; }
.studio__iconbtns { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .25s, color .25s; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: rgba(255, 255, 255, .16); }
.icon-btn[aria-pressed="true"] { background: var(--gold); color: var(--brand-dark); }
.icon-btn[aria-pressed="true"] svg { animation: spin 3s linear infinite; }
.studio__hint, .studio__custom { position: absolute; left: 50%; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(20, 8, 8, .66); color: #fff; font-size: .84rem; backdrop-filter: blur(8px); pointer-events: none; transition: opacity .6s; }
.studio__hint { top: 50%; transform: translate(-50%, -50%); opacity: 0; }
.studio__hint svg, .studio__custom svg { width: 20px; height: 20px; flex: none; }
.studio__hint svg { animation: swipe 2s var(--ease) infinite; }
.is-ready .studio__hint { opacity: 1; }
.studio__hint.is-hidden { opacity: 0 !important; }
.studio__custom { top: 64px; transform: translateX(-50%); background: var(--gold); color: var(--brand-dark); font-weight: 600; width: max-content; max-width: calc(100% - 28px); }
@keyframes swipe { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(6px); } }
.studio__viewer:fullscreen { border-radius: 0; width: 100%; height: 100%; }
.studio__viewer.is-max { position: fixed; inset: 0; z-index: 200; border-radius: 0; width: auto; height: auto; }

.studio__panel { background: rgba(38, 14, 14, .85); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); display: flex; flex-direction: column; min-width: 0; height: clamp(520px, 80vh, 760px); overflow: hidden; }
.tabs { display: flex; padding: 8px; gap: 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 12px; font-weight: 600; font-size: .9rem; color: var(--on-dark-muted); transition: background .25s, color .25s; }
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: #fff; }
.tab.is-active { background: var(--brand); color: #fff; }
.panel-body { flex: 1; overflow-y: auto; padding: 16px 18px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.panel-block + .panel-block { margin-top: 20px; }
.panel-title { font-family: var(--font); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--on-dark-muted); font-weight: 600; margin-bottom: 10px; }
.panel-title .muted { color: var(--gold-2); text-transform: none; letter-spacing: 0; }
.panel-note { font-size: .8rem; color: var(--on-dark-muted); margin: 10px 0 0; }
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.part { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .1); color: var(--on-dark); font-size: .8rem; font-weight: 500; transition: border-color .25s, background .25s; }
.part svg { width: 24px; height: 24px; color: var(--gold-2); }
.part:hover { border-color: rgba(255, 255, 255, .28); }
.part.is-active { border-color: var(--gold); background: rgba(199, 169, 107, .14); }
.list-color { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: .82rem; color: var(--on-dark-muted); }
.list-swatches { display: flex; gap: 8px; }
.list-sw { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .12); color: var(--on-dark); font-size: .78rem; }
.list-sw i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.list-sw.is-active { border-color: var(--gold); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: .55em 1.05em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .86rem; font-weight: 500; color: var(--ink-2); transition: all .25s; white-space: nowrap; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips--sm { gap: 6px; margin-bottom: 10px; }
.studio .chip { background: transparent; border-color: rgba(255, 255, 255, .14); color: var(--on-dark-muted); font-size: .76rem; padding: .45em .85em; }
.studio .chip:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.studio .chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--brand-dark); font-weight: 600; }
.motifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.motif { display: grid; gap: 5px; padding: 4px; border-radius: 12px; text-align: left; background: rgba(255, 255, 255, .03); border: 1.5px solid rgba(255, 255, 255, .07); transition: border-color .25s, background .25s, transform .25s; align-content: start; }
.motif:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .25); }
.motif.is-active { border-color: var(--gold); background: rgba(199, 169, 107, .12); }
.motif__thumb { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #2a1616; }
.motif__thumb img { width: 100%; height: 100%; object-fit: cover; }
.motif__thumb--none { display: grid; place-items: center; color: var(--on-dark-muted); background: repeating-linear-gradient(135deg, #2a1616 0 8px, #331c1c 8px 16px); }
.motif__thumb--none svg { width: 28px; height: 28px; }
.motif__thumb--photo { background: #e4e4e4; }
.motif__thumb--wpc { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 2px, transparent 2px 5px, rgba(0, 0, 0, .28) 5px 8px, transparent 8px 10px), var(--c); }
.motif__tag { position: absolute; left: 4px; bottom: 4px; font-size: .58rem; font-weight: 600; padding: 2px 5px; border-radius: 4px; background: rgba(0, 0, 0, .6); color: #fff; }
.motif__tag--emas { background: var(--gold); color: var(--brand-dark); }
.motif__name { font-size: .7rem; font-weight: 600; color: var(--on-dark); padding: 0 3px 2px; line-height: 1.25; }
.motif__name small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: .66rem; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; }
.range-head output { font-family: var(--display); font-weight: 800; color: var(--gold-2); font-size: 1.05rem; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(255, 255, 255, .15) var(--p, 50%)); outline: none; margin: 6px 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); cursor: pointer; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; }
.range:disabled { opacity: .4; }
.temps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.temp { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .1); font-size: .72rem; color: var(--on-dark); text-align: center; line-height: 1.2; }
.temp i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: 0 0 16px var(--c); }
.temp.is-active { border-color: var(--gold); background: rgba(199, 169, 107, .12); }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch__track { width: 44px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .18); position: relative; flex: none; transition: background .25s; }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + .switch__track { background: var(--brand); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--gold); outline-offset: 2px; }
.switch__label { font-size: .86rem; color: var(--on-dark); }
.switch__label small { display: block; color: var(--on-dark-muted); font-size: .74rem; }
.panel-summary { padding: 14px 18px 18px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18); }
.summary-wrap { margin-bottom: 12px; }
.summary-wrap > summary { list-style: none; cursor: pointer; font-size: .78rem; font-weight: 600; color: var(--on-dark-muted); display: flex; justify-content: space-between; align-items: center; }
.summary-wrap > summary::-webkit-details-marker { display: none; }
.summary-wrap > summary::after { content: "+"; font-size: 1.1rem; color: var(--gold-2); transition: transform .25s; }
.summary-wrap[open] > summary::after { transform: rotate(45deg); }
.summary { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: .78rem; }
.summary dt { color: var(--on-dark-muted); }
.summary dd { margin: 0; text-align: right; color: var(--on-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Catalog ---------- */
.catalog-tools { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.product { background: var(--surface); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product.is-hidden { display: none; }
.product--photo .product__media { background: #e6e6e6; }
.seg--lines .seg__btn { padding: 9px 16px; font-size: .88rem; }
.product__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--tint); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__media img { transform: scale(1.07); }
.product__list { position: absolute; top: 10px; left: 10px; padding: .3em .7em; border-radius: 999px; font-size: .68rem; font-weight: 600; background: #e8e8e8; color: #444; }
.product__list--emas { background: var(--gold); color: #3a2a0c; }
.product__code { background: var(--brand-dark); color: #fff; padding: 9px 14px; font-family: var(--display); font-weight: 800; font-size: .9rem; letter-spacing: .02em; }
.product__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product__meta { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.product__meta b { color: var(--ink); font-weight: 600; display: block; font-size: .9rem; }
.product__actions { display: flex; gap: 6px; margin-top: auto; }
.product__actions .btn { flex: 1; padding: .6em .6em; font-size: .8rem; }
.catalog__note { margin-top: 22px; font-size: .84rem; color: var(--muted); }

/* ---------- Spesifikasi ---------- */
.spec-grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.spec-card { background: var(--surface); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); box-shadow: var(--shadow); min-width: 0; }
.table-wrap { overflow-x: auto; border-radius: 10px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 480px; }
.spec-table td, .spec-table th { white-space: nowrap; }
.spec-table th { background: var(--brand-dark); color: #fff; font-weight: 600; padding: 11px 10px; text-align: center; }
.spec-table th:first-child { text-align: left; }
.spec-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.spec-table td:first-child { text-align: left; font-weight: 500; }
.panel-diagram { margin-top: 20px; padding: 10px; background: var(--tint); border-radius: 12px; }
.panel-diagram svg { width: 100%; height: auto; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.acc-head h3 { font-size: 1.3rem; }
.accessories { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.spec-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.spec-card .panel-diagram { margin-top: 0; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; }
.acc__art { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--tint); display: grid; place-items: center; }
.acc__art svg { width: 70%; height: 70%; stroke: var(--brand); stroke-width: 2.4; }
.acc strong { font-size: .92rem; line-height: 1.2; }
.acc span { font-size: .78rem; color: var(--muted); }
.acc__colors { display: flex; gap: 6px; }
.acc__colors i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

/* ---------- Kalkulator ---------- */
.estimator { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.estimator__copy > p { color: var(--muted); font-size: 1.02rem; }
.mini-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 10px; }
.mini-list li { padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; font-size: .94rem; color: var(--muted); }
.mini-list b { color: var(--ink); }
.calc, .form { background: var(--surface); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(20px, 3.5vw, 34px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.calc__row, .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: .85em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-size: 1rem; transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23800000' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.field input.is-invalid { border-color: #c2412d; }
.calc__result { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.calc__result > div { background: var(--brand-dark); color: #fff; padding: 14px 16px; }
.calc__result > div:nth-child(2) { background: var(--brand); }
.calc__result span { display: block; font-size: .76rem; color: rgba(255, 255, 255, .72); }
.calc__result strong { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.55rem); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
.step { position: relative; }
.step__num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--display); font-weight: 800; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--tint); }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq > div:first-child p { color: var(--muted); }
.accordion { display: grid; gap: 10px; }
.accordion details { background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--line); transition: border-color .3s; }
.accordion details[open] { border-color: var(--brand); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 600; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23800000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- Kontak ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list strong { display: block; font-size: .95rem; }
.contact__list span, .contact__list a { color: rgba(255, 255, 255, .82); font-size: .95rem; }
.contact__list a:hover { color: var(--gold-2); }
.contact__icon { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; flex: none; }
.contact__icon svg { width: 20px; height: 20px; }
.form__note { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-deep); color: var(--on-dark-muted); padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__quote { margin-top: 18px; font-size: 1.05rem; color: #fff; font-weight: 300; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer a:hover { color: var(--gold-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .85rem; flex-wrap: wrap; }

/* ---------- WA & toast ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.wa-float svg { width: 30px; height: 30px; stroke: none; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ring 2.4s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--brand-dark); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .9rem; transition: all .35s var(--ease); box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1100px) {
  .studio { grid-template-columns: minmax(0, 1fr); }
  .studio__viewer { height: clamp(400px, 62vw, 620px); }
  .studio__panel { height: auto; }
  .panel-body { overflow: visible; }
  .motifs { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
  .spec-card { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: stretch; gap: 6px; padding: 90px 24px 40px; background: #fff; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav__links a { font-family: var(--display); font-size: 1.5rem; font-weight: 700; padding: .5em .6em; transform: translateY(12px); transition: transform .45s var(--ease), background .2s; }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links.is-open a { transform: none; }
  .nav__links .nav__cta-mobile { display: inline-flex !important; margin-top: 20px; font-family: var(--font); font-size: 1rem; color: #fff; justify-content: center; }
  .nav__links .nav__cta-mobile:hover { color: #fff; background: var(--brand-2); }
  .nav__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .features { grid-template-columns: 1fr 1fr; }
  .estimator, .faq, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps::before { display: none; }
}

@media (max-width: 720px) {
  .logo__bars { width: 34px; height: 30px; }
  .logo__text b { font-size: 1.25rem; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__chip--a { left: 8px; bottom: -14px; }
  .hero__chip--b { right: 8px; top: -14px; }
  .features { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .room { flex-direction: column; text-align: center; gap: 8px; padding: 12px 6px; }
  .room small { display: none; }
  .room strong { font-size: .8rem; }
  .room__icon { width: 40px; height: 40px; }
  .studio__viewer { height: min(118vw, 70vh); height: min(118vw, 70svh); min-height: 360px; border-radius: 16px; }
  .studio__panel { border-radius: 16px; }
  .motifs { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .studio .seg__btn span { display: none; }
  .studio .seg__btn { padding: 8px 10px; }
  .seg--compact .seg__btn { font-size: .74rem; padding: 7px 9px; }
  .studio__hud, .studio__tools { left: 10px; right: 10px; }
  .studio__hud { top: 10px; }
  .studio__tools { bottom: 10px; }
  .studio__label { font-size: .76rem; padding: 8px 12px; }
  .studio__custom { top: 58px; font-size: .74rem; padding: 8px 12px; width: auto; }
  .icon-btn { width: 36px; height: 36px; }
  .studio__iconbtns { gap: 6px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
  .studio .chips { margin: 0 -18px 10px; padding: 0 18px 4px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .catalog-tools { width: 100%; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product__actions { flex-direction: column; }
  .calc__row, .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 28px; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 62px; bottom: 6px; width: 2px; background: var(--gold); opacity: .5; }
  .step__num { grid-row: span 2; margin: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float { width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .studio__iconbtns .icon-btn:first-child { display: none; }
  .seg--compact .seg__btn { padding: 7px 8px; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
