/**
 * Peace Infinite — Beranda (tema baru)
 * Bergantung pada tokens.css + components.css
 */

/* ═══ HERO ══════════════════════════════════════════════════════════════ */
.hp-hero {
  position: relative;
  padding: calc(72px + clamp(40px, 6vw, 88px)) 0 clamp(56px, 7vw, 104px);
  background:
    radial-gradient(55% 65% at 100% 0%, rgba(164,222,248,.35) 0%, rgba(164,222,248,0) 70%),
    linear-gradient(180deg, #FFFFFF 0%, var(--surface-muted) 100%);
  overflow: hidden;
}
.hp-hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hp-hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: var(--sp-6);
  max-width: 18ch;
}
.hp-hero-sub { font-size: 1.125rem; color: var(--text-muted) !important; max-width: 52ch; margin-bottom: var(--sp-8); }
.hp-hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.hp-hero-stats {
  display: flex; gap: var(--sp-8); flex-wrap: wrap;
  margin-top: var(--sp-12); padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
.hp-hero-stats div { display: flex; flex-direction: column-reverse; }
.hp-hero-stats dd { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--brand-navy); line-height: 1.1; }
.hp-hero-stats dt { font-size: var(--fs-small); color: var(--text-muted); }

/* Ilustrasi sistem */
.hp-hero-visual { position: relative; }
.hp-hero-img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hp-sys {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hp-sys-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-muted);
}
.hp-sys-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.hp-sys-url {
  margin-left: 12px; flex: 1; max-width: 260px;
  font-size: .75rem; color: var(--text-subtle);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 3px 12px;
}
.hp-sys-body { display: grid; grid-template-columns: 190px 1fr; min-height: 340px; }
.hp-sys-side { background: var(--brand-navy); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.hp-sys-nav {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--r-sm);
  font-size: .8125rem; font-weight: 500; color: var(--text-on-dark-muted);
}
.hp-sys-nav .icon { color: #8FA3C6; }
.hp-sys-nav.is-active { background: rgba(76,185,234,.16); color: #fff; }
.hp-sys-nav.is-active .icon { color: var(--brand-sky); }
.hp-sys-main { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.hp-sys-line { height: 8px; border-radius: 4px; background: var(--border); }
.hp-sys-line.w35 { width: 35%; } .hp-sys-line.w40 { width: 40%; } .hp-sys-line.w50 { width: 50%; }
.hp-sys-line.w60 { width: 60%; height: 12px; background: var(--border-strong); }
.hp-sys-line.w70 { width: 70%; } .hp-sys-line.w75 { width: 75%; } .hp-sys-line.w80 { width: 80%; }
.hp-sys-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.hp-sys-card { border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.hp-sys-big { height: 18px; width: 55%; border-radius: 4px; background: var(--brand-blue-soft); }
.hp-sys-card:first-child .hp-sys-big { background: var(--brand-sky-soft); }
.hp-sys-chart {
  display: flex; align-items: flex-end; gap: 8px; height: 96px;
  padding: 12px; border: 1px solid var(--border); border-radius: var(--r-md);
}
.hp-sys-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--brand-sky), var(--brand-blue)); opacity: .85; }
.hp-sys-rows { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.hp-sys-chip {
  position: absolute; left: -20px; bottom: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 10px 16px; box-shadow: var(--shadow-md);
  font-size: .875rem; font-weight: 600; color: var(--brand-navy);
}
.hp-sys-chip .icon { color: var(--success); }

/* ═══ KLIEN ═════════════════════════════════════════════════════════════ */
.hp-clients { padding: var(--sp-10) 0 var(--sp-12); border-bottom: 1px solid var(--border); background: var(--surface); overflow-x: clip; max-width: 100%; }
.hp-clients-label {
  text-align: center; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted) !important; margin-bottom: var(--sp-6);
}
.hp-marquee {
  position: relative; overflow: hidden; padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.hp-marquee-track {
  display: flex; width: max-content; will-change: transform;
  animation: hp-marquee 38s linear infinite;
}
.hp-marquee-group {
  display: flex; align-items: center; gap: clamp(36px, 4.5vw, 64px);
  padding-right: clamp(36px, 4.5vw, 64px); flex-shrink: 0;
}
.hp-marquee:hover .hp-marquee-track { animation-play-state: paused; }
/* Spotlight focus: dim siblings softly when hovering any single logo */
.hp-marquee:has(.hp-logo:hover) .hp-logo:not(:hover) { opacity: 0.42; }

.hp-logo {
  display: inline-flex; align-items: center; justify-content: center;
  height: 62px; flex-shrink: 0; text-decoration: none;
  transition: opacity .26s cubic-bezier(.22,1,.36,1), transform .26s cubic-bezier(.22,1,.36,1);
}
.hp-logo img {
  height: 36px; width: auto; max-width: 146px; object-fit: contain;
  filter: none; opacity: 0.92;
  transition: opacity .26s cubic-bezier(.22,1,.36,1), transform .26s cubic-bezier(.22,1,.36,1);
}
.hp-logo--med img { height: 44px; }
.hp-logo--sq img  { height: 60px; max-width: 100px; }
.hp-logo:hover { transform: translateY(-2px); opacity: 1 !important; }
.hp-logo:hover img { opacity: 1; transform: scale(1.05); }

@keyframes hp-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hp-marquee { mask-image: none; -webkit-mask-image: none; }
  .hp-marquee-track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }
  .hp-marquee-group[aria-hidden="true"] { display: none; }
  .hp-marquee-group { flex-wrap: wrap; justify-content: center; padding-right: 0; gap: 24px 40px; }
}

