/* ========================================
   CONTACT POPUP
======================================== */

.contact-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.contact-popup.is-visible {
    opacity: 1;
    visibility: visible;
}


/* Overlay
---------------------------------------- */

.contact-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);}


/* Modal
---------------------------------------- */

.contact-popup__modal {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    background: var(--color-bg);
    border-radius: 18px;
    padding: 45px 40px 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.contact-popup.is-visible .contact-popup__modal {
    transform: translateY(0) scale(1);
}


/* Close button
---------------------------------------- */

.contact-popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--color-dark);
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.contact-popup__close:hover {
    background: #f1f1f1;
}


/* Content
---------------------------------------- */

.contact-popup__content {
    text-align: center;
}


/* Logo
---------------------------------------- */

.contact-popup__logo {
    margin-bottom: 25px;
}

.contact-popup__logo img {
    display: inline-block;
    max-width: 160px;
    max-height: 60px;
    width: auto;
    height: auto;
}


/* Eyebrow
---------------------------------------- */

.contact-popup__eyebrow {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
}


/* Title
---------------------------------------- */

.contact-popup__title {
    margin: 0 0 15px;
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.1;
    color: var(--color-dark-2);
}


/* Description
---------------------------------------- */

.contact-popup__text {
    max-width: 420px;
    margin: 0 auto 28px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted);
}


/* WhatsApp button
---------------------------------------- */

.contact-popup__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 10px;
    background: #25d366;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.contact-popup__button:hover {
    background: #1ebe5d;
    color: #ffffff;
    transform: translateY(-2px);
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .contact-popup {
        padding: 15px;
    }

    .contact-popup__modal {
        padding: 40px 25px 30px;

        border-radius: 16px;
    }

    .contact-popup__title {
        font-size: 28px;
    }

    .contact-popup__text {
        font-size: 15px;
    }

}