/* ── WhatsApp Popup ── */

.wa-popup {
    position: fixed;
    bottom: 96px;          /* sits above the floating contact button */
    right: 20px;
    width: 296px;
    max-width: calc(100vw - 32px);
    z-index: 1100;

    /* Glassmorphism — matches navbar style */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(108, 79, 112, 0.18);
    border-radius: 20px;
    box-shadow:
        0 8px 40px rgba(58, 42, 62, 0.18),
        0 2px 8px  rgba(58, 42, 62, 0.08);

    /* Hidden by default — animated in via class toggle */
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.wa-popup.wa-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ── Inner padding ── */
.wa-popup-inner {
    padding: 22px 22px 20px;
    position: relative;
}

/* ── Close button ── */
.wa-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 17px;
    color: #757081;
    padding: 4px 6px;
    line-height: 1;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s;
}
.wa-popup-close:hover {
    background: rgba(108, 79, 112, 0.1);
    color: #3a2a3e;
}

/* ── Large WhatsApp icon at top ── */
.wa-popup-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.wa-popup-icon svg {
    width: 46px;
    height: 46px;
}

/* ── Text ── */
.wa-popup-title {
    font-family: 'Lustria', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #3a2a3e;
    margin: 0 0 6px;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.wa-popup-text {
    font-size: 0.875rem;
    color: #757081;
    margin: 0 0 16px;
    text-align: center;
    line-height: 1.5;
}

/* ── CTA button ── */
.wa-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 11px 18px;
    background: #25D366;
    color: #ffffff;
    border-radius: 980px;
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 14px rgba(37, 211, 102, 0.32);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.wa-popup-btn:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42);
}
.wa-popup-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* ── Mobile ── */
@media (max-width: 480px) {
    .wa-popup {
        bottom: 80px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
}
