/* popup.css - Estilos del popup de marketing */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-content {
    background: white;
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: popupFadeIn 0.5s ease;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--navy-blue);
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.popup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.popup-image {
    background: linear-gradient(135deg, #0A2F5C 0%, #1a4a7a 100%);
    min-height: 300px;
    display: flex;
    align-items: stretch;
}

.popup-image img {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.popup-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    color: #0A2F5C !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #D4AF37, #C9A84C) !important;
    padding: 16px 24px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    text-decoration: none !important;
    letter-spacing: 0.02em !important;
}

.popup-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-text h3 {
    font-family: 'Georgia', serif;
    color: var(--navy-blue);
    font-size: 28px;
    margin-bottom: 15px;
}

.popup-text p {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .popup-grid {
        grid-template-columns: 1fr;
    }

    .popup-image {
        height: 200px;
    }

    .popup-text {
        padding: 30px 20px;
        text-align: center;
    }
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}