/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.45);
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.35);
    animation: pulseWhats 2s infinite;
}

@keyframes pulseWhats {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* =========================
   OVERLAY HELPERS
========================= */
.overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.blur-surface {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* =========================
   ANIMACIONES SUAVES
========================= */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.scale-hover {
    transition: transform 0.3s ease;
}

.scale-hover:hover {
    transform: scale(1.02);
}

/* =========================
   SEPARADORES
========================= */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* =========================
   BADGES VISUALES
========================= */
.soft-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.86rem;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-content {
    position: relative;
    max-width: min(1100px, 100%);
    max-height: 90vh;
    width: fit-content;
}

.gallery-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.gallery-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.gallery-lightbox-close:hover {
    transform: scale(1.05);
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-50%) scale(1.05);
    outline: none;
}

.gallery-lightbox-prev {
    left: 18px;
}

.gallery-lightbox-next {
    right: 18px;
}

.gallery-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.48);
    color: #fff;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
    .gallery-lightbox {
        padding: 1rem;
    }

    .gallery-lightbox-content {
        width: 100%;
    }

    .gallery-lightbox-close {
        top: 10px;
        right: 10px;
    }

    .gallery-lightbox-nav {
        width: 46px;
        height: 46px;
        font-size: 1.7rem;
    }

    .gallery-lightbox-prev {
        left: 10px;
    }

    .gallery-lightbox-next {
        right: 10px;
    }

    .gallery-lightbox-counter {
        bottom: 10px;
        font-size: 0.85rem;
    }
}
