/* Landing page. */

.top { background: var(--white); border-bottom: 2px solid var(--ink); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.brand svg { width: 30px; height: 34px; flex: none; }
.brand img { width: 44px; height: auto; flex: none; display: block; }
.logo-tentang { width: 112px; height: auto; display: block; margin: 0 0 14px; }

.ref { background: var(--padi); color: #fff; text-align: center; padding: 10px 20px; font-weight: 700; font-size: 1rem; }

/* Hero */
.hero { padding: 36px 0 56px; background: var(--paper); }
.hero-in { display: grid; gap: 28px; align-items: center; grid-template-areas: "head" "ticket" "cta"; }
.hero-head { grid-area: head; }
.hero-cta { grid-area: cta; }
.ticket { grid-area: ticket; }
.hero h1 { margin-bottom: 0.4em; }
.lead { font-size: 1.25rem; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 12px; }
.mini { font-size: 1rem; color: var(--muted); margin: 0; }
.mini a { font-weight: 700; color: var(--ink); }
.stat { margin: 14px 0 0; font-weight: 700; color: var(--padi); }

/* Karcis: satu-satunya elemen "ramai" di halaman */
.ticket {
  position: relative; overflow: hidden;
  background: var(--yellow); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  max-width: 460px; width: 100%;
}
.ticket-main { padding: 22px 24px 20px; }
.ticket-price { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: clamp(3.4rem, 15vw, 5.6rem); line-height: 0.95; letter-spacing: -0.02em; }
.ticket-price small { font-size: 0.3em; letter-spacing: 0; font-weight: 700; }
.ticket-note { margin: 8px 0 0; font-weight: 700; }
.ticket-tear { position: relative; height: 0; border-top: 2px dashed var(--ink); }
.ticket-tear::before, .ticket-tear::after {
  content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
}
.ticket-tear::before { left: -16px; }
.ticket-tear::after { right: -16px; }
.ticket-foot { margin: 0; padding: 16px 24px 20px; display: grid; gap: 6px; }
.ticket-foot div { display: flex; justify-content: space-between; gap: 12px; }
.ticket-foot dt { font-weight: 400; }
.ticket-foot dd { margin: 0; font-weight: 700; white-space: nowrap; }

@media (min-width: 860px) {
  .hero { padding: 64px 0 80px; }
  .hero-in { grid-template-columns: 1.25fr 1fr; grid-template-areas: "head ticket" "cta ticket"; column-gap: 56px; row-gap: 0; align-content: center; }
  .ticket { justify-self: end; transform: rotate(1.5deg); }
}

/* Seksi */
.sec { padding: 56px 0; }
.sec-white { background: var(--white); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.sec-head { max-width: 40em; margin-bottom: 28px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }

/* Daftar pekerjaan: tipografi sebagai gambar */
.kerja { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.kerja li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kerja b { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 5.5vw, 2.3rem); line-height: 1.1; }
.kerja span { color: var(--muted); }
@media (min-width: 720px) {
  .kerja li { grid-template-columns: 300px 1fr; align-items: baseline; gap: 24px; }
}
.kerja-foot { margin: 20px 0 0; font-weight: 700; }

/* Paket */
.plans { display: grid; gap: 20px; }
.plan { background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 24px; }
.plan-hemat { border-top: 12px solid var(--yellow); }
.plan h3 { margin-bottom: 4px; }
.plan-code { color: var(--muted); font-weight: 700; margin: 0 0 12px; }
.plan-price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 8vw, 3rem); line-height: 1; margin: 0; }
.plan-price small { font-size: 0.4em; font-weight: 700; }
.plan-day { color: var(--muted); margin: 6px 0 16px; font-weight: 700; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 20px; height: 20px; border-radius: 50%; background: var(--padi); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: calc(0.35em + 3px); width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.fine { color: var(--muted); font-size: 0.95rem; margin-top: 18px; }
.fine a { font-weight: 700; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }

/* Skenario: apa yang terjadi kalau ... */
.skenario { display: grid; gap: 28px; }
.skenario article { border-left: 8px solid var(--yellow); padding: 2px 0 2px 20px; max-width: 46em; }
.skenario h3 { margin-bottom: 6px; }
.skenario p { margin: 0 0 6px; }
.skenario .amount { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }

/* Syarat */
.syarat { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.syarat li { position: relative; padding: 14px 16px 14px 56px; background: var(--white); border: 2px solid var(--ink); border-radius: 12px; font-weight: 700; }
.syarat li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--padi); }
.syarat li::after { content: ""; position: absolute; left: 25px; top: 50%; width: 8px; height: 14px; margin-top: -10px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.syarat small { display: block; font-weight: 400; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 760px) { .syarat { grid-template-columns: 1fr 1fr; } }

/* Langkah (urutan sungguhan, jadi pakai angka) */
.langkah { list-style: none; counter-reset: l; margin: 0; padding: 0; display: grid; gap: 22px; }
.langkah li { counter-increment: l; position: relative; padding-left: 68px; min-height: 52px; }
.langkah li::before {
  content: counter(l); position: absolute; left: 0; top: -2px; width: 48px; height: 48px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--ink);
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}
.langkah b { display: block; font-family: var(--font-head); font-size: 1.25rem; }
.langkah span { color: var(--muted); }

.mandiri { margin-top: 36px; padding: 22px; background: var(--white); border: 2px dashed var(--ink); border-radius: 16px; display: grid; gap: 12px; }
.mandiri h3 { margin: 0; }
.mandiri p { margin: 0; }
.kode-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kode { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 6vw, 2.2rem); letter-spacing: 0.06em; padding: 6px 16px; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 10px; user-select: all; }