/* ═══ LAYANAN ═══════════════════════════════════════════════════════════ */
.hp-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.hp-services .pi-card p { flex: 1; }
.hp-service-tags { margin: var(--sp-4) 0 var(--sp-2); }
.hp-card-link { margin-top: var(--sp-4); }

/* ═══ PORTOFOLIO ════════════════════════════════════════════════════════ */
.hp-work { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.hp-work-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hp-work-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hp-work-media { aspect-ratio: 16 / 10; background: var(--brand-blue-soft); overflow: hidden; }
.hp-work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hp-work-card:hover .hp-work-media img { transform: scale(1.03); }
.hp-work-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--brand-blue); }
.hp-work-body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-start; }
.hp-work-body h3 { font-size: 1.0625rem; line-height: var(--lh-snug); }
.hp-work-client { display: flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--text-muted) !important; }

.hp-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-6); }
.hp-cat { flex-direction: row; align-items: center; gap: var(--sp-4); padding: var(--sp-6); }
.hp-cat .pi-iconbox { margin: 0; }
.hp-cat h3 { font-size: 1rem; margin-bottom: 2px; }

/* ═══ KENAPA KAMI ═══════════════════════════════════════════════════════ */
.hp-why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.hp-why .pi-head { position: sticky; top: 112px; margin-bottom: 0; }
.hp-why .pi-head p { margin-bottom: var(--sp-8); }
.hp-pillars { display: grid; gap: var(--sp-4); }
.hp-pillar {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding: var(--sp-6); border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface);
}
.hp-pillar .pi-iconbox { margin: 0; }
.hp-pillar h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.hp-pillar p { color: var(--text-muted) !important; font-size: .9375rem; }

/* ═══ TENTANG ═══════════════════════════════════════════════════════════ */
.hp-about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hp-about h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-4); }
.hp-about-copy p { font-size: 1.0625rem; max-width: 58ch; }
.hp-about-tags { margin-top: var(--sp-8); }
.hp-about .pi-tag { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--text-on-dark-muted); }
.hp-about-img { width: 100%; height: auto; border-radius: var(--r-lg); }
.hp-about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: var(--sp-6); }
.hp-about-stats div { padding: var(--sp-6) var(--sp-4); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-card); }
.hp-about-stats dd { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hp-about-stats dt { font-size: var(--fs-small); color: var(--text-on-dark-muted); margin-top: 4px; }

/* ═══ PROSES ════════════════════════════════════════════════════════════ */
.hp-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); counter-reset: none; }
.hp-step {
  position: relative; padding: var(--sp-6);
  border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface);
}
.hp-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-6); }
.hp-step-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--brand-blue); letter-spacing: -.02em; }
.hp-step-num { position: relative; padding-right: 11px; }
.hp-step-num::after { content: ''; position: absolute; top: 0; right: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-sky); }
.hp-step-icon {
  width: 40px; height: 40px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-blue-soft); color: var(--brand-blue-strong);
}
.hp-step h3 { font-size: 1.125rem; margin-bottom: var(--sp-2); }
.hp-step p { font-size: .9375rem; color: var(--text-muted) !important; }

