/* ==========================================================================
   PENDAFTARAN MISA & ADORASI PENYEMBUHAN — Gereja Hati Kudus Kramat
   Tema emas-krem "Sakramen Maha Kudus" (CSS murni, tanpa framework)
   ========================================================================== */

:root {
  /* Palet amber */
  --amber-50: #fffbeb;  --amber-100: #fef3c7; --amber-200: #fde68a;
  --amber-300: #fcd34d; --amber-400: #fbbf24; --amber-500: #f59e0b;
  --amber-600: #d97706; --amber-700: #b45309; --amber-800: #92400e;
  --amber-900: #78350f; --amber-950: #451a03;
  /* Palet stone */
  --stone-50: #fafaf9;  --stone-100: #f5f5f4; --stone-200: #e7e5e4;
  --stone-300: #d6d3d1; --stone-400: #a8a29e; --stone-500: #78716c;
  --stone-600: #57534e; --stone-700: #44403c; --stone-800: #292524;
  --stone-900: #1c1917; --stone-950: #0c0a09;
  /* Lainnya */
  --orange-50: #fff7ed; --orange-200: #fed7aa;
  --emerald-50: #ecfdf5; --emerald-100: #d1fae5; --emerald-600: #059669; --emerald-700: #047857;
  --red-50: #fef2f2; --red-700: #b91c1c;
  --wa: #1fa855; --wa-dark: #178a45;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Geist", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-xl-amber: 0 20px 25px -5px rgba(69, 26, 3, 0.1), 0 8px 10px -6px rgba(69, 26, 3, 0.1);
  --radius-xl: 12px; --radius-2xl: 16px; --radius-3xl: 24px;
}

/* ------------------------------ Dasar ------------------------------ */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--stone-200); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--amber-50);
  color: var(--stone-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: inline-block; vertical-align: middle; max-width: 100%; }
h1, h2, h3, p, ul, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; padding: 0; color: inherit; }
input, textarea { font: inherit; color: inherit; }
.serif { font-family: var(--font-serif); }

