/* ==========================================================================
   JAPEWE — Jasa Pembuatan Website Profesional
   Brand colors: Putih (base) + Biru (primary)
   ========================================================================== */

:root {
  /* Brand */
  --blue-600: #1257ff;
  --blue-700: #0a44d6;
  --blue-500: #3b7bff;
  --blue-300: #8fb6ff;
  --blue-100: #dbe8ff;
  --blue-50: #f2f7ff;
  --navy: #071634;
  --navy-soft: #0d2450;
  --ink: #101a2c;
  --muted: #5b6780;
  --muted-2: #7b879c;
  --white: #ffffff;
  --line: #e6ecf7;
  --bg: #ffffff;
  --bg-soft: #f7faff;
  --success: #0aa06e;
  --wa: #25d366;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 26, 44, .06), 0 4px 14px rgba(16, 26, 44, .05);
  --shadow: 0 10px 30px rgba(10, 31, 68, .09);
  --shadow-lg: 0 24px 60px rgba(10, 31, 68, .16);
  --ring: 0 0 0 4px rgba(18, 87, 255, .18);

  --container: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--blue-600); }
button { font: inherit; }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section.dark { background: linear-gradient(150deg, var(--navy) 0%, #0a2a63 55%, #13429b 100%); color: #eaf1ff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: #c3d5f7; }
.narrow { max-width: 780px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-700); background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600); }
.section.dark .eyebrow { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #bcd4ff; }
.section.dark .eyebrow .dot { background: #6ea8ff; }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-head.left { margin-left: 0; text-align: left; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .97rem; cursor: pointer;
  background: var(--btn-bg); color: #fff; text-align: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  box-shadow: 0 8px 20px rgba(18, 87, 255, .22);
}
.btn:hover { transform: translateY(-2px); background: var(--blue-700); color: #fff; box-shadow: 0 14px 30px rgba(18, 87, 255, .3); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.btn-outline:hover { background: var(--blue-50); color: var(--blue-700); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-light { background: #fff; color: var(--blue-700); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn-light:hover { background: #eef4ff; color: var(--blue-700); }
.btn-wa { background: var(--wa); color: #062a12; box-shadow: 0 8px 20px rgba(37, 211, 102, .28); }
.btn-wa:hover { background: #1fbe59; color: #062a12; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(10, 31, 68, .1); border-bottom-color: var(--line); background: rgba(255,255,255,.95); }
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, var(--blue-600), #0a2a63);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.05rem; letter-spacing: -.05em;
  box-shadow: 0 6px 16px rgba(18, 87, 255, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 900; font-size: 1.22rem; letter-spacing: -.02em; }
.brand-tag { font-size: .68rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 13px; border-radius: 10px; font-size: .95rem; font-weight: 600; color: var(--ink);
}
.nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav a.active { color: var(--blue-700); background: var(--blue-50); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55;
  background: #fff; padding: 22px 20px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .28s var(--ease);
  border-top: 1px solid var(--line);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 15px 4px; font-size: 1.05rem; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 20px; }
.mobile-nav .mobile-socials { display: flex; gap: 12px; margin-top: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 90px);
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(18, 87, 255, .16), transparent 60%),
    radial-gradient(700px 420px at 6% 12%, rgba(59, 123, 255, .12), transparent 62%),
    #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(18,87,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(18,87,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 480px at 70% 10%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 480px at 70% 10%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent {
  color: var(--blue-600);
  background: linear-gradient(100deg, var(--blue-600), #0a2a63);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead { font-size: 1.08rem; color: var(--muted); max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.pill svg { color: var(--blue-600); }
.hero-note { font-size: .86rem; color: var(--muted-2); margin-top: 18px; }

/* Hero visual — browser mockup */
.mockup {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mockup-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #d9e2f1; }
.mockup-bar .dot.r { background: #ff6b6b; } .mockup-bar .dot.y { background: #ffcc4d; } .mockup-bar .dot.g { background: #4ade80; }
.mockup-url { margin-left: 8px; font-size: .76rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; flex: 1; text-align: center; }
.mockup-body { padding: 16px; display: grid; gap: 12px; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sk { background: linear-gradient(90deg, var(--blue-50), #eaf2ff); border-radius: 10px; height: 14px; }
.sk.t { height: 22px; width: 62%; background: linear-gradient(90deg, var(--blue-100), var(--blue-50)); }
.sk.b { height: 34px; width: 42%; border-radius: 999px; background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); }
.sk-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 9px; }
.mock-hero-box { border: 1px dashed var(--blue-100); border-radius: 14px; padding: 20px; display: grid; gap: 12px; background: linear-gradient(160deg, #fff, var(--blue-50)); }

.float-card {
  position: absolute; bottom: -22px; left: -28px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.float-card .fc-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; }
.float-card b { display: block; font-size: .95rem; }
.float-card span { font-size: .78rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); font-weight: 900; letter-spacing: -.03em; }
.stat span { font-size: .84rem; color: var(--muted); }

/* ---------- Logo strip ---------- */
.tech-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tech-strip span {
  font-size: .84rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px;
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-700); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.card ul { font-size: .92rem; color: var(--muted); padding-left: 1.05rem; }
.card ul li::marker { color: var(--blue-500); }
.card .link-more { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .link-more svg { transition: transform .18s var(--ease); }
.card:hover .link-more svg { transform: translateX(4px); }

.card.dark { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.14); box-shadow: none; }
.card.dark h3 { color: #fff; }
.card.dark p, .card.dark li { color: #c3d5f7; }
.card.dark .card-ic { background: rgba(255,255,255,.12); color: #8fb6ff; }

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px rgba(18,87,255,.3);
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 17px; left: 44px; right: -10px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--blue-100) 0 6px, transparent 6px 12px);
}

/* ---------- Portfolio ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px;
  font-size: .88rem; font-weight: 700; color: var(--ink); cursor: pointer;
  transition: .18s var(--ease);
}
.filter-btn:hover { border-color: var(--blue-300); color: var(--blue-700); }
.filter-btn.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: 0 8px 18px rgba(18,87,255,.25); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  display: flex; flex-direction: column;
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-shot { position: relative; aspect-ratio: 16 / 10; background: var(--blue-50); overflow: hidden; border-bottom: 1px solid var(--line); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
.work:hover .work-shot img { transform: scale(1.04); }
.work-shot .badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(7, 22, 52, .82); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(6px);
}
.work-shot .live-tag {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(10, 160, 110, .92); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
}
.work-shot .live-tag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 0%,100% { opacity: 1 } 50% { opacity: .25 } }
.work-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-body h3 { margin: 0; font-size: 1.1rem; }
.work-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.work-meta span { font-size: .74rem; font-weight: 700; color: var(--blue-700); background: var(--blue-50); border-radius: 999px; padding: 4px 10px; }
.work-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; }
.work-url { font-size: .84rem; color: var(--muted); word-break: break-all; }
.work.hide { display: none; }

/* Preview modal */
.modal { position: fixed; inset: 0; z-index: 90; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7, 22, 52, .68); backdrop-filter: blur(3px); }
.modal-box {
  position: relative; width: min(1080px, 94vw); height: min(80vh, 720px);
  margin: 7vh auto 0; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98) } to { opacity: 1; transform: none } }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.modal-head b { font-size: .95rem; }
.modal-head .spacer { flex: 1; }
.modal-close { border: 1px solid var(--line); background: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.modal-close:hover { background: var(--blue-50); color: var(--blue-700); }
.modal-frame { position: relative; flex: 1; background: #f2f5fb; }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.frame-fallback {
  position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 30px; gap: 14px;
  background: linear-gradient(160deg, #fff, var(--blue-50));
}
.frame-fallback.show { display: grid; }
.frame-fallback h4 { margin: 0; font-size: 1.1rem; }
.frame-fallback p { color: var(--muted); font-size: .92rem; max-width: 420px; margin: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; gap: 14px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.price:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price.featured { border-color: var(--blue-600); box-shadow: var(--shadow); }
.price.featured::after {
  content: "PALING LARIS"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue-600); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px rgba(18,87,255,.3);
}
.price h3 { margin: 0; font-size: 1.15rem; }
.price .for { font-size: .88rem; color: var(--muted); margin: 0; }
.price-amt { display: flex; align-items: baseline; gap: 6px; }
.price-amt b { font-size: 2rem; color: var(--navy); letter-spacing: -.03em; }
.price-amt span { font-size: .85rem; color: var(--muted); }
.price .start { font-size: .8rem; color: var(--muted-2); }
.price ul { display: grid; gap: 9px; padding-left: 0; list-style: none; margin: 4px 0 0; font-size: .93rem; }
.price ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); margin: 0; }
.tick { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; margin-top: 2px; }
.cross { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #f2f4f8; color: #a3adc0; display: grid; place-items: center; margin-top: 2px; }
.price .btn { margin-top: 14px; }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }

/* Calculator */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: 1.1fr .9fr; }
.calc-form { padding: 30px; display: grid; gap: 18px; }
.calc-out { padding: 30px; background: linear-gradient(160deg, var(--blue-50), #fff); border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px;
  font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--ink);
}
.chip[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.calc-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--blue-100); }
.calc-total b { font-size: 1.6rem; color: var(--navy); letter-spacing: -.03em; }
.calc-total span { font-size: .85rem; color: var(--muted); }
.range { width: 100%; accent-color: var(--blue-600); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.testi .stars { color: #ffb020; display: flex; gap: 3px; margin-bottom: 12px; }
.testi p { color: var(--ink); font-size: .96rem; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--blue-600), #0a2a63); color: #fff; display: grid; place-items: center; font-weight: 800; }
.testi .who b { display: block; font-size: .92rem; }
.testi .who span { font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--navy); font-size: 1rem; cursor: pointer; position: relative; }
.faq-q::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-a { display: none; padding: 0 22px 20px; color: var(--muted); font-size: .95rem; }
.faq-item.open .faq-a { display: block; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 56px);
  background: linear-gradient(135deg, #0a2a63 0%, var(--blue-700) 50%, var(--blue-500) 100%);
  color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -140px; top: -180px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 62%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5e4ff; max-width: 620px; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.cta-side { display: grid; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); padding: 14px 16px; color: #fff; transition: .18s var(--ease);
}
.contact-card:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-2px); }
.contact-card .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.contact-card b { display: block; font-size: 1rem; }
.contact-card span { font-size: .8rem; color: #cfdfff; }

/* kartu kontak di atas latar terang */
.contact-card.on-light { background: #fff; border-color: var(--line); color: var(--ink); }
.contact-card.on-light:hover { background: #fff; border-color: var(--blue-300); color: var(--ink); }
.contact-card.on-light .ic { background: var(--blue-50); color: var(--blue-700); }
.contact-card.on-light b { color: var(--navy); }
.contact-card.on-light span { color: var(--muted); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: #fff; transition: .18s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-500); box-shadow: var(--ring); outline: none; }
.field .full { grid-column: 1 / -1; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c9e8; padding: clamp(48px, 6vw, 72px) 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { color: #b9c9e8; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-mark { background: linear-gradient(140deg, #4f8bff, #0a2a63); }
.footer-brand .brand-tag { color: #8ea6d4; }
.site-footer p { font-size: .92rem; }
.footer-list { list-style: none; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
  transition: .18s var(--ease);
}
.social-btn:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom a { color: #9fb6dd; }

/* ---------- Floating buttons ---------- */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 12px; justify-items: end; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer;
  box-shadow: 0 12px 28px rgba(10, 31, 68, .28); transition: transform .2s var(--ease);
  position: relative;
}
.fab:hover { transform: scale(1.07); }
.fab-wa { background: var(--wa); color: #fff; }
.fab-ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }
.fab-top { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.fab-top.hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab-label {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700; padding: 6px 12px;
  border-radius: 999px; white-space: nowrap; opacity: 0; transition: .18s var(--ease); pointer-events: none;
}
.fab:hover .fab-label { opacity: 1; }

.mobile-bar {
  position: fixed; inset: auto 0 0; z-index: 65; display: none;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(10,31,68,.12);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
}
.mobile-bar .btn { flex: 1; padding: 12px 10px; font-size: .88rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .84rem; color: var(--muted); padding: 14px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #c3ccdd; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-700); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(36px, 5vw, 60px) 0 clamp(30px, 4vw, 44px); background: linear-gradient(180deg, var(--blue-50), #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 680px; margin-bottom: 0; }

/* ---------- Misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: .96rem; }
.checklist .tick { background: var(--blue-50); color: var(--blue-700); }
.section.dark .checklist .tick { background: rgba(255,255,255,.14); color: #8fb6ff; }

.notice { border: 1px dashed var(--blue-100); background: var(--blue-50); border-radius: var(--radius); padding: 18px 20px; font-size: .92rem; color: var(--muted); }
.notice b { color: var(--navy); }

.compare { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--blue-50); color: var(--navy); font-size: .88rem; }
.compare tbody tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* anchor offset for sticky header */
[id] { scroll-margin-top: 92px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .mockup { transform: none; max-width: 640px; margin-inline: auto; }
  .float-card { left: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .cta-inner { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .header-cta .btn-top { display: none; }
  .burger { display: flex; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .fab-stack { bottom: 78px; right: 12px; transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .25s var(--ease); }
  .fab-stack.show { transform: none; opacity: 1; pointer-events: auto; }
  .fab { width: 48px; height: 48px; }
  .fab-top { display: none; }
  .stats { gap: 12px; }
  .hero-badges { gap: 8px; }
  .mock-row { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