/* ═══ HARGA ═════════════════════════════════════════════════════════════ */
.hp-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-6); align-items: stretch; }
.hp-plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: var(--sp-8) var(--sp-6);
}
.hp-plan.is-popular { border: 2px solid var(--brand-blue); box-shadow: var(--shadow-lg); }
.hp-plan-badge {
  position: absolute; top: -13px; left: var(--sp-6);
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-blue-strong); color: #fff;
  font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: var(--r-pill);
}
.hp-plan h3 { font-size: 1.25rem; }
.hp-plan-tag { font-size: var(--fs-small); color: var(--text-muted) !important; margin-top: 4px; }
.hp-plan-price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--brand-navy); letter-spacing: -.02em; margin-top: var(--sp-6); }
.hp-plan-note { font-size: var(--fs-small); color: var(--text-subtle) !important; }
.hp-plan-list { list-style: none; margin: var(--sp-6) 0 var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--border); display: grid; gap: var(--sp-3); flex: 1; align-content: start; }
.hp-plan-list li { display: flex; gap: 10px; font-size: .9375rem; color: var(--text-body); }
.hp-plan-list .icon { color: var(--brand-blue); margin-top: 2px; }

/* ═══ TESTIMONI ═════════════════════════════════════════════════════════ */
.hp-testi { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.hp-quote { margin: 0; gap: var(--sp-4); }
.hp-quote-mark { color: var(--brand-sky); }
.hp-quote blockquote { margin: 0; font-size: 1.0625rem; color: var(--text); line-height: 1.6; flex: 1; }
.hp-quote figcaption { display: flex; align-items: center; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.hp-quote figcaption img, .hp-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hp-avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--brand-blue-soft); color: var(--brand-blue-strong); font-family: var(--font-display); font-weight: 700; }
.hp-quote strong { display: block; color: var(--text); font-size: .9375rem; }
.hp-quote small { display: block; color: var(--text-muted); font-size: var(--fs-small); }

/* ═══ BLOG ══════════════════════════════════════════════════════════════ */
.hp-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.hp-post {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hp-post:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hp-post-media { aspect-ratio: 16 / 9; background: var(--brand-blue-soft); overflow: hidden; }
.hp-post-media img { width: 100%; height: 100%; object-fit: cover; }
.hp-post-body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.hp-post-meta { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.hp-post-meta time { font-size: .8125rem; color: var(--text-subtle); }
.hp-post h3 { font-size: 1.0625rem; line-height: var(--lh-snug); }
.hp-post p { font-size: .9375rem; color: var(--text-muted) !important; }

/* ═══ FAQ ═══════════════════════════════════════════════════════════════ */
.hp-faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.hp-faq .pi-head { position: sticky; top: 112px; margin-bottom: 0; }
.hp-faq .pi-head p { margin-bottom: var(--sp-6); }

/* ═══ RESPONSIF ═════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hp-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hp-hero-grid, .hp-why, .hp-about, .hp-faq { grid-template-columns: 1fr; }
  .hp-why .pi-head, .hp-faq .pi-head { position: static; }
  .hp-hero-visual { max-width: 560px; }
  .hp-sys-chip { left: 12px; bottom: -18px; }
  .hp-work, .hp-blog { grid-template-columns: repeat(2, 1fr); }
  .hp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hp-hero { padding-top: calc(64px + 32px); }
  .hp-hero-actions .btn { flex: 1 1 100%; }
  .hp-hero-stats { gap: var(--sp-6); }
  .hp-sys-body { grid-template-columns: 1fr; min-height: 0; }
  .hp-sys-side { flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 10px; }
  .hp-sys-nav { padding: 6px 8px; font-size: .75rem; }
  .hp-sys-nav:nth-child(n+4) { display: none; }
  .hp-services, .hp-work, .hp-blog, .hp-steps, .hp-testi { grid-template-columns: 1fr; }
  .hp-about-stats { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-2); }
  .hp-about-stats div { padding: var(--sp-4) var(--sp-3); }
  .hp-about-stats dd { font-size: 1.375rem; }
}

/* ═══ 2026-12-02 (A–C) ══════════════════════════════════════════════════ */
.hp-hero-ph { margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; display: flex; flex-direction: column; }
.hp-hero-ph .hp-sys-bar { background: var(--surface); }
.hp-hero-ph .pi-placeholder-body { flex: 1; }

.hp-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-6) var(--sp-12); }
.hp-logo-ph {
  height: 48px; padding: 0 var(--sp-6); border: 1.5px dashed var(--border-strong); border-radius: var(--r-md);
  display: inline-flex; align-items: center; font-size: .8125rem; color: var(--text-subtle);
}