.container { max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
.container-md { max-width: 48rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container-md { padding-inline: 1.5rem; } }

section { scroll-margin-top: 5.5rem; }

/* Ikon svg */
.ic { display: inline-block; width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.ic-sm { width: 1rem; height: 1rem; }
.ic-xs { width: 0.875rem; height: 0.875rem; }
.ic-spin { animation: spin 1s linear infinite; }

/* ------------------------------ Animasi dasar ------------------------------ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gold-shimmer { to { background-position: -200% 0; } }
@keyframes float-poster {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}
@keyframes particle-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: var(--op, 0.5); }
  50%  { transform: translateY(-60vh) translateX(var(--dx, 10px)); opacity: var(--op, 0.5); }
  92%  { opacity: var(--op, 0.5); }
  100% { transform: translateY(-115vh) translateX(0); opacity: 0; }
}
@keyframes ray-pulse {
  0%, 100% { opacity: 0.65; }
  50%      { opacity: 1; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); transform-origin: 100px 86px; }
  50%      { opacity: 1;   transform: scale(1.05); transform-origin: 100px 86px; }
}
@keyframes ticket-pop {
  from { opacity: 0; transform: scale(0.94) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Kilau emas judul */
.text-gold-shimmer {
  background: linear-gradient(110deg, #92610a 15%, #d4a72c 35%, #f7e08b 50%, #d4a72c 65%, #92610a 85%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-shimmer 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .text-gold-shimmer { animation: none; color: #b8860b; background: none; }
}

/* Reveal saat digulir */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--rv-delay, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Partikel cahaya emas */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particles span {
  position: absolute;
  bottom: -5%;
  border-radius: 9999px;
  background: var(--amber-400);
  box-shadow: 0 0 8px 2px rgba(251, 191, 36, 0.55);
  animation: particle-rise var(--dur, 12s) linear var(--delay, 0s) infinite;
  opacity: 0;
}

/* Monstransi */
.mono-rays line { animation: ray-pulse 2.6s ease-in-out infinite; animation-delay: var(--rd, 0s); }
.mono-glow { animation: glow-pulse 4.5s ease-in-out infinite; }

/* ------------------------------ Navbar ------------------------------ */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(120, 53, 15, 0.1);
  background: rgba(255, 251, 235, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar .inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.625rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; }
.brand .gold { color: var(--amber-700); }
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(120, 53, 15, 0.18);
  box-shadow: 0 1px 3px rgba(120, 53, 15, 0.15);
  object-fit: cover;
}
.nav-right { display: flex; align-items: center; gap: 1rem; }
/* Logo organisasi: KAJ & PDPKK di kanan navbar (tampil juga di layar kecil) */
.org-logos { display: flex; align-items: center; gap: 0.625rem; flex: none; }
.logo-kaj { height: 34px; width: auto; }
.logo-pdpkk {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 1px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 1px 3px rgba(120, 53, 15, 0.2);
}
@media (max-width: 480px) {
  .brand { font-size: 0.95rem; gap: 0.5rem; }
  .brand-logo { width: 30px; height: 30px; border-radius: 9px; }
  .logo-kaj { height: 29px; }
  .logo-pdpkk { width: 29px; height: 29px; }
  .org-logos { gap: 0.5rem; }
}
.nav-links { display: none; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .nav-links { display: flex; } }
.nav-link {
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-700);
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: var(--amber-100); color: var(--amber-900); }

/* Tombol umum */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, filter 0.2s;
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-gold {
  background: linear-gradient(to right, var(--amber-700), var(--amber-600));
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(69, 26, 3, 0.2), 0 2px 4px -2px rgba(69, 26, 3, 0.2);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn-gold:hover { filter: brightness(1.06); transform: scale(1.05); }
.btn-nav { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; }
.btn-hero {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--amber-700), var(--amber-600), var(--amber-700));
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 20px 25px -5px rgba(69, 26, 3, 0.3), 0 8px 10px -6px rgba(69, 26, 3, 0.3);
}
.btn-hero:hover { background-position: right center; transform: scale(1.04); }
.btn-outline-gold {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(120, 53, 15, 0.3);
  color: var(--amber-900);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-outline-gold:hover { background: var(--amber-100); transform: scale(1.04); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
  background: linear-gradient(to bottom right, var(--amber-50), rgba(255, 247, 237, 0.7), var(--stone-100));
}
@media (min-width: 640px) { .hero { padding-top: 8rem; } }
.hero-blur { position: absolute; border-radius: 9999px; filter: blur(48px); }
.hero-blur.left  { width: 24rem; height: 24rem; left: -8rem; top: 2.5rem; background: rgba(253, 230, 138, 0.4); }
.hero-blur.right { width: 24rem; height: 24rem; right: -8rem; bottom: 0; background: rgba(254, 215, 170, 0.3); }
.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-text { text-align: center; }
@media (min-width: 1024px) { .hero-text { text-align: left; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(180, 83, 9, 0.25);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber-800);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(4px);
}
.ping-wrap { position: relative; display: flex; height: 0.5rem; width: 0.5rem; }
.ping-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--amber-500);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ping-wrap::after { content: ""; position: relative; height: 0.5rem; width: 0.5rem; border-radius: 9999px; background: var(--amber-600); }

.hero h1 {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1.25;
  color: var(--stone-900);
}
@media (min-width: 640px)  { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero-quote {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--amber-800);
}
.hero-quote .ref { font-style: normal; font-size: 0.875rem; font-weight: 600; color: var(--stone-500); }
.hero-chips { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
@media (min-width: 1024px) { .hero-chips { justify-content: flex-start; } }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid rgba(214, 211, 209, 0.7);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--stone-700);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(4px);
}
.chip .ic { color: var(--amber-700); }
.hero-cta { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; justify-content: center; } }
@media (min-width: 1024px) { .hero-cta { justify-content: flex-start; } }
.hero-cta a { width: 100%; }
@media (min-width: 640px) { .hero-cta a { width: auto; } }

