/* Попап приветствия */
.welcome-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.welcome-popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.welcome-popup-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    width: 90%;
    position: relative;
    padding: 40px 30px 30px;
    animation: slideIn 0.4s ease;
}

.welcome-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #dc2626;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.welcome-popup-close:hover {
    color: #991b1b;
    transform: scale(1.1);
}

.welcome-popup-title {
    font-size: 26px;
    font-weight: bold;
    color: #dc2626;
    margin-bottom: 20px;
    text-align: center;
}

.welcome-popup-text {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
}

.welcome-popup-domains {
    background: #f8f9fa;
    border-left: 3px solid #0057a8;
    padding: 12px 15px;
    margin: 15px 0 20px;
    border-radius: 4px;
}

.welcome-popup-domains ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    font-size: 14px;
    color: #555;
}

.welcome-popup-domains li {
    padding: 4px 0;
}

.welcome-popup-domains li::before {
    content: "•";
    color: #0057a8;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 0;
}

.welcome-popup-contact {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.welcome-popup-contact p {
    margin: 0 0 10px;
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.welcome-popup-phones {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.welcome-popup-phone {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 2px solid #0057a8;
    border-radius: 6px;
    color: #0057a8;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.welcome-popup-phone:hover {
    background: #0057a8;
    color: white;
    transform: translateY(-2px);
}

.welcome-popup-btn {
    display: block;
    width: 100%;
    background-color: #0057a8;
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.welcome-popup-btn:hover {
    background-color: #003d7a;
    transform: translateY(-2px);
}

.welcome-popup-btn:active {
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 600px) {
    .welcome-popup-content {
        padding: 30px 20px 20px;
    }

    .welcome-popup-title {
        font-size: 22px;
    }

    .welcome-popup-text {
        font-size: 14px;
    }

    .welcome-popup-domains {
        font-size: 13px;
    }

    .welcome-popup-phones {
        flex-direction: column;
    }

    .welcome-popup-phone {
        width: 100%;
    }
}
