/* ============================================================
   TB. Agung Sarana — gaya minimalis putih + merah
   ============================================================ */
:root {
  --red: #d7141a;
  --red-soft: #fdecec;
  --green: #2e9d07;
  --green-soft: #eaf6e4;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --ink: #16181d;
  --muted: #5d6470;
  --line: #e7e8eb;
  --tint: #f7f7f8;
  --bg: #ffffff;
  --surface: #ffffff;
  --tab-active: #ffffff;
  --line-strong: #d3d6db;
  --nav-bg: rgba(255, 255, 255, .92);
  --open-ink: #226f06;
  --result-bg: #f7f7f8;
  --result-line: #e7e8eb;
  --result-ink: #16181d;
  --result-label: #d7141a;
  --result-sub: #5d6470;
  --result-text: #3b414c;
  --result-faint: #6b7280;
  --result-row: #e3e5e9;
  --btn-dark-bg: #16181d;
  --btn-dark-ink: #ffffff;
  --map-bg: #e9eaec;
  --alert-bg: #fff8e6;
  --alert-line: #f3dca0;
  --alert-icon: #b26b00;
  --alert-ink: #4a3f2a;
  color-scheme: light;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --wrap: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Mode gelap: pilihan pengunjung (data-theme) atau mengikuti sistem */
:root[data-theme="dark"] {
  --red: #f0454b;
  --red-soft: rgba(240, 69, 75, .14);
  --green: #4cc220;
  --green-soft: rgba(76, 194, 32, .14);
  --ink: #eceef2;
  --muted: #9ba2ae;
  --line: #2a2e36;
  --line-strong: #3b404a;
  --tint: #15181d;
  --bg: #0e1014;
  --surface: #1a1d23;
  --tab-active: #2a2f38;
  --nav-bg: rgba(14, 16, 20, .88);
  --open-ink: #7ddc55;
  --result-bg: #1f232a;
  --result-line: #2f343d;
  --result-ink: #ffffff;
  --result-label: #ff8a8e;
  --result-sub: #b9bdc6;
  --result-text: #d6d9df;
  --result-faint: #9ba1ad;
  --result-row: rgba(255, 255, 255, .1);
  --btn-dark-bg: #eceef2;
  --btn-dark-ink: #0e1014;
  --map-bg: #1a1d23;
  --alert-bg: rgba(240, 180, 60, .08);
  --alert-line: rgba(240, 180, 60, .3);
  --alert-icon: #f0b43c;
  --alert-ink: #e6dcc6;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --red: #f0454b;
    --red-soft: rgba(240, 69, 75, .14);
    --green: #4cc220;
    --green-soft: rgba(76, 194, 32, .14);
    --ink: #eceef2;
    --muted: #9ba2ae;
    --line: #2a2e36;
    --line-strong: #3b404a;
    --tint: #15181d;
    --bg: #0e1014;
    --surface: #1a1d23;
  --tab-active: #2a2f38;
    --nav-bg: rgba(14, 16, 20, .88);
    --open-ink: #7ddc55;
    --result-bg: #1f232a;
  --result-line: #2f343d;
  --result-ink: #ffffff;
  --result-label: #ff8a8e;
  --result-sub: #b9bdc6;
  --result-text: #d6d9df;
  --result-faint: #9ba1ad;
  --result-row: rgba(255, 255, 255, .1);
    --btn-dark-bg: #eceef2;
    --btn-dark-ink: #0e1014;
    --map-bg: #1a1d23;
    --alert-bg: rgba(240, 180, 60, .08);
    --alert-line: rgba(240, 180, 60, .3);
    --alert-icon: #f0b43c;
    --alert-ink: #e6dcc6;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
}
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  transition: background-color .2s, color .2s;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--btn-dark-bg); color: var(--btn-dark-ink); }
.btn--dark:hover { opacity: .9; }

