/* =========================================================
   Johan Software – stylesheet publik
   Konsep: "dari rancangan jadi website" – kertas biru (blueprint)
   yang berubah menjadi halaman jadi. Satu keluarga huruf:
   Plus Jakarta Sans (typeface karya desainer Indonesia).
   ========================================================= */
:root {
  --ink: #2B1A1E;        /* teks utama */
  --muted: #6B5A5E;      /* teks sekunder */
  --blue: #800020;       /* merah maroon merek */
  --blue-deep: #5C0017;
  --tint: #FBF1F3;       /* latar blueprint */
  --line: #EBD9DD;
  --signal: #F5B301;     /* kuning penanda, hanya untuk aksi utama */
  --signal-dark: #D99E00;
  --paper: #FFFFFF;
  --ok: #1F7A4D;
  --err: #B42318;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.8vw, 2.25rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem);

  --wrap: 1160px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 38em; line-height: 1.5; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem; border-radius: var(--radius-s);
  font: inherit; font-weight: 700; font-size: var(--step-0);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { padding: .9rem 1.6rem; }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-dark); color: var(--ink); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand-mark svg { display: block; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-cta { padding: .55rem 1.1rem; }
.nav > ul { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li > a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current="page"] { border-bottom-color: var(--signal); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li > a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav > ul > li > a:hover, .nav > ul > li > a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
}

/* ---------- Alert ---------- */
.alert { margin: 1rem 0; padding: .85rem 1rem; border-radius: var(--radius-s); border: 1px solid; font-weight: 600; }
.alert-success { background: #EAF6EF; border-color: #B7E0C8; color: var(--ok); }
.alert-error { background: #FDECEA; border-color: #F5C2BC; color: var(--err); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 13em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.25rem; margin: 2.5rem 0 0; }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dt { color: var(--muted); font-size: var(--step--1); }
.hero-stats dd { margin: 0; font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; }

/* Ilustrasi blueprint → website (satu-satunya animasi otomatis di halaman) */
.blueprint {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--radius-l);
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
}
.browser { background: rgba(255,255,255,.06); border: 1.5px dashed rgba(255,255,255,.6); border-radius: var(--radius-m); overflow: hidden; animation: solidify .5s ease-out 1.6s forwards; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: .6rem .8rem; border-bottom: 1.5px dashed rgba(255,255,255,.4); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); }
.browser-bar span { margin-left: .75rem; font-size: .75rem; color: rgba(255,255,255,.8); background: rgba(255,255,255,.1); padding: .1rem .6rem; border-radius: 99px; }
.page { padding: 1rem; display: grid; gap: .8rem; }
.blk {
  border: 1.5px dashed rgba(255,255,255,.55); border-radius: 8px;
  animation: fill-in .45s ease-out forwards;
}
.blk-nav { display: flex; gap: .5rem; justify-content: flex-end; padding: .55rem; animation-delay: .5s; }
.blk-nav b { width: 34px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.5); }
.blk-hero { padding: 1.1rem; display: grid; gap: .55rem; justify-items: start; animation-delay: .8s; }
.line { height: 10px; border-radius: 5px; background: rgba(255,255,255,.5); }
.w70 { width: 70%; height: 14px; } .w50 { width: 50%; }
.pill { margin-top: .35rem; font-size: .7rem; font-weight: 700; padding: .35rem .75rem; border-radius: 99px; border: 1.5px dashed rgba(255,255,255,.7); color: rgba(255,255,255,.85); animation: pill-in .4s ease-out 1.9s forwards; }
.blk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.blk-card { padding: .5rem; animation-delay: 1.1s; }
.blk-card:nth-child(2) { animation-delay: 1.2s; }
.blk-card:nth-child(3) { animation-delay: 1.3s; }
.thumb { display: block; aspect-ratio: 4 / 3; border-radius: 5px; background: rgba(255,255,255,.18); }
.note {
  position: absolute; font-size: .75rem; font-weight: 700; color: var(--ink);
  background: var(--signal); padding: .3rem .6rem; border-radius: 4px; white-space: nowrap;
  opacity: 0; animation: note-in .35s ease-out forwards;
}
.note-a { top: 42%; right: -.6rem; animation-delay: 2.1s; }
.note-b { bottom: .8rem; left: -.6rem; animation-delay: 2.3s; }

