@font-face {
  font-family: "Jakarta";
  src: url("/jakarta.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --brand: #004aad;
  --brand-dark: #00357f;
  --brand-tint: #e6f0ff;
  --gold: #fddf3f;
  --gold-dark: #726200;
  --teal: #0e9c8f;
  --teal-tint: #e2f6f3;
  --ink: #0a1628;
  --muted: #5b6478;
  --line: #e4e9f2;
  --low: #f5f8fd;
  --page: #eef2f8;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.hp {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #fff;
  box-shadow: 0 0 70px rgba(10, 22, 40, 0.1);
  overflow-x: hidden;
}

@media (max-width: 430px) {
  .hp {
    box-shadow: none;
  }
}

.ikon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Cover & profil ---------- */
.cover {
  position: relative;
  height: 128px;
  background:
    radial-gradient(120% 110% at 12% 0%, #2e6fd6 0%, rgba(46, 111, 214, 0) 58%),
    linear-gradient(135deg, #00357f 0%, #004aad 55%, #1d63c9 100%);
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cover__chip {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.cover__chip .ikon {
  width: 13px;
  height: 13px;
}

.profil {
  position: relative;
  padding: 0 18px 18px;
  margin-top: -46px;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  border: 4px solid #fff;
  background: linear-gradient(155deg, #004aad, #2e6fd6);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -12px rgba(0, 31, 60, 0.22);
}

/* Logo NgasirYuk di dalam bingkai avatar (halaman akar menu). */
.avatar__mark {
  width: 100%;
  height: 100%;
  display: block;
}

.profil__nama {
  margin: 12px 0 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profil__tagline {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.baris-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--low);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.chip .ikon {
  width: 13px;
  height: 13px;
}

/* ---------- Tombol aksi (layanan pesan-antar) ---------- */
.aksi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 18px 18px;
}

.btn {
  flex: 1 1 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Menu ---------- */
.sec {
  padding: 22px 18px 6px;
}

.sec__judul {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.sec__catatan {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.grup__judul {
  margin: 0;
  padding: 16px 18px 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.item__foto {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--brand-tint), #f8fbff);
}

.item__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item__badan {
  flex: 1 1 auto;
  min-width: 0;
}

.item__nama {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.item__desc {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.item__harga {
  margin: 7px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand);
}

/* ---------- Sosmed: deret ikon ---------- */
.sosmed {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 2px 18px 18px;
}

.sosmed a {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--low);
  color: var(--brand);
  display: grid;
  place-items: center;
  text-decoration: none;
}

.sosmed a .ikon {
  width: 22px;
  height: 22px;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 26px;
  padding: 22px 18px 30px;
  border-top: 1px solid var(--line);
  background: var(--low);
  text-align: center;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer__mark {
  width: 22px;
  height: 22px;
  display: block;
}

.footer__cta {
  display: block;
  margin-top: 14px;
  padding: 13px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.kosong {
  padding: 26px 18px;
  text-align: center;
  color: var(--muted);
}

/* ---------- Tombol WhatsApp mengambang ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(37, 211, 102, 0.95);
}

.wa-float .ikon {
  width: 26px;
  height: 26px;
}
