.amenities-list {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    flex-wrap: wrap;
    justify-content: center;
}

.amenities-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0rem;
    border-bottom: none;
    width: auto;
    height: auto;
    margin: 8px;
    border: none;
    background-image: none;
    background-color: transparent;
    box-shadow: none;



}

.hero__title.description {
    margin: 8px 16px;

    padding-top: 0;
    color: #282828;

    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 16px;
}

.hero__title.description::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: rgba(219, 6, 5, .6);
    border-radius: 2px;
}

.hero__title.description:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}


.popup-cta {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    animation: slideIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Poppins', sans-serif;
}

.popup-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px 35px;
    border-radius: 30px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 -4px 8px rgba(0, 0, 0, 0.05),
        inset 0 4px 8px rgba(255, 255, 255, 0.8);
    max-width: 450px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-left: 4px solid #ff4b4a;
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-content:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 -4px 8px rgba(0, 0, 0, 0.05),
        inset 0 4px 8px rgba(255, 255, 255, 0.8);
}

.popup-close {
    position: absolute;
    right: -15px;
    top: -15px;
    background: linear-gradient(135deg, #db0605, #ff4b4a);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-close:hover {
    filter: brightness(1.1);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.popup-content h2 {
    background: linear-gradient(135deg, #282828, #ff4b4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 900;
    font-size: 1.5rem;
    position: relative;
}

.popup-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff4b4a, rgba(219, 6, 5, 0.5));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.popup-content h3 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #444;
    position: relative;
    padding-left: 15px;
}

.popup-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: #ff4b4a;
    border-radius: 2px;
}

.popup-content:hover h2::after {
    width: 100px;
}

@keyframes slideIn {
    from {
        transform: translateX(100px) scale(0.8) rotate(5deg);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1) rotate(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .popup-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .popup-content {
        max-width: none;
        margin: 0 auto;
        padding: 30px 25px;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100px) scale(0.8) rotate(5deg);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1) rotate(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .popup-cta {
        bottom: 20px;
        right: 15px;
        left: 15px;
    }

    .popup-content {
        max-width: none;
        margin: 0 auto;
        padding: 30px 25px;
        border-radius: 25px;
    }

    .popup-close {
        right: -10px;
        top: -10px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}


@keyframes slideIn {
    from {
        transform: translateX(100px) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .popup-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .popup-content {
        max-width: none;
        margin: 0 auto;
    }
}


.hero__image {
    position: relative;
    /* Asegura que el ribbon se posicione correctamente */
}

.virtual-tour__pill {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 55;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.virtual-tour__pill:hover {
    transform: translateX(-50%) translateY(-3px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.virtual-tour__pill a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.virtual-tour__pill a::before {
    content: '👁️';
    font-size: 1.1rem;
}

.amenities-item img {

    background-color: transparent;
    border: none;
    box-shadow: none;
    filter: invert(1);
    width: auto;
    margin: 8px;

}

.amenities-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 5%;
    justify-content: center;

    align-items: center;
    background-color: hsla(0, 0%, 100%, .5);
    background-image: url(../img/ameinties__item--bg.webp);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100%;
    display: flex;
    flex-direction: column;

    margin: clamp(.75rem, .5rem + 1.5vw, 1.125rem);

    justify-content: space-between;
    padding: 20px;
    border: 2px solid #fff;

    border-radius: clamp(.75rem, .5rem + 1.5vw, 1.125rem);

}

@media (max-width: 900px) {
    .amenities-list {
        justify-content: space-between;
    }
}