.hp-lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.hp-line { padding: var(--sp-8); }
.hp-line h3 { font-size: var(--fs-h3); }
.hp-line-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-4); margin: var(--sp-6) 0 var(--sp-2); }
.hp-line-list li { display: flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--text-body); }
.hp-line-list .icon { color: var(--brand-blue); }
.hp-standard { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); margin-top: var(--sp-6); }
.hp-standard-item {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding: var(--sp-6); border-radius: var(--r-card); background: var(--surface-muted); border: 1px solid var(--border);
}
a.hp-standard-item:hover { border-color: var(--border-strong); }
.hp-standard-item .pi-iconbox { margin: 0; background: var(--surface); }
.hp-standard-item h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.hp-standard-item p { font-size: .9375rem; color: var(--text-muted) !important; }

@media (max-width: 760px) {
  .hp-lines, .hp-standard { grid-template-columns: 1fr; }
  .hp-line { padding: var(--sp-6) var(--sp-4); }
  .hp-hero-ph { min-height: 260px; }
}
@media (max-width: 420px) { .hp-line-list { grid-template-columns: 1fr; } }

/* Estimasi (pengganti paket harga) */
.hp-estimate {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(24px, 5vw, 56px);
}
.hp-estimate h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-3); }
.hp-estimate p { color: var(--text-muted) !important; margin-bottom: var(--sp-6); max-width: 48ch; }
.hp-estimate-steps { list-style: none; display: grid; gap: var(--sp-3); }
.hp-estimate-steps li { display: flex; align-items: center; gap: var(--sp-3); font-weight: 500; color: var(--text); }
.hp-estimate-steps span {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-blue-soft); color: var(--brand-blue); font-family: var(--font-display); font-weight: 700; font-size: .875rem;
}
@media (max-width: 860px) { .hp-estimate { grid-template-columns: 1fr; } }

