/* =====================================================================
   Sahih Teknik — Jasa Desain, Bangun & Renovasi Rumah
   Warna mengikuti palet klien: merah #EF4438, abu #454545, kuning #F6EE4F
   ===================================================================== */
@font-face { font-family: "Bricolage"; src: url(../fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(../fonts/jakarta.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #F6F4F0;
  --bg-2: #EFECE6;
  --surface: #FFFFFF;
  --ink: #1A1A1C;
  --ink-2: #454545;
  --muted: #6C6A66;
  --line: #E4DFD7;
  --red: #EF4438;
  --red-d: #D3301F;
  --red-soft: #FDE9E6;
  --red-ink: #C4291B;   /* merah untuk tulisan kecil (kontras cukup) */
  --red-btn: #DC3324;   /* merah untuk tombol bertulisan putih */
  --yellow: #F6EE4F;
  --dark: #17171A;
  --dark-2: #222226;
  --on-dark: #F4F2EE;
  --wa: #13843C;
  --ok: #188A4A;
  --r: 20px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 16, 10, .05), 0 8px 28px -10px rgba(20, 16, 10, .16);
  --shadow-lg: 0 2px 6px rgba(20, 16, 10, .06), 0 30px 60px -24px rgba(20, 16, 10, .32);
  --head: "Bricolage", "Jakarta", system-ui, sans-serif;
  --body: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 32px);
  --hdr: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111113; --bg-2: #18181B; --surface: #1C1C20; --ink: #F3F1EE; --ink-2: #CFCBC5; --muted: #A09C96;
    --line: #2C2C31; --red: #FF5646; --red-d: #FF6B5D; --red-ink: #FF7A6D; --red-soft: #3A1D1A; --dark: #0B0B0D; --dark-2: #19191C;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -12px rgba(0, 0, 0, .7);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111113; --bg-2: #18181B; --surface: #1C1C20; --ink: #F3F1EE; --ink-2: #CFCBC5; --muted: #A09C96;
  --line: #2C2C31; --red: #FF5646; --red-d: #FF6B5D; --red-ink: #FF7A6D; --red-soft: #3A1D1A; --dark: #0B0B0D; --dark-2: #19191C;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -12px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 750; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.fill { fill: currentColor; stroke: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.hide-sm { display: inline; }
[hidden] { display: none !important; }
mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); color: inherit; padding: 0 .08em; }
:root[data-theme="dark"] mark { background: linear-gradient(transparent 58%, rgba(246, 238, 79, .35) 58%, rgba(246, 238, 79, .35) 92%, transparent 92%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) mark { background: linear-gradient(transparent 58%, rgba(246, 238, 79, .35) 58%, rgba(246, 238, 79, .35) 92%, transparent 92%); } }