/* Formulir titip data */
.form-card { max-width: 640px; background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 24px; box-shadow: 6px 6px 0 var(--ink); }
.sukses h3 { margin-bottom: 8px; }
.sukses .cta { margin-bottom: 0; }

/* Tentang */
.tentang { display: grid; gap: 8px; max-width: 44em; }
.tentang dl { margin: 12px 0 0; display: grid; gap: 4px; }
.tentang dt { font-weight: 700; }
.tentang dd { margin: 0 0 8px; }

.foot { background: var(--ink); color: #dbe5ee; padding: 36px 0 120px; font-size: 0.95rem; }
.foot a { color: #fff; }
.foot p { margin: 0 0 10px; max-width: 52em; }

/* Bilah bawah di HP */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 2px solid var(--ink); }
.dock .btn { flex: 1; min-height: 48px; padding: 0 10px; font-size: 1rem; }
@media (min-width: 760px) {
  .dock { display: none; }
  .foot { padding-bottom: 48px; }
}

/* Pamflet cetak (A5) */
.pf-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; padding: 16px; }
.pf-bar p { margin: 0; color: var(--muted); font-size: 1rem; }
.pf-stage { display: flex; justify-content: center; padding: 0 12px 40px; }
.pf-sheet { width: 148mm; height: 210mm; background: var(--white); color: var(--ink); border: 2px solid var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.pf-head { background: var(--yellow); padding: 7mm 9mm 6mm; border-bottom: 2px solid var(--ink); display: grid; grid-template-columns: 24mm 1fr; gap: 5mm; align-items: center; }
.pf-logo { width: 24mm; height: auto; display: block; }
.pf-head h1 { font-size: 23pt; line-height: 1.02; margin: 0; }
.pf-body { padding: 6mm 9mm 0; display: grid; gap: 4mm; flex: 1; align-content: start; }
.pf-price { display: flex; align-items: baseline; gap: 3mm; font-family: var(--font-head); font-weight: 800; }
.pf-price b { font-size: 40pt; line-height: 1; letter-spacing: -0.02em; }
.pf-price span { font-size: 13pt; }
.pf-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2mm; font-size: 12pt; line-height: 1.3; }
.pf-body li { padding-left: 6mm; position: relative; }
.pf-body li::before { content: ""; position: absolute; left: 0; top: 1.6mm; width: 3mm; height: 3mm; border-radius: 50%; background: var(--padi); }
.pf-foot { display: grid; grid-template-columns: 38mm 1fr; gap: 5mm; align-items: center; padding: 5mm 9mm 8mm; border-top: 2px dashed var(--ink); margin-top: 4mm; }
.pf-qr svg { width: 38mm; height: 38mm; display: block; }
.pf-foot p { margin: 0 0 1.5mm; font-size: 10.5pt; line-height: 1.3; }
.pf-foot .pf-call { font-family: var(--font-head); font-weight: 800; font-size: 14pt; }
@media print {
  @page { size: A5; margin: 0; }
  body { background: #fff; }
  .pf-bar, #toast { display: none !important; }
  .pf-stage { padding: 0; }
  .pf-sheet { border: 0; width: 148mm; height: 210mm; }
}

/* Header HP: logo + nama + tombol harus muat satu baris */
.brand span { white-space: nowrap; }
.top-in .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand img { width: 40px; }
  .top-in .btn-sm { padding-inline: 12px; }
}
