/* VOLVER-INICIO.CSS (optimizado y sin conflictos)  */
/* =========================================================
   BOTÓN VOLVER AL INICIO
========================================================= */

#volver-inicio {
    position: fixed;
    bottom: 1rem;
    right: 1rem;

    width: 40px;
    height: 40px;
    border-radius: 50%;

    background: var(--color-primario);
    color: var(--color-blanco);
    border: 3px solid var(--color-fondo);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--sombra);
    z-index: 1000;

    /* Estado oculto inicial */
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);

    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Visible */
#volver-inicio.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Hover */
#volver-inicio:hover {
    opacity: 0.85;
}

/* Focus accesible */
#volver-inicio:focus-visible {
    outline: 4px solid var(--color-focus);
    outline-offset: 4px;
}

/* =========================================================
   MODO RESPONSIVE
========================================================= */