/* ---------- tombol ---------- */
.btn { --bb: var(--red-btn); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .78em 1.4em; border-radius: 999px; border: 1.5px solid var(--bb); background: var(--bb); color: #fff; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px var(--bb); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-dark { --bb: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-wa { --bb: var(--wa); }
.btn-light { --bb: #fff; color: #1A1A1C; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.btn-block { width: 100%; }
.linky { background: none; border: 0; padding: 0; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--bg-2); }

/* ---------- label kecil ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .76rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.chip .icon { width: 16px; height: 16px; color: var(--red); }

/* ---------- pita demo ---------- */
.demo-bar { background: var(--dark); color: var(--on-dark); font-size: .86rem; position: relative; z-index: 60; }
.demo-bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 6px; }
.demo-bar p { margin: 0; flex: 1; min-width: 0; line-height: 1.35; }
.demo-bar .tag { background: var(--yellow); color: #1A1A1C; font-weight: 800; font-size: .7rem; letter-spacing: .12em; padding: 4px 8px; border-radius: 6px; }
.demo-bar .linky { color: var(--yellow); white-space: nowrap; font-size: .84rem; }
.demo-bar .x { background: none; border: 0; color: inherit; opacity: .7; width: 36px; height: 36px; display: grid; place-items: center; margin-right: -8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.head-in { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { height: 54px; width: auto; }
.brand .logo-d { display: none; }
:root[data-theme="dark"] .brand .logo-l { display: none; }
:root[data-theme="dark"] .brand .logo-d { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .logo-l { display: none; } :root:not([data-theme="light"]) .brand .logo-d { display: block; } }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.head-act { display: flex; align-items: center; gap: 8px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .sun { display: none; } :root:not([data-theme="light"]) .theme-btn .moon { display: block; } }

/* ---------- navigasi bawah (HP) ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  :root { --hdr: 60px; }
  .nav, .head-act .btn-survey { display: none; }
  .head-act { margin-left: auto; }
  .brand img { height: 40px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 6px; }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border: 0; background: none; border-radius: 16px; text-decoration: none; font-size: .68rem; font-weight: 700; color: var(--muted); -webkit-tap-highlight-color: transparent; transition: color .2s, background .2s; }
  .tabbar .icon { width: 22px; height: 22px; }
  .tabbar [aria-current="page"] { color: var(--red-ink); background: var(--red-soft); }
  .tabbar .tab-main { color: #fff; }
  .tabbar .tab-main span { display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border-radius: 16px; background: var(--red); box-shadow: 0 10px 22px -8px var(--red); border: 4px solid var(--bg); }
  .tabbar .tab-main em { font-style: normal; color: var(--ink); }
  .tabbar .tab-wa { color: var(--wa); }
  .tabbar .tab-main span { background: var(--red-btn); }
  .hide-sm { display: none; }
}

/* ---------- section umum ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(44px, 6vw, 72px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-top: 14px; }
.sec-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.dark-sec { background: var(--dark); color: var(--on-dark); --line: rgba(255, 255, 255, .1); --muted: #A8A49E; --surface: var(--dark-2); --ink: var(--on-dark); --ink-2: #D5D1CA; }
.dark-sec .eyebrow { color: var(--yellow); }
.grid-bg { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; }

/* tanda sudut ala gambar kerja (motif dari bingkai portofolio klien) */
.marks { position: relative; }
.marks::before, .marks::after { content: ""; position: absolute; width: 34px; height: 34px; border: 2px solid var(--red); pointer-events: none; z-index: 3; }
.marks::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.marks::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }

/* ---------- animasi muncul ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =====================================================================
   BERANDA
   ===================================================================== */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); opacity: .7; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 18px 0 22px; }