.hero-stats { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
@media (min-width: 1024px) { .hero-stats { justify-content: flex-start; } }
.hero-stats .num { font-family: var(--font-serif); font-size: 1.875rem; font-weight: 700; color: var(--amber-800); }
.hero-stats .lbl { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--stone-500); }
.hero-stats .sep { height: 2.5rem; width: 1px; background: var(--stone-300); }

.hero-poster { position: relative; margin-inline: auto; width: 100%; max-width: 32rem; }
.poster-float { position: relative; animation: float-poster 7s ease-in-out infinite; }
.poster-glow {
  position: absolute;
  inset: -1.5rem;
  border-radius: 2rem;
  background: linear-gradient(to bottom right, rgba(252, 211, 77, 0.5), rgba(254, 215, 170, 0.3), transparent);
  filter: blur(24px);
}
.poster-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 4px solid #fff;
  box-shadow: 0 25px 50px -12px rgba(69, 26, 3, 0.3);
  outline: 1px solid rgba(120, 53, 15, 0.2);
}
.poster-frame img { width: 100%; height: auto; display: block; }
.poster-badge {
  position: absolute;
  bottom: -1rem;
  left: -0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  border: 1px solid var(--amber-200);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.625rem 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  animation: float-badge 5s ease-in-out 1s infinite;
}
@media (min-width: 640px) { .poster-badge { left: -1.5rem; } }
.poster-badge .t1 { font-size: 11px; font-weight: 700; color: var(--stone-800); line-height: 1.3; }
.poster-badge .t2 { font-size: 10px; color: var(--stone-500); line-height: 1.3; }

.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(146, 64, 14, 0.7);
  display: none;
  animation: bounce-y 1.8s ease-in-out infinite;
}
@media (min-width: 768px) { .scroll-indicator { display: block; } }

/* ------------------------------ Judul seksi ------------------------------ */
.sec-head { text-align: center; }
.sec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(180, 83, 9, 0.2);
  background: rgba(254, 243, 199, 0.6);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber-800);
}
.sec-chip.on-white { background: rgba(255, 255, 255, 0.7); }
.sec-head h2 {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--stone-900);
}
@media (min-width: 640px) { .sec-head h2 { font-size: 2.25rem; } }
.sec-head .gold { color: var(--amber-700); }
.sec-head p { margin: 0.75rem auto 0; max-width: 42rem; font-size: 0.875rem; color: var(--stone-600); }
@media (min-width: 640px) { .sec-head p { font-size: 1rem; } }

/* ------------------------------ Info acara ------------------------------ */
.sec-info { padding: 5rem 0; background: linear-gradient(to bottom, #fff, rgba(255, 251, 235, 0.6)); }
.info-grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px)  { .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.info-card {
  height: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(180, 83, 9, 0.15);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.info-card:hover { transform: translateY(-6px); box-shadow: 0 20px 25px -5px rgba(69, 26, 3, 0.1), 0 8px 10px -6px rgba(69, 26, 3, 0.1); }
.info-icon {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, var(--amber-100), var(--amber-200));
  color: var(--amber-800);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s;
}
.info-card:hover .info-icon { transform: scale(1.1); }
.info-card h3 { margin-top: 1rem; font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; color: var(--stone-900); }
.info-card .l1 { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 500; color: var(--stone-700); }
.info-card .l2 { font-size: 0.75rem; color: var(--stone-500); }
.maps-row { margin-top: 2rem; text-align: center; }
.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(180, 83, 9, 0.3);
  background: #fff;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber-800);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: gap 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-maps:hover { gap: 0.75rem; background: var(--amber-50); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07); }

/* ------------------------------ Kutipan gelap ------------------------------ */
.sec-quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 0;
  background: linear-gradient(to bottom right, var(--stone-950), var(--amber-950), var(--stone-900));
}
.sec-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.12), transparent 65%);
}
.quote-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}
@media (min-width: 768px) { .quote-inner { flex-direction: row; text-align: left; } }
.quote-mono { flex-shrink: 0; position: relative; }
.quote-mono::before {
  content: "";
  position: absolute;
  inset: -14%;
  background: radial-gradient(closest-side, rgba(251, 191, 36, 0.16), transparent 72%);
  pointer-events: none;
}
.quote-mono-img {
  display: block;
  position: relative;
  width: clamp(230px, 64vw, 360px);
  height: auto;
  animation: mono-float 6s ease-in-out infinite;
}
@keyframes mono-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .quote-mono-img { animation: none; } }
.quote-heart { color: rgba(251, 191, 36, 0.8); }
blockquote.quote-text {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.375;
  color: var(--amber-50);
}
@media (min-width: 640px)  { blockquote.quote-text { font-size: 1.875rem; } }
@media (min-width: 768px)  { blockquote.quote-text { font-size: 2.25rem; } }
.quote-ref {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--amber-400);
}
.quote-desc { margin: 1.25rem auto 0; max-width: 36rem; font-size: 0.875rem; color: rgba(254, 243, 199, 0.7); }
@media (min-width: 768px) { .quote-desc { margin-left: 0; } }

