/* ========================================
   SCROLL-TO-TOP.CSS - DPI del Perú
   Estilos para el botón de volver al inicio
   Basado en el patrón del botón de WhatsApp
======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);
    width: 10vh;
    height: 10vh;
    background: var(--secondary-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 5vh;
    text-decoration: none;
    z-index: 100;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.scroll-to-top:hover {
    color: var(--primary-white);
    transform: translateX(-50%) scale(1.1);
}

.scroll-to-top:active {
    transform: translateX(-50%) scale(1.05);
}

/* Responsive - siguiendo el mismo patrón que WhatsApp */
@media (max-width: 870px) {
    .scroll-to-top {
        width: 8vh;
        height: 8vh;
        font-size: 4vh;
        bottom: 3.5vh;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 7vh;
        height: 7vh;
        font-size: 3.5vh;
        bottom: 3vh;
    }
} 