/* ---------- Pita peringatan penipuan (atas) ---------- */
.alertbar { background: var(--alert-bg); border-bottom: 1px solid var(--alert-line); color: var(--alert-ink); font-size: 14px; }
.alertbar-off .alertbar { display: none; }
.alertbar__inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; max-width: var(--wrap); margin: 0 auto; padding: 9px 52px; text-align: center; }
.alertbar__inner > .i { flex: none; width: 18px; height: 18px; color: var(--alert-icon); }
.alertbar p { line-height: 1.45; }
.alertbar a { color: inherit; font-weight: 700; white-space: nowrap; }
.alertbar__close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--alert-ink); cursor: pointer;
}
.alertbar__close:hover { background: var(--alert-line); }
.alertbar__close .i { width: 16px; height: 16px; }
@media (max-width: 620px) {
  .alertbar { font-size: 13px; }
  .alertbar__inner { justify-content: flex-start; text-align: left; padding: 8px 44px 8px 16px; }
  .alertbar__long { display: none; }
  .alertbar__close { right: 6px; }
}

/* ---------- Navigasi ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__brand img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a { white-space: nowrap; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav__links a:not(.btn):hover { color: var(--ink); }
.theme-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer;
  transition: border-color .15s;
}
.theme-btn:hover { border-color: var(--ink); }
.theme-btn .i { width: 20px; height: 20px; }
.theme-btn .i--sun { display: none; }
:root[data-theme="dark"] .theme-btn .i--sun { display: block; }
:root[data-theme="dark"] .theme-btn .i--moon { display: none; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer; }
.nav__toggle .i { width: 26px; height: 26px; }
.nav__toggle .i--close { display: none; }

@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; }
  .theme-btn { margin-left: auto; margin-right: 8px; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
  .nav__links .btn { margin-top: 16px; min-height: 48px; }
  .nav.is-open .nav__links { display: flex; }
  .nav.is-open .i--open { display: none; }
  .nav.is-open .i--close { display: block; }
  .nav__brand img { height: 32px; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; margin: 20px 0 20px; }
.hero h1 .accent { color: var(--red); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.status {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  font-size: 14px; background: var(--tint); color: var(--muted);
}
.status strong { color: var(--ink); font-weight: 600; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa0a8; }
.status.is-open { background: var(--green-soft); }
.status.is-open .status__dot { background: var(--green); box-shadow: 0 0 0 4px rgba(46, 157, 7, .18); animation: pulse 2s infinite; }
.status.is-open strong { color: var(--open-ink); }
.status.is-closed { background: var(--red-soft); }
.status.is-closed .status__dot { background: var(--red); }
.status.is-closed strong { color: var(--red); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(46, 157, 7, 0); } }

.hero__art { position: relative; }
.arcs { width: 100%; height: auto; overflow: visible; }
.arc { fill: none; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s cubic-bezier(.4, 0, .2, 1) forwards; }
.arc--1 { stroke: var(--red); stroke-width: 34; }
.arc--2 { stroke: var(--green); stroke-width: 30; animation-delay: .15s; }
.arc--3 { stroke: var(--red); stroke-width: 26; animation-delay: .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.facts {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.facts li { padding: 24px 24px 0 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: 17px; }
.facts span { color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .hero { padding: 40px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__art { order: -1; max-width: 220px; }
  .hero h1 { margin-top: 16px; }
  .hero__cta .btn { flex: 1 1 200px; }
  .facts { grid-template-columns: 1fr; margin-top: 40px; }
  .facts li, .facts li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Pemberitahuan penipuan di bawah Beranda */
.notice {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 28px;
  padding: 14px 18px; border-radius: 12px;
  background: var(--tint); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.notice > .i { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--alert-icon); }
.notice strong { color: var(--ink); font-weight: 700; white-space: nowrap; }
.notice a { color: var(--red); font-weight: 600; white-space: nowrap; }

/* ---------- Section ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: 48px; max-width: 640px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__note { color: var(--muted); max-width: 22em; font-size: 15px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
}

/* ---------- Layanan ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.service__icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--red-soft); color: var(--red);
  margin-bottom: 20px;
}
.service__icon .i { width: 24px; height: 24px; }
.service h3 { font-size: 18px; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Produk ---------- */
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  display: flex; flex-direction: column; gap: 16px; height: 100%;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat__icon { color: var(--red); }
.cat__icon .i { width: 32px; height: 32px; stroke-width: 1.5; }
.cat__body strong { display: block; font-size: 17px; margin-bottom: 4px; }
.cat__body small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cat__go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--wa-dark); }
.cat__go .i { width: 16px; height: 16px; transition: transform .15s; }
.cat:hover .cat__go .i { transform: translateX(3px); }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .cats { gap: 10px; }
  .cat { padding: 16px; gap: 12px; }
  .cat__icon .i { width: 26px; height: 26px; }
  .cat__body strong { font-size: 15px; }
  .cat__body small { font-size: 13px; }
  .cat__go { font-size: 13px; }
}