/* Foto profil di hero (pengganti ilustrasi, diatur dari admin) */
.hero-person { margin: 0 auto; width: 100%; max-width: calc(420px + 1.5rem); padding: .75rem; border-radius: calc(var(--radius-m) + .75rem); }
.hero-person-card { margin: 0; width: 100%; background: #fff; border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 24px 48px -24px rgba(60,5,18, .55); }
.hero-person-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; }
.hero-person-cap { display: grid; gap: .15rem; padding: 1rem 1.25rem 1.2rem; text-align: center; border-top: 1px solid var(--line); }
.hero-person-cap strong { font-size: var(--step-1); font-weight: 800; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }
.hero-person-cap span { color: var(--muted); font-weight: 600; font-size: var(--step--1); }

@keyframes fill-in {
  to { background: #FDF7F8; border-style: solid; border-color: #F0E2E5; }
}
.browser-bar, .browser-bar i, .browser-bar span { animation: bar-in .5s ease-out 1.6s forwards; }
@keyframes bar-in { to { border-color: #EBD9DD; border-bottom-style: solid; color: var(--muted); background-color: #FBF1F3; } }
.browser-bar { animation-name: bar-line; }
@keyframes bar-line { to { border-bottom: 1.5px solid #F0E2E5; } }
@keyframes solidify { to { border-style: solid; border-color: rgba(255,255,255,.9); background: #fff; } }
@keyframes pill-in { to { background: var(--signal); border-color: var(--signal); color: var(--ink); } }
@keyframes note-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* setelah blok terisi putih, garis di dalamnya menjadi biru */
.blk-nav b, .line, .thumb { animation: ink-in .3s ease-out forwards; }
@keyframes ink-in { to { background: #E6CBD1; } }
.blk-hero .w70 { animation-delay: .9s; } .blk-hero .w50 { animation-delay: 1s; }
.blk-nav b { animation-delay: .6s; }
.thumb { animation-delay: 1.35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blk, .browser, .browser-bar, .browser-bar i, .browser-bar span, .pill, .note, .blk-nav b, .line, .thumb { animation-duration: 1ms !important; animation-delay: 0s !important; }
}

/* ---------- Klien ---------- */
.clients { padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-intro { color: var(--muted); font-size: var(--step--1); font-weight: 600; margin-bottom: 1rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; list-style: none; margin: 0; padding: 0; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { font-weight: 800; font-size: 1.2rem; color: #9C8A8E; letter-spacing: -0.01em; white-space: nowrap; display: flex; align-items: center; }
.marquee-track img { height: 36px; width: auto; filter: grayscale(1); opacity: .7; }
@keyframes scroll { to { transform: translateX(calc(-50% - 1.75rem)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; gap: 1rem 2.5rem; }
  .marquee-track li[aria-hidden] { display: none; }
  .marquee { mask-image: none; padding-inline: 1.25rem; }
}

/* ---------- Section ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--tint); }
.section-flush-top { padding-top: 0; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.section-head-row > div { max-width: 40rem; }
.section-head-row p { margin: 0; }

/* Layanan: daftar baris, bukan kartu */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service-list li {
  display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 1rem 2.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
}
.service-list h3 { margin: 0; }
.service-list p { margin: 0; color: var(--muted); max-width: 42em; }
@media (max-width: 640px) { .service-list li { grid-template-columns: 1fr; gap: .4rem; } }

/* Proses: timeline bernomor (memang urutan) */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.timeline li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.timeline li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 800;
}
.timeline li::after { content: ""; position: absolute; top: 1.1rem; left: 2.75rem; right: -1.5rem; border-top: 2px dashed #D9AAB5; }
.timeline li:nth-child(3n)::after, .timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.timeline p { color: var(--muted); margin-bottom: .6rem; }
.duration { font-size: var(--step--1); font-weight: 700; color: var(--blue); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { padding: 0 0 2rem 3.5rem; }
  .timeline li::after { display: block !important; top: 2.6rem; left: 1.08rem; right: auto; bottom: .4rem; border-top: 0; border-left: 2px dashed #D9AAB5; }
  .timeline li:last-child::after { display: none !important; }
}

/* ---------- Harga ---------- */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 2rem; padding: .35rem; background: var(--tint); border-radius: var(--radius-m); width: fit-content; max-width: 100%; }
.tabs button {
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--muted);
  background: transparent; border: 0; padding: .6rem 1.1rem; border-radius: 8px; cursor: pointer;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--blue); box-shadow: 0 1px 2px rgba(43,26,30,.12); }
@media (max-width: 640px) {
  .tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs button { flex: 0 0 auto; }
}

.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem; border: 1.5px solid var(--line); border-radius: var(--radius-m); background: var(--paper);
}
.price-card h3 { margin-bottom: .25rem; }
.audience { color: var(--muted); font-size: .95rem; min-height: 3em; }
.price { display: flex; flex-direction: column; margin: .5rem 0 1.25rem; }
.price s { color: var(--muted); font-size: .95rem; }
.price strong { white-space: nowrap; font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.price span { font-size: var(--step--1); color: var(--muted); }
.features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; flex: 1; }
.features li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: 1rem;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%231E4AA8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.price-card .btn { width: 100%; }
.price-card.is-featured { background: var(--blue); border-color: var(--blue); color: #fff; }
.price-card.is-featured .audience, .price-card.is-featured .price s, .price-card.is-featured .price span { color: rgba(255,255,255,.75); }
.price-card.is-featured .features li::before { filter: brightness(0) invert(1); }
.badge { position: absolute; top: -.8rem; left: 1.5rem; background: var(--signal); color: var(--ink); font-size: .75rem; font-weight: 800; padding: .25rem .65rem; border-radius: 4px; }
.price-help { margin-top: 2rem; color: var(--muted); }

.price-grid[hidden] { display: none; }

/* Paket langganan */
.sub-toggle { display: inline-flex; gap: .3rem; padding: .3rem; margin-bottom: 1.75rem; background: var(--tint); border-radius: 999px; }
.sub-toggle[hidden] { display: none; }
.sub-toggle button { font: inherit; font-weight: 700; font-size: .95rem; color: var(--muted); background: transparent; border: 0; padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer; }
.sub-toggle button:hover { color: var(--ink); }
.sub-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--blue); box-shadow: 0 1px 2px rgba(43,26,30,.12); }
.sub-toggle button span { display: inline-block; margin-left: .3rem; padding: .1rem .45rem; border-radius: 4px; background: var(--signal); color: var(--ink); font-size: .72rem; font-weight: 800; vertical-align: .1em; }
.sub-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.sub-card .price { margin-bottom: .35rem; }
.sub-alt { margin: 0 0 1.25rem; font-size: var(--step--1); font-weight: 600; color: var(--blue); }
.price-card.is-featured .sub-alt { color: var(--signal); }
.sub-terms { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius-m); background: var(--tint); font-size: .95rem; }
.sub-terms p { margin: 0; }
.sub-terms p + p { margin-top: .4rem; color: var(--muted); }
.buyout { margin-top: 3.5rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.buyout > h3 { margin-bottom: .25rem; font-size: var(--step-1); }
.buyout > p { margin: 0 0 1.25rem; color: var(--muted); }
.buyout .tabs { margin-bottom: 1.25rem; }
.price-grid.is-compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.price-grid.is-compact .price-card { padding: 1.15rem 1.1rem 1.1rem; }
.price-grid.is-compact .price-card h3 { font-size: 1.02rem; }
.price-grid.is-compact .audience { min-height: 0; font-size: .87rem; }
.price-grid.is-compact .price { margin: .35rem 0 .8rem; }
.price-grid.is-compact .price strong { font-size: 1.3rem; }
.price-grid.is-compact .features { gap: .35rem; margin-bottom: 1rem; }
.price-grid.is-compact .features li { font-size: .87rem; }
.price-grid.is-compact .btn { padding-block: .55rem; font-size: .9rem; }

/* ---------- Portofolio ---------- */
.porto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.porto-card { background: var(--paper); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.porto-media { aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.porto-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.porto-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background-color: var(--blue-deep);
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.porto-placeholder span { font-size: 2.5rem; font-weight: 800; color: rgba(255,255,255,.9); letter-spacing: .02em; }
.porto-body { padding: 1.25rem 1.25rem 1.5rem; }
.porto-industry { font-size: var(--step--1); font-weight: 700; color: var(--blue); margin-bottom: .3rem; }
.porto-body h3 { font-size: 1.125rem; }
.porto-body p:not(.porto-industry) { color: var(--muted); font-size: .95rem; }
.porto-media { display: block; }
.porto-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 0; }
.porto-link { font-weight: 700; }
.porto-link-sub { font-weight: 600; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chips a { text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink); padding: .45rem .9rem; border: 1.5px solid var(--line); border-radius: 99px; }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { color: var(--muted); }

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.testi { margin: 0; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.stars { color: var(--signal-dark); letter-spacing: .15em; margin-bottom: .5rem; }
.testi blockquote { margin: 0 0 1rem; font-size: 1.075rem; line-height: 1.55; }
.testi figcaption { color: var(--muted); font-size: .95rem; }
.testi figcaption strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: .6rem; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; font-weight: 700; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer { padding: 0 1.25rem 1.1rem; color: var(--muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.cta-inner { text-align: center; }
.cta-inner p { color: rgba(255,255,255,.75); max-width: 36em; margin-inline: auto; }
.cta .hero-actions { justify-content: center; }

/* ---------- Page head ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.5rem; }

/* ---------- Form kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-weight: 700; font-size: .95rem; }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; width: 100%; padding: .75rem .9rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(128,0,32,.18); }
.has-error input { border-color: var(--err); }
.field-error { color: var(--err); font-size: .875rem; margin: 0; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.success-box { padding: 2rem; border-radius: var(--radius-m); background: var(--tint); border: 1px solid var(--line); }
.contact-info { padding: 1.75rem; border-radius: var(--radius-m); background: var(--tint); }
.contact-info h2 { font-size: var(--step-1); }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: var(--step--1); color: var(--muted); font-weight: 600; margin-top: 1rem; }
.contact-info dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: #111111; color: rgba(255,255,255,.72); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 2.5rem; }
.brand-light, .brand-light:hover { color: #fff; margin-bottom: 1rem; }
.footer-about p { max-width: 30em; }
.footer-title { font-size: 1rem; color: #fff; margin-bottom: 1rem; }
.footer-links, .social { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: var(--step--1); }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- WhatsApp mengambang ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 6px 18px rgba(42,10,16,.25);
}
.wa-float:hover { color: #fff; background: #1EBE5A; }

/* ---------- Hero responsif ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 1.5rem; }
  .note { display: none; }
}

/* =========================================================
   Mega menu "Web Bisnis"
   Satu markup untuk dua tampilan:
   - desktop: kategori di kiri, jenis website di kanan (grid)
   - mobile : akordeon di dalam menu
   ========================================================= */
.nav ul li { list-style: none; }
.mega-toggle { display: inline-flex; align-items: center; gap: .3rem; }
.mega-toggle .chev { transition: transform .2s; }
.mega-toggle[aria-expanded="true"] { color: var(--blue); border-bottom-color: var(--signal) !important; }
.mega-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mega[hidden], .mega-panel[hidden] { display: none; }
.ico { display: block; flex: none; }

.mega-cat {
  display: flex; align-items: center; gap: .75rem; width: 100%;
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink); text-align: left;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-m);
  padding: .8rem 1rem; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s;
}
.mega-cat .ico { width: 22px; height: 22px; color: var(--muted); }
.mega-cat:hover { border-color: #D9AAB5; }
.mega-cat[aria-expanded="true"] { background: var(--tint); border-color: var(--blue); color: var(--blue); }
.mega-cat[aria-expanded="true"] .ico { color: var(--blue); }

.mega-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.mega-items a {
  display: flex; align-items: center; gap: .85rem; height: 100%;
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-m);
  text-decoration: none; color: var(--ink); background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.mega-items a:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(43,26,30,.08); color: var(--ink); }
.mega-ico {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff;
}
.mega-ico .ico { width: 21px; height: 21px; }
.mega-text { display: grid; gap: .1rem; min-width: 0; }
.mega-text strong { font-size: .95rem; line-height: 1.3; }
.mega-text small { font-size: .82rem; color: var(--muted); }
.mega-help { border-style: dashed !important; }
.mega-help .mega-ico { background: var(--signal); color: var(--ink); }
.mega-help small { color: var(--blue); font-weight: 700; }
.mega-all { font-weight: 700; font-size: .9rem; text-decoration: none; padding: .5rem .25rem; }

@media (min-width: 901px) {
  .has-mega { position: static; }
  .mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -12px rgba(43,26,30,.18);
    max-height: calc(100vh - 69px); overflow-y: auto;
  }
  .mega-grid {
    display: grid; grid-template-columns: minmax(230px, 280px) 1fr; column-gap: 1.75rem;
    grid-template-rows: repeat(var(--rows), auto) 1fr;
    padding: 1.75rem 0 2rem;
  }
  .mega-group { display: contents; }
  .mega-cat { grid-column: 1; margin-bottom: .6rem; }
  .mega-all { grid-column: 1; align-self: start; }
  .mega-panel { grid-column: 2; grid-row: 1 / -1; align-self: start; }
  .mega-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .mega-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav { max-height: calc(100vh - 68px); overflow-y: auto; }
  .mega-toggle { display: flex !important; justify-content: space-between; width: 100%; }
  .mega { padding: .5rem 0 1rem; border-bottom: 1px solid var(--line); }
  .mega-grid { width: auto; display: grid; gap: .5rem; }
  .mega-cat { padding: .7rem .85rem; }
  .mega-cat::after {
    content: ""; margin-left: auto; width: 8px; height: 8px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .2s;
  }
  .mega-cat[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .mega-panel { padding: .5rem 0 .5rem .5rem; }
  .mega-items { gap: .25rem; }
  .mega-items a { border: 0; padding: .5rem; border-radius: var(--radius-s); }
  .mega-items a:hover { box-shadow: none; background: var(--tint); }
  .mega-ico { width: 34px; height: 34px; }
  .mega-ico .ico { width: 17px; height: 17px; }
  .mega-help { border: 1.5px dashed var(--line) !important; }

}

/* ---------- Halaman jenis website ---------- */
.type-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.type-cat-title { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.5rem; }
.type-cat-title .mega-ico { width: 48px; height: 48px; }
.type-section { padding: clamp(2.5rem, 6vw, 4rem) 0; scroll-margin-top: 68px; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.75rem; padding: 0; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: #BBA9AD; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.type-hero { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.type-hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3rem); max-width: 16em; }
.type-hero-grid { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.type-price-box {
  padding: 1.75rem; border-radius: var(--radius-l); border: 1.5px solid var(--line);
  background-color: var(--tint);
  background-image: linear-gradient(rgba(128,0,32,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(128,0,32,.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.type-hero-ico { width: 60px; height: 60px; margin-bottom: 1.25rem; }
.type-hero-ico .ico { width: 28px; height: 28px; }
.type-price-label { margin: 0; color: var(--muted); font-weight: 600; font-size: .9rem; }
.type-price { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.type-price small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.type-price-note { color: var(--muted); font-size: .875rem; margin: .25rem 0 1.25rem; }
.type-price-box .btn { width: 100%; }

.type-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.type-features { flex: none; gap: .8rem; }
.type-features li { font-size: 1rem; }
.page-list { list-style: none; counter-reset: pg; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.page-list li { counter-increment: pg; display: flex; align-items: center; gap: .75rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: .6rem .9rem; font-weight: 600; }
.page-list li::before { content: counter(pg); width: 1.6rem; height: 1.6rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--blue); font-size: .8rem; font-weight: 800; }
.muted-note { color: var(--muted); font-size: .9rem; }

@media (max-width: 860px) {
  .type-hero-grid, .type-two-col { grid-template-columns: 1fr; }
}

/* ---------- Logo dari admin ---------- */
.brand-logo { display: block; width: auto; max-width: 360px; object-fit: contain; }
.brand-logo-chip { background: #fff; padding: 6px 10px; border-radius: 8px; box-sizing: content-box; }
@media (max-width: 480px) { .brand-logo { max-width: 160px; max-height: 44px; } }
/* ---------- Halaman layanan (SEO) ---------- */
.svc-chips { margin: 2rem 0 0; justify-content: center; }
.svc-prose { max-width: 760px; }
.svc-prose h2 { font-size: var(--step-2, 1.6rem); margin: 2.2rem 0 .8rem; letter-spacing: -0.01em; }
.svc-prose h2:first-child { margin-top: 0; }
.svc-prose h3 { font-size: var(--step-1, 1.25rem); margin: 1.6rem 0 .6rem; }
.svc-prose p, .svc-prose li { line-height: 1.75; }
.svc-prose p { margin: 0 0 1rem; }
.svc-prose ul, .svc-prose ol { margin: 0 0 1.2rem; padding-left: 1.3rem; display: grid; gap: .4rem; }
.svc-sum { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.svc-sum li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; display: grid; gap: .3rem; }
.svc-sum strong { font-size: 1.05rem; }
.svc-sum span { color: var(--blue, #800020); font-weight: 700; }

/* ---------- Blog & artikel ---------- */
.blog-head { padding-bottom: 2rem; }
.blog-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.blog-cats a { padding: .45rem .9rem; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.blog-cats a span { color: var(--muted); font-weight: 500; }
.blog-cats a:hover { border-color: var(--blue); color: var(--blue); }
.blog-cats a[aria-current] { background: var(--blue); border-color: var(--blue); color: #fff; }
.blog-cats a[aria-current] span { color: #F6D9DF; }
.blog-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.blog-card { height: 100%; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: 0 14px 34px rgba(43, 26, 30, .1); transform: translateY(-2px); }
.blog-card-img { display: block; aspect-ratio: 1200 / 630; background: var(--tint); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-cover-ph { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, #5C0017, #800020 55%, #A3283A); }
.blog-cover-ph span { color: #fff; font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; padding: .4rem .9rem; border: 1.5px solid rgba(245, 179, 1, .7); border-radius: 99px; }
.blog-card-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.blog-card-body h2, .blog-card-body h3 { font-size: 1.15rem; line-height: 1.35; margin: 0; }
.blog-card-body h2 a, .blog-card-body h3 a { color: var(--ink); text-decoration: none; }
.blog-card-body h2 a:hover, .blog-card-body h3 a:hover { color: var(--blue); }
.blog-card-body p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .95rem; }
.blog-meta { font-size: .82rem !important; }
.blog-cat { color: var(--blue); font-weight: 700; }
.blog-date { margin-top: auto !important; padding-top: .35rem; font-size: .85rem !important; }
.blog-pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; color: var(--muted); }
.blog-empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: 14px; }
.blog-empty p { color: var(--muted); }

.art-preview-bar { background: #FFF4D1; color: #5C4300; font-size: .9rem; padding: .6rem 0; }
.art-head { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.art-narrow { max-width: 820px; }
.art-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.8rem); line-height: 1.15; margin: 0 0 .9rem; text-wrap: balance; }
.art-head .lead { margin: 0 0 1.1rem; }
.art-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; color: var(--muted); font-size: .92rem; margin: 0; }
.art-meta span + span::before { content: "·"; margin-right: 1.1rem; color: #BBA9AD; }
.art-cover { margin: 0 auto 2rem; max-width: 1000px; }
.art-cover img { width: 100%; height: auto; border-radius: 16px; display: block; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: clamp(3rem, 7vw, 5rem); max-width: 1000px; }
.art-layout:has(.art-toc) { grid-template-columns: 220px minmax(0, 1fr); }
.art-toc { position: sticky; top: 6rem; align-self: start; font-size: .9rem; }
.art-toc-title { font-weight: 800; margin: 0 0 .6rem; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; color: var(--muted); }
.art-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; border-left: 2px solid var(--line); }
.art-toc a { display: block; padding-left: .8rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.art-toc a:hover { color: var(--blue); border-left-color: var(--blue); }
.art-body { max-width: 720px; font-size: 1.06rem; }
.art-body h2 { scroll-margin-top: 6rem; }
.art-body a { color: var(--blue); text-underline-offset: 2px; }
.art-body figure { margin: 1.6rem 0; }
.art-body figure img { width: 100%; height: auto; border-radius: 12px; display: block; }
.art-body figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.art-body blockquote { margin: 1.4rem 0; padding: .9rem 1.2rem; border-left: 4px solid var(--signal); background: var(--tint); border-radius: 0 10px 10px 0; }
.art-body blockquote p { margin: 0; font-style: italic; }
.art-cta { margin: 2.5rem 0 1.5rem; padding: 1.5rem 1.6rem; border-radius: 16px; background: var(--ink); color: #fff; }
.art-cta h2 { color: #fff; margin: 0 0 .5rem !important; font-size: 1.35rem !important; }
.art-cta p { color: rgba(255, 255, 255, .8); margin: 0 0 1.1rem !important; }
.art-cta .btn-outline { border-color: #fff; color: #fff; }
.art-cta .btn-outline:hover { background: #fff; color: var(--ink); }
.art-share { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; font-size: .92rem; color: var(--muted); padding-top: 1.2rem; border-top: 1px solid var(--line); }
.art-share a { font-weight: 600; }
@media (max-width: 860px) {
  .art-layout:has(.art-toc) { grid-template-columns: minmax(0, 1fr); }
  .art-toc { position: static; background: var(--tint); padding: 1rem 1.1rem; border-radius: 12px; }
}
.section-tint .sub-toggle, .section-tint .sub-terms { background: var(--paper); }
.section-tint .sub-toggle { box-shadow: inset 0 0 0 1px var(--line); }
.section-tint .sub-toggle button[aria-pressed="true"] { background: var(--tint); }
