/* ============================================================
   PMB Popup Banner — STIKes HAH
   /wp-content/themes/stikes-theme-v2/assets/css/pmb-popup.css
   ============================================================ */

/* Overlay */
#pmb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 50, 0.75);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
#pmb-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* Popup box */
#pmb-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(.95);
  z-index: 99999;
  width: min(480px, 92vw);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(10,20,50,.35);
  opacity: 0;
  transition: opacity .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
#pmb-popup.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}

/* Header strip */
.pmb-header {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2d5a 60%, #c9a84c 100%);
  padding: 28px 28px 24px;
  position: relative;
  text-align: center;
}
.pmb-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.pmb-badge {
  display: inline-block;
  background: rgba(201,168,76,.25);
  border: 1px solid rgba(201,168,76,.5);
  color: #e8d08a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 12px;
  position: relative;
}
.pmb-header h2 {
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  margin: 0 0 8px;
  line-height: 1.25;
  position: relative;
}
.pmb-header p {
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  margin: 0;
  position: relative;
}

/* Close button */
.pmb-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.pmb-close:hover { background: rgba(255,255,255,.3); }

/* Body */
.pmb-body {
  padding: 24px 28px 28px;
  text-align: center;
}

/* Info pills */
.pmb-info {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.pmb-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f5f7fa;
  border-radius: 30px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: #0d1b3e;
}
.pmb-pill span.icon { font-size: 1rem; }

/* CTA Button */
.pmb-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none !important;
  width: 100%;
  box-sizing: border-box;
  transition: background .2s, transform .15s;
  box-shadow: 0 6px 24px rgba(37,211,102,.35);
}
.pmb-cta:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.pmb-cta svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
}

/* Skip link */
.pmb-skip {
  display: block;
  margin-top: 14px;
  font-size: .78rem;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pmb-skip:hover { color: #666; }

/* Mobile tweak */
@media (max-width: 480px) {
  .pmb-body { padding: 20px 20px 24px; }
  .pmb-header { padding: 24px 20px 20px; }
}