/* ---------- Kalkulator ---------- */
[hidden] { display: none !important; }
.calc { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.calc > *, .calc__panel > * { min-width: 0; }
.calc__main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 8px 24px; }

.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--tint); border-radius: 12px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border: 0; border-radius: 9px;
  background: transparent; color: var(--muted); font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--tab-active); color: var(--red); box-shadow: 0 1px 3px rgba(16, 24, 40, .1); }
.tabs .i { width: 18px; height: 18px; }

.calc__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 16px 0; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field select, .unit input {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  font: 500 16px/1.2 var(--font); color: var(--ink);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.unit { position: relative; }
.unit input { padding-right: 48px; font-variant-numeric: tabular-nums; }
.unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.field select:focus, .unit input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(215, 20, 26, .12); }

.calc__result { position: sticky; top: 96px; background: var(--result-bg); border: 1px solid var(--result-line); color: var(--result-ink); border-radius: var(--radius); padding: 28px; }
.calc__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--result-label); }
.calc__summary { margin-top: 6px; font-size: 15px; color: var(--result-sub); }
.calc__list { list-style: none; margin: 20px 0 24px; padding: 0; }
.calc__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--result-row); }
.calc__list li:first-child { border-top: 1px solid var(--result-row); }
.calc__list span { color: var(--result-text); font-size: 15px; }
.calc__list strong { font-size: 20px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.calc__list small { grid-column: 2; text-align: right; color: var(--result-faint); font-size: 13px; }
.calc__result .btn { width: 100%; }
.calc__result .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.calc__note { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--result-faint); }

@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__result { position: static; }
}
@media (max-width: 520px) {
  .calc__main { padding: 6px 6px 20px; }
  .calc__panel { grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 20px 10px 0; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tabs button { padding: 0 10px; font-size: 13px; }
  .calc__result { padding: 22px; }
  .calc__list strong { font-size: 18px; }
}


/* Pintu & jendela */
.field__label { font-size: 14px; font-weight: 600; }
.field__label small { font-weight: 400; color: var(--muted); font-size: 13px; }
.openings__list { display: grid; gap: 10px; }
.openings__list:empty { display: none; }
.opening { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--tint); }
.opening__head { display: flex; gap: 8px; margin-bottom: 10px; }
.opening__head select {
  flex: 1; min-height: 40px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: 8px;
  font: 600 15px/1.2 var(--font); color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
}
.opening__del {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); cursor: pointer;
}
.opening__del:hover { color: var(--red); border-color: var(--red); }
.opening__del .i { width: 18px; height: 18px; }
.opening__dims { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 8px; }
.opening__dims label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.opening__dims .unit input { min-height: 42px; padding: 0 34px 0 12px; font-size: 15px; border: 1px solid var(--line); border-radius: 8px; width: 100%; font-family: var(--font); color: var(--ink); background: var(--surface); }
.opening__dims .unit input:focus, .opening__head select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(215, 20, 26, .12); }
.opening__dims .unit span { right: 10px; font-size: 13px; }
.add-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  border: 1.5px dashed var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink);
  font: 600 14px/1 var(--font); cursor: pointer; transition: border-color .15s, color .15s;
}
.add-btn:hover { border-color: var(--red); color: var(--red); }
.add-btn .i { width: 18px; height: 18px; }

/* ---------- Tentang ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.about__text p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9d07' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Cara pesan ---------- */
.section__intro { color: var(--muted); font-size: 17px; margin-top: 16px; }
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: 52px; right: -12px; border-top: 1.5px dashed var(--line-strong); }
.step__num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700; margin-bottom: 16px; position: relative; z-index: 1;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pay__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pay__top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pay__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); color: var(--red); }
.pay__icon .i { width: 22px; height: 22px; }
.pay__tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pay__card h3 { font-size: 20px; margin-bottom: 4px; }
.checks--sm { margin-top: 16px; gap: 10px; }
.checks--sm li { font-size: 15px; }
.pay__note { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.pay__foot { margin-top: 20px; font-size: 14px; color: var(--muted); }

.alert {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 24px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--alert-bg); border: 1px solid var(--alert-line);
}
.alert__icon { color: var(--alert-icon); flex: none; }
.alert__icon .i { width: 24px; height: 24px; }
.alert strong { display: block; margin-bottom: 2px; }
.alert p { font-size: 15px; color: var(--alert-ink); }
.alert a { font-weight: 700; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; padding-bottom: 22px; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: center; margin: 6px 0 4px; }
  .step:not(:last-child)::after { display: block; top: 40px; bottom: 0; left: 18px; right: auto; border-top: 0; border-left: 1.5px dashed var(--line-strong); }
  .pay { grid-template-columns: 1fr; }
  .pay__card { padding: 22px; }
}