/* ── Showcase panel admin (navy) ─────────────────────────────────────── */
.hp-showcase-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hp-showcase-copy h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 var(--sp-4); }
.hp-showcase-copy > p { margin: 0 0 var(--sp-8); max-width: 52ch; }
.hp-showcase-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hp-showcase-list li {
  position: relative;
  display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.015);
  cursor: pointer;
  transition: background .24s cubic-bezier(.22,1,.36,1), border-color .24s cubic-bezier(.22,1,.36,1), transform .24s cubic-bezier(.22,1,.36,1);
}
.hp-showcase-list li::before {
  content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  border-radius: 0 3px 3px 0; background: #4CB9EA;
  transform: scaleY(0); transform-origin: center;
  transition: transform .26s cubic-bezier(.22,1,.36,1);
}
.hp-showcase-list li:hover {
  background: rgba(255,255,255,.055);
  border-color: rgba(164,222,248,.22);
  transform: translateX(3px);
}
.hp-showcase-list li.is-active {
  background: rgba(76,185,234,.09);
  border-color: rgba(164,222,248,.34);
  transform: translateX(4px);
}
.hp-showcase-list li.is-active::before { transform: scaleY(1); }
.hp-showcase-list li.is-active .pi-dotnum { color: #7DD3FC; }
.hp-showcase-list h3 { font-size: 1.02rem; margin: 1px 0 3px; transition: color .2s ease; }
.hp-showcase-list li.is-active h3 { color: #FFFFFF; }
.hp-showcase-list p { margin: 0; font-size: .89rem; opacity: .82; }
.hp-step-arrow {
  align-self: center; font-size: 0.95rem; color: #7DD3FC;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.22,1,.36,1);
}
.hp-showcase-list li:hover .hp-step-arrow,
.hp-showcase-list li.is-active .hp-step-arrow { opacity: 1; transform: translateX(0); }

/* Staggered scroll-reveal on showcase steps */
.hp-showcase-list.pi-stagger-ready li {
  opacity: 0; transform: translateY(14px);
}
.hp-showcase-list.pi-stagger-ready.is-visible li {
  opacity: 1; transform: translateY(0);
  transition: opacity .45s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1), background .24s ease, border-color .24s ease;
}
.hp-showcase-list.pi-stagger-ready.is-visible li:nth-child(1) { transition-delay: 0ms; }
.hp-showcase-list.pi-stagger-ready.is-visible li:nth-child(2) { transition-delay: 75ms; }
.hp-showcase-list.pi-stagger-ready.is-visible li:nth-child(3) { transition-delay: 150ms; }
.hp-showcase-list.pi-stagger-ready.is-visible li:nth-child(4) { transition-delay: 225ms; }
.hp-showcase-list.pi-stagger-ready.is-visible li.is-active { transform: translateX(4px); transition-delay: 0ms; }
.hp-showcase-list.pi-stagger-ready.is-visible li:hover { transform: translateX(3px); transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
  .hp-showcase-list.pi-stagger-ready li { opacity: 1; transform: none; }
}
.hp-showcase-visual { margin: 0; }
.hp-showcase-visual img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.hp-showcase-ph { border-radius: 16px; border: 1.5px dashed rgba(164,222,248,.35); background: rgba(255,255,255,.04); overflow: hidden; }
.hp-showcase-ph .hp-sys-bar { background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.08); }
.hp-showcase-ph .hp-sys-bar > span { background: rgba(255,255,255,.22); }
.hp-showcase-ph-body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-2); text-align: center; aspect-ratio: 16 / 10; padding: var(--sp-8); color: var(--brand-sky-light); }
.hp-showcase-ph-body strong { font-family: var(--font-display); color: #fff; font-size: 1.125rem; }
.hp-showcase-ph-body span { font-size: .875rem; color: var(--text-on-dark-muted); }
.hp-showcase-ph-body code { color: var(--brand-sky-light); }
.hp-work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 960px) { .hp-showcase-grid { grid-template-columns: 1fr; } }
.hp-showcase-visual picture img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.hp-showcase-cap { margin-top: var(--sp-3); font-size: .875rem; color: var(--text-on-dark-muted); }

/* ═══ 2026-12-02 rev: hero dengan screenshot asli ════════════════════ */
.hp-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.hp-hero-title { font-size: clamp(2.125rem, 1.25rem + 2.4vw, 3.05rem); max-width: 22ch; text-wrap: balance; }
.hp-hero-shot { position: relative; margin: 0; padding: 0 0 28px 28px; }
.hp-hero-frame {
  position: relative; border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -30px rgba(30,47,85,.35), 0 12px 24px -12px rgba(30,47,85,.18);
}
.hp-hero-frame .hp-sys-bar { background: var(--surface); border-bottom: 1px solid var(--border); }
.hp-hero-frame .hp-sys-bar em { margin-left: auto; font-style: normal; font-size: .75rem; font-weight: 600; color: var(--text-subtle); }
.hp-hero-frame picture, .hp-hero-frame img { display: block; width: 100%; height: auto; }
.hp-hero-frame img { aspect-ratio: 1350 / 623; object-fit: cover; object-position: left top; }
.hp-hero-float {
  position: absolute; left: 0; bottom: -8px; width: min(52%, 280px);
  background: #fff; border-radius: 12px; padding: 6px 6px 8px;
  border: 1px solid var(--border); box-shadow: 0 24px 40px -18px rgba(30,47,85,.4);
}
.hp-hero-float img, .hp-hero-float picture { display: block; width: 100%; height: auto; border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hp-hero-float span { display: flex; align-items: center; gap: 6px; margin: 8px 4px 0; font-size: .75rem; font-weight: 600; color: var(--text-muted); }
.hp-hero-shot figcaption { margin: var(--sp-4) 0 0; font-size: .8125rem; color: var(--text-subtle); text-align: right; }

/* Nama klien (sebagai pengganti logo yang belum ada) */
.hp-logo-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em;
  color: #8A94A6; border: 0 !important; background: none !important; padding: 8px 6px !important; white-space: nowrap;
}

