/* ==========================
WHATSAPP MODAL
========================== */

.whatsapp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity .28s ease, visibility .28s ease;
}

.whatsapp-modal.active {
    visibility: visible;
    opacity: 1;
}

.whatsapp-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.whatsapp-modal__content {
    position: relative;
    width: min(92vw, 460px);
    padding: 34px;
    border-radius: 28px;

    background:
        linear-gradient(
        135deg,
        rgba(255,255,255,.10),
        rgba(255,255,255,.05)
        );

    border: 1px solid rgba(255,255,255,.12);

    box-shadow:
        0 20px 60px rgba(0,0,0,.45);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    text-align: center;
    z-index: 2;

    transform: translateY(18px) scale(.96);
    transition: transform .28s ease;
}

.whatsapp-modal.active
.whatsapp-modal__content {
    transform: translateY(0) scale(1);
}

.whatsapp-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
}

.whatsapp-modal__label {
    display: inline-block;
    margin-bottom: 12px;
    color: #7dc3ff;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.whatsapp-modal h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 12px;
}

.whatsapp-modal p {
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    margin-bottom: 28px;
}

.whatsapp-modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.whatsapp-person {
    text-decoration: none;
    padding: 18px 22px;
    border-radius: 18px;

    background:
        linear-gradient(
        135deg,
        rgba(37,211,102,.18),
        rgba(37,211,102,.08)
        );

    border: 1px solid rgba(37,211,102,.28);

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-person:hover {
    transform: translateY(-2px);
    border-color: rgba(37,211,102,.5);
}

.whatsapp-person strong {
    color: white;
    font-size: 1rem;
}

.whatsapp-person span {
    color: #25d366;
    font-weight: 600;
}

@media (max-width: 768px) {

    .whatsapp-modal__content {
        width: calc(100vw - 32px);
        padding: 28px 22px;
        border-radius: 24px;
    }

    .whatsapp-modal h3 {
        font-size: 1.6rem;
    }

    .whatsapp-person {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}