/* ------------------------------ Langkah ------------------------------ */
.sec-steps { padding: 5rem 0; background: rgba(255, 251, 235, 0.6); }
.steps-grid { position: relative; margin-top: 3.5rem; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.steps-line {
  position: absolute;
  top: 2rem;
  left: 16%;
  right: 16%;
  display: none;
  border-top: 2px dashed rgba(251, 191, 36, 0.6);
}
@media (min-width: 768px) { .steps-line { display: block; } }
.step { position: relative; text-align: center; }
.step-icon {
  position: relative;
  z-index: 10;
  margin-inline: auto;
  display: grid;
  place-items: center;
  height: 4rem;
  width: 4rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, var(--amber-500), var(--amber-700));
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(69, 26, 3, 0.3);
  transition: transform 0.25s;
}
.step:hover .step-icon { transform: scale(1.06); }
.step-num {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  display: grid;
  place-items: center;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 9999px;
  border: 2px solid var(--amber-50);
  background: var(--stone-900);
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-300);
}
.step h3 { margin-top: 1.25rem; font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; color: var(--stone-900); }
.step p { margin: 0.5rem auto 0; max-width: 20rem; font-size: 0.875rem; color: var(--stone-600); }

/* ------------------------------ Formulir ------------------------------ */
.sec-form { position: relative; overflow: hidden; padding: 5rem 0; background: linear-gradient(to bottom, var(--amber-50), #fff); }
.form-card {
  margin-top: 2.5rem;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(180, 83, 9, 0.15);
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl-amber);
  backdrop-filter: blur(8px);
}
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.f-row { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .f-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.f-field { display: flex; flex-direction: column; gap: 0.375rem; }
.f-label { font-size: 0.875rem; color: var(--stone-700); font-weight: 500; }
.f-label .req { color: var(--red-700); }
.f-label .opt { color: var(--stone-400); font-weight: 400; }
.f-input, .f-textarea {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-300);
  background: #fff;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.f-input:focus, .f-textarea:focus {
  border-color: var(--amber-600);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25);
}
.f-input::placeholder, .f-textarea::placeholder { color: var(--stone-400); }
.f-textarea { resize: none; }
.f-hint { font-size: 11px; color: var(--stone-500); }
.f-error { font-size: 0.75rem; color: var(--red-700); }
.f-error:empty { display: none; }

.pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  height: 2.75rem;
  min-width: 2.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-300);
  background: #fff;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stone-700);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}
