/* Halaman informasi (FAQ, Refund, Syarat & Ketentuan, Kontak).
   Sengaja dibuat tenang & mudah dibaca: tanpa pop-up, tanpa elemen melayang. */

.hm-page-hero {
  background: linear-gradient(180deg, var(--hm-navy) 0%, var(--hm-navy-soft) 100%);
  color: #fff; position: relative; overflow: hidden; padding: 36px 0 32px;
}
.hm-page-hero .hm-container { position: relative; }
.hm-crumb { font-size: 0.8rem; opacity: 0.75; margin-bottom: 10px; }
.hm-crumb a { color: #fff; text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.5); }
.hm-page-hero h1 {
  font-family: "Fredoka", sans-serif; font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.15; margin: 0 0 10px; animation: hmFadeUp 0.5s ease both;
}
.hm-page-hero p.hm-page-sub { margin: 0; opacity: 0.88; max-width: 640px; line-height: 1.55; animation: hmFadeUp 0.5s ease both; animation-delay: 0.08s; }
.hm-page-meta { font-size: 0.78rem; opacity: 0.65; margin: 12px 0 0; }

.hm-page-wrap { max-width: 860px; margin: 0 auto; padding: 28px 20px 8px; }

/* ---------- Kotak ringkasan ---------- */
.hm-callout {
  border-radius: 12px; padding: 14px 16px; margin: 0 0 22px; border: 2px solid;
  font-size: 0.92rem; line-height: 1.65;
}
.hm-callout > strong:first-child { display: block; margin-bottom: 4px; font-family: "Fredoka", sans-serif; font-size: 1rem; }
.hm-callout p { margin: 0 0 6px; }
.hm-callout p:last-child, .hm-callout ul:last-child { margin-bottom: 0; }
.hm-callout ul { margin: 6px 0 0; padding-left: 20px; }
.hm-callout.info { background: #f4f0ff; border-color: var(--hm-purple); }
.hm-callout.good { background: #effaf4; border-color: var(--hm-green); }
.hm-callout.warn { background: #fff8e8; border-color: var(--hm-gold); }
.hm-callout.bad  { background: #fff1f1; border-color: var(--hm-red); }
.hm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.hm-split .hm-callout { margin: 0; }

/* ---------- Daftar isi (chip) ---------- */
.hm-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.hm-toc a {
  border: 2px solid var(--hm-navy); border-radius: 999px; padding: 5px 13px; font-size: 0.82rem;
  font-weight: 700; text-decoration: none; color: var(--hm-navy); background: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}
.hm-toc a:hover { background: var(--hm-navy); color: #fff; }

/* ---------- FAQ (accordion tanpa JavaScript) ---------- */
.hm-faq-group { margin: 0 0 30px; scroll-margin-top: 90px; }
.hm-faq-group > h2 { font-family: "Fredoka", sans-serif; font-size: 1.25rem; margin: 0 0 12px; }
.hm-faq-group.redfinger > h2 { color: var(--hm-purple-dark); }
details.hm-faq { background: #fff; border: 2px solid #e4e1d9; border-radius: 12px; margin-bottom: 10px; transition: border-color 0.15s ease; }
details.hm-faq[open] { border-color: var(--hm-navy); }
.hm-faq-group.redfinger details.hm-faq[open] { border-color: var(--hm-purple); }
details.hm-faq > summary {
  list-style: none; cursor: pointer; padding: 13px 44px 13px 16px; font-weight: 700; font-size: 0.95rem;
  position: relative; border-radius: 10px;
}
details.hm-faq > summary::-webkit-details-marker { display: none; }
details.hm-faq > summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1.25rem; font-weight: 700; color: var(--hm-red-dark);
}
details.hm-faq[open] > summary::after { content: "−"; }
details.hm-faq > summary:focus-visible { outline: 3px solid var(--hm-purple); outline-offset: 2px; }
.hm-faq-body { padding: 0 16px 14px; font-size: 0.9rem; line-height: 1.7; color: #444; }
.hm-faq-body p { margin: 0 0 8px; }
.hm-faq-body ol, .hm-faq-body ul { margin: 4px 0 8px; padding-left: 20px; }
.hm-faq-body li { margin-bottom: 3px; }
.hm-faq-body a, .hm-legal a, .hm-callout a { color: var(--hm-red-dark); font-weight: 700; }

/* ---------- Halaman hukum (Refund, S&K) ---------- */
.hm-legal h2 { font-family: "Fredoka", sans-serif; font-size: 1.15rem; margin: 30px 0 8px; scroll-margin-top: 90px; }
.hm-legal p, .hm-legal li { font-size: 0.92rem; line-height: 1.75; color: #3b3d46; }
.hm-legal p { margin: 0 0 10px; }
.hm-legal ul, .hm-legal ol { margin: 6px 0 12px; padding-left: 22px; }
.hm-legal li { margin-bottom: 4px; }

.hm-steps { list-style: none; counter-reset: step; padding: 0 !important; margin: 10px 0 14px; }
.hm-steps li { counter-increment: step; position: relative; padding: 0 0 12px 44px; margin: 0; }
.hm-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 9px;
  background: var(--hm-red); color: #fff; font-family: "Fredoka", sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 2px 2px 0 rgba(28,30,38,0.9);
}

/* ---------- Kontak ---------- */
.hm-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-bottom: 26px; }
.hm-contact-card {
  background: #fff; border: 3px solid var(--hm-navy); border-radius: var(--hm-radius); box-shadow: var(--hm-shadow);
  padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hm-contact-card:hover { transform: translateY(-3px); box-shadow: 6px 7px 0 rgba(28, 30, 38, 0.9); }
.hm-contact-icon {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 4px; background: var(--hm-red);
}
.hm-contact-icon.wa { background: #25d366; }
.hm-contact-icon.mail { background: var(--hm-gold); }
.hm-contact-icon.tel { background: var(--hm-green); }
.hm-contact-icon.dc { background: #5865f2; }
.hm-contact-icon.loc { background: var(--hm-purple); }
.hm-contact-card h3 { font-family: "Fredoka", sans-serif; margin: 0; font-size: 1rem; }
.hm-contact-value { font-weight: 700; font-size: 1.02rem; word-break: break-word; }
.hm-contact-note { font-size: 0.8rem; color: #777; line-height: 1.5; margin: 0; }
.hm-contact-card address { font-style: normal; font-weight: 600; font-size: 0.92rem; line-height: 1.6; }
.hm-contact-card .hm-btn { margin-top: auto; }
a.hm-btn { display: inline-block; text-decoration: none; text-align: center; }

.hm-info-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 6px 0 22px; background: #fff; border: 2px solid #e4e1d9; border-radius: 12px; overflow: hidden; }
.hm-info-table th, .hm-info-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #eee; vertical-align: top; }
.hm-info-table th { width: 32%; background: var(--hm-cream); font-weight: 700; }
.hm-info-table tr:last-child th, .hm-info-table tr:last-child td { border-bottom: none; }
.hm-info-table a { color: var(--hm-red-dark); font-weight: 700; }

.hm-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 26px; }
.hm-btn-wa { background: #25d366; color: #0b2b16; }
.hm-btn-ghost { background: #fff; color: var(--hm-navy); border: 2px solid var(--hm-navy); box-shadow: none; }
.hm-back-link { display: inline-block; margin: 4px 0 28px; font-weight: 700; color: var(--hm-navy); }

@media (max-width: 640px) {
  .hm-split { grid-template-columns: 1fr; }
  .hm-info-table th { width: 38%; }
}