.hero h1 .red { color: var(--red); }
.hero .lead { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-art { position: relative; }
.hero-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--bg-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.float-card { position: absolute; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px 16px; font-size: .86rem; line-height: 1.4; animation: floaty 6s ease-in-out infinite; }
.float-card b { display: block; font-size: .95rem; }
.fc-1 { left: -34px; bottom: 54px; display: flex; gap: 12px; align-items: center; max-width: 260px; }
.fc-1 .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.fc-2 { right: -22px; top: 84px; max-width: 230px; animation-delay: -3s; }
.fc-2 .stars { color: #F2A900; letter-spacing: 2px; font-size: .9rem; }
.fc-tag { position: absolute; left: 18px; top: 18px; background: rgba(15, 15, 17, .72); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.fc-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(246, 238, 79, .25); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* jalur wilayah layanan */
.areas { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.areas-track { display: flex; gap: 48px; padding: 18px 0; width: max-content; animation: marquee 34s linear infinite; }
.areas:hover .areas-track { animation-play-state: paused; }
.areas-track span { display: inline-flex; align-items: center; gap: 48px; font: 700 clamp(1.05rem, 2vw, 1.35rem)/1 var(--head); white-space: nowrap; color: var(--ink-2); }
.areas-track span::after { content: ""; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* angka */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--surface); padding: 26px 22px; }
.stat b { display: block; font: 800 clamp(2rem, 4vw, 2.9rem)/1 var(--head); letter-spacing: -.03em; color: var(--ink); }
.stat b small { font-size: .5em; color: var(--red); margin-left: 2px; }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; line-height: 1.4; }

/* kekhawatiran */
.worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.worry { position: relative; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 22px 22px 20px; min-height: 196px; display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; -webkit-tap-highlight-color: transparent; }
.worry:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.worry .q { font: 650 1.08rem/1.35 var(--head); letter-spacing: -.01em; color: var(--ink); }
.worry .a { display: none; color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
.worry .tick { position: absolute; right: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; transition: all .3s; }
.worry .num { font: 800 .8rem/1 var(--body); color: var(--muted); letter-spacing: .1em; }
.worry .hint { margin-top: auto; font-size: .82rem; color: var(--red-ink); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.worry[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.worry[aria-pressed="true"] .tick { background: var(--red); border-color: var(--red); color: #fff; }
.worry[aria-pressed="true"] .a { display: block; animation: fadeUp .45s var(--ease); }
.worry[aria-pressed="true"] .hint { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.worry-result { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; justify-content: space-between; padding: 20px 24px; border-radius: var(--r); background: var(--dark); color: var(--on-dark); }
.worry-result p { margin: 0; font-weight: 600; }
.worry-result b { color: var(--yellow); }

/* layanan (beranda) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .ph img { transform: scale(1.06); }
.svc .bd { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc .no { font: 800 .78rem/1 var(--body); color: var(--red-ink); letter-spacing: .14em; }
.svc h3 { font-size: 1.55rem; margin: 10px 0 8px; }
.svc p { color: var(--muted); font-size: .96rem; }
.svc .from { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.svc .from b { color: var(--ink); font-size: 1.05rem; }
.svc .go { width: 40px; height: 40px; border-radius: 50%; background: var(--red-btn); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.svc:hover .go { transform: rotate(-45deg); }

/* sebelum-sesudah */
.ba { position: relative; overflow: hidden; border-radius: 22px; background: var(--bg-2); user-select: none; -webkit-user-select: none; touch-action: pan-y; --pos: 50%; box-shadow: var(--shadow); }
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); pointer-events: none; }
.ba .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF4438' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.ba { cursor: ew-resize; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; z-index: 2; pointer-events: none; }
.ba input:focus-visible + .handle::after { outline: 3px solid var(--yellow); outline-offset: 3px; }
.ba .lbl { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(15, 15, 17, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; z-index: 1; }
.ba .lbl.l { left: 14px; }
.ba .lbl.r { right: 14px; background: var(--red-btn); }
.ba-pair { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: start; }
.ba-card figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 14px 4px 0; }
.ba-card figcaption b { font: 700 1.1rem/1.3 var(--head); }
.ba-card figcaption span { color: var(--muted); font-size: .88rem; text-align: right; }
.ba-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-top: 18px; }
.ba-hint .icon { color: var(--red); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

/* keunggulan */
.adv-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.adv-tab { border: 1px solid var(--line); background: transparent; color: var(--ink-2); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; }
.adv-tab[aria-selected="true"] { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.adv-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.adv-panel[hidden] { display: none; }
.adv-panel .big { font: 750 clamp(1.7rem, 3.4vw, 2.6rem)/1.12 var(--head); letter-spacing: -.03em; margin: 0 0 14px; }
.adv-list { list-style: none; display: grid; gap: 12px; }
.adv-list li { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); animation: fadeUp .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.adv-list .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); flex: none; }
.dark-sec .adv-list .ic { background: rgba(239, 68, 56, .16); }
.adv-list b { display: block; margin-bottom: 2px; font-size: 1rem; }
.adv-list p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }

/* alur kerja (SOP) */
.flow { position: relative; }
.flow-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; counter-reset: s; }
.flow::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; background: var(--line); transform: translateX(-1px); }
.flow-bar { position: absolute; left: 50%; top: 10px; width: 2px; height: calc((100% - 20px) * var(--p, 0)); background: var(--red); transform: translateX(-1px); transition: height .15s linear; }
.step { position: relative; padding: 0 0 28px; counter-increment: s; }
.step:nth-child(odd) { grid-column: 1; text-align: right; }
.step:nth-child(even) { grid-column: 2; margin-top: 58px; }
.step .card { display: inline-block; text-align: left; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; transition: border-color .4s, box-shadow .4s; }
.step.on .card { border-color: color-mix(in srgb, var(--red) 45%, var(--line)); box-shadow: var(--shadow); }
.step .card::before { content: counter(s, decimal-leading-zero); display: block; font: 800 .78rem/1 var(--body); letter-spacing: .14em; color: var(--red-ink); margin-bottom: 8px; }
.step h3 { font-size: 1.12rem; margin: 0 0 4px; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }
.step .dot { position: absolute; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--line); transition: all .4s; }
.step:nth-child(odd) .dot { right: -36px; }
.step:nth-child(even) .dot { left: -36px; }
.step.on .dot { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 6px var(--red-soft); }

