/* ============================================================
   MANA — THE RIGHT LIFE
   site-visit-popup.css — Modal shell for the floating
   "Book A Site Visit" CTA popup, output site-wide in wp_footer.
   Mirrors the .pp-* rules in projects.css (project pages only);
   duplicated here so the popup works on every page. CSS vars
   come from global.css :root; form-field styles from style.css.
   ============================================================ */
.pp-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 10, 10, 0.62);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.pp-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.pp-box {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 52px 52px 48px;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pp-overlay.is-open .pp-box {
    transform: translateY(0) scale(1);
}
.pp-close {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    transition: color 0.2s;
}
.pp-close:hover { color: var(--text); }
.pp-close svg { width: 18px; height: 18px; }
.pp-label {
    display: block;
    margin-bottom: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
}
.pp-heading {
    font-family: 'Scheherazade New', serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 300;
    color: var(--text);
    line-height: 1.15;
    margin: 0 0 32px;
}
.pp-heading em { font-style: italic; color: var(--muted); }
body.pp-open { overflow: hidden; }
@media (max-width: 600px) {
    .pp-box { padding: 44px 22px 34px; }
    .pp-close { top: 14px; right: 14px; }
}
