/* ============================================
   AWARDS / PREMIOS (Premios y reconocimientos)
   ============================================ */
#premios {
    background-color: #e6f4ff;
    padding: 60px 20px;
    text-align: center;
}

#premios h2 {
    font-size: 40px;
    font-weight: 800;
    color: #0A2540;
}

.premios-grid-2026 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4%;
    max-width: 95%;
    margin: 0 auto;
}

.premio-item-2026 {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.premio-item-2026:hover {
    transform: translateY(-5px);
}

.premio-img-2026 {
    height: 600px;
    width: auto;
    max-width: 100%;
}

@media (max-width: 2317px) {
    .premio-img-2026 {
        height: 530px;
    }
}

@media (max-width: 2051px) {
    .premio-img-2026 {
        height: 500px;
    }
}

@media (max-width: 1937px) {
    .premio-img-2026 {
        height: 400px;
    }
}

@media (max-width: 1558px) {
    .premio-img-2026 {
        height: 370px;
    }
}

@media (max-width: 1444px) {
    .premio-img-2026 {
        height: 330px;
    }
}

@media (max-width: 1292px) {
    .premio-img-2026 {
        height: 300px;
    }
}

@media (max-width: 1178px) {
    .premio-img-2026 {
        height: 260px;
    }
}

/* ---------- Slider Premios (max-width: 1027px) ---------- */
.premios-slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.premios-viewport {
    width: 100%;
    overflow: hidden; /* Hide overflow when acting as slider */
}

.premios-nav {
    display: none; /* Hidden on desktop */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFFFF;
    border: 1px solid #EBF8FF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 170, 248, 0.2);
    transition: background 0.3s ease;
    padding: 0;
}

.premios-nav svg {
    width: 20px;
    height: 20px;
}

.premios-nav:hover {
    background: #EBF8FF;
}

.premios-nav.prev {
    left: 0;
}

.premios-nav.next {
    right: 0;
}

.premios-dots {
    display: none; /* Hidden on desktop */
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.dot-premio {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #C4E8FD;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s;
}

.dot-premio.active {
    background-color: #00AAF8;
    transform: scale(1.3);
}

/* Responsiveness -> transform to slider <= 1027px */
@media (max-width: 1027px) {
    .premios-slider-wrapper {
        padding: 0 50px;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .premios-grid-2026 {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0; /* JS slider handles width */
        max-width: 100%;
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    .premio-item-2026 {
        flex: 0 0 50%; /* Show 2 items per view on tablets */
        max-width: 50%;
        padding: 0 10px; /* Internal gap */
        box-sizing: border-box;
    }

    .premios-nav, .premios-dots {
        display: flex;
    }
    
    .premio-img-2026 {
        height: auto;
        max-width: 100%; 
        width: 250px;
    }
}

@media (max-width: 650px) {
    .premios-slider-wrapper {
        padding: 0 40px;
        max-width: 400px;
    }
    .premio-item-2026 {
        flex: 0 0 100%; /* Show 1 item per view on mobile */
        max-width: 100%;
    }
}