body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, #f3eadb, #efe6d6);
    text-align: center;
}

/* BOTÓN SUPERIOR */
.top-bar {
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 1000;
}

.top-bar a {
    background: linear-gradient(45deg, #1b5e20, #4caf50);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.top-bar a:hover {
    transform: scale(1.05);
}

/* LOGO */
.logo {
    width: 420px;
    max-width: 90%;
    margin: 40px auto 10px;
}

/* CARDS */
.cards {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.card {
    width: 300px;
    margin: 0 -8px;
    transition: 0.4s;
    z-index: 1;
}

.card img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.card.center {
    transform: scale(1.05);
    z-index: 2;
}

.card:hover {
    transform: scale(1.08);
    z-index: 3;
}

/* TEXTO */
.texto {
    margin: 50px 20px;
    font-size: 22px;
    color: #333;
}

.texto b {
    color: #2e7d32;
}

/* WHATSAPP */
.img-whatsapp {
    width: 340px;
    max-width: 90%;
    margin: 20px auto 60px;
    display: block;
    cursor: pointer;
    transition: 0.3s;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.img-whatsapp:hover {
    transform: scale(1.08);
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .cards {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        margin: 0;
    }

    .card.center {
        transform: scale(1);
    }

}

/* ====================================
   POPUP PROMOCIONAL PREMIUM
==================================== */

.popup-overlay {

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.78);

    display: flex;

    justify-content: center;
    align-items: center;

    z-index: 9999;

    padding: 20px;

}

.popup-content {

    position: relative;

    max-width: 600px;
    width: 90%;

    animation: aparecer .4s ease;

}

.promo-img {

    display: block;

    width: 100%;

    height: auto;

    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(0,0,0,.45);

    transition: .3s;

}

.promo-img:hover {

    transform: scale(1.01);

}

.cerrar-popup {

    position: absolute;

    top: -18px;
    right: -18px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: #1b5e20;

    color: white;

    font-size: 20px;

    font-weight: bold;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0,0,0,.35);

    transition: .3s;

}

.cerrar-popup:hover {

    transform: scale(1.1);

    background: #2e7d32;

}

@keyframes aparecer {

    from {
        opacity: 0;
        transform: scale(.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}

/* RESPONSIVE POPUP */

@media(max-width:768px) {

    .popup-content {
        width: 95%;
        max-width: 420px;
    }

    .promo-img {
        width: 100%;
        height: auto;
    }

    .cerrar-popup {

        width: 38px;
        height: 38px;

        font-size: 18px;

        top: -12px;
        right: -12px;

    }

}