.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

.popup-content {
    max-width: 850px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.popup .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 10;
}

.popup .close i {
    font-size: 22px;
    background: #252526;
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    transition: 0.2s;
}

.popup .close i:hover {
    background: #ff4c4c;
}

/* Dos columnas en desktop */
.popup-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 15px;
    flex-wrap: nowrap;
    /* nunca rompe en desktop */
}

.popup-col {
    flex: 1;
    /* ocupa la mitad automáticamente */
    box-sizing: border-box;
}

.popup-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 2.5rem;
    margin-left: 1rem;
}

.popup-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-text h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #f0a04b;
}

.popup-text p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.popup-buttons {
    margin-top: 15px;
}

.popup-buttons .btn {
    display: block;
    text-align: center;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.3s ease;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1da851;
}

.btn-tour {
    background: #FFD700;
    color: #000;
}

.btn-tour:hover {
    background: #e6c200;
}

/* Responsive: móvil = una columna */
@media (max-width: 768px) {
    .popup-row {
        flex-direction: column;
    }

    .popup-col {
        flex: 1 1 100%;
    }

    .popup-text {
        padding: 15px;
        text-align: center;
        margin-left: 10px;
        margin-right: 10px;
    }

    .popup-buttons .btn {
        width: 100%;
    }
}