/* =====================================================================
   HALAMAN BANTUAN: /faq, /cek-pesanan, /contact & halaman legal (3 Okt 2026)
   ===================================================================== */
.hp { --ink: #0d1b2e; --soft: #4d5c74; --muted: #8894a8; --line: #e4e9f0; --brand: #1e5bd6; --brand-soft: #e8f0fe;
  background: #f5f7fb; padding: 0 0 70px; font-family: "Plus Jakarta Sans", sans-serif; color: var(--ink); }
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp ul, .hp li { padding-right: 0; }
.hp h1, .hp h2, .hp h3 { white-space: normal; overflow: visible; color: var(--ink); }
.page-wrapper:has(.hp) { overflow: visible; overflow-x: clip; }

/* kepala halaman */
.hp-hero { background: #0b3d91; color: #fff; padding: 34px 0 96px; position: relative; overflow: hidden; }
.hp-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.hp-crumb { font-size: 13px; color: #c9d8f5; margin-bottom: 10px; position: relative; z-index: 1; }
.hp-crumb a { color: #fff; }
.hp-hero h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: #fff; position: relative; z-index: 1; }
.hp-hero p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.6; color: #dbe6ff; max-width: 620px; position: relative; z-index: 1; }
.hp-body { margin-top: -66px; position: relative; z-index: 2; }

.hp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.hp-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 16px 40px rgba(13, 27, 46, .07); }
.hp-card + .hp-card { margin-top: 18px; }
.hp-card h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.hp-card__sub { margin: 6px 0 0; font-size: 14px; color: var(--soft); line-height: 1.6; }

/* form */
.hp-label { display: block; margin: 0 0 8px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.hp-label small { font-weight: 600; color: var(--muted); }
.hp-input, .hp-select, .hp-textarea { display: block; width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-family: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.hp-input, .hp-select { height: 52px; padding: 0 14px; }
.hp-select { padding-right: 38px; -webkit-appearance: none; appearance: none; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238894a8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.hp-textarea { min-height: 150px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.hp-input:focus, .hp-select:focus, .hp-textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30, 91, 214, .12); }
.hp-input.is-invalid, .hp-select.is-invalid, .hp-textarea.is-invalid { border-color: #d64545; }
.hp-input::placeholder, .hp-textarea::placeholder { color: #a3adbd; }
.hp-err { margin: 6px 0 0; font-size: 13px; font-weight: 600; line-height: 1.5; color: #b42318; }
.hp-hint { margin: 7px 0 0; line-height: 1.55; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.hp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-field { margin-top: 18px; min-width: 0; }
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border: 0; border-radius: 12px; background: var(--brand); color: #fff !important; font-family: inherit; font-size: 15.5px; font-weight: 800; cursor: pointer; text-decoration: none; transition: background .15s; white-space: nowrap; }
.hp-btn:hover { background: #0f3a8f; }
.hp-btn:disabled { opacity: .7; cursor: wait; }
.hp-btn svg { width: 18px; height: 18px; }
.hp-btn--block { width: 100%; }
.hp-btn--wa { background: #0b7a3e; }
.hp-btn--wa:hover { background: #075c2e; }
.hp-btn--ghost { background: #fff; color: var(--ink) !important; border: 1.5px solid var(--line); }
.hp-btn--ghost:hover { background: #f5f7fb; }
.hp-hpot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* notifikasi */
.hp-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.hp-alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.hp-alert--ok { background: #e7f7ee; color: #0b5a2e; }
.hp-alert--err { background: #fdecec; color: #8f1d14; }
.hp-alert b { color: inherit; }

/* kartu samping */
.hp-side { display: flex; flex-direction: column; gap: 14px; }
.hp-tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink) !important; text-decoration: none; transition: border-color .15s, transform .15s; }
a.hp-tile:hover { border-color: #b9c6db; transform: translateY(-2px); }
.hp-tile__ico { width: 44px; height: 44px; border-radius: 13px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); }
.hp-tile__ico svg { width: 21px; height: 21px; }
.hp-tile__ico--wa { background: #e7f7ee; color: #0b7a3e; }
.hp-tile__ico--warn { background: #fff4e0; color: #9a5b00; }
.hp-tile > span:last-child { display: block; min-width: 0; color: var(--ink); }
.hp-tile b { display: block; font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--ink); }
.hp-tile > span:last-child > span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--soft); line-height: 1.55; word-break: break-word; }
.hp-tile > span:last-child > span.hp-tile__more { margin-top: 6px; color: var(--brand); font-weight: 800; }

/* cek tiket: input besar */
.hp-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 18px; }
.hp-search .hp-input { height: 58px; font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hp-search .hp-input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.hp-search .hp-btn { height: 58px; }

/* contoh letak kode di e-tiket */
.hp-where { display: flex; gap: 16px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 14px; background: #f5f7fb; }
.hp-where__ticket { flex: none; width: 128px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; font-size: 8px; }
.hp-where__ticket i { display: block; height: 14px; background: var(--ink); }
.hp-where__qr { display: flex; gap: 8px; padding: 8px; align-items: center; }
.hp-where__qr span { width: 38px; height: 38px; flex: none; background: repeating-conic-gradient(#0d1b2e 0 25%, #fff 0 50%) 0 0 / 9px 9px; border: 2px solid #fff; outline: 1px solid var(--line); }
.hp-where__code { flex: 1; min-width: 0; }
.hp-where__code em { display: block; font-style: normal; font-size: 7px; font-weight: 800; color: var(--muted); letter-spacing: .06em; }
.hp-where__code b { display: block; margin-top: 2px; padding: 2px 3px; border-radius: 4px; background: #fff1d6; outline: 2px solid #f59e0b; font-size: 7.5px; font-weight: 800; letter-spacing: .02em; }
.hp-where p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--soft); }
.hp-where p b { color: var(--ink); }

/* hasil cek */
.hp-result { margin-top: 22px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.hp-result__head { display: flex; gap: 14px; align-items: center; padding: 18px 20px; color: #fff; }
.hp-result__head svg { width: 34px; height: 34px; flex: none; }
.hp-result__head h3 { margin: 0; font-size: 20px; font-weight: 800; color: #fff; }
.hp-result__head p { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.hp-result__head--ok { background: #0b7a3e; }
.hp-result__head--used { background: #b45309; }
.hp-result__head--bad { background: #b42318; }
.hp-result dl { margin: 0; padding: 4px 20px 8px; display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.hp-result dt, .hp-result dd { margin: 0; padding: 12px 0; border-bottom: 1px solid #eef1f6; font-size: 14px; }
.hp-result dt { color: var(--muted); font-weight: 700; }
.hp-result dd { color: var(--ink); font-weight: 700; word-break: break-word; }
.hp-result dl > :nth-last-child(-n+2) { border-bottom: 0; }
.hp-result__items { list-style: none; margin: 0; padding: 0; }
.hp-result__items li { padding: 2px 0; }
.hp-result__items .qty { display: inline-block; min-width: 32px; margin-right: 6px; padding: 1px 6px; border-radius: 6px; background: var(--brand-soft); color: #0f3a8f; text-align: center; font-size: 13px; }
.hp-result__items small { color: var(--muted); font-weight: 600; }
.hp-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.hp-pill--ok { background: #e7f7ee; color: #0b7a3e; }
.hp-pill--used { background: #fff4e0; color: #9a5b00; }
.hp-pill--bad { background: #fdecec; color: #b42318; }
.hp-result__note { padding: 0 20px 16px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.hp-safe { display: flex; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--soft); line-height: 1.6; }
.hp-safe svg { width: 18px; height: 18px; flex: none; color: #9a5b00; margin-top: 2px; }

/* topik kontak */
.hp-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-topic { position: relative; margin: 0; cursor: pointer; }
.hp-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.hp-topic span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 700; color: #33425b; line-height: 1.25; transition: border-color .15s, background .15s; }
.hp-topic:hover span { border-color: #b9c6db; }
.hp-topic input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: #0f3a8f; }
.hp-topic input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.hp-counter { float: right; font-size: 12px; font-weight: 600; color: var(--muted); }
.hp-map { margin-top: 24px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #e9edf3; }
.hp-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* faq: accordion */
.hp-faq { margin-top: 18px; }
.hp-faq__item { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.hp-faq__item + .hp-faq__item { margin-top: 10px; }
.hp-faq__item:hover { border-color: #c6d2e4; }
.hp-faq__item.is-open { border-color: #bcd0f5; box-shadow: 0 10px 26px rgba(13, 27, 46, .06); }
.hp-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; margin: 0; padding: 15px 18px; background: none; border: 0; border-radius: 15px; font-family: inherit; font-size: 15.5px; font-weight: 800; line-height: 1.45; text-align: left; color: var(--ink); cursor: pointer; }
.hp-faq__q > span { min-width: 0; }
.hp-faq__q:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.hp-faq__item.is-open .hp-faq__q { color: var(--brand); }
.hp-faq__q svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .25s ease, color .15s; }
.hp-faq__item.is-open .hp-faq__q svg { transform: rotate(180deg); color: var(--brand); }
.hp-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.hp-faq__item.is-open .hp-faq__a { grid-template-rows: 1fr; }
.hp-faq__a > div { overflow: hidden; min-height: 0; }
.hp-faq__a p { margin: 0; padding: 0 18px 16px; font-size: 14.5px; line-height: 1.7; color: var(--soft); }
.hp-empty { margin: 18px 0 0; padding: 28px 18px; border: 1.5px dashed var(--line); border-radius: 16px; background: #f5f7fb; text-align: center; font-size: 15px; font-weight: 700; color: var(--soft); }

@media (max-width: 991.98px) {
  .hp-grid { grid-template-columns: 1fr; }
  .hp-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .hp-hero { padding: 24px 0 84px; }
  .hp-hero h1 { font-size: 26px; }
  .hp-hero p { font-size: 14.5px; }
  .hp-card { padding: 20px 16px; border-radius: 18px; }
  .hp-row { grid-template-columns: 1fr; gap: 0; }
  .hp-search { grid-template-columns: 1fr; }
  .hp-search .hp-btn { width: 100%; }
  .hp-side { grid-template-columns: 1fr; }
  .hp-where { flex-direction: column; align-items: flex-start; }
  .hp-result dl { grid-template-columns: 1fr; }
  .hp-result dt { border-bottom: 0; padding-bottom: 0; font-size: 12.5px; }
  .hp-faq__q { padding: 14px; font-size: 15px; }
  .hp-faq__a p { padding: 0 14px 14px; }
  .hp-map iframe { height: 280px; }
}

/* halaman legal: /syarat-&-ketentuan & /privacy-policy */
.hp-card--legal { padding: 30px 32px; }
.hp-card--legal .summernote-content { font-size: 15px; line-height: 1.75; color: var(--soft); overflow-wrap: break-word; }
.hp-card--legal .summernote-content * { font-family: inherit; line-height: inherit; color: inherit; }
.hp-card--legal .summernote-content p { margin: 0 0 14px; }
.hp-card--legal .summernote-content h2 { margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.hp-card--legal .summernote-content h3 { margin: 26px 0 10px; font-size: 17px; font-weight: 800; line-height: 1.4; color: var(--ink); }
.hp-card--legal .summernote-content > h2:first-child, .hp-card--legal .summernote-content > h3:first-child { margin-top: 0; }
.hp-card--legal .summernote-content b, .hp-card--legal .summernote-content strong { color: var(--ink); }
.hp-card--legal .summernote-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.hp-card--legal .summernote-content a:hover { color: #0f3a8f; }
.hp-card--legal .summernote-content ul { padding-inline-start: 24px; }
.hp-card--legal .summernote-content ul li { list-style-type: disc; margin-bottom: 7px; }
.hp-card--legal .summernote-content ul ul li { list-style-type: circle; }
.hp-card--legal .summernote-content ul ul ul li { list-style-type: square; }
.hp-card--legal .summernote-content ol { padding-inline-start: 24px; }
.hp-card--legal .summernote-content ol li { margin-bottom: 7px; }
.hp-card--legal .summernote-content img { max-width: 100%; height: auto; }
.hp-card--legal .summernote-content table { width: 100%; margin: 16px 0; border-collapse: collapse; }
.hp-card--legal .summernote-content th, .hp-card--legal .summernote-content td { padding: 10px 12px; border: 1px solid var(--line); font-size: 14px; text-align: left; vertical-align: top; }
.hp-card--legal .summernote-content th { background: #f5f7fb; color: var(--ink); font-weight: 800; }
.hp-card--legal .summernote-content blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--brand); background: #f5f7fb; border-radius: 0 12px 12px 0; }
.hp-card--legal .summernote-content blockquote p { margin: 0; }
.hp-card--legal .summernote-content hr { margin: 26px 0; border: 0; border-top: 1px solid var(--line); }
@media (max-width: 991.98px) {
  .hp-card--legal { padding: 24px 20px; }
}
@media (max-width: 575.98px) {
  .hp-card--legal { padding: 20px 16px; }
  .hp-card--legal .summernote-content { font-size: 14.5px; }
  .hp-card--legal .summernote-content h2 { margin-top: 28px; font-size: 18px; }
}