.pill:hover { border-color: var(--amber-600); color: var(--amber-800); }
.pill.active {
  transform: scale(1.05);
  border-color: var(--amber-700);
  background: linear-gradient(to bottom, var(--amber-600), var(--amber-700));
  color: #fff;
  box-shadow: 0 4px 6px rgba(69, 26, 3, 0.2);
}
.pill-group.gender { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pill-note { margin-left: 0.25rem; align-self: center; font-size: 0.75rem; color: var(--stone-500); }

.btn-submit {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(to right, var(--amber-700), var(--amber-600), var(--amber-700));
  box-shadow: 0 10px 15px -3px rgba(69, 26, 3, 0.2);
  transition: transform 0.2s;
  overflow: hidden;
}
.btn-submit:hover { transform: scale(1.01); }
.btn-submit:active { transform: scale(0.99); }
.f-agree { margin-top: 1.25rem; text-align: center; font-size: 0.75rem; color: var(--stone-500); line-height: 1.6; }

/* Panel sukses */
.success-panel { text-align: center; }
.success-icon {
  margin-inline: auto;
  display: grid;
  place-items: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 9999px;
  background: var(--emerald-100);
  color: var(--emerald-700);
}
.success-panel h3 { margin-top: 1rem; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--stone-900); }
.success-panel .sub { margin-top: 0.5rem; font-size: 0.875rem; color: var(--stone-600); }
.success-wa-note {
  margin: 1rem auto 0;
  max-width: 24rem;
  border-radius: 0.75rem;
  background: var(--emerald-50);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--emerald-700);
}
.btn-wa-big {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--wa);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(6, 78, 59, 0.2);
  transition: transform 0.2s, background 0.2s;
}
.btn-wa-big:hover { transform: scale(1.05); background: var(--wa-dark); }
.btn-wa-big:active { transform: scale(0.95); }
.btn-see-ticket {
  margin-top: 1rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(to right, var(--amber-700), var(--amber-600));
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}
.btn-see-ticket:hover { filter: brightness(1.06); }

/* ------------------------------ E-Tiket ------------------------------ */
.sec-ticket { padding: 5rem 0; background: linear-gradient(to bottom, #fff, rgba(255, 251, 235, 0.7)); }
.ticket-wrap {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 28rem;
  animation: ticket-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ticket-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 2rem;
  background: linear-gradient(to bottom right, rgba(252, 211, 77, 0.4), rgba(254, 243, 199, 0.2), transparent);
  filter: blur(24px);
}
.ticket {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 2px solid rgba(180, 83, 9, 0.3);
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.ticket-head {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to bottom right, var(--stone-900), var(--stone-800), var(--amber-950));
}
.ticket-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(251, 191, 36, 0.35), transparent 60%);
}
.ticket-head .eyebrow {
  position: relative;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--amber-300);
}
.ticket-head h3 {
  position: relative;
  margin-top: 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber-50);
}
.ticket-head .church { position: relative; margin-top: 0.125rem; font-size: 0.75rem; color: rgba(254, 215, 170, 0.8); }

.ticket-body { padding: 1.25rem 1.5rem 1rem; }
.ticket-top { display: flex; align-items: flex-start; gap: 1rem; }
.qr-box {
  flex-shrink: 0;
  border-radius: 0.75rem;
  border: 1px solid var(--stone-200);
  background: #fff;
  padding: 0.5rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.qr-box img { width: 7rem; height: 7rem; }
@media (min-width: 640px) { .qr-box img { width: 8rem; height: 8rem; } }
.qr-box .cap {
  margin-top: 0.25rem;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stone-400);
}
.qr-empty { display: grid; place-items: center; width: 7rem; height: 7rem; color: var(--stone-300); }
.qr-empty .ic { animation: pulse-soft 2s infinite; }
@keyframes pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.ticket-detail { min-width: 0; flex: 1; }
.ticket-detail .lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber-700);
}
.ticket-detail .code {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: var(--stone-900);
  word-break: break-all;
}
.ticket-detail .name { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--stone-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-detail ul { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.ticket-detail li { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--stone-600); }
.ticket-detail li .ic { color: var(--amber-700); }

.barcode-box {
  margin-top: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--stone-200);
  background: #fff;
  padding: 0.5rem 0.75rem;
}
.barcode-box svg { display: block; margin-inline: auto; height: 2.75rem; width: 100%; max-width: 260px; }
.barcode-box .digits {
  margin-top: 0.25rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--stone-700);
}
.ticket-parish { margin-top: 0.75rem; text-align: center; font-size: 0.75rem; color: var(--stone-500); }
.ticket-parish b { color: var(--stone-700); font-weight: 500; }