/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__head { position: sticky; top: 100px; }
.faq__head .btn { margin-top: 28px; }
.faq__group + .faq__group { margin-top: 40px; }
.faq__group h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 17px; line-height: 1.4; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--red); }
.qa summary .i { color: var(--red); margin-top: 1px; transition: transform .2s; }
.qa[open] summary .i { transform: rotate(45deg); }
.qa__a { padding: 0 36px 20px 0; color: var(--muted); }
.qa__a ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.qa__a p + ul { margin-top: 10px; }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq__head { position: static; }
  .qa summary { font-size: 16px; }
  .qa__a { padding-right: 0; }
}

/* ---------- Animasi pengiriman (pita bawah) ---------- */
.delivery {
  position: fixed; z-index: 55; left: 20px; right: var(--dl-right, 186px); bottom: 20px;
  height: 72px; padding: 0 44px 8px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(calc(100% + 28px)); pointer-events: none;
  transition: opacity .4s, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.delivery.is-on { opacity: 1; transform: none; }
.delivery__scene { display: flex; align-items: flex-end; height: 100%; }
.delivery svg:not(.i) { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.delivery .dl-red { stroke: var(--red); }
.delivery .dl-green { stroke: var(--green); }
.delivery__store { position: relative; flex: none; width: 64px; height: 56px; }
.delivery__store svg { width: 100%; height: 100%; }
.delivery__store img { position: absolute; left: 23.5%; top: 5%; width: 53%; height: 30%; object-fit: contain; padding: 1px; }
.delivery__road { position: relative; flex: 1; height: 100%; margin: 0 6px; transition: opacity .3s; }
.delivery__road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; border-bottom: 1.6px dashed var(--line-strong); }
.delivery__v { position: absolute; left: 0; bottom: 0; width: auto; opacity: 0; }
.delivery__v[data-vehicle="0"] { height: 30px; }
.delivery__v[data-vehicle="1"] { height: 34px; }
.delivery__v[data-vehicle="2"] { height: 38px; }
.delivery__v.is-driving { animation: bump .28s ease-in-out infinite alternate; }
@keyframes bump { to { transform: translateY(-1px); } }
.delivery__dest { position: relative; flex: none; width: 72px; height: 56px; transition: opacity .3s; }
.delivery__store { transition: opacity .3s; }

/* Tagline + ajakan pesan di akhir animasi */
.delivery__cta {
  position: absolute; left: 92px; right: 44px; top: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  opacity: 0; transform: translateX(12px); pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.delivery.is-cta .delivery__road, .delivery.is-cta .delivery__dest { opacity: 0; }
.delivery.is-cta .delivery__cta { opacity: 1; transform: none; pointer-events: auto; }
.delivery__lines { min-width: 0; }
.delivery__line { display: grid; gap: 1px; }
.delivery__line strong { font-size: 16px; line-height: 1.25; }
.delivery__line span { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.delivery__cta .btn { flex: none; }
.cta-short { display: none; }
.delivery__d { position: absolute; right: 0; bottom: 0; height: 44px; width: auto; opacity: 0; transform: scale(.85); transform-origin: bottom center; transition: opacity .3s, transform .3s; }
.delivery__d[data-dest="1"] { height: 48px; }
.delivery__d.is-shown { opacity: 1; transform: none; }
.delivery__close {
  position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--tint); color: var(--muted); cursor: pointer;
}
.delivery.is-on .delivery__close { pointer-events: auto; }
.delivery__close:hover { color: var(--ink); }
.delivery__close .i { width: 16px; height: 16px; }
@media (max-width: 520px) {
  .delivery { left: 12px; right: var(--dl-right, 86px); bottom: 16px; height: 58px; padding: 0 34px 6px 8px; border-radius: 14px; }
  .delivery__store { width: 50px; height: 44px; }
  .delivery__v[data-vehicle="0"] { height: 22px; }
  .delivery__v[data-vehicle="1"] { height: 25px; }
  .delivery__v[data-vehicle="2"] { height: 28px; }
  .delivery__dest { width: 54px; height: 44px; }
  .delivery__d { height: 34px; }
  .delivery__d[data-dest="1"] { height: 37px; }
  .delivery__close { right: 4px; top: 4px; width: 24px; height: 24px; }
  .delivery.is-cta .delivery__store { opacity: 0; }
  .delivery__cta { left: 12px; right: 32px; gap: 10px; }
  .delivery__line strong { font-size: 13px; }
  .delivery__line span { display: none; }
  .delivery__cta .btn { min-height: 34px; padding: 0 12px; font-size: 13px; gap: 6px; }
  .delivery__cta .btn .i { width: 16px; height: 16px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .delivery { display: none; } }

/* ---------- Kontak ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.contact__info { display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 14px; }
.card h3 .i { color: var(--red); }
address { font-style: normal; color: var(--muted); margin-bottom: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--red); text-decoration: none; }
.link:hover { text-decoration: underline; }
.link .i { width: 16px; height: 16px; }

.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { text-align: left; font-weight: 500; color: var(--muted); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-today th, .hours .is-today td { color: var(--ink); font-weight: 700; }
.hours .is-today th::after { content: "Hari ini"; margin-left: 8px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--red-soft); color: var(--red); vertical-align: 1px; }

.waform label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.waform input, .waform textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--surface); resize: vertical;
}
.waform input:focus, .waform textarea:focus { outline: none; border-color: var(--wa); box-shadow: 0 0 0 3px rgba(31, 168, 85, .15); }
.waform .btn { width: 100%; }
.waform__note { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.waform__note a { color: var(--red); font-weight: 600; }

.contact__map { position: sticky; top: 96px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--map-bg); min-height: 560px; }
:root[data-theme="dark"] .contact__map iframe { filter: brightness(.85) contrast(1.05); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 560px; border: 0; }
.map__btn { position: absolute; left: 16px; bottom: 16px; box-shadow: var(--shadow); }
@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; }
  .contact__map { position: relative; top: 0; order: -1; min-height: 320px; }
  .contact__map iframe { min-height: 320px; }
}

/* ---------- Halaman Kebijakan Privasi ---------- */
.nav__back { margin-left: auto; }
.nav__back + .theme-btn { margin-left: 16px; }
.i--flip { transform: scaleX(-1); }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.legal__meta { margin: 10px 0 32px; font-size: 14px; color: var(--muted); }
.legal h2 { font-size: 22px; margin: 44px 0 14px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; }
.legal strong { color: var(--ink); }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--red); font-weight: 600; }
@media (max-width: 520px) {
  .nav__back { font-size: 14px; }
}

/* ---------- Pemberitahuan cookie ---------- */
.cookie {
  position: fixed; z-index: 57; left: 20px; bottom: 20px; max-width: 440px;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px 14px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 14px; color: var(--muted);
}
.cookie-ok .cookie { display: none; }
.cookie a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.cookie .btn { flex: none; min-width: 64px; }
@media (max-width: 520px) {
  .cookie { left: 12px; right: 86px; bottom: 16px; max-width: none; padding: 10px 10px 10px 14px; gap: 10px; font-size: 13px; line-height: 1.45; }
}

/* ---------- Footer ---------- */
.footer { padding: 48px 0 110px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 12px; justify-items: start; }
.footer img { height: 32px; width: auto; margin-bottom: 8px; }
.footer p { color: var(--muted); font-size: 14px; }
.footer a { color: var(--ink); font-weight: 600; }
.footer__copy { font-size: 13px; }
.footer__copy a { font-weight: 500; }

/* ---------- Tombol WhatsApp melayang ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 30px rgba(31, 168, 85, .35);
  transition: transform .2s, background .2s;
}
.wa-float:hover { background: var(--wa-dark); transform: translateY(-2px); }
.wa-float .i { width: 26px; height: 26px; }
@media (max-width: 520px) {
  .wa-float { right: 16px; bottom: 16px; width: 58px; height: 58px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .wa-float .i { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arc { animation: none; stroke-dashoffset: 0; }
  .status.is-open .status__dot { animation: none; }
}
