.destacados {
    background-color: #000;
    padding: 120px 0;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.destacados-container {
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    
    /* Animación de entrada (ADM-05) - Igual al mapa de cantones */
    opacity: 0;
    transform: translateY(25%);
    filter: blur(10px);
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.destacados-container.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.destacados-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
}

.destacados-header h2 {
    font-size: 3rem;
    font-family: var(--font-primary);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -1px;
    margin-top: 5px;
}

.destacados-header p {
    font-size: 1rem;
    color: #aaa;
    max-width: 380px;
    text-align: right;
    line-height: 1.5;
    font-weight: 300;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 80px;
    padding: 0;
}

.destacados-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scroll-behavior: auto; /* Los botones usan smooth por JS */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.destacados-grid::-webkit-scrollbar {
    display: none;
}

.destacado-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    background: #111;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.destacado-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 92, 252, 0.3);
    border-color: rgba(124, 92, 252, 0.4);
}

.destacado-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.7);
}

.destacado-card:hover .destacado-img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.destacado-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(124, 92, 252, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.destacado-rating {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #E8821A;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.destacado-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    z-index: 5;
}

.destacado-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #fff;
}

.destacado-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.destacado-info span i {
    color: #E8821A;
}

.carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: #7C5CFC;
    border-color: #7C5CFC;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -55px;
}

.carousel-btn.next {
    right: -55px;
}

.section-title-accent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0;
    box-sizing: border-box;
}

.ver-mas-link {
    font-size: 0.8rem;
    color: #7C5CFC;
    text-transform: none;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.ver-mas-link:hover {
    color: #E8821A;
    gap: 8px;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .destacados-container {
        width: 92%;
    }
    .carousel-wrapper {
        padding: 0 40px;
    }
    .section-title-accent {
        padding: 0 40px;
    }
    .carousel-btn.prev { left: -5px; }
    .carousel-btn.next { right: -5px; }
}

@media screen and (max-width: 768px) {
    .destacados { padding: 60px 0; }
    .destacados-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }
    .destacados-header h2 { font-size: 2.5rem; }
    .destacados-header p { text-align: left; max-width: 100%; }
    
    .carousel-wrapper { padding: 0; }
    .carousel-btn { display: none; }
    .destacados-grid { gap: 20px; }
    .destacado-card { flex: 0 0 280px; height: 380px; }
    
    .section-title-accent { font-size: 0.9rem; }
}
