/* =============================================================
   Halaman kebijakan & informasi (Syarat, Privasi, Refund, dll.), blok kepercayaan footer, dan persetujuan form.
   Memakai variabel dari style.css (--clr-*, --ff-heading, --radius-card). Dimuat setelah style.css.
   Kontras: teks isi memakai warna gelap pada putih (≥ 7:1); tautan isi memakai emas tua #7a4a28 (≥ 7:1).
   ============================================================= */

/* ---- Hero halaman ---- */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(17,24,39,.85) 0%, rgba(17,24,39,.92) 100%), url('../img/slides/slide_facade.jpg') center/cover no-repeat;
  padding: var(--s-9) 0 var(--s-8);
  color: #fff;
  text-align: center;
}
.page-hero .breadcrumb {
  background: transparent;
  justify-content: center;
  padding: 0;
  margin-bottom: 24px;
  font-size: .85rem;
}
.page-hero .breadcrumb a { color: #f0e0da; text-decoration: underline; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.page-hero p {
  color: rgba(255,255,255,.88);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---- Kartu isi ---- */
.page-main { background: var(--clr-off-white, #f7f5f3); padding: 48px 0 64px; }
.page-card {
  background: #fff;
  border-radius: var(--radius-card, 16px);
  padding: var(--s-6) var(--s-7);
  box-shadow: 0 10px 40px rgba(0,0,0,.06);
  margin-top: -64px;
  position: relative;
  z-index: 10;
}
.page-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
  font-size: .85rem;
  color: #4b5563;
}
.page-content {
  color: #374151;
  line-height: 1.85;
  font-size: 1rem;
}
.page-content h2,
.page-content h3 {
  font-family: var(--ff-heading);
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f3ebe4;
}
.page-content h2:first-child,
.page-content h3:first-child { margin-top: 0; }
.page-content p { margin-bottom: 16px; }
.page-content ul,
.page-content ol { padding-left: 24px; margin-bottom: 24px; }
.page-content li { margin-bottom: 8px; }
.page-content strong { color: #111827; }
.page-content a { color: #7a4a28; text-decoration: underline; text-underline-offset: 3px; }
.page-content a:focus-visible { outline: 3px solid #7a4a28; outline-offset: 2px; border-radius: 2px; }
.page-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.page-content th,
.page-content td { border: 1px solid #e5e7eb; padding: 8px 16px; text-align: left; }

/* ---- Kotak samping ---- */
.page-side-box {
  background: #fdfbf9;
  border: 1px solid #f0e6dc;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}
.page-side-title {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ebdcd0;
}
.page-side-box ul { list-style: none; padding: 0; margin: 0; }
.page-side-box li { margin-bottom: 8px; }
.page-side-box li a { color: #7a4a28; text-decoration: underline; text-underline-offset: 3px; font-size: .95rem; }
.page-side-help { background: var(--clr-charcoal, #2c2c2e); color: #fff; border: 0; text-align: center; }
.page-side-help p { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 24px; }
.page-side-help .page-side-title { color: #fff; border-bottom-color: rgba(255,255,255,.2); }

/* ---- Spanduk pratinjau (hanya untuk admin yang login) ---- */
.page-draft-banner {
  background: #fff3cd;
  color: #5c4400;
  border: 1px solid #e6c860;
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 24px;
  font-size: .9rem;
}

/* ---- Blok kepercayaan di footer: identitas usaha + Pengaduan Konsumen ---- */
.footer-trust { margin-top: var(--s-5); padding: 32px 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-trust .trust-block,
.footer-trust .pktn-block {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
}
.footer-trust strong { color: #fff; }
.footer-trust a { color: #f0e0da; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.footer-trust a:focus-visible { outline: 3px solid #f0e0da; outline-offset: 2px; border-radius: 2px; }

/* ---- Persetujuan di form (tidak tercentang otomatis) ---- */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: .85rem;
  line-height: 1.6;
  color: var(--clr-text, #2c2c2e);
}
.form-consent input[type="checkbox"] {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: var(--s-2); /* kira-kira di tengah baris 44 px */
  accent-color: var(--clr-rose-gold, #c9956c);
  cursor: pointer;
}
.form-consent label { cursor: pointer; display: flex; align-items: center; min-height: 44px; padding: var(--s-1) 0; margin: 0; } /* seluruh baris bisa disentuh (>= 44 px) */
.form-consent a { color: #7a4a28; text-decoration: underline; text-underline-offset: 3px; }
.booking_form_wrap .form-consent { color: rgba(255,255,255,.9); }
.booking_form_wrap .form-consent a { color: #f0e0da; }
.form-consent input[type="checkbox"]:focus-visible { outline: 3px solid var(--clr-rose-gold, #c9956c); outline-offset: 2px; }

@media (max-width: 767.98px) {
  .page-hero { padding: var(--s-9) 0 var(--s-8); }
  .page-card { padding: 32px 24px; margin-top: -48px; }
}

/* ---- Ringkasan kebijakan (Syarat & Ketentuan) ---- */
.quick-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.quick-item:last-child { margin-bottom: 0; }
.quick-icon {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 8px;
  background: rgba(201,149,108,.14);
  color: #7a4a28;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.quick-title { font-weight: 600; font-size: .9rem; color: #1f2937; margin-bottom: 4px; }
.quick-desc { font-size: .85rem; color: #4b5563; line-height: 1.5; }

/* ---- Catatan di bawah isi ---- */
.page-note {
  display: flex; align-items: center; gap: 16px;
  margin-top: 32px; padding: 16px;
  border-radius: 12px;
  background: rgba(201,149,108,.1);
  border-left: 4px solid #c9956c;
  font-size: .9rem; color: #374151;
}
.page-note i { font-size: 1.75rem; color: #7a4a28; }

/* ---- Header halaman kebijakan (menu rapi, melayang di atas hero, gelap saat digulir) ---- */
.halaman .fixed_header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background-color .35s ease, box-shadow .35s ease; /* hanya properti non-tata-letak */
}
.halaman .fixed_header.sticky {
  background: rgba(44,44,46,.96);
  padding: 8px 0;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.halaman .main-menu .nav { gap: 4px; }
.halaman .main-menu .nav-link {
  color: #fff;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: var(--s-3) var(--s-3);
}
@media (hover: hover) and (pointer: fine) {
  .halaman .main-menu .nav-link:hover { color: #f0e0da; }
}
.halaman .main-menu .nav-link:focus-visible { color: #f0e0da; }
.halaman .main-menu .nav-link:focus-visible { outline: 2px solid #f0e0da; outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  .halaman .fixed_header { transition: none; }
}

/* Layar sempit: tombol dan logo di header tidak saling menimpa */
@media (max-width: 575.98px) {
  .halaman .fixed_header .logo img { height: 34px !important; max-height: 34px !important; }
  .halaman .fixed_header .btn_1 { padding: var(--s-2) var(--s-3); font-size: .68rem; letter-spacing: .06em; }
  .halaman .fixed_header .btn_1 i { display: none; }
}