.ticket-perfo { position: relative; margin-top: 0.25rem; }
.ticket-perfo .hole { position: absolute; top: 50%; height: 1.5rem; width: 1.5rem; border-radius: 9999px; background: var(--amber-50); transform: translateY(-50%); }
.ticket-perfo .hole.l { left: -0.75rem; }
.ticket-perfo .hole.r { right: -0.75rem; }
.ticket-perfo .line { margin-inline: 1.5rem; border-top: 2px dashed var(--stone-300); }

.ticket-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(255, 251, 235, 0.7);
  padding: 1rem 1.5rem;
}
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-status.wait { background: var(--amber-100); color: var(--amber-800); }
.badge-status.ok { background: var(--emerald-100); color: var(--emerald-700); }
.ticket-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; }
.btn-mini {
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 0.375rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.btn-mini.wa { background: var(--wa); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.btn-mini.wa:hover { background: var(--wa-dark); }
.btn-mini.copy { border: 1px solid rgba(180, 83, 9, 0.3); color: var(--amber-900); }
.btn-mini.copy:hover { background: var(--amber-100); }
.btn-mini.print { background: linear-gradient(to right, var(--amber-700), var(--amber-600)); color: #fff; }
.btn-mini.print:hover { filter: brightness(1.07); }
.ticket-note { margin-top: 1rem; text-align: center; font-size: 0.75rem; color: var(--stone-500); line-height: 1.6; }
.ticket-sent-note {
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  background: var(--emerald-50);
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--emerald-700);
}

/* Saat mencetak: halaman dibersihkan total — hanya e-tiket, muat dalam 1 lembar A4.
   Menggunakan display:none (bukan visibility) supaya bagian tersembunyi benar-benar
   tidak memakan tempat di print preview (mencegah halaman jadi banyak & terpotong). */
@media print {
  @page { size: A4 portrait; margin: 12mm; }

  /* Kosongkan halaman: dari anak langsung body hanya <main> yang disisakan;
     dari anak main hanya seksi tiket. Header, hero, form, FAQ, footer, toast hilang. */
  body > *:not(main) { display: none !important; }
  main > *:not(#tiket-saya) { display: none !important; }

  /* Seksi tiket: rata penuh, tanpa hiasan latar & judul seksi */
  #tiket-saya:not([hidden]) { display: block !important; padding: 0 !important; background: none !important; }
  #tiket-saya .sec-head { display: none !important; }
  #tiket-saya .container-md { max-width: none !important; padding: 0 !important; margin: 0 !important; }
  #ticket-slot { margin-top: 0 !important; }

  /* Ornamen, catatan kaki layar, dan tombol aksi tidak ikut tercetak */
  .no-print, .ticket-glow, .ticket-note, .ticket-sent-note, .ticket-head::before { display: none !important; }

  /* Kartu tiket: penuh satu halaman, tanpa animasi/bayangan, dilarang terpotong antar-halaman */
  .ticket-wrap { max-width: none !important; width: 100% !important; animation: none !important; }
  .ticket {
    width: 100% !important;
    box-shadow: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  /* Tajuk tiket versi hemat tinta: latar terang, teks gelap — selalu terbaca di printer mana pun
     (meski opsi "cetak latar belakang" di browser mati). */
  .ticket-head { background: #fffbeb !important; border-bottom: 2px solid rgba(180, 83, 9, 0.35); }
  .ticket-head .eyebrow { color: #b45309 !important; }
  .ticket-head h3 { color: #1c1917 !important; }
  .ticket-head .church { color: #57534e !important; }

  /* Baris QR + data tiket: lebar tetap, tidak menyusut → nomor tiket selalu mendatar */
  .ticket-top { display: flex !important; align-items: flex-start !important; gap: 6mm !important; }
  .qr-box { flex: 0 0 40mm !important; width: 40mm !important; }
  .qr-box img, .qr-empty { width: 32mm !important; height: 32mm !important; }
  .ticket-detail { flex: 1 1 auto !important; min-width: 0 !important; }
  .ticket-detail .code { font-size: 14pt !important; word-break: normal !important; overflow-wrap: anywhere !important; }
  .ticket-detail .name { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }

  /* Barcode memenuhi lebar kartu agar mudah dipindai */
  .barcode-box svg { max-width: 100% !important; height: 14mm !important; }

  /* Status check-in & teks kaki tiket: gelap agar terbaca */
  .ticket-foot { color: #1c1917 !important; }

  /* Pastikan warna dicetak apa adanya bila mencetak berwarna */
  .ticket, .ticket * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  body { background: #fff !important; }
}

/* ------------------------------ Cek tiket ------------------------------ */
.sec-lookup { padding: 5rem 0; background: linear-gradient(to bottom, rgba(255, 251, 235, 0.7), var(--amber-50)); }
.lookup-form { margin: 2rem auto 0; max-width: 28rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .lookup-form { flex-direction: row; } }
.lookup-wrap { position: relative; flex: 1; }
.lookup-wrap .ic {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stone-400);
}
.lookup-input {
  width: 100%;
  height: 3rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-300);
  background: #fff;
  padding: 0 0.75rem 0 2.5rem;
  font-size: 0.9375rem;
  outline: none;
}
.lookup-input:focus { border-color: var(--amber-600); box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25); }
.btn-lookup { height: 3rem; padding: 0 1.5rem; font-weight: 600; color: #fff; font-size: 0.9375rem; }
.lookup-error {
  margin: 0.75rem auto 0;
  max-width: 28rem;
  border-radius: 0.5rem;
  background: var(--red-50);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--red-700);
}
.lookup-error:empty { display: none; }

/* ------------------------------ FAQ ------------------------------ */
.sec-faq { padding: 5rem 0; background: #fff; }
.faq-list { margin-top: 2.5rem; border-top: 1px solid rgba(180, 83, 9, 0.15); }
.faq-item { border-bottom: 1px solid rgba(180, 83, 9, 0.15); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.25rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--stone-800);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--amber-800); }
.faq-item summary .chev { flex-shrink: 0; color: var(--stone-500); transition: transform 0.25s; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a {
  padding: 0 0.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--stone-600);
  line-height: 1.7;
}

/* ------------------------------ Footer ------------------------------ */
.site-footer {
  background: linear-gradient(to bottom, var(--stone-900), var(--amber-950));
  color: rgba(254, 243, 199, 0.8);
  padding: 3rem 0;
}
.footer-grid { display: grid; gap: 2rem; text-align: center; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; } }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; color: var(--amber-50); }
@media (min-width: 768px) { .footer-brand { justify-content: flex-start; } }
.footer-brand .ic { color: var(--amber-400); }
.site-footer p { font-size: 0.75rem; line-height: 1.7; }
.site-footer .mt { margin-top: 0.75rem; }
.footer-head { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber-400); }
.footer-link { display: inline-block; margin-top: 0.25rem; color: var(--amber-300); }
.footer-link:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(254, 243, 199, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 11px;
  color: rgba(254, 243, 199, 0.5);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-admin { display: inline-flex; align-items: center; gap: 0.25rem; color: rgba(254, 243, 199, 0.4); transition: color 0.2s; }
.footer-admin:hover { color: var(--amber-200); }

/* ------------------------------ Toast ------------------------------ */
.toast-stack {
  position: fixed;
  z-index: 100;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(22rem, calc(100vw - 2rem));
}
.toast {
  display: flex;
  gap: 0.625rem;
  border-radius: 0.75rem;
  border: 1px solid var(--stone-200);
  background: #fff;
  padding: 0.875rem 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  animation: toast-in 0.25s ease-out both;
}
.toast .dot { flex-shrink: 0; margin-top: 2px; width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: var(--amber-600); }
.toast.error .dot { background: var(--red-700); }
.toast .tt { font-size: 0.875rem; font-weight: 600; color: var(--stone-900); }
.toast .td { margin-top: 0.125rem; font-size: 0.8125rem; color: var(--stone-600); }

/* Scrollbar bernuansa hangat */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #faf6ed; }
::-webkit-scrollbar-thumb { background: #d6c193; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #c9a227; }