/* Studi kasus ringkas di beranda */
.cs--compact { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(16px, 2vw, 24px); }
.cs-c-media { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-muted); }
.cs-c-media img, .cs-c-media picture { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .25s ease-out; }
.cs-c-media:hover img { transform: scale(1.02); }
.cs-c-body { padding: var(--sp-4) var(--sp-4) var(--sp-4) 0; }
.cs-c-body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 var(--sp-3); }
.cs-c-list { margin: var(--sp-6) 0 var(--sp-8); display: grid; gap: var(--sp-4); }
.cs-c-list dt { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--text); margin-bottom: 2px; }
.cs-c-list dt .pi-dotnum { font-size: 1rem; }
.cs-c-list dd { margin: 0 0 0 40px; color: var(--text-muted); font-size: .9375rem; line-height: 1.55; }
.cs--compact + .hp-work { margin-top: var(--sp-6); }

@media (max-width: 960px) {
  .hp-hero-grid { grid-template-columns: 1fr; }
  .hp-hero-shot { padding: 0 0 24px 16px; margin-top: var(--sp-4); }
  .cs--compact { grid-template-columns: 1fr; }
  .cs-c-body { padding: 0 var(--sp-2) var(--sp-2); }
}
@media (prefers-reduced-motion: reduce) { .cs-c-media:hover img { transform: none; } }