/* testimoni */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.testi { border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.testi .ph { aspect-ratio: 16 / 10; overflow: hidden; }
.testi .ph img { width: 100%; height: 100%; object-fit: cover; }
.testi .bd { padding: 20px; }
.chat { background: #E9E2D6; border-radius: 16px; padding: 14px; background-image: radial-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px); background-size: 14px 14px; }
:root[data-theme="dark"] .chat { background-color: #0F1A17; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chat { background-color: #0F1A17; } }
.bubble-in { position: relative; background: #fff; color: #1A1A1C; border-radius: 4px 14px 14px 14px; padding: 10px 12px 18px; font-size: .95rem; line-height: 1.5; max-width: 94%; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
:root[data-theme="dark"] .bubble-in { background: #1F2C33; color: #E9EDEF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bubble-in { background: #1F2C33; color: #E9EDEF; } }
.bubble-in small { position: absolute; right: 10px; bottom: 4px; font-size: .68rem; opacity: .55; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi .ava { width: 42px; height: 42px; border-radius: 50%; background: var(--red-btn); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.testi .who b { display: block; font-size: .98rem; line-height: 1.3; }
.testi .who span { font-size: .84rem; color: var(--muted); }
.testi-note { margin-top: 18px; font-size: .84rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }

/* tentang */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-ph { position: relative; }
.about-ph img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-ph .badge { position: absolute; right: -14px; bottom: -22px; background: var(--red-btn); color: #fff; border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow-lg); }
.about-ph .badge b { display: block; font: 800 2.6rem/1 var(--head); }
.about-ph .badge span { font-size: .84rem; font-weight: 600; opacity: .92; }
.vm { display: grid; gap: 14px; margin-top: 22px; }
.vm div { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.vm h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); font-family: var(--body); font-weight: 800; margin-bottom: 6px; }
.vm p, .vm li { margin: 0; color: var(--ink-2); font-size: .96rem; }
.vm ul { padding-left: 18px; display: grid; gap: 4px; }

/* tips */
.tips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: t; }
.tip { counter-increment: t; padding: 22px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.tip::before { content: counter(t); position: absolute; right: 8px; top: -14px; font: 800 5rem/1 var(--head); color: var(--red); opacity: .1; }
.tip b { display: block; font-family: var(--head); font-size: 1.04rem; margin-bottom: 6px; line-height: 1.25; }
.tip p { margin: 0; font-size: .9rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; gap: 14px; justify-content: space-between; align-items: center; font: 650 1.04rem/1.4 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq .ans { padding: 0 20px 20px; color: var(--ink-2); }
.faq .ans p:last-child { margin: 0; }

/* ajakan akhir */
.cta-band { position: relative; overflow: hidden; border-radius: 30px; background: var(--red-btn); color: #fff; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 0 0 12px; }
.cta-band p { margin: 0; opacity: .92; font-size: 1.06rem; }
.cta-band .acts { display: grid; gap: 12px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .btn-ghost:hover { border-color: #fff; }
.cta-roof { position: absolute; right: -40px; bottom: -60px; width: 340px; opacity: .14; pointer-events: none; }

/* =====================================================================
   HALAMAN DALAM
   ===================================================================== */
.page-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); opacity: .6; pointer-events: none; }
.page-hero .wrap { position: relative; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin: 14px 0 16px; max-width: 900px; }
.page-hero .lead { font-size: 1.12rem; color: var(--ink-2); max-width: 680px; margin: 0; }
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }

/* tab jasa */
.svc-switch { position: sticky; top: calc(var(--hdr) + 8px); z-index: 20; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow); width: max-content; max-width: 100%; margin: 0 auto 40px; overflow-x: auto; scrollbar-width: none; }
.svc-switch::-webkit-scrollbar { display: none; }
.svc-switch button { border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s; }
.svc-switch button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.svc-panel[hidden] { display: none; }
.svc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.svc-intro img { border-radius: 24px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-intro h2 { font-size: clamp(2rem, 4vw, 3rem); }
.svc-intro .lead { color: var(--ink-2); font-size: 1.06rem; }
.checks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--red); margin-top: 3px; width: 20px; height: 20px; }
.mini-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; counter-reset: m; margin-bottom: clamp(40px, 6vw, 72px); }
.mini-flow li { list-style: none; counter-increment: m; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.mini-flow li::before { content: counter(m); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red-btn); color: #fff; font-weight: 800; font-size: .86rem; margin-bottom: 10px; }
.mini-flow b { display: block; font-size: .98rem; line-height: 1.3; margin-bottom: 4px; }
.mini-flow span { font-size: .86rem; color: var(--muted); line-height: 1.45; display: block; }
.h3-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.h3-row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.sample-tag { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 700; color: #7A5B00; background: #FFF6C2; border: 1px dashed #D9C14A; padding: 6px 12px; border-radius: 999px; }
:root[data-theme="dark"] .sample-tag { color: var(--yellow); background: rgba(246, 238, 79, .08); border-color: rgba(246, 238, 79, .35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sample-tag { color: var(--yellow); background: rgba(246, 238, 79, .08); border-color: rgba(246, 238, 79, .35); } }

/* paket harga */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price.pop { background: var(--dark); color: var(--on-dark); border-color: var(--dark); --muted: #ABA7A0; --line: rgba(255, 255, 255, .12); }
.price .ribbon { position: absolute; top: -12px; left: 24px; background: var(--yellow); color: #1A1A1C; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; }
.price h4 { font-size: 1.3rem; margin: 0 0 6px; }
.price .for { color: var(--muted); font-size: .9rem; margin: 0 0 18px; min-height: 2.9em; }
.price .amt { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.price .amt small { font-size: .82rem; color: var(--muted); font-weight: 600; }
.price .amt b { font: 800 2.1rem/1 var(--head); letter-spacing: -.03em; }
.price ul { list-style: none; display: grid; gap: 9px; margin-bottom: 22px; font-size: .93rem; }
.price li { display: flex; gap: 10px; }
.price li .icon { color: var(--red); width: 18px; height: 18px; margin-top: 3px; }
.price .btn { margin-top: auto; }
.price.pop .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* kuis */
.quiz { border-radius: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; }
.quiz-side { background: var(--dark); color: var(--on-dark); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.quiz-side h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 6px 0 0; }
.quiz-side p { color: #BDB9B2; margin: 0; }
.quiz-side .eyebrow { color: var(--yellow); }
.quiz-prog { display: flex; gap: 6px; margin-top: auto; }
.quiz-prog i { flex: 1; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .14); transition: background .3s; }
.quiz-prog i.on { background: var(--yellow); }
.quiz-main { padding: clamp(24px, 4vw, 40px); min-height: 360px; display: flex; flex-direction: column; }
.quiz-q { font: 700 clamp(1.25rem, 2.2vw, 1.6rem)/1.25 var(--head); margin: 0 0 18px; letter-spacing: -.02em; }
.quiz-opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 15px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s, transform .2s, background .2s; }
.opt:hover { border-color: var(--red); transform: translateX(4px); }
.opt .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--red); flex: none; border: 1px solid var(--line); }
.opt b { display: block; font-size: 1rem; }
.opt span { font-size: .86rem; color: var(--muted); }
.quiz-res { animation: fadeUp .5s var(--ease); }
.quiz-res .pick { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--head); letter-spacing: -.03em; margin: 6px 0 10px; color: var(--red); }
.quiz-res .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.quiz-back { margin-top: auto; padding-top: 18px; align-self: flex-start; background: none; border: 0; color: var(--muted); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }

/* kalkulator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); }
.calc-in { padding: clamp(22px, 3.6vw, 40px); display: grid; gap: 26px; }
.calc-out { padding: clamp(22px, 3.6vw, 40px); background: var(--dark); color: var(--on-dark); display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; --muted: #ADA9A2; --line: rgba(255, 255, 255, .12); }
.calc-out::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.calc-out > * { position: relative; }
.fld > label, .fld > .lab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.fld .lab small, .fld > label small { font-weight: 500; color: var(--muted); font-size: .84rem; }
.seg { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; min-height: 52px; padding: 8px 6px; border-radius: 12px; font-weight: 700; font-size: .9rem; line-height: 1.2; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.seg span small { font-weight: 500; font-size: .74rem; color: var(--muted); }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--red); }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input[type="range"] { flex: 1; }
.num-box { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden; }
.num-box input { width: 70px; border: 0; background: transparent; padding: 10px 4px 10px 12px; font-weight: 800; font-size: 1.05rem; text-align: right; -moz-appearance: textfield; appearance: textfield; }
.num-box input::-webkit-outer-spin-button, .num-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num-box span { padding-right: 12px; color: var(--muted); font-weight: 600; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 34px; background: transparent; --v: 30%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--red) var(--v), var(--line) var(--v)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--red) var(--v), var(--line) var(--v)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.ticks { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.extras { display: flex; flex-wrap: wrap; gap: 8px; }
.extras label { position: relative; }
.extras input { position: absolute; opacity: 0; pointer-events: none; }
.extras span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .2s; background: var(--bg); }
.extras span::before { content: "+"; font-weight: 800; color: var(--red); }
.extras input:checked + span { border-color: var(--red); background: var(--red-soft); color: var(--ink); }
.extras input:checked + span::before { content: "✓"; }
.extras input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.switch { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1.5px dashed var(--line); cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 50px; height: 30px; border-radius: 30px; background: var(--line); position: relative; flex: none; transition: background .25s; margin: 0; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked { background: var(--red); }
.switch input:checked::after { transform: translateX(20px); }
.switch b { display: block; font-size: .96rem; }
.switch small { color: var(--muted); font-size: .85rem; }
.out-k { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--yellow); }
.out-big { font: 800 clamp(2rem, 4.2vw, 3rem)/1.05 var(--head); letter-spacing: -.035em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.out-sub { color: var(--muted); font-size: .92rem; }
.out-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.out-row div { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.out-row span { display: block; font-size: .78rem; color: var(--muted); }
.out-row b { font-size: 1.04rem; }
.bars { display: flex; height: 14px; border-radius: 8px; overflow: hidden; gap: 2px; }
.bars i { display: block; height: 100%; transition: flex-grow .6s var(--ease); }
.legend { display: grid; gap: 7px; font-size: .86rem; margin-top: 12px; }
.legend li { list-style: none; display: flex; align-items: center; gap: 10px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend span { flex: 1; color: #D5D1CA; }
.legend b { font-variant-numeric: tabular-nums; font-weight: 700; }
.stages { display: grid; gap: 8px; }
.stages div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(246, 238, 79, .08); border: 1px solid rgba(246, 238, 79, .22); font-size: .9rem; }
.stages b { white-space: nowrap; }
.out-acts { display: grid; gap: 10px; margin-top: auto; }
.out-acts .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.out-acts .btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .24); }
.disclaim { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* =====================================================================
   PROYEK & KONTAK
   ===================================================================== */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 22px; }
.proj-list { display: grid; gap: 22px; }
.proj { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.proj:nth-child(even) { grid-template-columns: 1.1fr 1fr; }
.proj:nth-child(even) .proj-ph { order: 2; }
.proj-ph { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; min-height: 340px; background: var(--bg-2); }
.proj-ph button { border: 0; padding: 0; overflow: hidden; background: var(--bg-2); position: relative; }
.proj-ph button:first-child { grid-row: span 2; }
.proj-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.proj-ph button:hover img { transform: scale(1.06); }
.proj-ph .more { position: absolute; right: 12px; bottom: 12px; background: rgba(15, 15, 17, .75); color: #fff; padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; pointer-events: none; display: flex; gap: 6px; align-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.proj-bd { padding: clamp(22px, 3.4vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.proj-bd .loc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .9rem; }
.proj-bd .loc .icon { color: var(--red); width: 18px; height: 18px; }
.proj-bd h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: var(--bg-2); color: var(--ink-2); }
.proj-bd .chat { margin-top: 6px; }
.proj-bd .act { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; border: 1px solid var(--line); background: var(--surface); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink-2); transition: all .2s; display: inline-flex; gap: 6px; align-items: center; }
.filters button small { font-weight: 600; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters button[aria-pressed="true"] small { color: inherit; opacity: .7; }
.gallery { columns: 4 220px; column-gap: 12px; }
.gallery button { display: block; width: 100%; margin: 0 0 12px; break-inside: avoid; border: 0; padding: 0; border-radius: 16px; overflow: hidden; position: relative; background: var(--bg-2); }
.gallery img { width: 100%; transition: transform .7s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery button .cap { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: #fff; font-size: .8rem; font-weight: 600; text-align: left; opacity: 0; transform: translateY(8px); transition: all .3s; }
.gallery button:hover .cap, .gallery button:focus-visible .cap { opacity: 1; transform: none; }
.gallery button.out { display: none; }
@media (hover: none) { .gallery button .cap { opacity: 1; transform: none; } }

.other-jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.other-jobs li { list-style: none; display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.other-jobs .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.other-jobs b { display: block; font-size: .96rem; line-height: 1.3; }
.other-jobs span { font-size: .84rem; color: var(--muted); }

/* kontak */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; align-items: start; }
.contact > *, .form, .form > *, .modal-body { min-width: 0; }
.c-cards { display: grid; gap: 12px; }
.c-card { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
a.c-card:hover { border-color: var(--red); transform: translateY(-2px); }
.c-card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--red-btn); color: #fff; display: grid; place-items: center; flex: none; }
.c-card .k { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.c-card b { display: block; font-size: 1rem; line-height: 1.4; margin-top: 2px; }
.c-card small { color: var(--muted); }
.map { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-2) url("../img/alat-s.webp") center / cover; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; background: rgba(15, 15, 17, .55); color: #fff; border: 0; font-weight: 700; text-align: center; padding: 20px; }
.map-load .icon { width: 36px; height: 36px; }
.map-load small { font-weight: 500; opacity: .85; }
.form-card { padding: clamp(22px, 3.4vw, 34px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.6rem; margin: 0 0 6px; }
.form-card > p { color: var(--muted); }
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-size: 1rem; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.form .err { color: var(--red); font-size: .82rem; font-weight: 600; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.days label { position: relative; flex: none; display: block; }
.days input { position: absolute; opacity: 0; pointer-events: none; }
.days span { display: grid; place-items: center; width: 62px; padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 500; font-size: .74rem; color: var(--muted); line-height: 1.25; cursor: pointer; transition: all .2s; }
.days span b { font-size: 1.2rem; color: var(--ink); font-family: var(--head); }
.days input:checked + span { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.days input:checked + span b { color: #fff; }
.days input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.days input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--dark); color: #C9C5BE; padding: clamp(48px, 7vw, 84px) 0 28px; font-size: .94rem; margin-top: clamp(40px, 6vw, 80px); }
:root[data-theme="dark"] .site-footer { border-top: 1px solid #222; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer img { height: 70px; width: auto; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-family: var(--body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: #8F8B85; }
.foot-bottom a { color: #E8E4DD; text-decoration: underline; }

/* tombol WA melayang (desktop) */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(31, 175, 84, .7); transform: translateY(120px); transition: transform .5s var(--ease); }
.fab-wa.show { transform: none; }
.fab-wa .icon { width: 26px; height: 26px; }
@media (max-width: 860px) { .fab-wa { display: none; } }

/* =====================================================================
   JENDELA (dialog), lightbox, toast
   ===================================================================== */
.modal { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(10, 10, 12, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 22px 14px; background: var(--surface); }
.modal-head h2 { font-size: 1.45rem; margin: 0; }
.modal-body { padding: 0 22px 24px; }
.modal-actions { display: grid; gap: 10px; margin-top: 18px; }
@media (max-width: 560px) {
  .modal { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 26px 26px 0 0; max-height: 92dvh; }
  .modal[open] { animation: sheet .4s var(--ease); }
  .modal-body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@keyframes sheet { from { transform: translateY(60%); opacity: .4; } to { transform: none; opacity: 1; } }
.wa-preview { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin-top: 12px; }
.wa-top { display: flex; gap: 10px; align-items: center; background: #075E54; color: #fff; padding: 10px 14px; }
.wa-top .ava { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.wa-top .ava img { width: 30px; }
.wa-top small { display: block; opacity: .8; font-size: .74rem; }
.wa-body { background: #E9E2D6; padding: 14px; background-image: radial-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px); background-size: 14px 14px; max-height: 300px; overflow: auto; }
.bubble { margin-left: auto; max-width: 92%; background: #D9FDD3; color: #111; border-radius: 14px 4px 14px 14px; padding: 10px 12px 18px; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; position: relative; word-wrap: break-word; }
.bubble time { position: absolute; right: 10px; bottom: 3px; font-size: .68rem; color: #667; }
.demo-note { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #FFF6C2; color: #4A3A00; font-size: .9rem; line-height: 1.5; border: 1px dashed #D9C14A; }
.pkg-price { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 16px; background: var(--red-btn); color: #fff; margin-bottom: 14px; }
.pkg-price b { font: 800 2rem/1.1 var(--head); }
.pkg-price span { font-size: .88rem; opacity: .92; }
.pkg-list { list-style: none; display: grid; gap: 8px; font-size: .94rem; }
.pkg-list li { display: flex; gap: 10px; }
.pkg-list .icon { color: var(--red); width: 18px; height: 18px; margin-top: 3px; }
.pkg-feat { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.pkg-feat h3 { font-size: 1rem; font-family: var(--body); font-weight: 800; margin-bottom: 10px; }

.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 10, .96); color: #fff; }
.lightbox::backdrop { background: rgba(8, 8, 10, .96); }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 64px 12px 96px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; transition: opacity .25s, transform .25s; }
.lb-stage img.swap { opacity: 0; transform: scale(.98); }
.lb-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; z-index: 2; }
.lb-top span { font-weight: 700; font-size: .9rem; opacity: .85; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px calc(22px + env(safe-area-inset-bottom)); text-align: center; font-size: .95rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.lb-cap small { display: block; opacity: .7; font-size: .82rem; margin-top: 2px; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); transform: none; } }

.toast { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0; z-index: 200; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lg); pointer-events: none; transition: all .35s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 861px) { .toast { bottom: 30px; } }

/* =====================================================================
   RESPONSIF
   ===================================================================== */
@media (max-width: 1080px) {
  .tips { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: -10px; }
  .fc-2 { right: -8px; }
}
@media (max-width: 960px) {
  .hero-in, .about, .svc-intro, .adv-panel, .calc, .quiz, .contact, .cta-band { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; margin-inline: auto; }
  .svc-grid, .testi-grid, .prices { grid-template-columns: 1fr 1fr; }
  .worry-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .ba-pair { grid-template-columns: 1fr; }
  .proj, .proj:nth-child(even) { grid-template-columns: 1fr; }
  .proj:nth-child(even) .proj-ph { order: 0; }
  .about-ph { order: -1; }
  .quiz-side { min-height: auto; }
  .quiz-prog { margin-top: 10px; }
  .cta-roof { width: 240px; }
}
@media (max-width: 860px) {
  .flow { padding-left: 34px; }
  .flow-list { grid-template-columns: 1fr; gap: 0; }
  .flow::before, .flow-bar { left: 8px; }
  .step:nth-child(odd), .step:nth-child(even) { grid-column: 1; text-align: left; margin-top: 0; padding-bottom: 14px; }
  .step:nth-child(odd) .dot, .step:nth-child(even) .dot { left: -34px; right: auto; }
  .step .card { display: block; }
}
@media (max-width: 640px) {
  body { font-size: .98rem; }
  .hero { padding-top: 18px; }
  .hero h1 { margin-top: 14px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-photo { aspect-ratio: 4 / 4.4; border-radius: 22px; }
  .fc-1 { left: 10px; bottom: 12px; right: 10px; max-width: none; }
  .fc-2 { right: 10px; top: 60px; max-width: 200px; padding: 10px 12px; font-size: .8rem; }
  .svc-grid, .testi-grid, .prices, .worry-grid, .ba-grid { grid-template-columns: 1fr; }
  .worry { min-height: 0; }
  .tips { grid-template-columns: 1fr; }
  .tip { padding: 18px; }
  .stat { padding: 20px 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .out-acts .row { grid-template-columns: 1fr; }
  .marks::before, .marks::after { width: 24px; height: 24px; }
  .marks::before { top: -7px; left: -7px; }
  .marks::after { bottom: -7px; right: -7px; }
  .proj-ph { min-height: 260px; }
  .price.pop { order: -1; }
  .about-ph .badge { right: 10px; bottom: -18px; padding: 14px 18px; }
  .svc-switch { width: 100%; }
  .svc-switch button { flex: 1; justify-content: center; padding: 11px 12px; font-size: .9rem; }
  .svc-switch button .icon { display: none; }
  .seg span { font-size: .84rem; min-height: 50px; }
  .cta-band { border-radius: 24px; }
}

/* cetak hasil perkiraan biaya */
@media print {
  .site-header, .tabbar, .demo-bar, .site-footer, .fab-wa, .no-print, .page-hero, .svc-switch, .quiz { display: none !important; }
  body { background: #fff; padding: 0; }
  .calc { grid-template-columns: 1fr; box-shadow: none; }
  .calc-out { background: #fff !important; color: #000 !important; --muted: #555; }
  .calc-out .out-acts { display: none; }
  .section { padding: 10px 0; }
}
.proj-ph.two button:nth-child(2) { grid-row: span 2; }