/* ═══ 2026-12-02 rev 2: perapian tampilan HP ═════════════════════════ */
@media (max-width: 640px) {
  /* Jarak antar-bagian lebih rapat */
  .hp-clients { padding-bottom: var(--sp-8); }

  /* Hero: screenshot admin penuh, kartu website kecil di sudut bawah */
  .hp-hero-title { font-size: clamp(1.875rem, 1.2rem + 3.4vw, 2.25rem); max-width: none; }
  .hp-hero-sub { font-size: 1rem; margin-bottom: var(--sp-6); }
  .hp-hero-shot { padding: 0 0 56px; margin-top: var(--sp-2); }
  .hp-hero-frame .hp-sys-bar { padding: 8px 12px; }
  .hp-hero-frame .hp-sys-bar em { font-size: .6875rem; }
  .hp-hero-float { left: auto; right: 10px; bottom: 0; width: 46%; padding: 4px 4px 6px; border-radius: 10px; }
  .hp-hero-float span { font-size: .6875rem; margin: 5px 2px 0; }
  .hp-hero-shot figcaption { text-align: left; margin-top: var(--sp-3); }

  /* Logo klien: marquee tetap bersih tanpa kotak di mobile; grid statis pakai kartu */
  .hp-marquee-track { animation-duration: 30s; }
  .hp-marquee-group { gap: 32px; padding-right: 32px; }
  .hp-marquee .hp-logo { height: 50px; }
  .hp-marquee .hp-logo img { height: 30px; }
  .hp-marquee .hp-logo--med img { height: 36px; }
  .hp-marquee .hp-logo--sq img  { height: 46px; }

  .hp-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hp-logos .hp-logo { height: 64px; justify-content: center; padding: 6px 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
  .hp-logos .hp-logo img { height: 30px; max-width: 100%; }
  .hp-logos .hp-logo--med img { height: 36px; }
  .hp-logos .hp-logo--sq img  { height: 46px; }
  .hp-logos .hp-logo-name { font-size: .8125rem; white-space: normal; text-align: center; line-height: 1.2; border: 1px solid var(--border) !important; background: var(--surface) !important; padding: 6px !important; }

  /* Layanan */
  .hp-line { padding: var(--sp-5) var(--sp-4); }
  .hp-line-list { grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: var(--sp-4) 0 0; }
  .hp-line-list li { font-size: .875rem; align-items: flex-start; }
  .hp-line-list li .icon { margin-top: 2px; flex: none; }
  .hp-standard { gap: var(--sp-3); }
  .hp-standard-item { padding: var(--sp-4); gap: var(--sp-3); }

  /* Showcase panel admin */
  .hp-showcase-list li { grid-template-columns: 36px minmax(0, 1fr) 18px; padding: 12px 12px; }

  /* Portfolio: tag satu baris, media lebih pendek */
  .hp-work-tags .pi-tag { font-size: .75rem; padding: 3px 10px; }
  .hp-work-media img, .hp-work-media picture img { object-position: left top; }
  .hp-work-body { padding: var(--sp-5) var(--sp-4); }
  .cs-c-list dd { margin-left: 0; }
  .cs-c-body .btn { width: 100%; justify-content: center; }

  /* Proses: baris ringkas, nomor + judul sejajar */
  .hp-steps { gap: 0; border-top: 1px solid var(--border); }
  .hp-step { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: var(--sp-4) 0; background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
  .hp-step-top { grid-row: span 2; margin: 0; display: block; }
  .hp-step-num { font-size: 1.125rem; }
  .hp-step-icon { display: none; }
  .hp-step h3 { font-size: 1rem; margin: 2px 0 4px; }
  .hp-step p { font-size: .875rem; margin: 0; }

  /* Estimasi: daftar langkah disembunyikan, tombol penuh */
  .hp-estimate { padding: var(--sp-6) var(--sp-4); gap: var(--sp-4); }
  .hp-estimate-steps { display: none; }
  .hp-estimate .btn { width: 100%; justify-content: center; }
}
@media (max-width: 360px) {
  .hp-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-line-list { grid-template-columns: 1fr; }
}

/* ═══ 2026-12-02: portfolio beranda jadi carousel (khusus HP) ═════════
   Desktop & tablet tetap grid kartu seperti sebelumnya (3 proyek). */
.hp-carousel { margin-top: var(--sp-6); }
.hp-carousel-bar { display: none; }
.hp-work--carousel > .hp-work-card:nth-child(n+4) { display: none; }

@media (max-width: 640px) {
  .hp-carousel { margin-top: var(--sp-8); }
  .hp-carousel-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-3); }
  .hp-carousel.is-static .hp-carousel-nav { display: none; }
  .hp-carousel-title { font-size: 1.0625rem; margin: 0; }
  .hp-carousel-nav { display: flex; align-items: center; gap: var(--sp-2); }
  .hp-carousel-count { font-size: .8125rem; color: var(--text-subtle); margin-right: 4px; font-variant-numeric: tabular-nums; }
  .hp-carousel-btn {
    width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface); color: var(--brand-navy); border: 1px solid var(--border-strong); cursor: pointer;
  }
  .hp-carousel-btn:focus-visible { outline: 3px solid rgba(74,112,182,.4); outline-offset: 2px; }
  .hp-carousel-btn:disabled { opacity: .4; cursor: default; }
  .hp-work--carousel {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%;
    gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 12px;
    scroll-padding-inline: var(--gutter);
  }
  .hp-work--carousel::-webkit-scrollbar { display: none; }
  .hp-work--carousel > .hp-work-card { scroll-snap-align: start; }
  .hp-work--carousel > .hp-work-card:nth-child(n+4) { display: flex; }
  .hp-work--carousel .hp-work-card:hover { transform: none; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .hp-work--carousel { scroll-behavior: auto; } }

/* Panel admin di HP: kolom tidak boleh melebar mengikuti tabel demo (3 Des 2026) */
@media (max-width: 960px) {
  .hp-showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-showcase-grid > * { min-width: 0; }
}
